/*Fonts*/


@font-face {
    font-family: "FiraSansCondensed regular";
    src: url(../fonts/FiraSansCondensed-Regular.ttf);
    font-weight: normal;
}

@font-face {
    font-family: "FiraSansCondensed bold";
    src: url(../fonts/FiraSansCondensed-Bold.ttf);
    font-weight: bold;
}

@font-face {
    font-family: "FiraSansCondensed black";
    src: url(../fonts/FiraSansCondensed-Black.ttf);
    font-weight: 900;
}

@font-face {
    font-family: "Overpass";
    src: url(../fonts/Overpass-VariableFont_wght\ copie.ttf);
}

@font-face {
    font-family: "Hind Vadodara";
    src: url(../fonts/HindVadodara-Regular.ttf);
}

@font-face {
    font-family: "Enriqueta";
    src: url(../fonts/Enriqueta-Regular.ttf);
}

:root {
  --bg-image: url("/assets/images/background.png");
  --bg-color: #E4E4E4;

}

body {
    background-image: var(--bg-image);
    background: #E4E4E4;
    color: #1E1E1E;
}

/*Header*/

header{
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    margin: 0 56px 0 56px;
    color: #1E1E1E;
    z-index: 100;
    background-color: #E4E4E4;
}

.header.title {
    margin: 56px 0 15px 0;
    cursor: pointer;
    color: #1E1E1E;
    
}


.header.title a {
    font-family:"FiraSansCondensed bold";
    color: #1E1E1E;
    text-decoration: none;
    text-transform: uppercase;
    font-size: 30px;
    transition: color 0.3s ease;
}
.header.title a:hover {
    color: #EFFF78;
}

.separator.fixed {
    width: 100%;
    height: 1px;
    background: #1E1E1E;
}



.header.subtitle {
    font-family: "FiraSansCondensed regular";
    color: #1E1E1E;
}


/*Main Elements*/

.main {
    margin: 200px 170px 0 170px;
}

h1{
    font-family: "FiraSansCondensed black";
    font-size: 110px;
    line-height: 120%;
    max-width: 815px;
    margin: 0 ;
}
.div-btn {
    text-align: right;
}
.btn {
    font-family: "FiraSansCondensed regular";
    font-size: 20px;
    padding: 15px;
    background-color: #EFFF78;
    color: #1E1E1E;
    text-decoration: none;
    border-radius: 30px;
}
.btn:hover {
    background-color: #EFFF7880 ;
}

h4{
    font-family: "Hind Vadodara";
    font-size: 20px;
}
.title{
    position: relative;
    font-family: "Overpass";
    font-size: 36px;
    line-height: 140%;
    margin: 150px 0 40px 0;
}
.title.left{
    margin-left: 20px;
}


.title.left::before{
    position: absolute;
    content: "";
    width: 10px;
    height: 100%;
    background-color: #EFFF78;
}

.title.left::before {
    left: -20px;
}

section p{
    font-family: "Hind Vadodara";
    font-size: 21px;
    line-height: 160%;
    margin:0 50px 50px 0;
}

.ready-section, .brief-section, .da-section, .code-section, .end-section {
    margin: 0 130px 100px 130px;
}

.text-da {
    display: flex;
    align-items: center;
    margin-top: 100px;
}
.text-da h3{
    font-family: "FiraSansCondensed regular";
    font-size: 30px;
}

/* Photos et légendes */

.figure_brief {
    text-align: center;
    max-width: 670px;
    margin: auto;
}

figure{
    font-family: "Enriqueta";
    font-size: 14px;
}

figcaption{
    margin: 30px 0 0 0;
}

.brief{
    border: 5px solid #EFFF78;
    border-radius: 10px;
    width: 100%;
}

.brief_ledgend{
    position: relative;
    text-align: left;
}

.figure_da{
    position: relative;
    margin: 0 40px 50px 0;
}

.figure_da::after {
    position: absolute;
    content: "";
    width: 100%;
    height: 2px;
    background-color:#561C8F;
    right: 0;
    left: 0;
    transform: translate(0px, -30px);
}
.figure_cart{
    text-align: center;
    max-width: 670px;
    margin: auto;
}

.img_titre{
    width:100%;
    border:5px solid #EFFF78;
    border-radius: 10px;

}

.cart_ledgend{
    position: relative;
    margin: 20px 0 60px 0;
    text-align: left;
}

.link{
    margin: 0 0 60px 0;
    text-align: center;
}

.link h4{
    margin: 0 0 50px 0;
    text-align: left;
}
.link_img{
    width: 100%;
    max-width: 680px;
}



/* Footer */

footer{
    text-align: center;
    font-family: "FiraSansCondensed regular";
    font-size: 20px;
    margin-top: 200px;
    margin-bottom: 30px;
}
.separator.footer{
    width: 100%;
    height: 1px;
    background: #1E1E1E;
}

footer ul {
    margin: 30px 0 20px 0;
}

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

.element_footer a {
    color: #1E1E1E;
    text-decoration: none;
    margin-top: 20px;
}



/* Responsive */

@media screen and (max-width: 1300px) {
    h2 {
        margin: 0;
    }
    .text-da{
        flex-direction: column;
    }
    .figure_da {
        text-align: center;
    }
    .figure_da::after {
        transform: translate(0, -30px);
    }
}

@media screen and (max-width: 1100px) {
    .ready-section, .brief-section, .da-section, .code-section, .end-section {
        margin: 0 0 100px 0;
    }
    header {
        margin: 0 25px 0 25px
    }
    h1 {
        font-size: 90px;
    }
}

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

    h1 {
        font-size: 70px;
    }

    .title {
        font-size: 30px;
    }
    .main {
        margin: 200px 56px 0 56px;
    }

    figure {
        margin: 0;
    }
    .btn{
        font-size: 16px;
        padding: 10px;
    }
    
}

@media screen and (max-width: 500px) {
    .figure_da::after {
        transform: translate(0, -48px);
    }

    .title {
        margin: 100px 0 40px 0;
    }

    .figure_da img {
        width: 100%;
    }
}

@media screen and (max-width: 425px) {
    h1 {
        font-size: 45px;
    }
    h2 {
        font-size: 20px;
        padding: 0;
    }

    h3 {
        font-size: 25px;
    }

    section p{
        font-size: 18px;
    }
}

@media screen and (max-width: 425px) {
    h1 {
        font-size: 40px;
    }
    h2 {
        font-size: 18px;
        padding: 0;
    }

    h3 {
        font-size: 16px;
    }

    section p{
        font-size: 14px;
    }
}