@media screen and (max-width: 480px) {
    body {
        padding: 10px;
        flex-direction: column;
        justify-content: flex-start;
    }

    header {
        padding: 10px;
    }

    #not-User {
        right: 150px;
    }

    .navigation {
        margin-right: 10px;
    }

    .navigation .btnLogin-popup {
        margin-left: 20px;
    }

    .wrapper {
        width: 100%;
        max-width: 350px;
        margin-top: 80px;
        height: calc(100vh - 150px)
    }

    .form-box-login {
        padding: 20px;
    }

    .btn {
        flex-direction: column;
        align-items: center;
    }

    #log, #guest {
        width: 100%;
        max-width: 200px;
    }

    footer {
        padding: 10px;
        /* display: none; */
    }
   
}

@media screen and (max-width: 768px) {
    header {
        padding: 20px 50px;
    }
    .legal-notice {
        /* display: none; */
    }
    .privacy {
        /* display: none; */
    }
    .img-logo img{
        height: 50px;
        width: 50px;
    }

    #not-User {
        position: absolute;
        bottom: 60px;
        right: 150px;
        display: none;
    }

    .navigation .btnLogin-popup {
        margin-left: -25px;
        width: 80px;
        height: 30px;
        top: 25px;
        
    }
}

@media screen and (max-width: 480px) and (orientation: landscape) {
    body {
        display: flex;
        flex-direction: row;
        justify-content: flex-start;
        align-items: center;
        padding: 20px;
        height: 100vh;
        overflow-x: hidden;
    }

    .wrapper {
        margin-right: 180px;
    }

    header {
        position: fixed;
        right: 150px;
        top: 35%;
        width: auto;
        padding: 0;
        z-index: 1000;
    }

    #not-User h4 {
        display: none;
    }

    .navigation {
        margin: 0;
    }

    .btnLogin-popup {
        width: 130px;
        height: 45px;
        background-color: #4589FF;
        border: 2px solid #fff;
        border-radius: 6px;
        cursor: pointer;
        font-size: 1.1em;
        color: #fff;
        font-weight: 500;
        margin: 0;
    }

    footer {
        position: fixed;
        right: 150px;
        bottom: 20%;
        z-index: 1000;
    }

    .end {
        display: flex;
        flex-direction: column;
        align-items: flex-end;
        gap: 10px;
    }

    .privacy, .legal-notice {
        display: block;
        margin: 5px 0;
    }

    .privacy a, .legal-notice a {
        color: #4589FF;
        font-size: 0.9em;
        text-decoration: none;
        display: block;
    }

    #msgBox {
        display: none;
    }
}
