/*------------------------------------------------------------------------------*/
/*------------------------- THOM PATISS' - FICHIER CSS -------------------------*/
/*------------------------------------------------------------------------------*/

/*=======================================*/
/* ELEMENTS PRESENT SUR TOUTES LES PAGES */
/*=======================================*/

body {
    margin: 0;
    background-color: white;
}

.lien {
    color: rgb(202, 0, 0);
    transition: all 0.5s;
}

.lien:hover {
    color: rgb(202, 0, 0);
    text-shadow: 2px 2px 2px red;
}

.slide-in {
    opacity: 0;
    transform: translateY(100px);
    transition: opacity 1s ease, transform 1s ease;
}

.slide-in.active {
    opacity: 1;
    transform: translateY(0);
}


#menu {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: fixed;
    width: 100%;
    height: 12%;
    background-color: transparent;
    z-index: 3;
    transition: 0.4s ease;
    transition-property: border-radius, width, justify-self;
    margin-top: 0;
}

#menu.scrolled {
    display: flex;
    border-radius: 100vw;
    background-color: white;
    border: solid;
    width: 95%;
    top: 1.5%;
    justify-self: center;
    margin: 0 2.5vw;
    justify-content: center;
}

#logo_sup_gauche {
    width: 10vw;
    margin: 0.5vw;
    transition: opacity 0.5s ease;
}

#logo_sup_gauche:hover {
    opacity: 0.6;
}


#ul_global_menu {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    padding-left: 2vw;
    gap: 1.25vw;
    margin-right: 1vw;
}

#ul_global_menu>li {
    display: flex;
    align-content: center;
}

#ul_global_menu a {
    text-decoration: none;
    color: black;
    font-size: 1.25vw;
    font-family: 'Cormorant Garamond', serif;
    padding: 0.3vw;

}

#ul_global_menu a:hover {
    color: rgba(203, 1, 41, 255);
    border-bottom: 0.1875vw solid black;
}

#recette_onglet:hover #sous_menu_recettes {
    display: flex;
    left: 0;
}

#menu.scrolled #recette_onglet #sous_menu_recettes {
    width: 90%;
    justify-self: center;
    margin-top: 2.7%;
    border: solid;
}

#recette_onglet:not(:hover) #sous_menu_recettes {
    transition-delay: 0.2s;
}



#sous_menu_recettes li {
    padding-left: 0;
    text-align: center;
    margin: 2vh;
}

#sous_menu_recettes a {
    font-size: 1.5vw;
}

#sous_menu_recettes {
    list-style: none;
    display: flex;
    background-color: white;
    flex-direction: column;
    position: fixed;
    width: 100%;
    top: 12%;
    left: -200%;
    right: 0;
    height: auto;
    padding-left: 0;
    padding-top: 2%;
    padding-bottom: 2%;
    flex-wrap: wrap;
    transition: left 0.5s ease;
}

#logo_menu {
    cursor: pointer;
    display: none;
}

#image_haut_accueil #image_accueil_img {
    width: 100vw;
    height: 100vh;
    object-fit: cover;
}

#image_haut_accueil {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    max-width: 100%;
    overflow-y: auto;
    border-bottom: solid black;
}

#image_haut_accueil_tel {
    display: none;
}

#texte_centrer_sur_image_accueil {
    position: absolute;
    display: flex;
    text-align: center;
    flex-direction: column;
    width: 100%;
}

#texte_centrer_sur_image_accueil h1,
#texte_centrer_sur_image_accueil h2,
#texte_centrer_sur_image_accueil img {
    text-shadow:
        0 0 25px rgba(255, 255, 255, 0.8),
        0 0 25px rgba(255, 255, 255, 0.8),
        0 0 87px rgba(255, 255, 255, 0.8);
    margin: 0.375%;
}

#texte_centrer_sur_image_accueil h1 {
    font-style: italic;
    font-size: 13vmax;
    font-family: Impact, Haettenschweiler, 'Arial Narrow Bold', sans-serif;
}

#texte_centrer_sur_image_accueil h2 {
    font-size: 4vmax;
}
#texte_centrer_sur_image_accueil h3 {
    font-size: 2vmax;
    margin: 1vh 0;
}

#texte_centrer_sur_image_accueil ul {
    list-style: none;
    display: flex;
    padding: 0;
    justify-content: center;
}

#texte_centrer_sur_image_accueil ul li {
    margin: 0 1%;
}

#texte_centrer_sur_image_accueil img {
    width: 6vmax;
    height: auto;
    transition: transform 0.5s ease-in-out;
    border-radius: 50vw;
}

#texte_centrer_sur_image_accueil img:hover {
    opacity: 0.6;
    transform: rotate(360deg);
}

#titre {
    width: 100%;
    font-family: 'Times New Roman', Times, serif;
    text-align: center;
    text-decoration: underline;
    color: white;
    background-color: black;
    padding: 2vh 0;
    margin: 0;
    text-transform: uppercase;
    font-size: 2rem;
}

#sous-titre {
    text-align: center;
    font-style: italic;
    background-color: black;
    color: white;
    margin-top: 0;
    margin-bottom: 0;
    margin-inline: 5%;
    padding: 1%;
}

footer {
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
    padding: 1% 0;
    border-top: solid 0.5px;
    background-color: #00000027;
    font-style: italic;
    font-size: 1rem;
}

footer p {
    margin: 0;
}

footer img {
    width: 2rem;
    transition: all 0.5s ease-in-out;
}

footer img:hover {
    filter: blur(0.5px);
    transform: rotate(360deg);
}

footer ul {
    display: flex;
    justify-content: center;
    list-style: none;
    flex-direction: row;
    padding-left: 0;
}

footer ul li {
    margin-inline: 1vw;
}

footer form {
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    max-width: none;
}

footer form textarea {
    max-width: 30%;
    min-width: 30%;
    margin: 0 35%;
    padding: 0.5rem;
    border-radius: 5px;
    border: 1px solid #ccc;
    resize: none;
}

footer form input {
    width: 10%;
    margin: 1% 45%;
    border-radius: 50vw;
    padding: 1%;
    font-size: 1rem;
    background-color: black;
    color: white;
    cursor: pointer;
    border: none;
    transition: background-color 0.3s ease;
}

footer form input:hover {
    background-color: #333;
}
#boxNewsletter {
    position: fixed;
    width: 90%;
    z-index: 2;
    background-color: #000000be;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
    bottom: 0;
    align-items: center;
    height: 10rem;
    color: white;
    font-size: 1rem;
    padding: 1vw 5%;
    transition: bottom 1s ease;
    overflow-y: auto;
    overflow-x: hidden;
}

#abonner {
    background-color: #007bff;
    width: auto;
    height: auto;
    padding: 0.4rem;
    border-radius: 2vw;
    font-size: 1rem;
    display: flex;
    flex-direction: column;
    border: solid black;
    cursor: pointer;

}

#abonner:hover {
    background-color: #0056b3;
}

#croixFenetreAbonnement {
    position: absolute;
    right: 1%;
    top: 5%;
    color: black;
    color: white;
    font-weight: bold;
    cursor: pointer;
}

#formulairesNewsletter {
    background-color: #3333338e;
    width: 100%;
    height: 100%;
    position: fixed;
    z-index: 2;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: transform 1s ease;
    transform: scale(0);
}

#newsletter-form {
    background-color: white;
    padding: 2vw;
    display: flex;
    flex-direction: column;
    border-radius: 2vw;
    font-size: 1vw;
}

#croixFormulaireAbonnement {
    text-align: right;
    cursor: pointer;
}

/*==================================*/
/* ELEMENTS DE ACCUEIL (INDEX.HTML) */
/*==================================*/

#Presentation_site_generale {
    background-color: white;
    padding: 5rem 3rem;
}

#Presentation_site_generale a {
    color: black;
    font-weight: bold;
}

#Corps_de_site_sans_menu {
    background: transparent;
    font-family: 'cabinet-bold', Georgia, "Times New Roman", serif;
    font-size: 1.3rem;
    text-align: center;
}

#image_entre_presentation_et_exemple {
    display: flex;
    justify-content: center;
    position: relative;
    width: 100%;
    overflow: hidden;
}

#image_entre_presentation_et_exemple img {
    width: 100%;
    height: 50rem;
}

#citation_accueil {
    position: absolute;
    display: flex;
    flex-direction: column;
    color: white;
    font-style: italic;
    padding: 5rem 3rem;
    margin-top: -6rem;
    overflow-y: auto;

}

#citation_accueil h1 {
    font-size: 12rem;
    margin-bottom: -3rem;
}

#citation_accueil p {
    font-size: 4rem;
}


#titre_instant_gourmand {
    padding: 5rem 0;
    font-size: 2rem;

}

#images_exemples {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    list-style: none;
    padding: 0;
}

#images_exemples li {
    position: relative;
    margin: 0.8rem;
}

#images_exemples img {
    width: 30rem;
    height: 30rem;
    object-fit: cover;
    border-radius: 5px;
    border: solid 0.5vw rgb(255, 255, 255);
    cursor: pointer;
    box-shadow: 10px 15px 20px rgba(0, 0, 0, 0.197);
}

#images_exemples img:hover {
    transform: scale(1.1);
    box-shadow: 10px 15px 20px rgba(0, 0, 0, 0.701);
}

#images_exemples h3 {
    position: absolute;
    left: 0.5rem;
    border: solid 0.1rem white;
    color: white;
    font-size: 1.5rem;
    background-color: rgba(0, 0, 0, 0.764);
    border-radius: 0 2vw 2vw 0;
    padding: 0.5rem;
    text-align: center;
    width: 90%;
}


/*==================================*/
/* ELEMENTS DE RECETTES (x 5 PAGES) */
/*==================================*/

#liste_patisseries_theme {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    list-style: none;
    padding: 0;
}

#liste_patisseries_theme li {
    padding-bottom: 3%;
    border: black solid;
    transition: all 0.4s ease-in-out;
    margin: 2%;
    width: 25rem;
    background-color: white;
    display: flex;
    flex-direction: column;
    align-items: center;
}

#liste_patisseries_theme li:hover {
    transform: scale(1.1);
    background-color: black;
    color: white;
    border-radius: 0 0 8vw 8vw;
}

#liste_patisseries_theme h2 {
    text-align: center;
    margin-top: 1rem;
}

#liste_patisseries_theme p {
    text-align: center;
    margin-top: 0;
}

#liste_patisseries_theme li img {
    width: 25rem;
    height: 25rem;
    border-bottom: black solid;
}

#liste_patisseries_theme h3 {
    text-align: center;
    margin-top: 0;
    border-bottom: solid black;
    border-top: solid black;
    padding:2%;
    background-color: rgba(17, 0, 255, 0.9);
    width: 100%;
    color: white;
    transform: none;
}

#liste_patisseries_theme #voirVideoButton {
    padding: 4%;
    border-radius: 25px;
    color: white;
    text-decoration: none;
    background-color: rgb(0, 17, 255);
    cursor: pointer;
}

#liste_patisseries_theme #voirVideoButton:hover {
    transform: scale(0.95);
    transition: linear 0.3s;
    background-color: rgba(0, 17, 255, 0.8);
}

.detailsEnVoirPlus {
    width: 100%;
    height: 0;
    overflow: hidden;
    transition: height 0.5s ease;
}

.detailsEnVoirPlus a {
    display: flex;
    justify-content: center;
}

.voirPlusButton {
    font-style: italic;
    cursor: pointer;
    transition: color 0.3s ease;
}

.voirPlusButton:hover {
    color: red;
}


.carrousel {
    position: relative;
    width: 25rem;
    height: 25rem;
    overflow: hidden;
    border-bottom: black solid;
}

.carrousel-images {
    display: flex;
    transition: transform 0.2s ease-in-out;
}


.carrousel-images img {
    width: 25rem;
    height: 25rem;
    display: flex;
}

.carrousel_button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: transparent;
    color: white;
    border: none;
    font-size: 2rem;
    padding: 0.5rem 1rem;
    cursor: pointer;
    z-index: 1;
}

.precBut {
    left: 1rem;
    font-size: 5rem;
}

.suivBut {
    right: 1rem;
    font-size: 5rem;
}

.carrousel_button:hover {
    color: rgba(0, 0, 0, 0.8);
}

/*========================*/
/* ELEMENTS DE MES VIDEOS */
/*========================*/

#ul_toutes_videos ul {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-around;
    padding-left: 0;
    gap: 1vw;

}

#ul_toutes_videos li {
    display: flex;
    list-style: none;
    flex-direction: column;
    text-align: center;
    transition: all 0.3s ease-in-out;
    flex-wrap: wrap;

}

#ul_toutes_videos h3 {
    font-style: italic;
    font-size: 1.5rem;
}

#buttonVoirDansReseaux {
    background-color: #1100ff;
}

#buttonVoirDansReseaux a {
    color: white;
    text-decoration: none;
}

/*================================*/
/* ELEMENTS DE L'ACTU DES RESEAUX */
/*=================================*/
#SOMMAIREActu {
    background-color: black;
    text-align: center;
    color: white;
    padding-top: 2%;
    border-top: #1100ff solid;
    border-bottom: #1100ff solid;
}

#SOMMAIREActu h2 {
    letter-spacing: 2%;
    font-size: 2rem;
}

#listeSommaireActu {
    list-style: circle;
    background-color: black;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-around;
    padding: 2%;
    margin-top: 0;
}

#listeSommaireActu li {
    padding: 0;
}

#listeSommaireActu a {
    color: white;
    text-decoration: none;
    font-style: italic;
}

#ensembleReseauxPublications {
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    list-style: none;
    padding: 0;
    height: auto;
    position: relative;
}

#ensembleReseauxPublications h3 {
    text-transform: uppercase;
    text-align: center;
    background-color: black;
    color: red;
    margin: 0;
    padding: 1%;
    padding-inline: 5%;
    border-radius: 10vw 10vw 0 0;
    border-top: solid black;
    border-left: solid black;
    border-right: solid black;
    letter-spacing: 2rem;
    width: auto;
    height: auto;
    display: flex;
    align-self: center;
    flex-wrap: wrap;
}

#ensembleReseauxPublications li {
    display: flex;
    padding: 2%;
    border-top: solid rgba(0, 0, 0, 0.414) 0.1vw;
    border-bottom: solid rgba(0, 0, 0, 0.414) 0.1vw;
    background-image: url("img/actuDesReseaux/fond.webp");
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    border-top: solid black;
    border-bottom: solid black;
    margin-bottom: 1%;
    justify-content: center;
}

#partieGaucheBoxReseaux {
    width: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
}

#partieGaucheBoxReseaux img {
    display: flex;
    height: 20rem;
    border: solid black;
    transition: all 0.5s;
}

#partieGaucheBoxReseaux img:hover {
    transform: scale(0.95);
    opacity: 0.8;
}

#partieDroiteBoxReseaux {
    font-size: 1rem;
    background-color: white;
    padding: 1%;
    border: solid black;
}

#partieDroiteBoxReseaux.texteUniquement {
    text-align: center;
}

/*======================*/
/* ELEMENTS DE CONTACTS */
/*======================*/
#contact_section_glob {
    list-style: none;
    padding: 0;
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    justify-content: center;
}

#contact_section_glob > li {
    text-align: center;
    display: flex;
    justify-content: center;
    margin-top: 2%;
}

form {
    width: 80vw;
    display: flex;
    flex-direction: column;
}

input[type="text"],
input[type="email"],
textarea {
    padding: 1rem;
    margin-bottom: 1rem;
    border: 1px solid #ccc;
    border-radius: 5px;
}

textarea {
    height: 7rem;
}

button[type="submit"] {
    background-color: #1100ff;
    color: white;
    border: none;
    padding: 1% 2%;
    cursor: pointer;
    border-radius: 5px;
    transition: background-color ease 0.2s;
}

button[type="submit"]:hover {
    background-color: #3734f0;
}

#contact_reseaux_glob {
    align-self: center;
    display: flex;
    flex-direction: column;
}

#reseaux_contact {
    display: flex;
    flex-direction: row;
    list-style: none;
    justify-content: space-around;
    padding: 0;
}

#reseaux_contact img {
    width: 7rem;
    transition: transform 0.5s ease-in-out;
}

#reseaux_contact img:hover {
    transform: rotate(360deg);
}

/*============*/
/* RESPONSIVE */
/*============*/

@media only screen and (max-width: 500px) {

    /*=======================================*/
    /* ELEMENTS PRESENT SUR TOUTES LES PAGES */
    /*=======================================*/
    #menu.scrolled {
        height: 7%;
    }
    #menu.scrolled #recette_onglet #sous_menu_recettes{
        border-top: solid;
        border-bottom: solid;
        border-right: none;
        border-left: none;
        display: flex;
        position: relative;
        background-color: transparent;
        top: 0;
        justify-content: center;
        margin: 0 5%;
    }
    #sous_menu_recettes {
        border-top: solid;
        border-bottom: solid;
        border-right: none;
        border-left: none;
        display: flex;
        position: relative;
        flex-direction: row;
        background-color: transparent;
        width: 90%;
        z-index: 3;
        top: 0;
        justify-content: center;
        margin: 0 5%;
        left: 0;
    }
    #logo_sup_gauche {
        width: 25%;
        margin: 1% 2%;
        border: none;
        justify-content: center;
        align-items: center;
    }

    #ul_global_menu {
        top: -105.5%;
        display: flex;
        position: fixed;
        justify-content: center;
        background-color: white;
        width: 90%;
        height: 101%;
        flex-direction: column;
        text-align: center;
        padding: 0 5%;
        transition: top 0.4s ease;
        left: 0;
    }

    #ul_global_menu > li{
        width: 100%;
        display: flex;
        justify-content: center;
    }
    #recette_onglet{
        display: flex;
        flex-direction: column;

    }
    #ul_global_menu > li > a {
        font-size: 2rem;
        color: black;
    }

    #ul_global_menu.menu_mobile {
        top: -2.3%;
    }


    #sous_menu_recettes > li > a{
        font-size: 1rem;
    }
    #logo_menu {
        display: flex;
        margin-right: 5vw;
        z-index: 2;
        transition: transform 0.2s ease, color 0.2s ease;
        font-size: 9vw;
    }

    #logo_menu.logo-open {
        color: black;
        transform: rotate(-90deg);
    }

    #image_haut_accueil {
        display: none;
    }

    #image_haut_accueil_tel {
        display: flex;
        justify-content: center;
        align-items: center;
        position: relative;
        width: 100vw;
        overflow: hidden;
    }
    #image_haut_accueil_tel #texte_centrer_sur_image_accueil h1{
        font-size: 4rem;
    }
    #image_haut_accueil_tel #texte_centrer_sur_image_accueil h2{
        font-size: 2rem;
    }
    #image_haut_accueil_tel #texte_centrer_sur_image_accueil ul li img{
        width: 3rem;
    }
    #image_haut_accueil_tel #image_accueil_tel_img {
        width: 100%;
        height: 100vh;
        object-fit: cover;
        display: block;
        border: 0;
    }
    #boxNewsletter {
        height: 25%;
        width: 84%;
        font-size: 1.2rem;
        padding: 0 8% 11vh 8%;
    }

    #abonner {
        padding: 1.5vw;
        border-radius: 4vw;
        font-size: 5vw;
        color: black;
    }

    #croixFenetreAbonnement {
        margin-left: 90vw;
    }

    #newsletter-form {
        font-size: 5vw;
        height: 60vh;
        align-content: center;
        text-align: center;
        overflow-y: auto;
    }
    #newsletter-form button{
        padding: 2%;
    }
    #footer {
        padding: 1.5rem 0;
    }

    #footer-social-links {
        gap: 1rem;
    }

    #footer-social-links img {
        width: 1.5rem;
    }

    #footer-newsletter-form {
        max-width: 90%;
    }

    #footer-newsletter-form textarea {
        font-size: 0.9rem;
    }

    #footer-newsletter-form input[type="submit"] {
        font-size: 0.9rem;
        width: 70%;
    }
    /*==================================*/
    /* ELEMENTS DE ACCUEIL (INDEX.HTML) */
    /*==================================*/
    #Presentation_site {
        font-size: 1rem;
    }
    
    #image_entre_presentation_et_exemple img {
        height: 30rem;
    }
    
    #citation_accueil {
        padding: 4rem 2rem;
    }
    
    #citation_accueil h1 {
        font-size: 6rem;
    }
    
    #citation_accueil p {
        font-size: 2rem;
    }

    #titre_instant_gourmand {
        font-size: 1.5rem;
        padding: 1rem;
    }

    #images_exemples li{
        margin: 1%;
    }
    #images_exemples img {
        width: 45vw;
        height: 45vw;
    }

    #images_exemples h3 {
        font-size: 0.8rem;
        left: 1%;
        padding:2%;
    }

    /*==================================*/
    /* ELEMENTS DE RECETTES (x 5 PAGES) */
    /*==================================*/
    #liste_patisseries_theme li img {
        width: 45vw;
        height: 45vw;
    }

    #liste_patisseries_theme li {
        display: flex;
        flex-wrap: wrap;
        width: 45vw;
        margin: 2vw 0;
    }

    #liste_patisseries_theme li:hover {
        transform: scale(1);
        background-color: rgb(255, 255, 255);
        color: rgb(0, 0, 0);
        border-radius: 0 0 0vw 0vw;
    }

    .carrousel {
        width: 45vw;
        height: 45vw;
        overflow-x: scroll;
        scroll-snap-type: x mandatory;
    }

    .carrousel_button {
        font-size: 5vw;
    }

    .carrousel-images img {
        scroll-snap-align: center;
    }

    /*========================*/
    /* ELEMENTS DE MES VIDEOS */
    /*========================*/

    #ul_toutes_videos video {
        width: 40vw;
    }

    #ul_toutes_videos h3 {
        font-style: italic;
        font-size: 2.8vw;
    }

    #ul_toutes_videos li:hover {
        transform: none;
    }

    #ul_toutes_videos li {
        width: 40vw;
    }

    /*================================*/
    /* ELEMENTS DE L'ACTU DES RESEAUX */
    /*=================================*/
    #SOMMAIREActu {
        width: 90%;
        justify-self: center;
        margin: 5%;
    }

    #SOMMAIREActu h2 {
        font-size: 2rem;
    }

    #listeSommaireActu {
        flex-direction: column;
        justify-content: center;
    }

    #listeSommaireActu a {
        color: white;
        text-decoration: none;
        font-style: italic;
        font-size: 2rem;
    }

    #ensembleReseauxPublications li {
        flex-direction: column;
        padding: 0;
    }
    #ensembleReseauxPublications > h3{
        max-width: 88%;
        overflow-x: auto;
        font-size: 1rem;
        display: flex;
        flex-wrap: nowrap;
    }
    #partieGaucheBoxReseaux {
        width: 100%;
        display: flex;
        justify-self: center;
        margin: 0;
    }

    #partieGaucheBoxReseaux img {
        height: 90vw;
        margin-right: 1%;
    }

    #partieDroiteBoxReseaux {
        font-size: 1rem;
        text-align: center;
        width: 90%;
        margin: 3%;

    }
}