* {
    box-sizing: border-box;
    list-style: none;
}

body {
    margin: 0;
    padding: 0;
    background-color: #eaeaea;
    background-size: contain;
    font-family: Poppins, sans-serif;
    overflow-x: hidden;
}

/********** I - éléments généraux **********/

/* II_a - barre de navigation en haut */


.navbar {
    position: fixed;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #f76706;
    color: white;
    width: 100%;
    z-index: 5;
}

.navbar-left {
    width: 500px;
    margin-left: 10px
}

.navbar-left img {
    float: left;
    width: 50px;
    margin-right: 10px;
}

.brand-title {
    font-size: 1.5rem;
    margin: .5rem;
    margin-left: 35px;
    font-family: Poppins, sans-serif;
}

.navbar-links ul {
    margin: 0;
    padding: 0;
    display: flex;
}

.navbar-links li {
    list-style: none;
    transition-duration: 0.4s;
}

.navbar-links li a {
     text-decoration: none;
    color: white;
    padding: 1rem;
    display: block;
    font-family: Poppins, sans-serif;
}

.navbar-links li:hover {
    background-color: #f29200;
    transition-duration: 0.4s;
}

.toggle-button {
    position: absolute;
    top: .75rem;
    right: 1rem;
    display: flex;
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
}

.toggle-button .bar {
    height: 3px;
    width: 100%;
    background-color: white;
    border-radius: 10px;
}


/* II_b - div qui enveloppe tout puis éléments généraux */

#boite-blanche {
    background-color: #f2f4fa;
    box-shadow: 0 0 15px 1px silver;
}

/* II_c - animation wave en bas */

.wave-container {
    position: relative;
    width: 100%;
    height: 120px;
    overflow: hidden;
    margin-top: -200px;
}

.wave {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100px;
    background: url(../images/wave.png);
    background-size: 1000px 100px;
}

.wave.wave1 {
    animation: animate 30s linear infinite;
    z-index: 3;
    opacity: 1;
    animation-delay: 0s;
    bottom: 0;
}
@keyframes animate {
    0% {
        background-position-x: 0;
    }
    100% {
        background-position-x: 1000px;
    }
}

.wave.wave2 {
    animation: animate2 15s linear infinite;
    z-index: 2;
    opacity: 0.5;
    animation-delay: -5s;
    bottom: 10px;
}
@keyframes animate2 {
    0% {
        background-position-x: 0;
    }
    100% {
        background-position-x: -1000px;
    }
}

.wave.wave3 {
    animation: animate3 20s linear infinite;
    z-index: 1;
    opacity: 0.2;
    animation-delay: -2s;
    bottom: 15px;
}
@keyframes animate3 {
    0% {
        background-position-x: 0;
    }
    100% {
        background-position-x: -1000px;
    }
}

/********** II - Page d'acceuil **********/

#Home {
    background: url("../images/13.png") no-repeat top;
    background-color: #eaeaea;
    background-size: contain;
}

#citation img {
    display: block;
    margin-left: auto;
    margin-right: auto;
    padding-top: 75px;
    margin-bottom: -50px;
    width: 25%;
}

#citation h1 {
    color: #000000;
    text-align: center;
    font-size: 35px;
    font-family: Poppins, sans-serif;
    font-style: italic;
}

#citation h2 {
    color: #000000;
    text-align: center;
    font-size: 20px;
    font-family: Poppins, sans-serif;
    margin: 0 15%;
}

.acceuil {
    margin: 100px 15% 275px 15%;
    padding-top: 2%;
}

#texte {
    background-color: #FCF3CF;
    font-family: Poppins, sans-serif;
    font-size: 25px;
    margin: 0 5%;
    padding-bottom: 5px;
}

#link {
    padding-top: 100px;
    margin: 0 20px 0 -20px
}

#link ul {
    list-style: none;
    text-align: center;
}

#link li {
    display: inline-block;
    margin: 0 3%;
}

#link a {
    text-decoration: none;
    color: black;
    font-family: Poppins, sans-serif;
    text-align: center;
    letter-spacing: 4px;
    justify-content: center;
}

#link img {
    width: 200px;
}


/********** III - Page des diplômes (gallerie) **********/

.diplome {
    margin: 100px 15% 275px 15%;
}

.diplome a img {
    width: 290px;
    margin: 15px;
    box-shadow: 0 0 10px 1px silver;
    transition-duration: 0.3s;
}

.diplome a img:hover {
    width: 310px;
    margin: 5px;
    transition-duration: 0.3s;
}

.vertical {
    height: 204px;
}

.vertical:hover {
    height: 224px;
}

.diplome-gallerie {
    text-align: center;
    padding: 30px 0;
}

/********** IV - Page des services (un peu contact aussi) **********/

.service {
    margin: 100px 15% 275px 15%;
}

.service span {
    color: #f29200;
    font-size: 25px;
}

.service img {
    width: 40%;
}

.service .img__bis {
    display: none;
}

.service ul {
    list-style: none;
    padding-left: 0;
}

.service h1, .contact h1 {
    color: #f29200;
    text-align: center;
    font-size: 30px;
}

.service h2, .contact h2 {
    text-align: center;
    font-size: 23px;
}

.service h3 {
    font-size: 16px;
}

.sport-sante-et-coaching-sportif {
    max-width: 100%;
    grid-column-start: 1;
    grid-column-end: 3;
    grid-row-start: 1;
    grid-row-end: 2;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-areas: "img content";
}

.ser-img1-3 {
    grid-area: img;
    width: 200%;
}

.ser-txt1-3 {
    grid-area: content;
    margin-right: 50px;
}

.prepa-mentale {
    max-width: 100%;
    grid-column-start: 1;
    grid-column-end: 3;
    grid-row-start: 1;
    grid-row-end: 2;
    display: grid;
    grid-template-columns: 60% 50%;
    grid-template-areas: "content img";
}

.ser-img2 {
    grid-area: img;
    width: 200%;
}

.ser-txt2 {
    grid-area: content;
    margin: 0 50px
}

/********** V - Les tarifs **********/

.tarifs {
    display: flex;
    margin: 100px 15% 275px 15%;
    padding: 100px 0;
    justify-content: center;
    flex-wrap: wrap;
}

.c-price-card {
    margin: 1em;
    width: 380px;
    height: auto;
    min-width: 340px;
    min-height: var(--component-height);
    box-shadow: 0px 3px 4px rgba(19, 19, 19, 0.233);
    display: flex;
    flex-direction: column;
    justify-content: stretch;
    
    --primary-color: #1999E0;
    --secondary-color: #fff;
    --component-height: 300px;
    --header-height: 110px;
    --body-height: calc(var(--component-height) - var(--header-height));
}

.c-primary-col-orange { --primary-color: #f76706; --third-color: #FFE1C9 }
.c-primary-col-green { --primary-color: #1ad56f; --third-color: #C9FFEF }

.c-price-card .c-header {
    position: relative;
    width: 100%;
    height: 150px;
    color: var(--secondary-color);
    background-color: var(--primary-color);
    margin: 0;
    text-align: center;
}

.c-price-card .c-header h1 {
    margin: 0;
    font-weight: normal;
    font-size: 2em;
    margin-top: 0.5em;
    display: inline-block;
}

.c-price-card .c-header .priceTag {
    position: absolute;
    z-index: 1;
    bottom: 0;
    left: 50%;
    width: 8em;
    height: 2.5em;
    transform: translate(-50%, 40%);
    
    font-size: 18px;
    font-weight: 500;
    background-color: var(--secondary-color);
    color: var(--primary-color);
    border: .5px solid var(--primary-color);
    border-radius: 100px;
    
    display: flex;
    justify-content: center;
    align-items: center;
}

.c-price-card .c-body {
    position: relative;
    overflow: auto;
    height: var(--body-height);
    background-color: var(--secondary-color);
}

.c-price-card .c-body .c-list {
    margin-top: 1.9em;
    padding-left: 0;
    text-align: center;
}
.c-list li {
    margin-bottom: 0.8em;
}


/********** VI - Le contact (formulaire + boutons résaux) **********/

.contact {
    margin: 100px 15% 374px 15%;
    padding: 50px 0;
    display:flex;
    justify-content: space-around;
    flex-wrap: wrap;
}

.commentaire { /* et enfin quelque propriétés pour le texte à côté du formulaire */
    float:left;
    margin: 0 55px;
    width: 500px;
}

.commentaire .orangetxt {
    color: #f76706
}

.commentaire .info ul{
    display: flex;
    flex-wrap: wrap;
    align-items: center;
}

.commentaire .info img {
    width: 3em;
}

.commentaire .reseau {
    display: flex;
    justify-content: center;
}

.commentaire .reseau li {
    margin: 15px;
    height: 70px;
    width: 70px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 72px;
    background: #f2f4fa;
    box-shadow:  5px 5px 7px #cbcdd2,
                -5px -5px 7px #ffffff;
}

.commentaire .reseau li:hover {
    border-radius: 72px;
    background: #f2f4fa;
    box-shadow: inset 5px 5px 7px #cbcdd2,
                inset -5px -5px 7px #ffffff;
}

.commentaire img {
    width: 2em;
    margin-top: 6px;
}

.commentaire p {
    margin-top: 100px;
    text-align: center;
    font-size: 15px
}

/*********** ADAPTATIONS EN FONCTION DE LA TAILLE DE L'ECRAN *************/

@media only screen and (max-width: 1800px) {
    .service h1 {
        font-size: 25px;
    }

    .service h2 {
        font-size: 19px;
    }

    .service h3 {
        font-size: 14px;
        line-height: 30px;
    }
}

@media only screen and (max-width: 1500px) {
    .service h3 {
        line-height: 25px;
    }
}

@media only screen and (max-width: 1350px) {
    .service h1 {
        font-size: 20px;
    }

    .service h2 {
        font-size: 17px;
        line-height: 20px;
    }

    .service h3 {
        font-size: 12px;
        line-height: 20px;
    }
}

@media only screen and (max-width: 1100px) {
    .toggle-button {
        display: flex;
    }
    
    .navbar-links {
        display: none;
        width: 100%;
    }
    
    .navbar {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .navbar-links ul {
        width: 100%;
        flex-direction: column;
    }
    
    .navbar-links li {
        text-align: center;
    }
    
    .navbar-links li a {
        padding: .5rem 1rem;
    }
    
    .navbar-links.active {
        display: flex;
    }
    
    .acceuil {
        margin: 250px 5% 375px 5%;
    }
    
    .diplome, .service, .tarifs, .contact {
        margin: 100px 5% 375px 5%;
    }
    
    .service .ser-img1-3, .service .ser-img2 {
        display: none;
    }
    
    .sport-sante-et-coaching-sportif, .prepa-mentale {
        display: block;
    }

    .service .img__bis {
        display: block;
        width: 100%;
    }
    
    .ser-txt2, .ser-txt1-3 {
        padding: 20px;
    }
    
    .ser-txt1-3 {
        margin-left: 50px;
    }
    
    .service h1 {
        font-size: 21px;
        margin-bottom: 20px
    }
    
    .service h2 {
        font-size: 13px;
        margin: 30px 0 0 0;
    }
    
    .service h3{
        font-size: 10px;
    }
    
    #link img {
        width: 171px;
    }
    
    .tf {
        margin-top: 800px;
    }
}
