#features, #functioning, .first-section, #download, #contact {
    padding-top: 7rem;
}


/******** Barre de navigation ******/
.navbar-area {
    background-color: white;
    position: sticky;
    top: 0;
    right: 0;
    left: 0;
    padding: 0;
    display: flex;
}

.page-scroll {
    color: rgb(151, 207, 208);
    text-decoration: none;
}

.active {
    font-weight: bold;
    color: rgb(241, 93, 91);
}



.container-nav {
    flex-grow: 1;
}

.sidenav {
    position: fixed;
    z-index: 1;
    left: 0;
    top: -350px;
    background-color: white;
    transition: left 0.5s ease;
    color: rgb(151, 207, 208);
    font-size: 2rem;

}

.sidenav a {
    padding: 8px 8px 8px 32px;
    text-decoration: none;
    display: block;
    transition: 0.3s;
}

.sidenav ul {
    list-style-type: none;
    padding: 0;
    margin: 0;
}

.sidenav.active {
    top: 8rem;
    width: 100%;
}

.sidenav .close {
    position: absolute;
    right: 0;
    font-size: 36px;
    display: block;
}

#openBtn, .close {
    margin-right: 2rem;
}

.burger-icon span {
    display: block;
    width: 35px;
    height: 5px;
    background-color: black;
    margin: 6px 0;
}

.close {
    align-self: center;
    font-size: 50px;
    text-decoration: none;
    color: black;
}

/******** Première section de présentation ******/

.first-section {
    background-color: rgb(151, 207, 208);
}

.first-section-container {
    max-width: 1320px;
    margin: auto;
    padding: 2rem 0;
}

.container-img-first-section img {
    max-width: 90%;
    padding-left: 4rem;
}
.container-text-first-section {
    padding: 0 3rem;
    text-align: justify;
    line-height: 2rem;
}

.container-text-first-section .btn-download {
    margin-top: 3rem;
}

/**video**/

video {
    width: 350px;
    height: 550px;
}

.icon-video {
    margin-left: 1rem;
    height: 40px;
}

.modal {
    display: none;
    position: fixed;
    z-index: 1;
    padding-top: 100px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgb(0,0,0);
    background-color: rgba(0,0,0,0.4);
}

.modal-content {
    background-color: #fefefe;
    margin: auto;
    padding: 20px;
    border: 1px solid #888;
    width: 80%;
}

.closeVideo {
    color: rgb(241, 93, 91);
    float: right;
    font-size: 28px;
    font-weight: bold;
}

.closeVideo:hover,
.closeVideo:focus {
    color: rgb(151, 207, 208);
    text-decoration: none;
    cursor: pointer;
}

/******** Section des fonctionnalités ******/
.features {
    max-width: 1320px;
    margin: auto;
}
.container-cards {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

.card {
    width: 100%;
    border: 1px solid rgb(151, 207, 208);
    border-radius: 10px;
    padding: 1rem;
    margin: 1rem 3rem;
}

.card .container-img-feature svg {
    width: 30px;
    height: 30px;
    align-self: center;
    fill: black;
}

.card .container-img-feature {
    border: 2px solid rgb(241, 93, 91);
    border-radius: 90px;
    width: 50px;
    height: 50px;
    display: flex;
    justify-content: center;
}

.card:hover .container-img-feature {
    background-color: rgb(241, 93, 91);
}


.card:hover .container-img-feature svg {
    fill: white;
    color: white;
}

.card .title-feature {
    font-size: 1.2rem;
    font-weight: bold;
    color: rgb(241, 93, 91);
}

.card:hover {
    box-shadow: 0 2px 4px rgba(40, 41, 61, 0.04), 0 8px 16px rgba(96, 97, 112, 0.16);
}

/******** Section comment ça marche ******/
#functioning {
    max-width: 1320px;
    margin: auto;
}

.functioning-bloc:nth-child(2n) {
    display: flex;
    flex-direction: column-reverse;
    background-color: rgb(151, 207, 208);
    padding-bottom: 2rem;
}
.functioning-bloc {
    display: flex;
    flex-direction: column;
}

.functioning-bloc .number-step {
    font-size: 1.5rem;
}
.functioning-bloc .title-step {
    font-size: 2.5rem;
}

.functioning-bloc-img {
    text-align: center;
    align-content: center;
    align-self: center;
}

.functioning-bloc-text {
    width: 85%;
}

.functioning-bloc-img-right img {
    height: 650px;
}

.functioning-bloc-img-left img {
    height: 650px;
}

.list-functioning li {
    padding-bottom: 1rem;
}

.list-functioning-check {
    margin-right: 1rem;
    width: 20px;
}

.border-screen {
    border-style: solid;
    border-width: 1px;
}

/******** Section Téléchargement ******/
#download {
    max-width: 1320px;
    margin: auto;
}

#download img {
    /*padding: 2rem 5rem;*/
}

/******** Section Contact ******/

#contact {
    background-color: rgb(151, 207, 208);
}

#contact .bloc-contact {
    max-width: 1320px;
    margin: auto;
    padding: 0 3rem;
}


.contact-social-media-bloc {
    flex-direction: column;
}


/******** Bouton remonter haut de l'écran ******/
.btn-top {
    display: none;
}


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

    #features, #functioning, .first-section, #download, #contact {
        padding-top: 9rem;
    }

    .container-text-first-section {
        padding: 0;
    }

    .card {
        width: 25%;
        margin: 0 0 1rem;
    }

    .burger-icon {
        display: none;
    }

    .sidenav {
        border: 0;
    }

    .sidenav ul {
        display: flex;
    }

    .sidenav ul li {
        align-self: center;
    }

    .close {
        display: none;
    }
    .container-nav {
        max-width: 1320px;
        margin: auto;
        display: flex;
        flex-grow: 0;
    }
    .sidenav {
        position: inherit;
        align-self: center;
        font-size: 1rem;
    }


    .functioning-bloc {
        display: flex !important;
        flex-direction: row !important;
        justify-content: space-around;
        margin-bottom: 6rem;
        background-color: white !important;
    }

    .functioning-bloc-text {
        width: 50%;
    }

    .functioning-bloc-img-left {
        background: url("../images/logos/logo1/42.png") center  no-repeat;
    }

    .functioning-bloc-img-right {
        background: url("../images/logos/logo1/32.png") center  no-repeat;
    }

    .functioning-bloc-img-right img {
        margin-left: 10rem;
    }

    .functioning-bloc-img-left img {
        margin-right: 10rem;
    }

    .contact-social-media-bloc {
        flex-direction: row;
    }

    .btn-top {
        position: fixed;
        right: 20px;
        bottom: 50px;
    }

    .btn-top-visible {
        display: block !important;
    }

    video {
        border: 1px solid black;
        width: 500px;
        height: 700px;
    }

}



