/* ------------------------------
   Fonts
------------------------------ */
@font-face {
    font-family: "chmp";
    src: url("assets/champ.ttf") format("truetype");
}

html,
body {
    height: 100%;
    /* 100% de la fenêtre */
    margin: 0;
    font-family: "chmp";
}

/* ------------------------------
   Header
------------------------------ */
.header {
    height: 100vh;
    display: flex;
    flex-direction: column;
}

.double-image {
    flex-direction: column;
}

#clair {
  filter: brightness(1.3); 

}
  
.header-nav {
    height: 70px;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: url(assets/img/navbar.jpg) no-repeat left center / cover;
}

.header-nav img {
    margin-left: 100px;
    height: 35px;
}

.header-nav.sticky {
    position: fixed;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.header-content {
    flex: 1;
    overflow: hidden;
}

.header-content img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ------------------------------
   Layout blocks
------------------------------ */
.box {
    height: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 100px;
    padding-bottom: 100px;
}

.containing,
.double {
    width: 99%;
    border-radius: 5px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.containing {
    flex-direction: row;
    padding: 40px 50px;
}

.double {
    flex-direction: column;
    padding: 20px 50px;
}

/* ------------------------------
   Text & Images
------------------------------ */
.text,
.double-text,
.image,
.double-image {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    width: 50%;
}

.text,
.double-text {
    flex-direction: column;
    text-align: center;
}

.text h1,
.double-text h1 {
    margin: 0;
    text-align: center;
}

.text h1 {
    font-size: 2.5em;
}

.double-text h1 {
    font-size: 1.5em;
}

.text p,
.double-text p {
    text-align: center;
    font-weight: 570;
}

.text p {
    max-width: 420px;
    font-size: 1.4em;
}

.double-text p {
    max-width: 700px;
    font-size: 1.1em;
    font-weight: 6000;
}

.image img,
.double-image img {
    width: auto;
    border-radius: 10px;
}

.image img {
    height: 400px;
}

.double-image img {
    height: 250px;
}

/* ------------------------------
   Sections
------------------------------ */
#color {
    background: linear-gradient(rgba(88, 57, 57, 0.5), rgba(66, 46, 46, 0.5)),
        url(assets/img/fond_galets.jpeg) top right / cover;
    backdrop-filter: brightness(20%);
}

#gr h1,
#gr p {
    color: white;
    font-weight: 600;
}

.top,
.bot {
    display: flex;
    flex-direction: row;
    align-items: center;
}

.top {
    margin-bottom: 20px;
}

.bot {
    margin-top: 20px;
}



/* ------------------------------
   Buttons / Animations
------------------------------ */
.galetbtn img {
    height: 40px !important;
    transition: transform 0.3s ease-in-out;
}

.galetbtn img {
    animation: rotate 1.5s infinite;
}

/* ------------------------------
   Keyframes
------------------------------ */


@keyframes rotate {

    0%,
    100% {
        transform: scale(1) rotate(0deg);
    }

    25%,
    60% {
        transform: scale(1) rotate(7deg);
    }

    40%,
    80% {
        transform: scale(1) rotate(-7deg);
    }
}

/* ------------------------------
   Responsive - Tablettes
/* ------------------------------ */
 @media (max-height: px) {

}


@media (max-width: 1300px) {
    .text h1 {
        font-size: 2em;
    }

    .text p {
        font-size: 0.9em;
    }

.box {
    height: 80%;
}


.top, .bot {
            flex-direction: column;

}


.box {
    height: auto;
}
.double-text p {
    font-size: 1.2em;
    max-width: 550px;
}

.double-text {
    width: 80%;
    margin: 25px;;
}

.bot {
    padding: 20px;
}
    .image img {
        height: 400px;
    }
    .double-image img {
        height: 300px;
    }

   
   
}

/* ------------------------------
   Responsive - Mobiles
------------------------------ */
@media (max-width: 800px) {
    /* Header */
    .header-nav {
        flex: 0 0 55px;
        padding: 0 15px;
    }

    .header-nav img {
        margin-left: 0;
        height: 22px;
    }

    /* Sections */
    .box {
        flex-direction: column;
        height: auto;
        padding: 40px 15px;
    }

    .containing {
        flex-direction: column;
        padding: 20px;
        gap: 20px;
    }

    .double {
        padding: 20px;
        gap: 30px;
    }

    .top, .bot {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }

    /* Text */
    .text, .double-text {
        width: 100%;
    }

    .text h1, 
    .double-text h1 {
        font-size: 1.4em;
        line-height: 1.3em;
    }

    .text p, 
    .double-text p {
        font-size: 0.95em;
        max-width: 95%;
        line-height: 1.5em;
        margin: 0 auto;
    }

    /* Images */
    .image, .double-image {
        width: 100%;
        display: flex;
        justify-content: center;
    }

    .image img,
    .double-image img {
        width: 90%;
        max-width: 320px;
        height: auto;
    }

    #grosse {
        max-width: 250px;
    }

  

    




}
