@font-face {
    font-family: 'Adelia';
    font-style: normal;
    font-weight: normal;
    src: url('/fonts/ADELIA.otf');
}
@font-face {
    font-family: 'Potta One';
    font-style: normal;
    font-weight: normal;
    src: url('/fonts/PottaOne-Regular.woff');
}

*{
    font-family: 'Potta One', sans-serif;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

section{
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100vh;
    background-image: transparent;
    /*FIXME*/
    background-size: cover;
    background-position: center;
    position: relative;
    overflow: hidden;
}

.back-video{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
}

.login-page{
    position: relative;
    width: 400px;
    height: 450px;
    background: transparent;
    border: 2px solid rgba(255, 255, 255, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    backdrop-filter: blur(15px);
    border-radius: 20px;
    -webkit-border-radius: 20px;
    -moz-border-radius: 20px;
    -ms-border-radius: 20px;
    -o-border-radius: 20px;
    z-index: 1;
}
.register-page{
    position: relative;
    width: 450px;
    height: 550px;
    background: transparent;
    border: 2px solid rgba(255, 255, 255, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    backdrop-filter: blur(15px);
    border-radius: 20px;
    -webkit-border-radius: 20px;
    -moz-border-radius: 20px;
    -ms-border-radius: 20px;
    -o-border-radius: 20px;
    z-index: 1;
}
.login-page form{
    display: flex;
    flex-direction: column;
    align-items: center;
}
.register-page form{
    display: flex;
    flex-direction: column;
    align-items: center;
}

h2{
    font-family: 'Adelia', sans-serif;
    font-size: 2em;
    color: white;
    text-align: center;
}
.input-box{
    position: relative;
    width: 310px;
    margin: 30px 0;
    border-bottom: 2px solid white;
}
.input-box label{
    position: absolute;
    top: 50%;
    left: 5px;
    transform: translateY(-50%);
    font-size: 1em;
    color: white;
    pointer-events: none;
    transition: 0.5s;
}
.input-box input:focus ~ label,
.input-box input:valid ~ label{
    top: -5px;
    left: 5px;
    color: white;
    font-size: 0.8em;
}
.input-box input{
    width: 100%;
    height: 50px;
    background: transparent;
    border: none;
    outline: none;
    font-size: 1em;
    color: white;
    padding: 0 35px 0 5px;
}
.input-box .icon{
    position: absolute;
    right: 8px;
    color: white;
    font-size: 1.2em;
    line-height: 57px;
}
.remember-forgot {
    margin: -15px 0 15px;
    font-size: 0.9em;
    color: white;
    display: flex;
    justify-content: flex-start;
}
.remember-forgot label input{
    margin-right: 2px;
}
.remember-forgot a{
    color: white;
    text-decoration: none;
    margin-left: 40px;
}
.remember-forgot a:hover{
    text-decoration: underline;
}
.remember-forgot label {
    display: flex;
    align-items: center; /* Vertically center the checkbox and text within the label */
    cursor: pointer; /* Change cursor to pointer for better UX */
}
.remember-forgot label span {
    margin-left: 5px; /* Space between checkbox and text */
    color: white;
}

button{
    width: 100%;
    height: 40px;
    background: white;
    border: none;
    outline: none;
    cursor: pointer;
    font-size: 1em;
    color: black;
    font-weight: 500;
    border-radius: 40px;
    -webkit-border-radius: 40px;
    -moz-border-radius: 40px;
    -ms-border-radius: 40px;
    -o-border-radius: 40px;
}
.login-link, .register-link {
    font-size: 0.9em;
    color: white;
    text-align: center;
    margin: 25px 0 10px;
}
.register-link p a{
    color: white;
    text-decoration: none;
    font-weight: 600;
}
.register-link p a:hover{
    text-decoration: underline;
}
.login-link p a{
    color: white;
    text-decoration: none;
    font-weight: 600;
}
.login-link p a:hover{
    text-decoration: underline;
}