Body,html {
    background-color: #FFE4E3;
    margin: 0;
    padding: 0;
    width: 100%;
 
        font-family: "Inter", sans-serif;
        font-optical-sizing: auto;
        font-weight: 20;
        font-style: normal;
        scroll-behavior: smooth; 

}
.logo{ 
width: 30%;
height: auto;
margin-top: 5%;
}
.mont{
    display: block; 
    max-width: 100%;
    width: 100%;
    height:auto;
    margin-top: 4%;
}
.blue{
    background-color:#1F2347;
    display: block; 
    
   
}
.menu {
    position: fixed;
    top: 15px;
    right: 15px;
    background-color: rgba(255, 255, 255, 0.829);
    padding: 1% 5%;
    width: 40%;
    font-size: 200%;
    border-radius: 15px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    display: flex;
    justify-content: space-around; /* Répartit les éléments uniformément */
    align-items: center; /* Évite tout décalage vertical */
}

.menu a {
    color: black;
    text-decoration: none;
    margin: 0 10px;
    font-weight: 400; /* Valeur fixe pour éviter les variations */
    display: inline-block;
    text-rendering: optimizeLegibility;
    transition: color 0.3s ease, font-weight 0.1s ease;
}

.menu a:hover {
    font-weight: 300; /* Garde une transition fluide sans trop de changement */
}

.menu span {
    color: #F15A59;
    font-weight: 1000;
}
.blue img{
    margin-top: 10%;
}
.blue{
    height: 103vmin;
}
.cap{
 border-radius: 15px;
 width: 20%;
 margin-top: auto;
 margin-left: 10%;
 height: auto;
 display: inline-block;
}
.popup .cap{
    margin-right: 70%;
    width: 30%;
}
.Bigbutton{
    color:white;
    background-color: #F15A59;
    padding: 2%;
    border-radius: 15px;
    text-decoration: none;
}
a:hover{
    font-weight: 200;
}
.pr{
    width: 50%;
    text-align: center;
    margin-left: 50%;
    margin-top: -20%;
}
.pr a{
    font-size: 280%;
    margin-top:-20px;
    
}
h3{
    font-size: 300%;
    font-weight: 350;
}
h4{
    font-size: 250%;
    font-weight: 350;
    color:black;
}
h2{
    font-size: 400%;
    font-weight: 400;
    font-style: italic;
}
h1{
    margin-left: 7%;
    font-weight: 350;
    font-size: 300%;
}
.container {
    display: flex;
    justify-content: center;
    gap: 18%;
    padding: 50px;
}

.item {
    text-align: center;
    
}
.item a{
    text-decoration: none;
}
.circle {
    width: 7vmax;
    height: 7vmax;
    border-radius: 50%;
    background-color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto;
    font-size: 18px;
    
}
.circle:hover{
    box-shadow: 6px 6px 25px rgba(0, 0, 0, 0.5);
}

.label h4{
    margin-top: 10px;
    color: #ff6666;
    text-transform: uppercase;
    font-weight: bold;
    text-decoration: none;
}

.popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    opacity: 0;
    pointer-events: none;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: opacity 0.3s ease; 
}

.popup:target {
    opacity: 1;
    pointer-events: auto;
}

.popup-content {
    background-color: #FFE4E3;
    padding: 20px;
    width: 80%;
    height: 80%;
    border-radius: 10px;
    text-align: center;
    position: relative;
    transform: translateY(-100px); 
    transition: transform 0.4s ease; 
}
.popup:target .popup-content {
    transform: translateY(0);
}
.popup-content .close {
    position: absolute;
    top: 10px;
    right: 15px;
    text-decoration: none;
    font-size: 200%;
    color: white;
    font-weight: bold;
}

.popup-content .close:hover {
    color: black;
    cursor: pointer;
}

.popup p {
    font-size: 18px;
    margin: 0;
}
.close{
    color:white;
    background-color: #F15A59;
    padding: 2%;
    border-radius: 15px;
    
}
.poptext{
    width: 50%;
    margin-left: 45%;
    margin-top: -30%;
}
.poptext hr{
    height:1vmin;
    border-radius: 15px;
    border-width:0;
    color:white;
    background-color:white;
}
.contact{
    background-image: url("img/baguettes.png");
    height: 1080px;
    width: auto;
    margin-top: -15%;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

.deux{margin-top: 20%;}
.align-contact{
    display: flex;
    justify-content: center;
    align-items: center;
}
.align-contact a{
    text-decoration: none;
    color: black;
}
#contact{
    visibility: hidden;
    margin-top: 15%;
    
}

.presta {
    height: 90vmin;
    background-color: #1F2448;
    display: flex;
    width: 90%;
    margin-left: 5%;
    border-radius: 10vmin;
}

.image-container {
    display: flex;
    flex-wrap: wrap; /* Permet aux images de passer à la ligne si nécessaire */
    width: 50%; /* Largeur du div */
    height: 100%; /* Hauteur du div */
    overflow: hidden; /* Masque les débordements */
}

.image-container img {
    flex: 1 1 auto; /* Permet à chaque image de se développer et de se contracter */
    width: 10%; /* Force les images à remplir la largeur du conteneur */
    height: auto; /* Garde le ratio de l'image */
    object-fit: cover; /* Remplit l'espace du conteneur sans déformer l'image */
    transition: transform 0.3s ease; /* Transition pour le survol */
}

.image-container img:hover {
    transform: scale(1.3); /* Agrandit l'image à 130% lors du survol */
}

.image-display {
    width: 97%; /* Largeur du div d'affichage */
    height: 100%; /* Hauteur fixe pour l'exemple, ajustez si nécessaire */
    display: flex; /* Utiliser flexbox pour centrer */
    flex-direction: column; /* Aligne le texte et l'image verticalement */
    justify-content: center; /* Centre verticalement le contenu */
    align-items: center; /* Centre horizontalement */
    padding:1%;
}

.image-display h2, .image-display h3 {
    color: white; /* Couleur du texte */
    text-align: center; /* Centre le texte */
    font-size: 200%;
}

.image-display p {
    color: white;
    font-size: 150%;
}

.image-display img {
    width: auto; /* Largeur automatique */
    height: 50%; /* Hauteur fixée à 40% du conteneur */
    object-fit: contain; /* S'assure que l'image est entièrement visible */
    opacity: 0; /* Cache l'image par défaut */
    border-radius: 15px;
    transition: opacity 0.5s ease; /* Transition de l'opacité */
}
footer hr{
    height:1vmin;
    border-radius: 15px;
    border-width:0;
    color:white;
    background-color:white;
}
footer a{
    text-decoration: none;
    color: black;
}



/* Mode Tablette */
@media (max-width: 1024px) and (min-width: 725px) {

.menu {
    top: 15px;
    right: 10 px;
    background-color: rgba(255, 255, 255, 0.829);
    padding: 1% 5%;
    width: 75%;
    font-size: 200%;
    border-radius: 15px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    display: flex;
    justify-content: space-around;
    align-items: center;
    position: fixed;
}
h4{
    font-size: 150%;
}
.circle {
    width: 10vmax;
    height: 10vmax;
}
.logo{
    margin-top: 13%;
}
.blue {
    height: 75vmin;
}
.pr{
    margin-top: -32%;
}
.pr a {
    font-size: 260%;
    margin-top: -30px;
}
.contact {
    background-image: url(img/baguettes.png);
    height: 1080px;
    width: auto;
    margin-top: -40%;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}
#contact {
    visibility: hidden;
    margin-top: 42%;
}
.image-display h2, .image-display h3 {
    color: white;
    text-align: center;
    font-size: 120%;
}
.image-display {
    padding:2%;
}
.image-display img{
    height:45%;
}
} 
/* Pc portable/Grande tablette */
@media (max-width: 1024px) and (min-width: 860px) {
#contact {
    visibility: hidden;
    margin-top: 33%;
}
.contact {
    background-image: url(img/baguettes.png);
    height: 1080px;
    width: auto;
    margin-top: -35%;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}
.image-display img{
    height:38%;
}
}
/* Mode Télephone */
@media (max-width: 725px) and (min-width: 425px) {
    h2{
        font-size: 250%;
    }
    h3{
        font-size: 160%;
    }
    
    .menu {
        top: 15px;
        right: 10 px;
        background-color: rgba(255, 255, 255, 0.829);
        padding: 1% 5%;
        width: 80%;
        font-size: 100%;
        border-radius: 15px;
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
        display: flex;
        justify-content: space-around;
        align-items: center;
        position: fixed;
        line-height: 2.5; 
    }
    h4{
        font-size: 90%;
    }
    .circle {
        width: 10vmax;
        height: 10vmax;
    }
    .logo{
        margin-top: 13%;
    }
    .blue {
        height: 60vmin;
    }
    .pr{
        margin-top: -32%;
    }
    .pr a {
        font-size: 200%;
        margin-top: -30px;
    }
    .contact {
        background-image: url(img/baguettes.png);
        height: 1080px;
        width: auto;
        margin-top: -70%;
        background-size: contain;
        background-repeat: no-repeat;
        background-position: center;
    }
    #portfolio{
        margin-top: -40%;
    }
    #contact {
        visibility: hidden;
        margin-top: 60%;
    }
    .image-display h2, .image-display h3 {
        color: white;
        text-align: center;
        font-size: 90%;
    }
    .image-display {
        padding:2%;
    }
    .image-display p{
        font-size: 70%;
    }
    .image-display img{
        height:30%;
    }
    .popup-content .close {
        position: absolute;
        top: 10px;
        right: 15px;
        text-decoration: none;
        font-size: 150%;
        color: white;
        font-weight: bold;
    }
    }
    @media (max-width: 600px) and (min-width: 425px) {
        #contact {
            visibility: hidden;
            margin-top: 68%;
        }
    
    }
    @media (max-width: 550px) and (min-width: 425px) {
        #contact {
            visibility: hidden;
            margin-top: 74%;
        }
    
    }
    @media (max-width: 495px) and (min-width: 425px) {
        #contact {
            visibility: hidden;
            margin-top: 80%;
        }
    
    }
    @media (max-width: 450px) and (min-width: 425px) {
        #contact {
            visibility: hidden;
            margin-top: 87%;
        }
    
    }
    @media (max-width: 375px) and (min-width: 320px) {
        h2{
            font-size: 200%;
        }
        h3{
            font-size: 120%;
        }
        
        .menu {
            top: 15px;
            right: 10 px;
            background-color: rgba(255, 255, 255, 0.829);
            padding: 1% 5%;
            width: 80%;
            font-size: 60%;
            border-radius: 15px;
            box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
            display: flex;
            justify-content: space-around;
            align-items: center;
            position: fixed;
            line-height: 4; 
        }
        h4{
            font-size: 70%;
        }
        .circle {
            width: 7vmax;
            height: 7vmax;
        }
        .logo{
            margin-top: 22%;
        }
        .blue {
            height: 60vmin;
        }
        .pr{
            margin-top: -32%;
        }
        .pr a {
            font-size: 125%;
            margin-top: -30px;
        }
        .contact {
            background-image: url(img/baguettes.png);
            height: 1080px;
            width: auto;
            margin-top: -100%;
            background-size: contain;
            background-repeat: no-repeat;
            background-position: center;
        }
        #portfolio{
            margin-top: -100%;
        }
        #contact {
            visibility: hidden;
            margin-top: 100%;
        }
        .image-display h2, .image-display h3 {
            color: white;
            text-align: center;
            font-size: 90%;
        }
        .image-display {
            padding:2%;
        }
        .image-display p{
            font-size: 70%;
        }
        .image-display img{
            height:30%;
        }
        .popup-content .close {
            position: absolute;
            top: 10px;
            right: 15px;
            text-decoration: none;
            font-size: 150%;
            color: white;
            font-weight: bold;
        }
        }
@media (max-width: 425px) and (min-width: 375px) {
    h2{
        font-size: 250%;
    }
    h3{
        font-size: 160%;
    }
    
    .menu {
        top: 15px;
        right: 10 px;
        background-color: rgba(255, 255, 255, 0.829);
        padding: 1% 5%;
        width: 80%;
        font-size: 100%;
        border-radius: 15px;
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
        display: flex;
        justify-content: space-around;
        align-items: center;
        position: fixed;
        line-height: 2.5; 
    }
    h4{
        font-size: 90%;
    }
    .circle {
        width: 8vmax;
        height: 8vmax;
    }
    .logo{
        margin-top: 13%;
    }
    .blue {
        height: 60vmin;
    }
    .pr{
        margin-top: -32%;
    }
    .pr a {
        font-size: 200%;
        margin-top: -30px;
    }
    .contact {
        background-image: url(img/baguettes.png);
        height: 1080px;
        width: auto;
        margin-top: -100%;
        background-size: contain;
        background-repeat: no-repeat;
        background-position: center;
    }
    #portfolio{
        margin-top: -40%;
    }
    #contact {
        visibility: hidden;
        margin-top: 90%;
    }
    .image-display h2, .image-display h3 {
        color: white;
        text-align: center;
        font-size: 90%;
    }
    .image-display {
        padding:2%;
    }
    .image-display p{
        font-size: 70%;
    }
    .image-display img{
        height:30%;
    }
    .popup-content .close {
        position: absolute;
        top: 10px;
        right: 15px;
        text-decoration: none;
        font-size: 150%;
        color: white;
        font-weight: bold;
    }
    }


@media (max-width: 397px) and (min-width: 375px) {
    .menu {
        top: 15px;
        right: 10 px;
        background-color: rgba(255, 255, 255, 0.829);
        padding: 1% 5%;
        width: 80%;
        font-size: 87%;
        border-radius: 15px;
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
        display: flex;
        justify-content: space-around;
        align-items: center;
        position: fixed;
        line-height: 2.5; 
    }
    .contact {
        background-image: url(img/baguettes.png);
        height: 1080px;
        width: auto;
        margin-top: -120%;
        background-size: contain;
        background-repeat: no-repeat;
        background-position: center;
    }
    #contact {
        visibility: hidden;
        margin-top: 99%;
    }
}


    /* Pc */
    @media (max-width: 1500px) and (min-width: 1024px) {

        .menu {
            top: 15px;
            right: 10 px;
            background-color: rgba(255, 255, 255, 0.829);
            padding: 1% 5%;
            width: 75%;
            font-size: 200%;
            border-radius: 15px;
            box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
            display: flex;
            justify-content: space-around;
            align-items: center;
            position: fixed;
        }
        h4{
            font-size: 150%;
        }
        .circle {
            width: 10vmax;
            height: 10vmax;
        }
        .logo{
            margin-top: 13%;
        }
        .blue {
            height: 110vmin;
        }
        .pr{
            margin-top: -32%;
        }
        .pr a {
            font-size: 260%;
            margin-top: -30px;
        }
        .contact {
            background-image: url(img/baguettes.png);
            height: 1080px;
            width: auto;
            margin-top: -25%;
            background-size: contain;
            background-repeat: no-repeat;
            background-position: center;
        }
        #contact {
            visibility: hidden;
            margin-top: 25%;
        }
        
        .image-display h2, .image-display h3 {
            color: white;
            text-align: center;
            font-size: 120%;
        }
        .image-display {
            padding:2%;
        }
        .image-display img{
            height:45%;
        }
        } 
        @media (max-width: 1250px) and (min-width: 1024px) {
            #portfolio{
                margin-top: -10%;
            }
            .menu {
                top: 15px;
                right: 10 px;
                background-color: rgba(255, 255, 255, 0.829);
                padding: 1% 5%;
                width: 75%;
                font-size: 200%;
                border-radius: 15px;
                box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
                display: flex;
                justify-content: space-around;
                align-items: center;
                position: fixed;
            }
            h4{
                font-size: 150%;
            }
            .circle {
                width: 10vmax;
                height: 10vmax;
            }
            .logo{
                margin-top: 13%;
            }
            .blue {
                height: 90vmin;
            }
            .pr{
                margin-top: -32%;
            }
            .pr a {
                font-size: 260%;
                margin-top: -30px;
            }
            .contact {
                background-image: url(img/baguettes.png);
                height: 1080px;
                width: auto;
                margin-top: -25%;
                background-size: contain;
                background-repeat: no-repeat;
                background-position: center;
            }
            #contact {
                visibility: hidden;
                margin-top: 25%;
            }
            .image-display h2, .image-display h3 {
                color: white;
                text-align: center;
                font-size: 120%;
            }
            .image-display {
                padding:2%;
            }
            .image-display img{
                height:45%;
            }
            } 
@media (max-width: 1440px) and (min-width: 1024px) {

        .menu {
            top: 15px;
            right: 10 px;
            background-color: rgba(255, 255, 255, 0.829);
            padding: 1% 5%;
            width: 75%;
            font-size: 200%;
            border-radius: 15px;
            box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
            display: flex;
            justify-content: space-around;
            align-items: center;
            position: fixed;
        }
        h4{
            font-size: 150%;
        }
        .circle {
            width: 10vmax;
            height: 10vmax;
        }
        .logo{
            margin-top: 13%;
        }
        .blue {
            height: 110vmin;
        }
        .pr{
            margin-top: -32%;
        }
        .pr a {
            font-size: 260%;
            margin-top: -30px;
        }
        .contact {
            background-image: url(img/baguettes.png);
            height: 1080px;
            width: auto;
            margin-top: -25%;
            background-size: contain;
            background-repeat: no-repeat;
            background-position: center;
        }
        #contact {
            visibility: hidden;
            margin-top: 25%;
        }
        
        .image-display h2, .image-display h3 {
            color: white;
            text-align: center;
            font-size: 120%;
        }
        .image-display {
            padding:2%;
        }
        .image-display img{
            height:45%;
        }
        } 


/*4k*/
@media (max-width: 3000px) and (min-width: 1990px) {
    .mont{
        margin-top: 12%;
    }
    .menu {
        top: 15px;
        right: 10 px;
        background-color: rgba(255, 255, 255, 0.829);
        padding: 1% 5%;
        width: 75%;
        font-size: 300%;
        border-radius: 15px;
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
        display: flex;
        justify-content: space-around;
        align-items: center;
        position: fixed;
    }
    h4{
        font-size: 300%;
    }
    .circle {
        width: 9vmax;
        height: 9vmax;
    }
    .logo{
        margin-top: 13%;
    }
    .blue {
        height: 110vmin;
    }
    .pr{
        margin-top: -32%;
    }
    .pr a {
        font-size: 360%;
        margin-top: -30px;
    }
    .contact {
        background-image: url(img/baguettes.png);
        height: 2560px;
        width: auto;
        margin-top: -30%;
        background-size: contain;
        background-repeat: no-repeat;
        background-position: center;
    }
    #contact {
        visibility: hidden;
        margin-top: 45%;
    }
    #portfolio{
        margin-top: -10%;
    }
    
    .image-display h2, .image-display h3 {
        color: white;
        text-align: center;
        font-size: 300%;
    }
    .image-display {
        padding:2%;
    }
    .image-display img{
        height:45%;
    }
    h2{
        font-size: 500%;
    }
    h3{
        font-size: 450%;
    }
    } 