*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    letter-spacing: 0.5px;
}

body {
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;
    min-height: 100vh;
    font-family: 'Montserrat', sans-serif;
    background-image: url('test1.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

header {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 10px;
    font-family: 'Montserrat', sans-serif;
    font-size: 12px;
    font-weight: 500;
}

header img {
    width: clamp(250px, 30vw, 350px);
    height: auto;
}
    
.form-container{
    width: 100%;
    max-width: 450px;
    color: white;
    background: rgba(0, 0, 0, 0.45);
    border-radius: 15px;
    padding: clamp(15px, 3vw, 25px);
    margin: 15px;
}

.form-container h1{
    text-align: center;
    font-size: 36px;
    font-style: normal;
    font-weight: 600;
}

.form-container .input-container{
    position: relative;
    width: 100%;
    margin-top: 10px;
}

.input-container label{
    display: block;
    font-size: 18px;
    font-weight: 600;
    padding: 10px 0;
}

.input-container .error-text{
    display: block;
    margin: 5px 7.5px;
    font-size: 14px;
    font-weight: 500;
    color: red;
}

.input-container input{
    width: 100%;
    min-height: 50px;
    border: 0;
    border-radius: 15px;
    color: #949494;
    background-color: white;
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
    font-size: 16px;
    padding: 10px 20px;
}

.input-container input::placeholder{
    color: #949494;
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
    font-size: 16px;
}

.input-container input:focus {
    outline: none;
    background-color: white;
    box-shadow: inset 0 0 0 2px #FFB97E
}

.form-container .forgot-password-container{
    text-align: right;
    padding: 10px 10px 0 0;
}

.forgot-password-container a{
    color: white;
    text-decoration: none;
    font-size: 16px;
    font-weight: 600;
}

.forgot-password-container a:hover{
    color: #FFB97E;
    font-weight: 600;
}

.form-container button{
    display: inline-block;
    width: 100%;
    min-height: 55px;
    margin-top: 30px;
    background: #FF9A43;
    border: 0;
    outline: none;
    border-radius: 20px;
    font-size: 18px;
    font-family: 'Montserrat', sans-serif;
    cursor: pointer;
    color: white;
    font-weight: 600;
    transition: transform 0.2s ease-in-out, background-color 0.3s ease-in-out;
}

.form-container button:hover {
    transform: scale(1.02);
}

.form-container .register-container{
    text-align: center;
    margin-top: 10px;
}
.register-container p{
    color: white;
    font-size: 16px;
    font-weight: 500;
}

.register-container a{
    color: white;
    text-decoration: none;
    font-size: 16px;
    font-weight: 600;
}

.register-container a:hover{
    color: #FFB97E;
    font-weight: 600;
}

.pseudo-tooltip {
    position: relative;
    cursor: pointer;
}

.pseudo-tooltip-text {
    position: absolute;
    top: 125%;
    left: 50%;
    transform: translateX(-50%);
    background-color: white;
    color: black;
    padding: 5px 10px;
    border-radius: 10px;
    font-size: 12px;
    font-weight: 500;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.50);
    opacity: 0;
    pointer-events: none; /*tooltip only shows when you hover on parent element*/
    white-space: nowrap;  /*text is kept as a single line*/
}

.pseudo-tooltip:hover .pseudo-tooltip-text {
    opacity: 1;
}

.form-container .error-form{
    width: 100%;
    max-width: 350px;
    margin: 10px auto;
    text-align: center;
    font-size: 16px;
    font-weight: 500;
    color: red;
}

@media screen and (max-width: 800px){
    .form-container {
        padding: 25px 20px;
    }

    .input-container input {
        height: 40px;
        font-size: 14px;
    }
}