/* ------------------------------------------------
Style CSS
---------------------------------------------------*/

@import "general.css";





/* ------------------------------------------------
Scolling de la page en douceur
span anchor pour le calage de la page
---------------------------------------------------*/
html {
    scroll-behavior: smooth;
}
.anchor{
    display: block;
    height: 60px; /*même hauteur*/
    margin-top: -60px; /*même hauteur*/
    visibility: hidden;
}


/* ------------------------------------------------
Bandeau
---------------------------------------------------*/
.bloc1 {
    width: 100%;
    background-color: #ffffff;
    padding-top: 20px;
    padding-bottom: 20px;
    font-family: Indy Serif;
}

.bloc2 {
    width: 100%;
    background-color: #f1f1f1;
    padding-top: 20px;
    padding-bottom: 20px;
    font-family: Indy Serif;
}

.container{
    margin: 0 auto;
    width: 60%;

    padding: 50px;
    background-color: #ffffff;
    height: calc(100% - 300px); /* Pour que la page remplisse l'espace */
}

.container h1 {
    color: #212121;
    font-size: 50px;
    font-family: Indy Serif;
}

.container .intro {
    font-family: inherit;
    font-size: 18px;
    color: #636363;
}


.container p {
    font-family: inherit;
    font-size: 18px;
    color: #000000;
}

.section1 {
    height: 300px;
    background-color: #3498db;
    position: relative;
    transform: skewY(-2deg); /* Inclinée de 10 degrés */
    transform-origin: top; /* Point de pivot pour l'inclinaison */
}

.section-content1 {
    transform: skewY(2deg); /* Compense l'inclinaison de la section */
    padding: 20px;
    color: white;
    text-align: center;
}
/* ------------------------------------------------
Les commentaires
---------------------------------------------------*/
.commentaire {
    position: relative;
    border-radius: 10px;
    background-color: beige;
    border: 1px solid ffa35c;
    padding: 20px 20px 20px 125px;
    margin-top: 20px;
    margin-bottom: 20px;
}
.container-img {
    margin-top: 20px;
}
.commentaire svg {
    position: absolute;
    top: 10px;
    left: 10px;
    width: 20px;
    height: 20px;
}
.commentaire .boxRoue {
    position: absolute;
    top: 10px;
    left: 10px;
    width: 90px;
    height: 90px;
}

.commentaire .Conteur {
    font-size: 40px;
    
}



/* ------------------------------------------------
Snap
---------------------------------------------------*/
#svgout {
    width: 100px;
    height: 100px;
    background-color: beige;
    padding-top:10px;
}
.textRouge {
    color: #ec1a2e;
}

.box3 {
    height: 50px;
    width:  150px;
    background-color: rgb(20, 138, 9);
}

#svgTxt {
    width: 100%;
    height: 200px;
    background-color: #ffffff;
  }

.tText {
    height: 60px;
    width:  100%;
    background-color: rgb(0, 0, 0);
    color: #ffffff;
    font-size: 40px;
    line-height: 60px; /* égal à la hauteur */
    text-align: center; /* Pour le centrage horizontal */
    margin: 5px;
}

/* ------------------------------------------------
Gsap
---------------------------------------------------*/
/*
.boxRoue {
    height: 150px;
    width:  150px;
}
*/

/* ------------------------------------------------
Le menu du haut
---------------------------------------------------*/
#logo img {
    width: 295px;
    height: 70px;
}

#menuHaut {
    position: fixed;
    z-index: 1000;
    top: 0px;
    left: 0px;
    width: 100%;
    height: 60px;

    display: flex;
    justify-content: start;
    background-color: white;
    padding: 5px 0;
    border-top: 1px solid #ddd;
    border-bottom: 1px solid #ddd;
}

#menuHaut a {
    text-decoration: none;
    color: black;
    font-size: 16px;
    padding: 10px 15px;
    font-weight: bold;
    position: relative;
}

#menuHaut a:hover {
    color: red;
}

#menuHaut a.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background-color: red;
}

#menuHaut ul a {
    font: normal 14px 'Indy Sans CAPS','Indy Sans CAPS Fallback',sans-serif;
}

#menuHaut ul a::after {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: #ec1a2e;
    content: '';
}

/* ------------------------------------------------
Map Openstreemap
---------------------------------------------------*/
#map {
    height: 600px;
    width: 100%;
  }
.container-map {
    margin: 0 auto;
    width: 90%;
}

.clickable-div {
    width: 30px;
    height: 30px;
    background-color: #3498db;
    cursor: pointer;
}

/* ------------------------------------------------
Pied de page
---------------------------------------------------*/
#footer{
    background-color: #ffffff;
}

/* ------------------------------------------------
Responsive
---------------------------------------------------*/
/* Responsive pour les tablettes (larges entre 768px et 1027px) */
@media screen and (max-width: 1024px) {
    .container{
        width: 80%;
        padding: 20px;
    }

    .container h1{
        font-size: 40px;
    }
}

/* Responsive pour les téléphone (larges 0 - 768px) */
@media screen and (max-width: 768px) {
    .container{
        width: 100%;
        padding: 10px;
    }

    .container h1{
        font-size: 30px;
    }
}
