/*** PARAMS (GEN) ***/
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "BNPP Sans", serif;
}
html {
    height: 100%;
}
body {
    display: flex;
    justify-content: center;
    align-items: center;
    background: url(../images/background-main.png) center center / cover no-repeat;
    color: var(--standard-colour);
    font-size: .9rem;
    min-height: 100vh;
    height: 100%;
}
input:read-only {
    color: darkgrey;
    outline: none;
}

/*** NAVIGATION HEADER ***/
navigation {
    background: #FFFFFF;
    border-radius: 8px;
    box-shadow: 0 0 30px #000000;
    position: absolute;
    padding: 30px 30px 30px 60px;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    z-index: 99;
    width: 97%;
    height: 8%;
    top: 30px;
}
navigation .nav-content {
    display: flex;
}
navigation .btn-lang {
    background: transparent;
    border: none;
    outline: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 1em;
    color: var(--standard-colour);
    font-weight: 500;
    margin-right: 10px;
    margin-left: 30px;
    width: 45px;
}
navigation .lang-flag {
    margin-right: 160px;
}
navigation .btn-change, navigation .btn-error {
    width: 130px;
    height: 40px;
    background: transparent;
    border: none;
    outline: none;
    font-size: 1em;
    font-weight: 500;
    margin-left: 40px;
    transition: .5s;
}
.image-logo {
    max-width: 8%;
}
.home-logo {
    justify-content: space-between;
}

/*** ERROR MANAGEMENT ***/
.error {
    color: red;
    background-color: lightcoral;
    padding: 15px 10px 10px 10px;
    display: none;
}
.success {
    color: green;
    background-color: lightgreen;
    padding: 15px 10px 10px 10px;
    display: none;
}
.error.display-error, .success.display-success {
    display: flex;
    align-items: center;
    margin-bottom: 0;
    width: 100%;
    height: 40px;
}

/*** SECTION: BODY ***/
.title {
    position: fixed;
    display: flex;
    align-items: center;
    color: var(--whitelabel-colour);
    margin-top: -595px;
}
.wrapper-error {
    background: #FFFFFF;
    border-radius: 8px;
    box-shadow: 0 0 30px #000000;
    padding: 30px;
    align-items: center;
    margin-top: -435px;
    justify-content: space-evenly;
    display: flex;
    width: 97%;
    height: auto;
}
.wrapper-error .message-box {
    display: flex;
    align-items: center;
    gap: 5px;
}
.wrapper-error a {
    color: var(--whitelabel-colour);
    text-decoration: none;
    font-size: 16px;
}
.wrapper-error a:hover {
    text-decoration: underline;
}
.wrapper-login {
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    border-radius: 8px;
    box-shadow: 0 0 30px #000000;
    padding: 60px 60px;
    margin-left: 610px;
    max-width: 700px;
}
.wrapper-login .info h2 {
    font-size: 2em;
    font-weight: 500;
    line-height: 60px;
    margin-bottom: 30px;
}
.wrapper-login .info h2 span {
    color: var(--whitelabel-colour);
    font-size: 2em;
    font-weight: 500;
}
.wrapper-login .info p {
    font-size: 1em;
    font-weight: 500;
}
.icon-close {
    position: absolute;
    top: 0;
    right: 0;
    color: var(--whitelabel-colour);
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    z-index: 1;
    transition: transform .18s ease;
    width: 35px;
    height: 35px;
}
.modal-password {
    position: fixed;
    top: 0;
    visibility: hidden;
    transition: visibility 0.4s;
    width: 100%;
    height: 100%;
}
.modal-password.active {
    visibility: visible;
}
.modal-password .overlay {
    opacity: 0;
    position: absolute;
    background: #333333D3;
    transition: opacity 0.4s 0.1s ease-out;
    width: 100%;
    height: 100%;
}
.modal-password.active .overlay {
    opacity: 1;
    transition: opacity 0.4s ease-out;
}
.modal-password .modal {
    opacity: 0;
    position: absolute;
    transform: translate(-50%, calc(-50% - 50px));
    transition: opacity 0.4s ease-out, transform 0.4s ease-out;
    top: 50%;
    left: 50%;
}
.modal-password.active .modal {
    opacity: 1;
    transform: translate(-50%, -50%);
    transition: opacity 0.4s 0.1s ease-out, transform 0.4s 0.1s ease-out;
    display: flex;
    align-items: center;
    justify-content: center;
}
.modal-content {
    position: relative;
    background: #FFFFFF;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: transform .5s ease, height .2s ease;
    padding: 30px;
    width: 400px;
    height: 290px;
}
.wrapper-content {
    position: relative;
    background: #FFFFFF;
    border-radius: 8px;
    box-shadow: 0 0 30px #000000;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    transform: scale(0);
    transition: transform .5s ease, height .2s ease;
    width: 500px;
    height: auto;
}
.wrapper-content.active-popup {
    transform: scale(1);
}
.wrapper-content .form-box {
    width: 100%;
    padding: 30px;
}
.wrapper-content .form-box.access {
    transition: transform .18s ease;
    transform: translateX(0);
}
.wrapper-content.active .form-box.access {
    transition: none;
    transform: translateX(-500px);
}
.wrapper-content .form-box.reset {
    position: absolute;
    transition: none;
    transform: translateX(500px);
}
.wrapper-content.active .form-box.reset {
    transition: transform .18s ease;
    transform: translateX(0);
}
.form-box h2 {
    font-size: 2em;
    color: var(--whitelabel-colour);
    text-align: center;
}
.popup-box.password {
    width: 100%;
}
.form-box p, .popup-box.password p {
    padding-top: 20px;
    padding-bottom: 10px;
}
.popup-box.password li {
    padding-top: 10px;
    margin-left: 17px;
}
.input-box {
    position: relative;
    margin: 20px 0;
    width: 100%;
    height: 40px;
}
.input-box label {
    position: absolute;
    top: 50%;
    left: 5px;
    transform: translateY(-50%);
    font-size: 1em;
    color: var(--standard-colour);
    font-weight: 500;
    pointer-events: none;
    transition: .5s;
}
.input-box input {
    background: transparent;
    border: 1px solid lightgrey;
    border-radius: 4px;
    font-size: 1em;
    color: var(--standard-colour);
    font-weight: 500;
    padding: 0 35px 0 5px;
    width: 100%;
    height: 100%;
}
.input-box input:focus {
    outline:none;
    border: 2px solid var(--whitelabel-colour);
}
.input-box .icon {
    position: absolute;
    right: 10px;
    font-size: 1em;
    color: var(--whitelabel-colour);
    top: 50%;
    transform: translateY(-50%);
}
.btn-submit {
    outline: none;
    background: transparent;
    border: 2px solid var(--whitelabel-colour);
    border-radius: 4px;
    cursor: pointer;
    font-size: 1em;
    color: var(--whitelabel-colour);
    font-weight: 500;
    transition: .5s;
    width: 100%;
    height: 40px;
}
.btn-submit:hover {
    background: var(--whitelabel-colour);
    color: #FFFFFF;
    border: 2px solid var(--whitelabel-colour);
}
.input-link {
    font-size: .9em;
    color: var(--standard-colour);
    font-weight: 500;
    margin: 0 0 30px;
    display: flex;
    justify-content: space-between;
}
.input-link label input {
    accent-color: var(--standard-colour);
    margin-right: 3px;
}
.input-link a {
    color: var(--standard-colour);
    text-decoration: none;
}
.input-link a:hover {
    color: var(--whitelabel-colour);
    text-decoration: underline;
}

/*** MEDIA - RESPONSIVE CSS ***/
@media screen and (max-width: 800px) {
    html {
        transform: scale(.5) !important;
        transform-origin: 0 0 !important;
        overflow: hidden !important;
        width: 200vw !important;
        height: 200vh !important;
    }
    body {
        background-position-y: 440% !important;
    }
    navigation .nav-content {
        margin-right: -5px !important;
    }
}
@media (min-width: 801px) and (max-width: 1024px) {
    html {
        transform: scale(.75) !important;
        transform-origin: 0 0 !important;
        overflow: hidden !important;
        width: 134vw !important;
        height: 150vh !important;
    }
    body {
        background-size: inherit !important;
        background-position-y: 56% !important;
    }
    navigation .nav-content {
        margin-right: -30px !important;
    }
}
@media (min-width: 1025px) and (max-width: 1280px) {
    html {
        transform: scale(.75) !important;
        transform-origin: 0 0 !important;
        overflow: hidden !important;
        width: 134vw !important;
        height: 150vh !important;
    }
    body {
        background-size: inherit !important;
        background-position-y: 50% !important;
    }
}
@media (min-width: 1281px) and (max-width: 1366px) {
    html {
        transform: scale(.75) !important;
        transform-origin: 0 0 !important;
        overflow: hidden !important;
        width: 134vw !important;
        height: 150vh !important;
    }
    body {
        background-size: inherit !important;
        background-position-y: 56% !important;
    }
}
@media (min-width: 1367px) and (max-width: 1600px) {
    html {
        transform: scale(.9) !important;
        transform-origin: 0 0 !important;
        overflow: hidden !important;
        width: 111vw !important;
        height: 125vh !important;
    }
    body {
        background-size: inherit !important;
        background-position-y: 48% !important;
    }
}
@media (min-width: 1601px) and (max-width: 1680px) {
    body {
        background-size: inherit !important;
        background-position-y: 40% !important;
    }
}
@media (min-width: 1681px) and (max-width: 1920px) {
    body {
        background-size: inherit !important;
        background-position-y: 43% !important;
    }
}
@media screen and (min-width: 1921px) {
    body {
        background-size: inherit !important;
        background-position-y: 43% !important;
    }
}
@media (min-resolution: 130dpi) {
    html {
        zoom: 90%;
        width: 148vw !important;
        height: 167vh !important;
    }
    body {
        background-position-y: 46% !important;
    }
}
