:root {
    --color-ev1: #010057;
    --color-ev2: #9a9a9a;
    --color-ev3: #f2a501;
    --color-ev4: #000535;
    --white: #ffffff;
    --black: #000000;
}

#global {
    background-image: url("../images/background_pc.jpg");
    background-size: cover;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    justify-content: space-between;
    font-family: "Nunito Sans", sans-serif;
}

.globalHomepage {
    overflow: hidden;
}

.header {
    display: flex;
    justify-content: space-between;
    padding: 3% 3% 0 3%;
    align-items: center;
    column-gap: 2rem;
}

#logoBleu {
    display: none;
}

#logoBlanc {
    width: min(25%, 300px);
}

#accessLabel {
    color: var(--black);
    font-size: 2.2rem;
    font-weight: bold;
}

.inputGroupAppend{
    display: flex;
    align-items: center;
}

#password {
    border-radius: 4px;
    border-color: var(--color-ev2);
    width: 65%;
    margin-right: 5%;
    font-size: 1.7rem;
}

#accessBtn {
    border-radius: 50%;
    background-color: var(--color-ev3);
    width: 40px;
    aspect-ratio: 1/1;
    border: none;
}

#accessBtn svg {
    width: 80%;
    padding: 0;
    margin: 0;
}

h3 {
    text-align: center;
    font-size: 2.5vh;
    font-weight: normal;
    color: var(--black);
    margin: 10% 0 0 0;
	font-family: "Nunito Sans", sans-serif;
}

.catalogues {
    display: flex;
    flex-direction: row;
    gap: 6%;
    justify-content: center;
    margin-top:-8%;
}

.catalogue {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: start;
    width: 11%;
}

.doubleCatalogue {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: 11%;
}

.flexContent {
    display: flex;
    flex-wrap: nowrap;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
}

.flexContent > *+* {
    margin-top: 25%;
}

.image {
    width: 100%;
    min-width:110px ;
}

.imageContainer {
    position: relative;
}

.logosPc {
    width: 65vw;
}

.logosMobile {
    display: none;
    width: 100%;
}

#lastEdit {
    font-size: 2rem;
    font-weight: normal;
    color: var(--white);
    position: fixed;
    bottom: 4%;
    left: 4%;
}

#titleEdit {
    color: var(--white);
    font-weight: bold;
    font-size: 4rem;
    flex-shrink: 0;
}

#titleIndex {
    color: var(--color-ev1);
    font-weight: bold;
    font-size: 4rem;
    flex-shrink: 0;
}

.main {
    display: flex;
    flex-direction: row;
    align-items: center;
    margin: 0 0 0 3%;
    gap: 10vw;
}

.footer {
    display: flex;
    justify-content: flex-end;
}

.d-none {
    display: none;
}

.overlay {
    display: none;
}

.sideBanner {
    position: absolute;
    bottom: 0;
    left: -55px;
    height: 100%;
    background-color: var(--color-ev2);
    text-align: center;
    border-radius: 4px;
    pointer-events: none;
}

.insideSideBanner {
    color: var(--white);
    transform: rotate(180deg);
    white-space: nowrap;
    margin: 0;
    writing-mode: vertical-rl;
    font-size: 1.8rem;
    min-height: 100%;
}

.reverseRow {
    display: flex;
    flex-direction: column-reverse;
    align-items: center;
    height: 100%;
    justify-content: start;
}

@media (max-width: 1195px) {

    h3 {
        margin : 0 0 10px 0;
        font-size: clamp(3rem, 1.561rem + 4.604vw, 4.5rem);
		font-family: "Nunito Sans", sans-serif;
    }

    .normalTitle {
        display: inline;
    }

    .proTitle {
        display: none;
    }

    .reverseRow {
        display: flex;
        flex-direction: column;
    }

    #accessBtn {
        width: 40px;
    }

    #global {
        background-image: url("../images/background_phone.png");
    }

    .header {
        justify-content: space-between;
        align-items: center;
        padding: 3% 3% 0 3%;
    }

    #titleEdit {
        color: var(--color-ev1);
        width: 70%;
        font-size: 4vh;
        text-align: center;
        margin-bottom: 5%;
    }

    #titleIndex {
        color: var(--color-ev1);
        width: 70%;
        font-size: 4vh;
        text-align: center;
        margin-bottom: 5%;
    }

    #logoBleu {
        display: block;
        max-width: min(50%, 300px);
    }

    #logoBlanc {
        display: none;
    }

    .main {
        flex-direction: column;
        align-items: center;
        gap: 5%;
        margin: 8% 0 0 0;
    }

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

    .catalogue {
        width: 55%;
        padding-top: 10%;
    }

    #lastEdit {
        position: static;
        margin: 6% 0 0 0;
        font-weight: normal;
        color: var(--color-ev4);
        font-size: 2vh;
    }

    #accessLabel {
        font-size: 2vh;
    }

    #password {
        width: min(80%, 180px);
    }

    .title {
        text-align: center;
    }

    .logosPc {
        display: none;
    }

    .logosMobile {
        display: block;
    }

    .sideBanner {
        display: none;
    }

    .flexContent {
        flex-direction: row;
        height: auto;
        gap: 8%;
    }

    .flexContent > *+* {
        margin-top: 0;
    }

    .doubleCatalogue {
        width: 75% !important;
        padding-top: 10%;
    }

    .overlay {
        display: flex;
        position: absolute;
        top: 0;
        right: 0;
        width: 100%;
        background-color: var(--color-ev2);
        color: var(--white);
        vertical-align: center;
        height: 15%;
        justify-content: center;
        align-items: center;
        font-size: clamp(1.5rem, 0.781rem + 2.302vw, 2.5rem);
    }

    .accessSpace {
        width: min(40%, 350px);
    }
}

@media (max-width: 500px) {

    h3 {
        font-size: clamp(1rem, -2rem + 16vw, 3rem);
    }
    .accessSpace {
        max-width: 280px;
        min-width: auto;
    }

    #password {
        font-size: 1.3rem;
    }

    #accessBtn{
        border-radius: 50%;
        background-color: var(--color-ev3);
        width: 30px;
        height: 30px;
        border: none;
    }

    .overlay {
        font-size: clamp(0.8rem, -1rem + 9.6vw, 1.5rem);
    }
}

#loaderTemp {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--white);
}

#loaderTemp img {
    width: 30%;
    margin-bottom: 5%;
}

#loader {
    min-height: 100%;
    min-width: 100%;
    align-items: center;
    position: absolute;
    background: white;
    display: flex;
    justify-content: center;
    top: 0;
    z-index: 1000;
}

#loader img {
    width: 30%;
    margin-bottom: 5%;
}

.lang-switch {
    display: flex;
    gap: 10px;
    margin-bottom: 10px;
    justify-content: flex-end;
	padding-bottom: 50px;
}

.btn-lang-evoca {
    background: var(--color-ev3);
    color: #fff;
    padding: 6px 18px;
    border-radius: 25px;
    font-weight: 700;
    font-size: 13px;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: 0.25s ease;
    border: 2px solid var(--color-ev3);
    display: inline-block;
}

.btn-lang-evoca:hover {
    background: #fff;
    color: var(--color-ev3);
    border-color: var(--color-ev3);
    box-shadow: 0 0 8px rgba(255, 165, 1, 0.4);
}


.btn-lang-evoca.active {
    background: #fff;
    color: var(--color-ev3);
    border-color: var(--color-ev3);
    cursor: default;
    pointer-events: none;
    box-shadow: 0 0 8px rgba(255, 165, 1, 0.4);
}