@media (max-width: 1024px) and (max-height: 850px) {
    .header {
        height: 20%;
    }

    .header__logo__container {
        top: 56px;
        left: 66px;
    }

    .header__logo {
        width: 50px;
        height: 61px;
    }

    @keyframes animation_logo {
        from {
            inset: 50% 0 0 50%;
            transform: translate(-50%, -50%);
            height: 334px;
            width: 274px;
        }

        to {
            height: 61px;
            width: 50px;
            top: 56px;
            left: 66px;
            transform: none;
        }
    }

    .logIn__container {
        width: clamp(300px, 652px, 80%);
    }

    .inputField__container {
        width: clamp(240px, 422px, 80%);
        height: 48px;
    }
}

@media (max-width: 1024px) and (max-height: 600px) {
    .check-box {
        margin-bottom: 4px;
        margin-top: 4px;
    }
}

@media (max-width: 900px) {
    .logIn__container {
        width: clamp(300px, 652px, 80%);
    }

    .inputField__container {
        width: clamp(240px, 422px, 80%);
        height: 48px;
    }
}

@media (max-width: 800px) {
    .header__logo__container {
        top: 56px;
        left: 5%;
    }

    .header__logo {
        width: 75px;
        height: 91px;
    }
}

@media (max-width: 600px) {
    .header {
        height: 20%;
    }

    .header__logo__container {
        top: 56px;
        left: 5%;
    }

    .header__logo {
        width: 75px;
        height: 91px;
    }

    @keyframes animation_logo {
        from {
            inset: 50% 0 0 50%;
            transform: translate(-50%, -50%);
            height: 334px;
            width: 274px;
        }

        to {
            height: 91px;
            width: 75px;
            top: 56px;
            left: 5%;
            transform: none;
        }
    }

    .login__nav-mobile {
        display: flex;
        margin-bottom: 8px;
    }

    .login__nav {
        display: none;
    }

    .login__nav__mobile {
        display: inline-block;
    }

    .login__footer {
        margin-top: 1rem;
    }

    .login__footer a {
        padding-bottom: 0px;
        min-width: 123px;
        text-align: center;
    }

    .footer__legacys {
        padding-bottom: 8px;
    }

    .login__signUp-mobile {
        height: 36px;
        padding: 9px;
    }
}

@media (max-width: 600px) {
    .check-box {
        margin-left: 26px;
    }

    .logIn__btn__container {
        flex-direction: column;
        height: 100%;
        gap: 21px;
    }

    .btn__logIn {
        width: 180px;
        height: 51px;
    }

    .btn__guest {
        width: 180px;
        height: 51px;
        margin-bottom: 32px;
    }

    .login__nav-mobile {
        gap: 16px;
    }
}

@media (max-width: 500px) and (min-height: 600px) {
    .header__logo__container {
        top: 30px;
        left: 38px;
    }

    .logIn__container h1 {
        height: 56px;
        font-size: 47px;
        margin-top: 32px;
    }

    .logIn__separator {
        margin-top: 16px;
        margin-bottom: 16px;
    }

    .inputField__container-margin32 {
        margin-bottom: 16px;
    }

    .header__logo {
        width: 50px;
        height: 61px;
    }

    .logIn__container {
        height: 60%;
        width: 90%;
    }

    @keyframes animation_logo {
        from {
            inset: 50% 0 0 50%;
            transform: translate(-50%, -50%);
            height: 334px;
            width: 274px;
        }

        to {
            height: 61px;
            width: 50px;
            top: 30px;
            left: 38px;
            transform: none;
        }
    }

    .check-box {
        margin-left: 44px;
        margin-top: 8px;
        margin-bottom: 16px;
    }

    .btn__logIn {
        height: 38px;
    }

    .btn__guest {
        height: 38px;
    }

    .login__nav-mobile {
        margin-top: 16px;
    }

    .login__signUp-mobile {
        height: 38px;
        padding: 8px;
    }

    .footer__legacys {
        padding-bottom: 0px;
    }
}

@media (max-width: 360px) and (max-height: 600px) {
    .header {
        height: 15%;
    }

    .header__logo__container {
        top: 2%;
        left: 5%;
    }

    .header__logo {
        width: 37px;
        height: 45px;
    }

    @keyframes animation_logo {
        from {
            inset: 50% 0 0 50%;
            transform: translate(-50%, -50%);
            height: 334px;
            width: 274px;
        }

        to {
            height: 37px;
            width: 45px;
            top: 2%;
            left: 5%;
            transform: none;
        }
    }

    .logIn__container {
        overflow-y: auto;
        overflow-x: hidden;
        padding-top: 5rem;
    }

    .logIn__container h1 {
        font-weight: 700;
        font-size: 30px;
        line-height: 18px;
        text-align: center;
        padding-top: 8px;
    }

    .logIn__separator {
        width: 150px;
        height: 3px;
        margin-top: 4px;
        margin-bottom: 12px;
    }

    .inputField__container-margin32 {
        margin-bottom: 12px;
    }

    .logIn__btn__container {
        width: 20%;
    }

    .btn__logIn,
    .btn__guest {
        height: 32px;
    }

    .login__footer {
        padding-top: 2rem;
        position: sticky;
        overflow-x: hidden;
        overflow-y: auto;
    }
}

@media (min-width: 600px) and (max-height: 730px) {
    .logIn__container {
        overflow-y: auto;
        padding-top: 150px;
        padding-bottom: 50px;
        margin-bottom: 50px;
    }

    .login__footer {
        position: sticky;
        max-height: 24px;
    }
}
