/*---------- STYLES CANINS ----------*/
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-size: 14px;
    font-family: Montserrat, Arial, "sans-serif";
    font-weight:normal;
    color: #333;
    line-height: 2em;
    animation: fadingbody 1.5s ease-in-out 0s forwards;
}
@keyframes fadingbody {
		0%   { opacity:0; }
		100% { opacity:1; }
}
body.fullscreen {
    border:none;
}
.txt {
	margin: 80px auto;
}
.gallery {
	width:95%;
    margin: 0 auto;
}

.wrapper {
    width:90%;
    /*max-width:1200px;*/
    margin: 0 auto;
}
h1.small {
    font-size: 1em;
    text-transform: uppercase;
    letter-spacing: 5px;
    margin-top: 140px;
}
h1 > em {
    display: block;
    font-size: .5em;
}
h2.small {
    font-family: Montserrat, Arial, "sans-serif";
    font-size: 1em;
    text-transform: unset;
    letter-spacing: 2px;
}
h2.small:after {
    display:none;
}

/*---------- SECTION PLEIN ECRAN ----------*/
.pleinecran {
    height: 100vh;
    background: url('../img/photographe-canin-equin-felin-animalier/photographe-chien-portrait-husky-perros-guirec-lannion-bretagne-24.jpg') no-repeat center center/cover;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

/*---------- VOILE NOIR ----------*/
.pleinecran:before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6); /* Voile noir avec opacité 50% */
    z-index: 1;
}

.overlay {
    max-width: 95%;
    margin: 0 auto;
    text-align: center;
    color: white;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.7);
    position: relative; /* Assure que le contenu est au-dessus du voile noir */
    z-index: 2;
}

.logo {
    width:90%;
    max-width: 450px;
}
.footer > .logo {
    margin:120px auto 40px auto;
    max-width:350px;
}

.pitch {
    font-size: 2rem;
    color: white;
}

/*---------- FLECHE ANIMEE ----------*/
.scroll-down {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 2rem;
    color: white;
    border: solid 2px rgba(255,255,255,.2);
    padding: 3px 3px 9px 3px;
    border-radius: 200px;
    z-index:2;
    animation: bounce 2s infinite;
    cursor: pointer;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.7);
}

.scroll-down a {
    display: inline-block;
    box-shadow: none;
    transition: color .25s;
}
.scroll-down a:hover {
    color: #d8c026;
}

/*---------- ANIM REBOND ----------*/
@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    40% {
        transform: translateX(-50%) translateY(-10px);
    }
    60% {
        transform: translateX(-50%) translateY(-5px);
    }
}

/*---------- BARRE NAVIGATION STICKY ----------*/
.sticky-wrapper {
    height:auto;
}

.navbar {
    position: sticky;
    top: 0;
    background: white;
    opacity:.94;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    padding: 10px 20px;
    z-index: 10;
}

.sticky-wrapper:target .navbar {
    display: flex;
}

.navbar ul {
    list-style: none;
    display: flex;
    flex-flow: row wrap;
    justify-content: center;
    gap:5px 40px;
    margin:0;
    line-height: 1.1em;
}

.navbar ul li {
    margin:0;
}
.navbar ul li:before {
    display: none;
}

.navbar ul li a {
    text-decoration: none;
    text-transform: uppercase;
    font-size: .9em;
    letter-spacing: 1px;
    padding:0;
    box-shadow:none;
    transition: color 0.3s;
}

.navbar ul li a:hover {
    color: #d8c018;
}
/*---------- ICONES ----------*/
.icon.animal {
    width:50px;
    height:50px;
}
.pitch > .icon {
    width: 14px;
    height: 14px;
    margin: 0 10px;
    opacity: .66;
}
/*---------- CONCLUSION ----------*/
.silhouette.chien {
    width:220px;
    height:140px;
    background: url(../img/photographe-chien.svg) no-repeat center center;
}

.fondblanc {
    background:white;
}
section.fondblanc {
    width:100%;
    padding:5%;
}
@media (min-width: 1000px) {
    section.fondblanc {
        padding:25px 80px;
    }
}
/*---------- FORMULAIRE CONTACT ----------*/
.mel {
    display: none;
    visibility: hidden;
}
.popup {
        position: fixed;
        bottom: 20px;
        left: 50%;
        transform: translateX(-50%);
        padding: 15px 40px 15px 15px;
        border-radius: 5px;
        color: white;
        font-size: 16px;
        font-weight: bold;
        box-shadow: 0 1px 10px rgba(0, 0, 0, 0.3);
        z-index: 1000;
        animation: fadeIn 0.5s;
        width: 90%;
        text-align: center;
    }
    .popup.ok {
        background-color: #4CAF50; /* Fond vert */
    }
    .popup.err {
        background-color: #F44336; /* Fond rouge */
    }
    .popup .close-btn {
        position: absolute;
        top: 5px;
        right: 10px;
        font-size: 18px;
        font-weight: bold;
        color: white;
        cursor: pointer;
        border: none;
        background: none;
    }
    .popup .close-btn:hover {
        color: #ddd;
    }
    @keyframes fadeIn {
        from {
            opacity: 0;
            transform: translateY(-10px);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }
/*---------- DIVERS ----------*/
.scotch:after {
    top: -20px;
}
.backtotop {
    padding:0;
}
@media (min-width: 800px) {
    blockquote {
        max-width: 70%;
    }
}

/*.tiers > img {
    border-radius: 0 200px;
}
.tiers:nth-child(2n) > img {
    border-radius: 200px 0;
}*/
