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

body {
    background-color: #f4f4f4;
    overflow: hidden;
    display: flex;
    justify-content: center;
}

@keyframes slideUp {
    from {
        transform: translateY(100vh);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.message-box {
    position: fixed;
    display: flex;
    align-items: center;
    justify-content: center;
    transform: translate(-50%, -50%);
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 20px;
    border-radius: 10px;
    text-align: center;
    font-size: 24px;
    opacity: 0;
    animation: slideUp 0.5s ease-out forwards;
}

.overlay-massage {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(0, 0, 0, 0);
    display: flex;
    justify-content: center;
    align-items: end;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.5s ease-in-out;
}

.message-box {
    margin-bottom: 100px;
    background: rgb(0, 0, 0);
    padding: 20px;
    border-radius: 10px;
    text-align: center;
    font-size: 1.2rem;
    color: #ffffff;
}

.show {
    opacity: 1;
    visibility: visible;
}

.login-overlay {
    display: flex;
    position: absolute;
    height: 100%;
    width: 100%;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    background-color: #f4f4f4;
    z-index: 2;
    opacity: 1;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

#passwordIcon {
    cursor: pointer;
}

.animation-move-overlay {
    animation: moveOverlay 0.5s forwards linear 0.5s;
    will-change: opacity;
}

@keyframes moveOverlay {
    from {
        opacity: 1;
    }

    to {
        opacity: 0;
    }
}

@keyframes moveLogo {
    100% {
        width: 100px;
        height: 121px;
        top: 80px;
        left: 77px;
        transform: translate(0px, 0px) scale(1);
    }
}

.login-logo {
    display: none;
    position: absolute;
    opacity: 1;
    z-index: 3;
    height: 334px;
    width: 274px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(1);
}

.animation-move-logo {
    animation: moveLogo 0.5s forwards linear 0.5s;
    will-change: transform, width, height, top, left;
}

.logo {
    display: flex;
    position: absolute;
    top: 80px;
    left: 77px;
    width: 100px;
    height: 121px;
}

.login-container {
    position: absolute;
    top: 0;
    width: 100%;
    margin-top: 76px;
    padding-right: 40px;
}

.register-link {
    display: flex;
    justify-content: end;
    gap: 35px;
    height: 36px;
    align-items: center;
}

.register-link h7 {
    font-size: 20px;
    font-weight: 400;
}

.register-link a {
    width: 91px;
    height: 49px;
    padding: 8px;
    border-radius: 5px;
    font-size: 16px;
    font-weight: 700;
    background-color: black;
    color: white;
}

.register-link a:hover {
    background-color: #29ABE2;
    box-shadow: 0px 2px 2px 1px rgba(0, 0, 0, 0.2);
}

.login {
    z-index: 1;
}

.user-login-container {
    width: 100%;
    display: flex;
    align-items: start;
    justify-content: center;
    background-color: #f4f4f4;
}

.user-login {
    height: 449px;
    width: 652px;
    margin-top: 167.5px;
    padding: 20px 50px 0 50px;

    background-color: white;
    box-shadow: 0 0 10px 1px rgba(0, 0, 0, 0.1);
    border-radius: 16px;

    display: flex;
    justify-content: center;
    align-items: start;
    text-align: center;
}

.login h1 {
    font-size: 61px;
}

.blue-line {
    margin-left: 140px;
    margin-top: 10px;
    margin-bottom: 12px;
    height: 3px;
    width: 140px;
    background-color: #29ABE2;
}

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

.input-container {
    position: relative;
    display: flex;
    align-items: center;
    margin-bottom: 16px;
}

.input-container input {
    width: 422px;
    padding: 10px 40px 10px 20px;
    border-radius: 10px;
    margin-top: 15px;
    font-size: 20px;
    font-weight: 400;
    outline: none;
}

.input-icon {
    position: absolute;
    right: 16px;
    width: 20px;
    height: 20px;
    margin-top: 15px;
}

.login input::placeholder {
    color: rgba(128, 128, 128, 0.356);
}

.input-default {
    border: 1px solid #D1D1D1;
}

.input-default:focus {
    border: 1px solid #29ABE2;
    transition: all 175ms ease-in-out;
}

.input-error {
    border: 1px solid red;
}

.no-value-content {
    position: absolute;
    margin-top: 140px;
    margin-right: 210px;
}

.error-massage {
    display: none;
    font-size: 9px;
    color: red;
}

.login-buttons {
    margin-top: 35px;
}

.login-buttons button[type=submit] {
    height: 48px;
    width: 110px;
    padding: 8px 20px;
    border-radius: 8px;
    font-size: 21px;
    font-weight: 700;
    background-color: black;
    color: white;
}

.login-buttons button[type=submit]:hover {
    transition: 175ms ease-in-out;
    background-color: #29ABE2;
    box-shadow: 0px 2px 2px 1px rgba(0, 0, 0, 0.2);
    transform: scale(1.02);
}

.login-buttons button[type=button] {
    height: 48px;
    width: 177px;
    padding: 8px 20px;
    margin-left: 20px;
    border-radius: 8px;
    font-size: 21px;
    font-weight: 700;
    transition: 175px ease-in-out;
    background-color: white;
    border: 1px solid black;

}

.login-buttons button[type=button]:hover {
    border: 1px solid #29ABE2;
    color: #29ABE2;

    transition: 175px ease-in-out;
    box-shadow: 0px 2px 2px 1px rgba(0, 0, 0, 0.2);
    transform: scale(1.01);
}

.legal-information {
    display: flex;
    justify-content: center;
    gap: 24px;
    margin-top: 200px;
    font-size: 16px;
    font-weight: 400;
}

.legal-information a:hover {
    color: #29ABE2;
    transition: 75ms ease-in-out;
    transform: scale(1.03);
    font-weight: 400;
}

.resposive-logo {
    display: none;
    width: 101px;
    height: 122px;
}

.resposive-logo-color {
    fill: #2A3647
}

@media (max-width: 1040px) and (max-height: 950px) {
    .user-login {
        margin-top: 167.5px !important;
    }
}

@media (max-width: 1040px) and (max-height: 900px) {
    .logo {
        top: 40px;
    }
}

@media (max-width: 1040px) and (max-height: 875px) {
    .user-login {
        margin-top: 200px;
        height: 400px;
    }
}

@media (max-width: 1040px) and (max-height: 800px) {
    .legal-information {
        margin-top: 60px !important;
    }
}

@media (max-width: 680px) and (max-height: 875px) {
    .legal-information {
        margin-top: 30px !important;
    }
}

@media (max-width: 680px) and (max-height: 800px) {
    .user-login {
        margin-top: 120px !important;
    }

    .login-buttons {
        gap: 10px !important;
        margin-top: 10px !important;
    }

    .user-login {
        height: 420px !important;
    }
}

@media (max-width: 400px) and (max-height: 700px) {
    .login-container {
        margin-top: 10px !important;
    }

    .legal-information {
        margin-top: 10px !important;
    }
}

@media (min-width: 1920px) {
    body {
        display: flex;
        align-items: center;
    }

    .login-container {
        width: 1920px;
    }

    #passivLogo {
        left: calc(((100vw - 1920px) / 2) + 77px);
    }

    @keyframes moveLogo {
        100% {
            width: 100px;
            height: 121px;
            top: 80px;
            left: calc(((100vw - 1920px) / 2) + 77px);
            transform: translate(0px, 0px) scale(1);
        }
    }
}

@media(max-width: 1280px) {
    .user-login {
        margin-top: 100px;
    }

    .legal-information {
        margin-top: 100px;
    }
}

@media(max-width: 1030px) {
    body {
        height: auto;
    }
}

@media(max-width: 680px) {
    .login-overlay {
        position: absolute;
        background-color: #2A3647;
    }

    .login-logo {
        top: 50%;
        left: 50%;
        height: 121.97px;
        width: 100.03px;
        transform: translate(-50%, -50%) scale(1);
    }

    .overlay-massage {
        z-index: 2;
    }

    .message-box {
        background: rgb(255, 255, 255);
        color: #000000;
        z-index: 2;
    }

    .resposive-logo {
        position: absolute;
        display: block;
        left: 45%;
        top: 40%;
        width: 100px;
        height: 122px;
        z-index: 1;
    }

    .resposive-logo-color {
        fill: #2A3647
    }

    .logo {
        width: 64px;
        height: 78px;
        top: 38px;
        left: 37px;
    }

    .animation-overlay-logo {
        animation: moveLogo 1s ease-in forwards;
    }

    .animation-change-logo-color {
        animation: chanceColor 1s ease-in forwards;
    }

    @keyframes moveNoneOverlay {
        from {
            opacity: 1;
        }

        to {
            opacity: 0;
        }
    }

    @keyframes moveLogo {
        100% {
            width: 64px;
            height: 78px;
            top: 38px;
            left: 37px;
            transform: translate(0%, 0%) scale(1);
        }
    }

    @keyframes chanceColor {
        0% {
            fill: #ffffff;
        }

        100% {
            fill: #2a3647;
        }
    }

    .login-container {
        position: relative;
        display: flex;
        justify-content: center;
        width: 100%;
        margin-top: 0;
        padding-right: 0;
        order: 2;
        margin-top: 24px;
    }

    .register-link {
        padding-right: 0;
    }

    .register-link a:hover {
        background-color: black;
        box-shadow: none;
    }

    .blue-line {
        margin-left: 160px;
        width: 100px;
    }

    .user-login {
        width: 100%;
        height: 475px;
        margin-top: 205.5px;
        margin-left: 15px;
        margin-right: 15px;
        order: 1;
    }

    .login-buttons {
        margin-top: 30px;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 21px;
    }

    .login-buttons button[type=submit] {
        width: 180px;
        height: 51px;
        padding: 8px 20px;
        border-radius: 8px;
        background-color: black;
        color: white;
        font-weight: 700;
        font-size: 16px;
    }

    .login-buttons button[type=submit]:hover {
        background-color: black;
        color: white;
        box-shadow: none;
        transform: scale(1);
        cursor: pointer;
    }

    .login-buttons button[type=button] {
        width: 180px;
        height: 51px;
        padding: 8px 20px;
        margin-left: 0px;
        border-radius: 8px;

        transition: 175px ease-in-out;
        background-color: white;
        border: 1px solid black;
        font-weight: 700;
        font-size: 16px;

    }

    .login-buttons button[type=button]:hover {
        background-color: none;
        color: initial;
        border: 1px solid black;
        box-shadow: none;
        transform: scale(1);
        cursor: pointer;
    }

    .legal-information {
        order: 2;
    }

    .legal-information a:hover {
        color: black;
        transition: none;
        transform: none;
        font-weight: 400;
    }
}

@media(max-width: 550px) {
    body {
        min-height: 0;
    }

    .resposive-logo {
        left: 40%;
        top: 40%;
    }

    @keyframes moveLogo {
        100% {
            width: 64px;
            height: 78px;
            top: 38px;
            left: 37px;
            transform: translate(0%, 0%) scale(1);
        }
    }

    .user-login-container {
        top: 20px;
        padding-top: 24px;
    }

    .user-login {
        margin-top: 120px;
    }

    .blue-line {
        margin-left: 116px;
        width: 100px;
    }

    .input-container input {
        width: 330px;
    }

    .no-value-content {
        margin-top: 140px;
        margin-right: 115px;
    }

    .legal-information {
        margin-top: 70px;
    }
}

@media(max-width: 490px) {
    .no-value-content {
        margin-top: 140px;
    }
}

@media(max-width: 450px) {
    .user-login {
        padding: 20px 0 0 0;
    }
}

@media(max-width: 400px) {
    .blue-line {
        margin-left: 86px;
        width: 100px;
    }

    .input-container input {
        width: 270px;
    }

    .no-value-content {
        margin-right: 55px;
    }
}

@media(max-width: 375px) {
    .user-login {
        height: auto;
    }

    .user-login {
        padding-bottom: 16px;
    }

    .legal-information {
        margin-top: 16px;
    }
}

@media(max-width: 360px) {
    .login-buttons {
        margin-top: 0;
    }
}