:root {

    /* Main colors */
    --off-black: #000018;
    --white: #fafbfc;
    --off-white: #f4f7f9;
    --light-grey: #e9eef3;
    --medium-grey: #d9e0e8;
    --light-blue: #ebf4fe;
    --medium-blue: #abcffb;
    --sky-blue: #0071ff;
    --ocean-blue: #00003c;
    --lime-green: #1beb83;
    --light-red: #feede7;
    --dark-red: #7f2106;
    --red: #e73c06;

    /* Filters */
    --filter-red: brightness(0) saturate(100%) invert(26%) sepia(46%) saturate(6720%) hue-rotate(10deg) brightness(100%) contrast(95%);

}


/** SemiLight */
@font-face {
    font-family: "TheSansE5-SemiLight";
    src: url('../../fonts/TheSansE5-4_SemiLight.woff2') format('truetype');
    font-style: normal;
    font-weight: 400;
}

/** SemiBold */
@font-face {
    font-family: "TheSansE5-SemiBold";
    src: url('../../fonts/TheSansE5-6_SemiBold.woff2') format('truetype');
    font-style: normal;
    font-weight: 600;
}

body {
    margin: 0;
    padding: 0;
    color: var(--ocean-blue) !important;
    font-family: "TheSansE5-SemiLight";
    background: var(--off-white);
    height: 100%;
}

h2,
h3 {
    font-family: "TheSansE5-SemiBold";
    font-weight: 600;
    margin: 0;
}

.desktop-only {
    display: block;
}

.mobile-only {
    display: none;
}

.border-left-green {
    border-left: 1px solid var(--lime-green);
}

.boxed-header {
    margin: 0 15rem;
}

.boxed-container {
    margin: 3rem auto;
    min-width: 400px;
    background-color: var(--white);
    border-radius: 0.5rem;
    color: var(--ocean-blue);
}

.boxed-container:has(#headerError) {
    margin: 5rem 25rem;
}

.btn-primary-ista {
    font-family: "TheSansE5-SemiBold";
    max-width: 150px;
    min-height: 35px;
    max-height: 45px;
    padding: 0.2rem 2rem;
    border-radius: 1rem;
    background: var(--lime-green);
    color: var(--ocean-blue);
    text-transform: uppercase;
    border: 1px solid var(--lime-green);
    cursor: pointer;
    transition: all 0.4s ease-in-out;
}

.btn-primary-ista:hover {
    color: var(--ocean-blue);
    background-color: var(--lime-green);
    border: 1px solid var(--lime-green);
    filter: brightness(0.94);
    transform: translateY(-3px);
}

.btn-secondary-ista {
    font-family: "TheSansE5-SemiBold";
    max-width: 150px;
    min-height: 35px;
    max-height: 45px;
    padding: 0.4rem 2rem;
    border-radius: 1rem;
    background: var(--off-white);
    color: var(--ocean-blue);
    text-transform: uppercase;
    border: 1px solid var(--off-white);
    cursor: pointer;
    transition: all 0.4s ease-in-out;
}

.btn-secondary-ista:hover {
    background: var(--off-white);
    color: var(--ocean-blue);
    border: 1px solid var(--off-white);
    filter: brightness(0.94);
    transform: translateY(-3px);
}

.contact-button {
    color: var(--ocean-blue);
    background-color: var(--lime-green);
    min-width: 180px;
    max-height: 50px;
    border: 1px solid var(--lime-green);
    border-radius: 2rem;
    padding: 1rem 1.3rem;
    font-size: 0.85rem;
    line-height: 1.1rem;
    font-weight: 600;
    transition: all 0.4s ease-in-out;
}

.contact-button:hover {
    transition: all 0.4s ease-in-out;
    color: var(--lime-green);
    background-color: var(--ocean-blue);
    border-color: var(--lime-green);
}

.d-flex {
    gap: 1rem;
}

.dk_toggle {
    width: 170px !important;
    height: 30px !important;
}

.error-alert {
    display: flex;
    padding: 0.5rem 1.5rem;
    border-radius: 0.4rem;
}

.error-alert .error .error-message {
    color: var(--dark-red);
    font-size: 0.9rem;
    font-weight: 600;
    padding: 0 1rem;
    line-height: 1rem;
}

.error-login {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.7rem;
    padding: 0.5rem 0;
}

.footer-container {
    color: var(--off-white);
    min-height: 40px;
    margin: 0 2rem;
    height: 100%;
}

.footer-links a {
    color: var(--off-white);
    text-decoration: none;
}

.footer-links a:hover {
    color: var(--lime-green);
    text-decoration: none;
}


.header {
    background-color: var(--ocean-blue);;
}

.header > p {
    color: var(--white);
    line-height: 1.5;
    font-size: 1.6rem !important;
}

hr {
    margin: 0;
}

.legals-container {
    color: var(--off-white);
    background: var(--ocean-blue);
    height: 100%;
}

.legals-title {
    font-family: "TheSansE5-SemiBold", sans-serif;
    padding: 0 4rem;

}

.legals-banner {
    height: 15rem;
    justify-content: flex-start !important;
}

.legals-banner > h1 {
    font-weight: 600;
}

.logo {
    width: 15rem;
    margin: auto;
}

.pad-left-extra {
    padding-left: 5rem;
}

.padding-legals {
    padding: 0 5rem 2rem 5rem;
}


.small-text {
    font-size: 0.9rem;
    font-weight: 100;
}

.subtitle {
    font-size: 2rem !important;
    font-weight: 600;
    color: var(--ocean-blue);
}

.title {
    font-size: 0.9rem;
    color: var(--off-white);
    padding: 1rem;
    margin: 0;
}

/* Smartphones (portrait and landscape) ----------- */
@media only screen and (min-device-width: 320px) {
    .desktop-only {
        display: none;
    }

    .mobile-only {
        display: block;
    }

    .boxed-header {
        margin: 0 1rem;
    }

    .boxed-container:has(#identification) {
        margin: 5rem 10rem;
    }

    .btn-card {
        min-width: 10rem;
    }

    .contact-button {
        border-radius: 2rem;

    }

    .legals-title {
        padding: 0 2rem;
    }

    .list {
        min-height: 380px;
        padding: 1rem;
        overflow-y: hidden;
    }

    .item {
        width: 15rem;
        height: 21rem;
    }


    .pad-left-extra {
        padding: unset;
    }

    .padding-legals {
        padding: 0 2rem 2rem 2rem;
    }


}

/* Tablet (portrait and landscape) ----------- */
@media only screen and (min-device-width: 768px) {
    body {
        font-family: "TheSansE5-SemiLight";
        background: var(--off-white);
    }

    .desktop-only {
        display: block;
    }

    .mobile-only {
        display: none;
    }

    .boxed-header {
        margin: auto;
        min-width: 300px;
        max-width: 600px;
    }

    .boxed-container:has(#identification) {
        margin: 5rem 15rem;
    }

    .list {
        min-height: 380px;
        padding: 1rem;
        overflow-y: hidden;
    }

    .item {
        width: 20rem;
        height: 21rem;
    }
}

/* Desktops and laptops ----------- */
@media only screen  and (min-width: 1224px) {
    .boxed-header {
        margin: 0 15rem;
        min-width: unset;
        max-width: unset;
    }

    .boxed-container:has(#identification) {
        margin: 5rem 30rem;
    }

    #inscription .identifier {
        min-width: 550px !important;
    }

}

@media only screen
and (min-width: 1408px) {

    .boxed-container:has(#identification) {
        margin: 5rem 45rem;
    }

    .boxed-header {
        margin: 0 15rem;
        min-width: unset;
        max-width: unset;
    }

    #inscription .identifier {
        min-width: 600px !important;
    }


}


