*{
    margin: 0;
    font-family :'GTAmerica-Regular'
}

html{
    scroll-behavior:smooth;
}

@font-face {
    font-family: 'GTAmericaExt';
    src: url('font//GT-America-Extended-Medium.latin.ttf') format('ttf'),
}

@import url('https://fonts.googleapis.com/css2?family=Macondo&display=swap');

@font-face {
    font-family: 'GTAmerica-Regular';
    src: url(font/GT-America-Standard-Regular.latin.woff2) format('woff2');
}

@font-face {
    font-family: 'GTAmerica-Medium';
    src: url(font/GT-America-Standard-Medium.latin.woff2) format('woff2');
}

@font-face {
    font-family: 'GTAmerica-Bold';
    src: url(font/GT-America-Standard-Bold.latin.woff2) format('woff2');
}

   @font-face {
       font-family: 'N26';
       src: url("font/N26-MediumModif.woff") format('woff');
   }

nav a:link{
    text-decoration: none;
    color: #1d1d1b;
}

nav a:visited{
    text-decoration: none;
    color: #1d1d1b
}

nav a:hover{
    color: #35A28B;
}



nav{
    display: none;
}
header{
    height: 100vh;
    background-color: #CEE4DA;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    position: relative
}

header .container{
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transform: translateY(-50px);
}

header .container .title{
    width: 90vw;
}

header .container h1{
    z-index: 3;
    margin-top: 10px;
    font-size: 0;
}

header .container .titletop{
    color: white;
    font-family: 'GTAmerica-Medium';
    font-size: 55px;
    z-index: 5;
    font-weight: lighter;
}


header .container .logo{
    width: 50px;
    margin-bottom: 0px;
    align-self: flex-start;
}

header .container .illu{
    width: 70vw;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -40%);
    z-index: 2;
    animation-name: carte-top;
    animation-duration: 8s;
    animation-iteration-count: infinite;
}

@keyframes carte-top {
    0%   {
        transform: translate(-50%, -40%);
    }
    50%   {transform: translate(-50%, -50%);}
    100%   {transform: translate(-50%, -40%);}
  }

header .container .shaddow{
    position: absolute;
    width: 100vw;
    left: 50%;
    top: 140%;
    transform: translateX(-50%);
    animation-name: carte-shaddow;
    animation-duration: 8s;
    animation-iteration-count: infinite;
}

@keyframes carte-shaddow {
    0% {width: 80vw;}
    50% {width: 100vw;}
    100% {width: 80vw;}
}

header .btn-call{
    top: 85vh;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    margin-left: 0%;
}

.btn-call{
    border: none;
    background-color: #35A28B;
    color: white;
    border-radius: 6px;
    font-size: 14px;
    padding: 12px;
    margin: 16px;
    font-family: 'GTAmerica-Regular';
    transition : ease-in 150ms;
}

.btn-call:hover{
    box-shadow: 0px 5px 10px 1px rgba(0,0,0,0.10);
}

.btn-second{
    border: #b8b8b8 1.5px solid;
    background-color: transparent;
    color: #1d1d1b;
    border-radius: 6px;
    font-size: 14px;
    padding: 12px;
    margin: 16px;
    font-family: 'GTAmerica-Regular';
    transition: ease-in 150ms;
}

.btn-second:hover{
    background-color: white;
    box-shadow: 0px 5px 10px 1px rgba(0,0,0,0.10);

}

h2{
    font-family: aktiv-grotesk-extended, sans-serif;
    font-style: normal;
    font-size: 25px;
    margin-bottom: 16px;
    font-weight: lighter;
}

.N-N26{
    font-family: 'N26';
    font-size: 25px;
}

.corps-text{
    font-family: 'GTAmerica-Regular';
    font-size: 16px;
    line-height: 26px;
}


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

    header .container .title{
        font-size: 100px;
        z-index: 2;
    }

    header .container .illu{
        width: 50vw;
        z-index: 3;
    }

    header .container .shaddow{
        width: 10vw;
        top : 90%;
        z-index:1;
    }

    nav{
        display: flex;
        justify-content: space-evenly;
        align-items: center;
        list-style: none;
        position: fixed;
        top: 0;
        z-index: 99999999;
        background-color: white;
        width: 100vw;
        padding: 20px 0;
        box-sizing: border-box;
        box-shadow: #1d1d1b15 0px 3px 10px;
    }

    nav img{
        height: 30px;
    }

    header .container .btn-call{
        margin-top: 300px;
    }

    header .container{
        transform: translateY(0px);
    }
}

@media screen and (min-width:1024px){
    header .container .illu{
        width: 35vw;
    }

    header .container .logo{
        width: 80px;
        margin-bottom: 20px;
    }
}








/*    VALEURS N26   */

#pourquoi{
    display: flex;
    flex-direction: column;
    padding: 50px 0px;
}
  
#pourquoi .container {
    -ms-overflow-style: none;
    scrollbar-width: none;
    width: 100vw;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

#pourquoi .container .item{
    width: 90vw;
    border-radius: 12px;
    background-color: #E9F3F0;
    display: flex;
    flex-direction: row;
    overflow: hidden;
    margin-bottom: 20px;
    justify-content: center;

}


#pourquoi .container .item:nth-child(2){
    background-color: #F3EAE8;
}

#pourquoi .container .item:nth-child(3){
    background-color: #F3EEE3;
}

#pourquoi .container .item:nth-child(4){
    background-color: #E9E8ED;
}

#pourquoi .container .item .left{
    width: 80%;
    margin-right: 20px;
    padding: 20px;
}

#pourquoi .container .item .right{
    width: 30%;
    display: flex;
    align-items: flex-end;
}

#pourquoi .container .item .right img{
    height: 80%;
    transform: translateX(-55px);
}

#pourquoi .container .item .title{
    font-family: aktiv-grotesk-extended, sans-serif;
    font-size : 25px;
}

#pourquoi .head{
    margin: 30px 5vw;
}

@media screen and (min-width:768px){
    #pourquoi .item{
        width: 45%!important;
        height: 260px;
    }

    #pourquoi .container .item .right{
        position : relative;
    }

    #pourquoi .container{
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: space-evenly;
    }
}

@media screen and (min-width:1100px) {
    #pourquoi{
        overflow: hidden;
        align-items: flex-start;
    }

    #pourquoi .container{
        flex-wrap: nowrap;
        overflow: scroll;
        justify-content: flex-start;
    }

    #pourquoi .item{
        min-width: 500px;
        margin-right: 30px;
    }

   #pourquoi .container::-webkit-scrollbar {
    display: none;
    }
  
    #pourquoi .container{
    -ms-overflow-style: none;
    scrollbar-width: none; 
    }

    #pourquoi .head{
    margin: 30px 15vw;
    }

    #pourquoi .container .item:nth-child(1){
        margin-left: 15vw;
    }

    #pourquoi .container .item:nth-child(4){
        margin-right: 15vw;
    }
}

/*   LOGOTYPES   */

#logotypes{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-color: #E9F3F0;
    padding: 80px 0px;
}

#logotypes img{
    height: 50px;
}

#logotypes .item{
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 60px;
}

#logotypes .item p{
    color: #92BAA8;
    margin-top: 10px;
}

@media screen and (min-width:768px){
    #logotypes .container{
        flex-direction: row;
        display: flex;
        width: 85vw;
        justify-content: space-evenly;
    }

    #logotypes .container .item{
        margin-top: 15px;
    }
}


/*   TYPOGRAPHIES   */

#typographies{
    display: flex;
    flex-direction: column;
    padding: 0 7.5vw;
    padding-top: 80px;
    background-color: #F3EEE3;
}

#typographies .right{
    width: 100%;
    overflow: hidden;
    margin-top: 25px;
}


#typographies .right img{
    width: 100%;
    height: 100%;
    transform: translateY(4px);
}

@media screen and (min-width:768px){
    #typographies .right img{
        width: 60%;
        height: auto;
    }

    #typographies .right{
        display: flex;
        justify-content: center;
    }
}

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

    #typographies{
        padding: 0;
    }
    #typographies .container{
        flex-direction: row;
        display: flex;

    }

    #typographies .right{
        width: 50%;
    }

    #typographies .left{
        width: 50%;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: flex-end;
        text-align: right;
    }

    #typographies .left .corps-text{
        width: 90%;
    }
}

@media screen and (min-width:1300px){
    #typographies{
        padding : 0 15vw;
    }
}



/*   COULEURS   */

#couleurs{
    display: flex;
    flex-direction: column;
    background-color: #EAEEF2;
}

#couleurs .container{
    display: flex;
    flex-direction: column-reverse;
}

#couleurs .container .left img{
    width: 100%;
}

#couleurs .container .left{
    margin-top: 25px;
    display: flex;
    justify-content: center;
    padding: 20px 0px 30px 0px;
}

#couleurs .container .right{
    background-color: #1F5D6D;
    color: white;
    padding: 80px 7.5vw;
}

@media screen and (min-width:768px){
    #couleurs .container .left img{
        width: 80%;
    }
}

@media screen and (min-width:1100px){
    #couleurs .container{
        flex-direction: row;
    }

    #couleurs .container .left{
        width: 50%;
    }

    #couleurs .container .left img{
        width: 80%;
        min-height: auto;
    }

    #couleurs .container .right{
        width: 50%;
        display: flex;
        flex-direction: column;
        justify-content: center;
    }
}

@media screen and (min-width:1300px){
    #couleurs .container .left{
        padding : 50px 80px 50px 15vw;
        display: flex;
        justify-content: center;
        align-items: center;
        margin-top: 0;
    }

    #couleurs .container .left img{
        height: fit-content;
        width: 100%;
    }

    #couleurs .container .right{
        padding : 0 15vw 0 80px
    }
}



/*    NOS PICTOGRAMMES   */ 

#pictogrammes{
    display: flex;
    flex-direction: column;
    background-color: #F4F4F4;
    padding: 60px 7.5vw;
    align-items: center;
}

#pictogrammes .container{
    display: flex;
    flex-direction: column;
    align-items: center;
}

#pictogrammes .container .item{
    width: 85vw;
    margin-top: 40px;
}

#pictogrammes .container .item img{
    height: 30px;
}

#pictogrammes .container .item:nth-child(1) img{
    height: 40px;
}

#pictogrammes .container .item .title{
    font-family: GTAmerica-Medium;
    font-size: 20px;
}

@media screen and (min-width:768px){
    #pictogrammes .container{
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: space-between;
    }

    #pictogrammes .container .item{
        width: 45%;
    }
}

@media screen and (min-width:1100px){
    #pictogrammes{
        padding: 60px 15vw;;
    }
}

@media screen and (min-width:1300px){
    #pictogrammes{
        padding: 60px 30vw;;
    }
}

/*   BOUTONS   */

#boutons{
    display: flex;
    flex-direction: column;
    padding: 0px 7.5vw;
    padding-top: 80px;
    height: auto;
    padding-bottom: 0;
}

#boutons .left{
    margin-bottom: 50px;
}

#boutons .left .corps-text{
    margin-bottom: 20px;
}
#boutons .left span{
    width: 100%;
}
#boutons .btn-call,.btn-second{
    margin: 0;
    margin-right: 10px;
}


#boutons .right{
    width: 20vw;
    position: relative;
    padding: 50px;
    box-sizing: border-box;
    height: 50vh;
    width: 100%;
}

#boutons .right .header-boutons{
    display: flex;
    position: absolute;
    justify-content: space-between;
    width: 70%;
    top: 30px;
    left: 50%;
    transform: translateX(-50%);
}

#boutons .right .header-boutons .title{
    font-family: aktiv-grotesk-extended, sans-serif;
    font-size: 16px;
    width: 50%;
}

#boutons .right .header-boutons div{
    display: flex;
    width: 50%;
    justify-content: space-evenly;
}

#boutons .right .header-boutons div img{
    height: auto;
    width: 20px;
}

#boutons .right .header-boutons div img:nth-child(2)::after{
    content: url('');
    border-right: grey 1px solid;
}

#boutons .right .bouton-section{
    display: flex;
    flex-wrap: wrap;
    position: absolute;
    padding: 10px;
    box-sizing: border-box;
    height: 30vh;
    top: 9vh;
    left: 50%;
    transform: translateX(-50%);
    width: 60vw;
}

#boutons .right .tel{
    position: absolute;
    left: 50%;
    top: 0;
    height: 100%;
    transform: translateX(-50%);
}
#boutons .right .bouton-section .item{
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 50%;
    justify-content: space-around;
    padding: 10px;
    box-sizing: border-box;
}

#boutons .right .bouton-section .item .legende{
    font-family: aktiv-grotesk-extended, sans-serif;
    text-align: left;
    font-size: 14px;
    margin-bottom: 20px;
}

#boutons .right .bouton-activation .bouton-fond{
    background-color: #E8E8E8;
    width: 80px;
    height: 40px;
    border-radius: 50px;
}

#boutons .right .bouton-activation{
    position: relative;
    overflow: hidden;
    border-radius: 50px;
    width: 80px;
}

#boutons .right .bouton-activation .bouton-fond-act{
    background-color: #35A28B;
    position: absolute;
    top: 0;
    left: -100px;
    width: 100px;
    height: 40px;
    z-index: 1;
    animation: activation-fond;
    animation-duration: 2s;
    animation-iteration-count: infinite;
    border-radius: 50px;

}

#boutons .right .bouton-activation .bouton-cercle{
    position: absolute;
    width: 33px;
    height: 33px;
    background-color: white;
    border-radius: 30px;
    left: 4px;
    top: 50%;
    z-index: 2;
    transform: translateY(-50%);
    box-shadow: 0px 0px px 3px rgba(0,0,0,0.10);
    animation: activation;
    animation-duration: 2s;
    animation-iteration-count: infinite;
}

@keyframes activation {
    0%{left: 4px;}

    25%{left : 4px;}

    50%{left: 43px;}

    75%{left: 43px;}

    100%{left:4px;}
}

@keyframes activation-fond {
    0%{left: -100px;}

    20%{left : -100px;}

    50%{left: -15px;}

    75%{left: -15px;}

    90%{left:-100px;}
}


#boutons .right .bouton-fonc{
    width: 50px;
    height: 50px;
    border-radius: 40px;
    background-color: white;
    border: #E8E8E8 solid 3px;
    position: relative;
    animation: btn-fonc;
    animation-duration: 3s;
    animation-iteration-count: infinite;
}

#boutons .right .bouton-fonc img{
    position: absolute;
    width: 50%;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
}

@keyframes btn-fonc {
    0%{
        background-color: white;
    }
    20%{
        background-color: white;
    }
    30%{
        background-color: #E8E8E8;
    }

    50%{
        background-color: #E8E8E8;
    }

    60%{
        background-color: #E8E8E8;
    }


    100%{
        background-color: white;
    }
}

#boutons .right .bouton-fonc2{
    width: 50px;
    height: 50px;
    border-radius: 40px;
    background-color: #35A28B;
    position: relative;
    animation: btn-fonc2;
    animation-duration: 3s;
    animation-iteration-count: infinite;
}

#boutons .right .bouton-fonc2 img{
    position: absolute;
    width: 50%;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
}

@keyframes btn-fonc2 {
    0%{
        background-color: #35A28B;
    }
    20%{
        background-color: #35A28B;
    }
    30%{
        background-color: #277967;
    }

    50%{
        background-color: #277967;
    }

    60%{
        background-color: #277967;
    }


    100%{
        background-color: #35A28B;
    }
}


#boutons .right .bouton-menu{
    width: 50px;
    height: 60px;
    position : relative;
}

#boutons .right .bouton-menu img{
    width: 100%;
    position: absolute;
}

#boutons .right .bouton-menu .menu-act{
    opacity: 100%;
    z-index: 3;
    animation: menu-act;
    animation-duration: 3s;
    animation-iteration-count: infinite;
}

@keyframes menu-act {
    0%{opacity: 100%;}
    40%{opacity: 100%;}
    48%{opacity: 0%;}
    60%{opacity: 0%;}
    68%{opacity: 100%;}
    100%{opacity: 100%;}
    
}

@media screen and (min-width:768px){
    #boutons .right{
        height: 60vh;
    }
    #boutons .right .bouton-section{
        width: 40vw;
        left: 50%;
        transform: translateX(-50%);
        top: 80px;
    }

    #boutons .right .header-boutons{
        width: 35vw;
        left: 50%;
        transform: translateX(-50%);
        top: 30px;
    }
}

@media screen and (min-width: 900px){
    #boutons .right .bouton-section{
        width: 35vw;
        left: 50%;
        transform: translateX(-50%);
        top: 100px;
    }

    #boutons .right .header-boutons{
        width: 30vw;
        left: 50%;
        transform: translateX(-50%);
        top: 40px;
    }
}

@media screen and (min-width:1100px){
    #boutons{
        flex-direction: row;
        display: flex;
        padding: 80px 15vw;
    }

    #boutons .left{
       width: 70%;
       margin-bottom: 0;
       justify-content: center;
       display: flex;
       flex-direction: column;
    }

    #boutons .right .bouton-section{
        width: 21vw;
        left: 50%;
        transform: translateX(-50%);
        top: 80px;
    }

    #boutons .right .header-boutons{
        width: 20vw;
        left: 50%;
        transform: translateX(-50%);
        top: 40px;
    }
}

@media screen and (min-width:1300px){
    #boutons{
        padding: 80px 20vw;
        padding-bottom: 0;
    }
}

@media screen and (min-width:1800px){
    #boutons .right{
        height: 40vh;
    }
    #boutons .right .bouton-section{
        width: 15vw;
        left: 50%;
        transform: translateX(-50%);
        top: 100px;
    }

    #boutons .right .header-boutons{
        width: 13vw;
        left: 50%;
        transform: translateX(-50%);
        top: 40px;
    }
}




/*   ESPACEMENTS */

#espacement{
    display: flex;
    flex-direction: column;
    padding: 60px 20px;
    background-color: #F3EEE3;
}

#espacement img{
    width: 100%;
}

@media screen and (min-width:1100px){
    #espacement{
        flex-direction: row;
    }
    #espacement img{
        width: 50%;
    }
}


/*   GRILLES  */


#grille{
    display: flex;
    flex-direction: column;
}

#grille .head{
    display: flex;
    flex-direction: column;
}

#grille .left{
    background-color: #8D4746;
    color: white;
    box-sizing: border-box;
    padding: 7.5vw;
}

#grille .right{
    background-color: #F3EAE8;
    display: flex;
    justify-content: center;
    align-items: flex-end;
}

#grille .right img{
    width: 80%;
    margin-top: 40px;
}

#grille .ligne1,.ligne2,.ligne3,.ligne7{
    display: flex;
}

#grille .case,.case2{
    background-color: #F3EAE8;
    border: #8D4746 1px solid;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 200px;
    font-family: GTAmerica-Medium;
    font-size: 30px;
    color: #8D4746;
}


#grille .ligne1 .case{
    width: 100vw;
}

#grille .ligne2 .case{
    width: 50vw;
}

#grille .ligne3 .case{
    width: 33.33333%;
}

#grille .ligne7 .case{
    width: 28.5714%;
}

#grille .ligne7 .case2{
    width: 42.8571429%;
}


@media screen and (min-width:768px){
    #grille .right img{
        width: 60%;
    }
}

@media screen and (min-width:1100px){
    #grille .head{
        flex-direction: row;
    }

    #grille .head .left{
        width: 50%;
       justify-content: center;
       display: flex;
       flex-direction: column;
    }

    #grille .head .right{
       width: 50%;
    }
}

@media screen and (min-width:1100px){
    #grille .right img{
        width: 50%;
    }

    #grille .head .left{
        padding : 50px 80px 50px 15vw;
    }
    

}



/*   PHOTOS   */ 

#photos{
    display: flex;
    flex-direction: column;
}

#photos .container-top{
    width: 100vw;
}

#photos .container-top .photo{
    width: 100vw;
    height: 50vh;
    display: flex;
    align-items: center;
    background-size: cover;
    background-position: center;
    justify-content: center;
}
#photos .container-top .photo img{
    width: 90%;
}

#photos .container-top .text{
    width: 100vw;
    height: 50vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: left;
    padding: 7.5vw;
    box-sizing: border-box;
    background-color: #1F5D6D;
    color: white;
}

#photos .container-top .text:nth-child(2){
    background-color: #E9F3F0;
    color: black;
}

#photos .container-galerie{
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 50px;
    justify-content: center;
}

#photos .container-galerie span{
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-evenly;
    margin-top: 30px;
}

#photos .container-galerie img{
    width: 100%;
}

#photos .container-galerie img:nth-child(1){
    margin-bottom: 40px;
    width: 29%;
}

#photos .container-galerie img:nth-child(2){
    width: 29%;
    margin-bottom: 40px;
}

#photos .container-galerie img:nth-child(3){
    width: 29%;
    margin-bottom: 40px;
}

@media screen and (min-width:768px){
    #photos .container-galerie img{
        width: 33.333333%;
    }

    #photos .container-top .photo img{
        width: 70%;
    }

    #photos .container-top .photo{
        padding: 30px 0;
        box-sizing: border-box;
    }
}

@media screen and (min-width:1100px){
    #photos .container-top{
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
    }

    #photos .container-top .photo{
        width: 50%;
        padding: 30px 0;
        box-sizing: border-box;
    }

    #photos .container-top .text{
        width: 50%;
        padding: 30px 7.5vw;
        box-sizing: border-box;
    }
}

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

    #photos .container-top .photo{
        width: 50%;
        padding: 30px 0;
        box-sizing: border-box;
        height: 40vh;
    }

    #photos .container-top .text{
        width: 50%;
        padding: 50px 15vw 50px 80px;
        box-sizing: border-box;
        height: 40vh;
    }

    #photos .container-galerie img:nth-child(1){
        margin-bottom: 40px;
        width: 15%;
        padding: 0px 50px;
        padding-left: 15vw;
    }
    
    #photos .container-galerie img:nth-child(2){
        width: 15%;
        margin-bottom: 40px;
        padding: 0px 50px;
    }
    
    #photos .container-galerie img:nth-child(3){
        width: 15%;
        margin-bottom: 40px;
        padding: 0px 50px;
        padding-right: 15vw;
    }
}





/*   FOOTER   */

footer .container{
    display: flex;
    flex-direction: column;
}

footer .container .left{
    background-color: #22755E;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 50vh;
}

footer .container .right{
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #35A28B;
    color: white;
    height: 50vh;
}

footer .container .right span{
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    width: 85%;
}

footer .btn-call{
    color: #35A28B;
    background-color: white;
    margin: 0;
    margin-top: 16px;
}

@media screen and (min-width:1100px){
    footer .container{
        flex-direction: row;
        flex-wrap: nowrap;
    }

    footer .container .right{
        width: 100%;
        padding: 0px 7.5vw;
        box-sizing: border-box;
    }
    
    footer .container .left{
        min-width: 33.3333%
    }
}

@media screen and (min-width:1100px){
    
    footer .container .left{
        min-width: 33.3333%;
        height: 35vh;
    }

    footer .container .right{
        height: 35vh;
    }
}
