/*!
Theme Name: wp-pizzanet
Theme URI: http://underscores.me/
Author: Underscores.me
Author URI: http://underscores.me/
Description: Description
Version: 1.0.0
Tested up to: 5.4
Requires PHP: 5.6
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: wp-pizzanet
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned.

wp-pizzanet is based on Underscores https://underscores.me/, (C) 2012-2020 Automattic, Inc.
Underscores is distributed under the terms of the GNU GPL v2 or later.

Normalizing styles have been helped along thanks to the fine work of
Nicolas Gallagher and Jonathan Neal https://necolas.github.io/normalize.css/
*/
body{
    font-family: 'Poppins', sans-serif;
}

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

ul, ol {
    list-style: none;
}

:root {
    --bleu: #4891BE;
    --taille-police: 16px;
    --vertclair: #96BB7C;
    --verfonce: #7D9B76;
    --jaune: #F1C057;
    --marron: #6F4323;
    /* Nouvelles couleurs pour le hero */
    --sand: #F5F1E8;
    --charcoal: #2D2D2D;
    --grey-medium: #6B7280;
    --cta: #8B5A2B;
}

/* Utility classes */
.line-clamp-3 {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.logo{
    width: 4%;
}
.logo img{width: 100%}

/* Hero Section Styles */
.bg-sand {
    background-color: var(--sand);
}

.text-charcoal {
    color: var(--charcoal);
}

.text-grey-medium {
    color: var(--grey-medium);
}

.text-cta {
    color: var(--cta);
}

.bg-cta {
    background-color: var(--cta);
}

.bg-cta:hover {
    background-color: rgba(139, 90, 43, 0.9);
}

/* Utility Classes */
.h-screen {
    height: 100vh;
}

.max-w-7xl {
    max-width: 80rem;
}

.max-w-md {
    max-width: 28rem;
}

.max-w-3xl {
    max-width: 48rem;
}

.mx-auto {
    margin-left: auto;
    margin-right: auto;
}

.px-4 {
    padding-left: 1rem;
    padding-right: 1rem;
}

.px-8 {
    padding-left: 2rem;
    padding-right: 2rem;
}

.py-3 {
    padding-top: 0.75rem;
    padding-bottom: 0.75rem;
}

.text-center {
    text-align: center;
}

.text-4xl {
    font-size: 2.25rem;
    line-height: 2.5rem;
}

.text-base {
    font-size: 1rem;
    line-height: 1.5rem;
}

.tracking-tight {
    letter-spacing: -0.025em;
}

.font-extrabold {
    font-weight: 800;
}

.font-medium {
    font-weight: 500;
}

.block {
    display: block;
}

.flex {
    display: flex;
}

.items-center {
    align-items: center;
}

.justify-center {
    justify-content: center;
}

.relative {
    position: relative;
}

.w-full {
    width: 100%;
}

.mt-3 {
    margin-top: 0.75rem;
}

.mt-5 {
    margin-top: 1.25rem;
}

.border {
    border-width: 1px;
}

.border-transparent {
    border-color: transparent;
}

.rounded-md {
    border-radius: 0.375rem;
}

.shadow {
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
}

.text-white {
    color: white;
}

/* Responsive Styles */
@media (min-width: 640px) {
    .sm\:text-5xl {
        font-size: 3rem;
        line-height: 1;
    }
    
    .sm\:text-lg {
        font-size: 1.125rem;
        line-height: 1.75rem;
    }
    
    .sm\:px-6 {
        padding-left: 1.5rem;
        padding-right: 1.5rem;
    }
    
    .sm\:flex {
        display: flex;
    }
    
    .sm\:justify-center {
        justify-content: center;
    }
}

@media (min-width: 768px) {
    .md\:text-6xl {
        font-size: 3.75rem;
        line-height: 1;
    }
    
    .md\:text-xl {
        font-size: 1.25rem;
        line-height: 1.75rem;
    }
    
    .md\:text-lg {
        font-size: 1.125rem;
        line-height: 1.75rem;
    }
    
    .md\:mt-5 {
        margin-top: 1.25rem;
    }
    
    .md\:mt-8 {
        margin-top: 2rem;
    }
    
    .md\:py-4 {
        padding-top: 1rem;
        padding-bottom: 1rem;
    }
    
    .md\:px-10 {
        padding-left: 2.5rem;
        padding-right: 2.5rem;
    }
    
    .md\:max-w-3xl {
        max-width: 48rem;
    }
}

@media (min-width: 1024px) {
    .lg\:px-8 {
        padding-left: 2rem;
        padding-right: 2rem;
    }
}
/* Header */
/* bloc_vert */
.bloc_green .bloc_parent_gr{
    display: flex;
    background-color: var(--bleu);
    justify-content: space-around;
    padding: 0.4rem;
    color: white;
    font-size: 1.1rem;
    font-weight: inherit;
}
.bloc_green .bloc_parent_gr p {
    font-weight: 400;
    font-size: 0.9rem;
}
.bloc_green .bloc_parent_gr .bloc_enfant_reseaux i {
    font-size: 1.2rem;
    cursor: pointer;
}
header nav .bloc_header{
    display: flex;
    justify-content: space-around;
    align-items: center;
    background-color: white;
}
header nav .bloc_header p {
    cursor: pointer;
}
.dropdown,.dropdown_2{
    position: absolute;
    opacity: 0; /* Masquez l'élément par défaut */
    transform: translateY(-20px); /* Appliquez une transformation pour le masquer */
    transition: opacity 0.3s ease, transform 0.3s ease; /* Ajoutez une transition en douceur */
    color: transparent;
}
.bloc_header_text{
    position: relative;
    background-color: white;
}
.dropdown{

}
.bloc_header_text.active .dropdown{
    display:flex;
    flex-direction: column;
    gap: 1rem;
    padding:2rem;
    width: 100%;
    background-color: white;
    position: absolute;
    z-index: 1;
    opacity: 1; /* Assurez-vous que l'élément est visible */
    transform: translateY(0); /* Réinitialisez la transformation */
    transition: opacity 0.3s ease, transform 0.3s ease; /* Ajoutez une transition en douceur */
    color: black;
}


.bloc_header_text span{
    color: white;
}
/* Slider */
.fling-minislide {
    display: block;
    width: 100%;
    height: 620px;
    overflow: hidden;
    position: relative;
    background-color: var(--bleu);
}

.fling-minislide img {
    position: absolute;
    animation: fling-minislide 32s infinite, zoom-in 32s infinite;
    opacity: 0;
    object-fit: cover;
    width: 100%;
    height: 620px;
    filter: brightness(50%) contrast(100%) grayscale(0%) opacity(100%);
}

/* Adjust the keyframes for individual image delays */
@keyframes fling-minislide {
    25% { opacity: 1; }
    32% { opacity: 0.1; }
}

.fling-minislide img:nth-child(4) { animation-delay: 0s; }
.fling-minislide img:nth-child(3) { animation-delay: 8s; }
.fling-minislide img:nth-child(2) { animation-delay: 16s; }
.fling-minislide img:nth-child(1) { animation-delay: 24s; }

@keyframes zoom-in {
    0% { transform: scale(1) translateY(0); transform-origin: 50% 84%; }
    100% { transform: scale(1.5) translateY(15px); transform-origin: center; }
}

#slider {
    position: relative;
}

.slider-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-family: 'Anton', sans-serif;
    color: white;
    font-size: 2rem;
}
/* Votre fichier CSS existant */

.btn{
    background-color: var(--vertclair);
    padding: 0.5rem;
    border-radius: 1rem;
    color: white;
    font-weight: 800;
}