@font-face {
    font-family: 'Plus Jakarta Sans';
    src: url('../fonts/PlusJakartaSans-VariableFont_wght.ttf');
}

@font-face {
    font-family: 'Be Vietnam Pro XB';
    src: url('../fonts/BeVietnamPro-ExtraBold.ttf');
}

@font-face {
    font-family: 'Be Vietnam Pro RL';
    src: url('../fonts/BeVietnamPro-Regular.ttf');
}

.logo_global img,
.logo_reso img,
.logo_esb img,
.list_reso,
.list_esb {
    pointer-events: auto;
}

.logo_reso,
.logo_esb,
.list_reso,
.list_esb {
    z-index: 100 !important;
    position: relative;
    /* Ensure that z-index is applied */
}

* {
    padding: 0;
    margin: 0;
    transition: all cubic-bezier(0.165, 0.84, 0.44, 1) .5s;
}

:focus {
    border: 2px solid red;
    outline: none;
}

html {
    scroll-behavior: smooth;
}

.ti-arrow-circle-down {
    font-size: 4rem;
    position: absolute;
    top: 90vh;
    left: 50%;
    animation: mover 1s infinite alternate;
    color: #0d317a;
}

@keyframes mover {
    0% {
        transform: translateY(0px);
    }

    100% {
        transform: translateY(-10px);
    }
}

body {
    font-family: 'Plus Jakarta Sans';
    color: #0d317a;
    width: auto;
    height: 100dvh;
    overflow-x: hidden;
}

body div.wrapper {
    display: flex;
    align-items: stretch;
    height: 100%;
}

div.container {
    display: flex;
    flex-flow: row wrap;
    max-width: 1200px;
    margin: auto;
    padding: 10vh;
    gap: 2rem;
}

div.container>* {
    flex: 1 1;
}

div.container figure {
    min-width: 300px;
    width: 100%;
    flex: 2 1 300px;
}

div.container img {
    width: 100%;
}

div.content {
    flex: 1 1 300px;
}

div.content h2 {
    margin-bottom: 1rem;
}

.bgonde {
    background-position: center center;
    background-size: cover;
}

.bgonde .aside {
    display: block;
    width: 33%;
    background-image: url("../img/AdobeStock_283216068_Preview.jpeg");
    background-position: 25% 50%;
    background-size: cover;
    background-repeat: no-repeat;
}

.retouche .aside {
    background-image: url("../img/gourde.jpg");
}

.gamin .aside {
    background-image: url("../img/AdobeStock_545234807_Preview.jpeg");
}

.bgonde.gourdetrois .aside {
    width: 50%;
    background-image: url("../img/gourde5.jpg");
    background-position: left;
    -webkit-mask-image: linear-gradient(to right, rgba(0, 0, 0, 1), rgba(0, 0, 0, 1), rgba(0, 0, 0, 0));
    mask-image: linear-gradient(to right, rgba(0, 0, 0, 1), rgba(0, 0, 0, 1), rgba(0, 0, 0, 0));
}

.bgonde.gourdetroisbis .aside {
    background-image: url("../img/gourde5.jpg");
    background-position: left;
    -webkit-mask-image: linear-gradient(to right, rgba(0, 0, 0, 1), rgba(0, 0, 0, 0));
    mask-image: linear-gradient(to right, rgba(0, 0, 0, 1), rgba(0, 0, 0, 0));
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    width: 100%;
}

.bgonde.gourdetroister .aside {
    width: 50%;
    background-image: url("../img/gourde5.jpg");
    background-position: 35% 50%;
}

.gourdetroisbis section {
    margin-left: auto;
}

/* .gourdetrois .vagues, .gourdetroisbis .vagues {
    display: none;
} */

.gourdetroister .vagues {
    left: 42%;
}

header {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: white;
    font-family: 'Be Vietnam Pro XB';
    width: auto;
    text-align: center;
    background-image: linear-gradient(to right, #0d317a, #143d91);
    padding: .67rem;
}

header h2 {
    font-family: 'Be Vietnam Pro RL';
}

.gourdetrois section,
.gourdetroister section {
    width: 50% !important;
}

.bgonde section {
    width: 67%;
}

section {
    width: 100%;
    height: 60%;
    padding: 4rem 2rem;
    display: flex;
    justify-content: center;
    align-items: start;
}

.logo_nav {
    height: 300px;
    width: 800px;
    position: relative;
    margin: 0 auto;
    background-color: #ffffff00 !important;
}

.bgonde .logo_nav {
    height: 300px;
    max-width: 800px;
    width: 100%;
    position: relative;
    margin: 0 auto;
    background-color: #ffffff00 !important;
}

.logo_nav img {
    position: absolute;
    top: 0;
    height: 300px;
    cursor: pointer;
}

.logo_global {
    height: inherit;
}

.logo_global img {
    width: 100%;
    /*aspect-ratio: 1555/778;*/
    z-index: 15;
}

.logo_reso {
    opacity: 0;
    padding-top: 14px;
    position: absolute;
    width: 60.625%;
    left: 0;
    height: inherit;
}

.logo_esb {
    opacity: 0;
    padding-top: 14px;
    position: absolute;
    width: 61.25%;
    left: 38.9%;
    height: inherit;
}

.logo_reso svg {
    transition: clip-path .2s;
    z-index: 10;
    /* width: 485px; */
    width: 100%;
    /* clip-path: rect(0px 0px 300px 63%); */
}

.logo_esb svg {
    transition: clip-path .2s;
    z-index: 10;
    /* width: 490px; */
    width: 100%;
    /* clip-path: rect(0px 33% 300px 600px); */
}

.list {
    position: absolute;
    top: 420px;
    width: 50%;
    max-width: 800px;
    display: flex;
    justify-content: space-between;
}

.list ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
    width: 34%;
}

.list li {
    padding: .4rem;
    font-size: 14px;
}

.list img {
    display: none;
}

.list_reso {
    text-align: right;
}

.list_reso li {
    margin-bottom: .7em;
    box-shadow: inset 0 2.4em 0 0 #def5ff;
}

.list_esb li {
    margin-bottom: .7em;
    box-shadow: inset 0 2.4em 0 0 #d6f2f5;
}

.list_reso a,
.list_esb a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 2rem;
    padding: 1rem 2rem;
    text-decoration: none;
    color: white;
}

.list_reso a {
    background-color: #0aa6ed;
}

.list_reso a:hover {
    background-color: #57c4ff;
}

.list_esb a {
    background-color: #2ec2bd;
}

.list_esb a:hover {
    background-color: #6bd6bf;
}

.bandes {
    position: absolute;
    top: 120px;
}

.bandes:nth-of-type(2) {
    right: 0;
}

.vagues {
    position: relative;
    bottom: 0;
    left: 0;
    width: 28vw;
    z-index: -1;
    margin-top: 4rem;
}

.photo .vagues {
    left: 15vw !important;
}

.vagues path {
    stroke: #0d317a;
}

a>svg {
    display: inline-block !important;
    height: 1.75em;
}

a:hover>svg {
    rotate: 45deg;
    transform: rotateZ('45deg') !important;
}

a>svg path {
    fill: white !important;
}

footer {
    background-color: #0d317a;
    padding: 4rem;
}

footer .footer_content {
    width: 100%;
    max-width: 1200px;
    margin: auto;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 4rem;
}

footer a {
    color: white;
}

footer img {
    max-height: 100px;
    width: 100%;
    object-position: left;
    flex: 1 1 340px;
}

footer .menu {
    display: flex;
    flex-flow: column;
    flex: 1 1 340px;
}

.goutteicon {
    height: 2rem;
    width: 2rem;
    margin-right: 1rem;
}


@media only screen and (max-width: 1230px) {
    .aside {
        display: none !important;
    }

    .wrapper {
        display: block !important;
        height: 1042px !important;
    }

    .ti-arrow-circle-down {
        top: 820px;
    }

    section,
    .gourdetrois section {
        width: 100% !important;
        padding: 4rem 0 !important;
    }

    div.container {
        padding: 4rem 2rem !important;
    }

    .list {
        width: 100%;
        padding: 2rem;
    }

    .vagues {
        display: none;
    }
}

@media only screen and (max-width: 830px) {

    .logo_nav,
    .bandes,
    .vagues {
        display: none;
    }

    .list {
        position: relative;
        top: 0;
        justify-content: center;
        align-items: start;
        flex-wrap: wrap;
        gap: 2rem;
    }

    .list ul {
        flex: 2 1 256px;
    }

    .list img {
        display: block;
        width: 84%;
        flex: 0 0 84%;
        margin-bottom: 2rem;
    }

    .list_esb {
        text-align: left;
    }

    .ti-arrow-circle-down {
        top: 900px;
    }
}

@media only screen and (max-width: 630px) {

    .ti-arrow-circle-down {
        display: none !important;
    }

}