@import url('https://fonts.googleapis.com/css2?family=Dancing+Script:wght@400..700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=IBM+Plex+Serif:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;1,100;1,200;1,300;1,400;1,500;1,600;1,700&display=swap');


header {
    width: 100%;
    display: flex;
    justify-content: space-evenly;
    height: 100px;
    align-items: center;
    background-color: rgba(212, 175, 55, 0.6);
    position: fixed;
}

header a {
    width: 20vw;
    text-align: center;
    color: white;
    text-decoration: none;
    border: white solid 2px;
    border-radius: 40%;
    font-size: 1.5rem;
    font-family: "Dancing Script", cursive;
}

main {
    padding-top: 100px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

h1 {
    width: 60%;
    text-transform: uppercase;
    letter-spacing: 6px;
    text-align: center;
    font-size: 2.5rem;
    color: #c5b358;
    text-shadow: 2px 2px 6px #d4af37;
    border: #c5b358 solid 5px;
    font-family: "IBM Plex Serif", serif;
}

#phrase-container {
    display: flex;
    width: 75%;
    align-items: center;
    justify-content: center;
    border: #ff0e1a solid 2px;
    border-radius: 50%;
    padding: 1vh 0px 1vh 0px;
    margin-top: 80px;
}

#Phrase {
    text-align: center;
    font-family: "Dancing Script", cursive;
    font-size: 2rem;
    margin-top: 20px;
    color: #ff0e1a;
}

#gateaux {
    width: 50%;
    margin-top: 50px;
    border-radius: 40%;
    border: #c5b358 solid 5px;
    border-radius: 40%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

#recipes {
    margin-top: 110px;
    display: flex; 
    justify-content: center;
}

.recipe {
    margin: 0 2vw 0 2vw; 
}

.recipe a img {
    border: #c5b358 solid 10px;
    width: 400px;
    height: 300px;
}

.recipe p {
    font-size: 2rem;
    font-family: "Dancing Script", cursive;
    color: #c5b358;
    font-size: 1.5rem;
    text-shadow: 2px 2px 6px #d4af37;
    text-align: center; 
}

#Pâte-container {
    width: 50%;
    margin-top: 50px;
    border-radius: 40%;
    border: #c5b358 solid 5px;
    border-radius: 40%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.Phrase-entete {
    margin-top: 20px;
    text-transform: uppercase;
    font-size: 1.7rem;
    letter-spacing: 6px;
    font-family: "IBM Plex Serif", serif;
    text-align: center;
    text-shadow: 2px 2px 6px #d4af37;
    color: #c5b358;
    }

#recettes {
    margin-top: 110px;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 3rem;
}

.recette {
    margin: 0 2vw 0 2vw;
}

.recette a img {
    border: #c5b358 solid 10px;
    width: 300px;
    height: 200px;
}

.recette p {
    font-family: "Dancing Script", cursive;
    text-align: center;
    color: #c5b358;
    font-size: 1.5rem;
    text-shadow: 2px 2px 6px #d4af37;
}
 
/* Styles pour les écrans mobiles */
@media (max-width: 767px) {
    #recipes, #recettes {
        flex-direction: column;
    }
    
    .recipe {
        text-align: center;
    }
    
    .recipe a img {
        width: 50%;
        height: 25%;
        
    }

    #Pâte-container {
        width: 80%;
    }
    
    .Phrase-entete {
        font-size: 1rem;
    }

    h1 {
        font-size: 1.5rem;
    }
    #Phrase {
        font-size: 1rem;
        border-radius: 40%;
    }
    
    .recette a img {
        width: 200px;
        height: 150px;
    }
}

@media (max-width: 1400px) {
    #recipes, #recettes {
        flex-direction: column;
    }

    #Phrase {
        font-size: 1.1rem;
    }
}




