/* =========================
   Base du site
========================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Georgia", serif;
    background-color: #f9f8f1;
    color: 3px 3px 3px 3px #333;
    /* padding-top: 200px; */
}

/* =========================
   THÈME SOMBRE
========================= */

body.dark {
    background-color: #121212;
    color: #eaeaea;
}

body.dark .header {
    background-color: #121212;
}

body.dark .footer {
    color: #000000;
}

body.dark .nav a {
    color: #eaeaea;
}

body.dark .container {
    background-color: transparent;
}

body.dark .content p {
    color: #d6d6d6;
}

body.dark .box {
    background-color: #1a1a1a;
    border: solid #454545 3px;
}

body.dark .box-title {
    color: white;
}

body.dark .box-text {
    color: whitesmoke;
}

body.dark .avis {
    background-color: #1a1a1a;
    border: solid #454545 3px;
}

body.dark .titrelivredor span {
    color: white;
    box-shadow: 0 10px 25px rgba(84, 84, 84, 0.1);
}

body.dark .avis-title {
    color: white;
}

body.dark .avis-text {
    color: whitesmoke;
}

body.dark .textecontact {
    color: whitesmoke;
}

body.dark .textecontact h1 {
    color: white;
}

body.dark .textecontact a {
    color: whitesmoke;
}

body.dark .textequi {
    color: whitesmoke;
}

body.dark .textequi h1 {
    color: white;
}

body.dark .textecontact a {
    color: white;
}


body.dark .textecontact a:hover {
    color: #0866ff;
    transform: scale(1.1) translateY(-2px);
}



body.dark .blockVerti {
    background-color: #212121;
}

body.dark .blockHorizon {
    background-color: #212121;
}


/* =========================
   Mentions légales
========================= */



/* =========================
   Header = entête
========================= */
.headerPhone {
    display: none;
}

.navPhone {
    display: none;
}

.header {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    padding: 25px 20px;

    background-image: url("photos/fondheader.jpg");
    background-size: cover;
    /* L’image couvre tout le header */
    background-position: 50% 67%;
    /* Centrée horizontalement et verticalement */
    background-repeat: no-repeat;
    /* Pas de répétition */

    /* position: fixed; */
    top: 0;
    left: 0;
    width: 100%;
    height: 200px;
    z-index: 1000;

    transition: transform 0.4s ease;

}

.header--hidden {
    transform: translateY(-100%);
}

.header a {
    text-decoration: none;
}

.logo {
    flex-direction: rows;
    display: flex;
    align-items: start;
    justify-content: start;
    gap: 15px;
    font-weight: bold;
}

.logo img {
    height: 100px;
    margin-left: -450px;
    margin-top: 10px;
}

.logo h1 {
    margin-top: -85px;
    align-items: center;
    font-size: 70px;
    color: rgb(255, 230, 103);
}




.nav {
    margin-top: -5px;
    display: flex;
    gap: 40px;
}

.nav a {
    text-decoration: none;
    color: #111;
    font-size: 25px;
    transition: color 0.3s ease, transform 0.3s ease;
}

.header .nav a:hover {
    color: #bcede8;
    /* couleur qui change */
    transform: scale(1.1);
    /* léger agrandissement */
}

.theme-toggle {
    font-size: 24px;
    cursor: pointer;
    transition-property: transform;
    transition-duration: 1s;
    transition-timing-function: ease;
    transition-delay: 0s;
}

.theme-toggle:hover {
    transform: rotate(360deg);
}


/* =========================
   Footer
========================= */

.footer {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-bottom: 50px;
    background-color: #bcede8;
}

.footer a {
    text-decoration: none;
}

.logofooter {
    align-items: center;
    justify-content: center;
    padding-top: 20px;
}

.logofooter img {
    width: 100px;
    height: auto;
}

.logofooter h1 {
    margin-top: -70px;

}

.important {
    margin-top: -60px;
    padding-bottom: 30px;
    font-size: 18px;

}

.important a {
    color: #000000;
    padding-left: 30px;
    padding-right: 30px;
}


.lesresaux {
    display: flex;
    justify-content: space-between;
    gap: 385px;
}

.lesresaux p {
    margin-top: 10px;
}

.liensresaux i {
    font-size: 40px;
    padding-left: 10px;
    padding-right: 10px;
}

.liensresaux .fa-facebook {
    color: #0866ff;
}

.liensresaux .fa-instagram {
    background: radial-gradient(circle at 30% 107%,
            #fdf497 0%,
            #fdf497 5%,
            #fd5949 45%,
            #d6249f 60%,
            #285AEB 90%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}


.liensresaux .fa-tiktok {
    color: #000000;
    text-shadow:
        1px 1px 0 #25F4EE,
        -1px -1px 0 #FE2C55;
}

.liensresaux a:hover i {
    transform: scale(1.2);
    transition: 0.2s ease;
}



/* =========================
   Contenu page accueil
========================= */
.container {
    max-width: 1200px;
    margin-top: 60px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 240px;
    padding: 0 40px;
}


.presentation {
    display: flex;
    gap: 80px;
    align-items: center;
}


.image img {
    height: 500px;
    border-radius: 8px;
    object-fit: cover;
    display: flex;
    align-items: center;
    margin-top: 100px;
}


.content h1 {
    font-size: 48px;
    margin-left: -145px;
    margin-bottom: 20px;
}

.content p {
    font-size: 20px;
    line-height: 1.6;
    margin-bottom: 20px;
}

.content .intro {
    font-size: 22px;
    margin-bottom: 30px;
}

strong {
    font-weight: 700;
}


/* =========================
   Page info
========================= */
.qui {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 200px;
    margin-bottom: 350px;

}

.photoqui img {
    width: 600px;
    margin-top: -40px;
    padding: 50px;
    margin-right: -150px;
}

.textequi {
    color: #454545;
    font-size: 25px;
    width: 600px;
    margin-left: -120px;
}

.textequi h1 {
    color: #000000;
    margin-top: -50px;
    margin-left: -30px;
    margin-bottom: 15px;
    font-size: 48px;
}

.textequi p {
    margin-top: 50px;
}


/* =========================
   Pages Chiens et Chiots
========================= */
.box {
    width: 310px;
    padding: 20px;
    border-radius: 12px;


    background-color: 0 10px 25px rgba(84, 84, 84, 0.1);
    /* box-shadow: 3px 3px 3px 3px black; */
    border: solid #454545 3px;

    display: flex;
    flex-direction: column;
    gap: 12px;
    flex-wrap: wrap;

    transition-property: transform;
    transition-duration: 1s;
    transition-timing-function: ease;
    transition-delay: 0s;
}


.box img {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: -24px;
    margin-top: -25px;
    width: 312px;
    height: 400px;
    border-radius: 8px;
    /* gap: 10px; */
}

.box-title {
    margin-left: -10px;
    font-size: 1.4rem;
    text-align: center;
    color: #000000;
}

.box-text {
    margin: 0;
    color: #454545;
    line-height: 1.5;
    text-align: center;
}

.globalbox {
    margin-top: 80px;
    /* margin-right: 100px;
    margin-left: 150px; */
    justify-content: space-evenly;
    display: flex;
    flex-direction: row;
    gap: 100px;
    flex-wrap: wrap;
    margin-left: 150px;
    margin-right: 150px;
    margin-bottom: 250px;

}

.lienFicheIdChien {
    text-decoration: none;
}

.lienFicheIdChien:hover {
    transform: scale(1.03);
    transition: 0.2s ease;
}

.chienschiots {
    margin-top: 150px;
}

.chienschiots h3 {
    display: flex;
    justify-content: center;
    margin-top: -60px;
    font-size: 20px;
}

h1 {
    display: flex;
    margin: 100px;
    justify-content: center;
    font-size: 48px;
}

/* =========================
   Livre d'Or
========================= */
.titrelivredor {
    margin-top: 150px;
}

.livredor {
    margin-top: 80px;
    justify-content: space-evenly;
    display: flex;
    flex-direction: row;
    gap: 100px;
    flex-wrap: wrap;
    margin-right: 100px;
    margin-left: 100px;
    margin-bottom: 250px;
}

.avis {
    width: 350px;
    /* padding: 20px; */
    border-radius: 12px;


    background-color: 0 10px 25px rgba(84, 84, 84, 0.1);
    border: solid #454545 3px;

    display: flex;
    flex-direction: column;
    align-items: center;

    flex-wrap: wrap;
    margin-bottom: 3%;
}

.avis-note {
    padding-bottom: 5px;
}

.avis-date {
    padding-bottom: 5px;
}

.avis-title {
    margin-top: 5px;
    font-size: 1.8rem;
    text-align: center;
    color: #000000;
}

.avis-text {
    margin-top: 15px;
    margin-left: 15px;
    margin-right: 15px;
    color: #454545;
    line-height: 1.8;
    text-align: center;
}

/* =========================
   Livre d'Or Home
========================= */

.livredor-wrapper {
    overflow: hidden;
    width: 100%;
}


.livredorHome {
    /* width: max-content; */
    margin-top: 80px;
    justify-content: space-evenly;
    display: flex;
    flex-direction: row;
    gap: 100px;
    margin-right: 100px;
    margin-left: 100px;
    margin-bottom: 250px;
    animation: scroll 80s linear infinite;
    flex-wrap: nowrap;
}

.livredorHome:hover {
    animation-play-state: paused;
}


@keyframes scroll {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-50%);
    }
}

.avisHome {
    flex: 0 0 calc((100% - 3 * 40px) / 4);
    max-width: calc((100% - 3 * 40px) / 4);

    /* padding: 20px; */
    border-radius: 12px;


    background-color: 0 10px 25px rgba(84, 84, 84, 0.1);
    border: solid #454545 3px;

    display: flex;
    flex-direction: column;
    align-items: center;

    flex-wrap: wrap;
    margin-bottom: 3%;
}


/* =========================
   Page de contact
========================= */
.contact {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 150px;
    margin-bottom: 240px;
}

.maps iframe {
    width: 600px;
    height: 600px;
    padding: 50px;
    border-radius: 15%;

}

.textecontact {
    font-size: 25px;
    width: 500px;
    color: #454545;
}

.textecontact h1 {
    color: #000000;
    margin-top: -10px;
    margin-left: -20px;
    margin-bottom: 15px;
    font-size: 48px;
}

.textecontact a {
    display: inline-flex;
    align-items: center;
    line-height: 50px;
    gap: 10px;
    text-decoration: none;
    font-size: 25px;
    color: #454545;
}


.textecontact .fa-facebook {
    color: #0866ff;
}

.textecontact i {
    font-size: 40px;
    /* color: inherit; */
    transition: 0.3s ease;
    text-decoration: none;

}

.textecontact a:hover {
    color: #0866ff;
    transform: scale(1.1) translateY(-2px);
}


/* =========================
   Affichage grand écran
========================= */

@media (min-width:2400px) {

    .box {
        width: 400px;
    }


    .box img {
        width: 400px;
        height: 550px;

    }

    .box-title {
        font-size: 1.5rem;
    }

}


/* =========================
   Affichage écran plus petit
========================= */

@media (min-width: 1230px) and (max-width: 1770px) {
    .logo img {
        height: 100px;
        margin-left: -180px;
        margin-top: 10px;
    }

    .lesresaux {
        display: flex;
        justify-content: space-between;
        gap: 355px;
    }
}




/* =========================
   Affichage téléphone
========================= */



@media (min-width: 500px) and (max-width: 1278px) {
    body {
        background: #f9f8f1;
        max-width: 100%;
        overflow-x: hidden;
        margin: 0;
        padding: 0;
    }

    /* =========================
     Header
  ========================= */


    .header {
        display: none;
    }

    .headerPhone {
        max-width: 100%;
        display: flex;
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        padding: 10px 20px;
    }

    .headerPhone img {
        width: 300px;
        margin-top: 5px;
    }

    .menuHamburger i {
        padding-right: 15px;
        font-size: 150px;
        z-index: 1001;
        position: relative;
        cursor: pointer;
    }

    .navPhone {
        top: 0;
        left: 0;
        position: fixed;
        display: flex;
        flex-direction: column;
        background-color: rgba(255, 255, 255, 0.724);
        backdrop-filter: blur(5px);
        width: 100%;
        height: 100vh;
        padding: 0;
        justify-content: center;
        align-items: center;
        transform: translateX(-100%);
        transition: transform 0.5s ease;
    }

    .navPhone a {
        margin: 50px 0;
        text-decoration: none;
        color: #111;
        font-size: 60px;
        transition: color 0.3s ease, transform 0.3s ease;
    }

    .navPhone a:hover {
        color: #bcede8;
        transform: scale(1.1);
    }

    .navPhone.mobile-menu {
        transform: translateX(0);
    }

    .theme-toggle {
        font-size: 60px;
    }

    body.dark .navPhone a {
        color: #ffffff;
    }

    body.dark .navPhone {
        background-color: rgba(0, 0, 0, 0.724);
    }

    /* =========================
     Footer
  ========================= */

    .footer {
        bottom: 0;
        width: 100%;
        display: flex;
        flex-direction: column;
        gap: 20px;
        padding: 20px;
    }

    .logofooter {
        margin-top: -20px;
    }

    .logofooter h1 {
        margin-top: -71px;
        font-size: 55px;
    }

    .logofooter img {
        width: 120px;
        margin-left: -20px;
    }

    .important {
        margin-top: -90px;
        font-size: 25px;
    }

    .lesresaux {
        display: flex;
        flex-direction: row;
        align-items: center;
        gap: 170px;
        padding-bottom: 20px;
        font-size: 20px;
    }

    .liensresaux {
        display: flex;
        flex-wrap: nowrap;
    }

    /* =========================
     Accueil
  ========================= */

    .presentation {
        max-width: 100%;
        margin: 40px auto;
        padding: 0 20px;
        display: flex;
        flex-direction: column;
        gap: 20px;
    }

    .image img {
        width: 100%;
        max-width: 600px;
        height: auto;
        border-radius: 8px;
        object-fit: cover;
    }

    .content h1 {
        font-size: 90px;
        margin: 25px 0 25px;
    }

    .content p {
        max-width: 100%;
        font-size: 50px;
        line-height: 1.6;
    }

    .content .intro {
        font-size: 50px;
        margin-bottom: 20px;
    }

    strong {
        font-weight: 700;
    }

    /* =========================
     Qui
  ========================= */

    .qui {
        max-width: 100%;
        margin: 40px auto;
        margin-bottom: 200px;
        padding: 0 20px;
        display: flex;
        flex-direction: column;
        gap: 20px;

    }

    .textequi h1 {
        font-size: 90px;
        margin: 25px 0 25px -40px;
    }

    .textequi {
        width: 900px;
        font-size: 50px;
        line-height: 1.6;
        margin-left: 50px;
    }

    .photoqui img {
        width: 700px;
        height: auto;
        margin: 10px 0 10px 0;

    }

    /* =========================
     Chiens & Chiots
  ========================= */

    .chienschiots {
        margin-bottom: 200px;
    }

    .chienschiots h1 {
        font-size: 90px;
    }

    .chienschiots h2 {
        font-size: 40px;
    }

    .chienschiots h3 {
        font-size: 50px;
    }

    .chienschiots p {
        font-size: 25px;
    }

    .globalbox {
        margin: 40px 0 10px 0;
    }

    .box {
        width: 600px;
    }

    .box img {
        width: 600px;
        height: auto;
    }

    /* =========================
     Livre D'or Index
  ========================= */

    .titrelivredor h1 {
        font-size: 90px;
    }

    .livredor-wrapper {
        overflow: hidden;
        width: 100%;
    }

    .livredorHome {
        width: max-content;
        margin: 40px 10px 120px;
        display: flex;
        flex-direction: row;
        justify-content: space-evenly;
        animation: scroll 80s linear infinite;
        flex-wrap: nowrap;
        gap: 20px;
    }

    .livredorHome:hover {
        animation-play-state: paused;
    }

    @keyframes scroll {
        from {
            transform: translateX(0);
        }

        to {
            transform: translateX(-50%);
        }
    }

    .avisHome {
        max-width: 700px;
        border-radius: 12px;
        border: solid #454545 3px;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .avisHome h2 {
        font-size: 50px;
    }

    .avisHome p {
        font-size: 40px;
    }


    /* =========================
     Livre D'or 
  ========================= */

    .avis {
        width: 800px;
        height: auto;
    }

    .avis h2 {
        font-size: 50px;
    }

    .avis p {
        font-size: 40px;
    }

    /* =========================
     Contact
  ========================= */

    .contact {
        display: flex;
        flex-direction: column;
    }

    .maps iframe {
        width: 800px;
        height: 800px;
    }

    .contact h1 {
        font-size: 90px;
        width: 750px;
        margin-left: -120px;
        margin-bottom: 10px;
    }

    .contact p {
        font-size: 50px;
        width: 900px;
        margin-left: -180px;
    }

    .contact a {
        gap: 10px;
        font-size: 50px;
    }
}