@import url('https://fonts.googleapis.com/css2?family=Poppins&display=swap');
* {
    margin: 0;
    padding: 0;
    font-family: 'poppins','sansa-serif';
}
body {
    background-image: url(img/water.jpg);
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;

}
nav {
    max-width: 1200px;
    margin: auto;
    padding: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

nav ul {
    list-style: none;
}

nav li a {
    text-decoration: none;
    color: #fff;
}

section {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    width: 100%;
}

.form {
    display: flex;
    justify-content: center;
}

.form-box {
    position: relative;
    width: 1105px   ;
    height: max-content;
    background: transparent;
    border: 2px solid rgba(255,255,255,0.5);
    backdrop-filter: blur(8px);
    display: flex;
    justify-content: center;
    align-items: center;
}

h2 {
    font-size: 2em;
    color: #fff;
    text-align: center;
}

.inputbox {
    position: relative;
    margin: 30px 19px 0 19px;
    width: 310px;
    border-bottom: 2px solid #fff;
}

.inputbox label {
    position: absolute;
    top: 50%;
    left: 5px;
    transform: translateY(-50%);
    color: #fff;
    font-size: 1em;
    pointer-events: none;
    transition: .5s;
}

input:focus ~ label,
input:valid ~ label{
    top: -5px;
}

.inputbox input {
    width: 100%;
    height: 50px;
    background: transparent;
    border: none;
    outline: none;
    font-size: 1em;
    padding: 0 35px 0 5px;
    color: #fff;
}

.inputbox ion-icon {
    position: absolute;
    right: 8px;
    color: #fff;
    font-size: 1.2em;
    top: 20px;
}

.forget {
    margin: -15px 0 15px;
    font-size: .9em;
    color: #fff;
    display: flex;
    justify-content: center;
}

.forget label input {
    margin-right: 3px;
}

.forget label a {
    color: #fff;
    text-decoration: none;
    font-weight: 600;
}

.forget label a:hover {
    text-decoration: underline;
}

button{
    width: 60%;
    padding: 1rem 1rem;
    letter-spacing: 0.1em;
    font-weight: bolder;
    font-size: 1rem;
    color: #fff;
    background-color: transparent;
    border-color: #ffffff;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
    margin-top: 2rem;
    margin-left: 13rem;
    margin-bottom: 2rem;
}

button:hover{
    letter-spacing: 0.25em;
    background-color: #1f7400;
    border-color: #c7ffb1;
    box-shadow: 0 0 10px #c7ffb1;
}



.register {
    font-size: .9em;
    color: #fff;
    text-align: center;
    text-align: center;
    margin: 25px 0 10px;
}

.register p a {
    text-decoration: none;
    color: #fff;
    font-weight: 600;
}

.register p a:hover {
    text-decoration: underline;
}

.form-value {
    display: flex;
    flex-direction: column;
    align-items: center;
}

div .texto {
    display: flex;
    width: 100%;
    margin-top: 30px;
}

.texto #voltar {
    justify-content: start;
}

.texto #log {
    justify-content: center;
    margin-left: 40%;
}

.texto #voltar:hover {
    color: #c7ffb1;
    border-color: #fff;
    text-shadow: 
    0 0 7px #099443;

}

::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-thumb {
    background: #c7ffb1;
    border-radius: 10px;
}