@font-face {
            font-family: 'Crimson Text';
            src: url('fonts/CrimsonText-Regular.ttf') format('truetype');
            font-weight: normal;
            font-style: normal;

        }

@font-face {
    font-family: 'Odstemplik';
    src: url('fonts/odstemplik.ttf') format('truetype'),
        url('fonts/odstemplik.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

    @font-face {
        font-family: 'Playfair';
        src: url('fonts/PlayfairDisplay-Regular.ttf') format('truetype'),
            url('fonts/PlayfairDisplay-Regular.woff') format('woff');
        font-weight: normal;
        font-style: normal;
    }



        

.outline-row{
    display:flex;
    flex-direction: row;
    width:100%;
    height:50px;
    display:none;
    
}

#outline-bottom{
    transform: rotate(180deg);
    transform-origin: center;
    
}

#outline-left{
    transform: scaleX(-1);
}

.horiz-border {
    display:block;
    background-image: url('images/visuels/motifs/bordure_deco_horiz.png'); 
    background-size: auto 50px;
    background-repeat: repeat-x; 
    border-radius: 50px;
    flex-grow: 1;
    height: 50px;
    align-items: center;
    display:none;
    
}

.outline-column {
    display:block;
    background-image: url('images/visuels/motifs/bordure_deco_verti.png'); 
    background-repeat: repeat-y; 
    background-size: 100%;
    border-radius: 30px;
    width: 50px !important ;
    align-items: center;
    display:none;
    
}

.corner-deco {
    display:block;
    background-image: url('images/visuels/motifs/bordure_deco_corner.png'); 
    background-size: 100%;
    width: 50px;
    height: 50px;
    display:none;
    
}

#corner-right{
    transform: scaleX(-1);
}



.main-carte {
    display:flex;
    flex-direction: row;
}



.page-block {
    display:flex;
    flex-direction: column;
    align-items: center;
    flex-grow: 1;
    padding: 0px;
}


        


.carte{
    width:auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    color: rgb(153, 105, 113);
    border-radius: 15px;
    margin-top: 0px;
    
}

.fiche-categorie{
    width:100%;
    margin-bottom: 80px;
}

h4 {
    color: rgb(138, 122, 96);
    font-family: 'Playfair', serif;
    font-size: 1.8rem;
    text-align: center;
    margin-bottom: -15px;
    font-weight: 100;
    margin-top: 0px;
    margin-bottom: 5px;
    text-transform: uppercase;
}

a {
    text-decoration: none;
    color: rgb(145, 137, 137);
}

.lien_gris{
    margin:auto;
    color: rgb(145, 137, 137);
    font-family: 'futura';
    font-size: 1rem;
    background-color: rgb(236, 236, 236);
    cursor: pointer;
    text-align: center;
    width:300px;
    height:40px;
    border-radius :5px;
    padding:10px;
    
}

.entete-categorie {

    display:flex;
    flex-direction: column;
    align-items:center;
    justify-content: center;
    width:80%;
    border-radius: 100px;
    margin: auto;
}

.des-categorie {
    font-family: 'Crimson Text',sans-serif;
    max-width:400px;
    font-size: 1.5rem;
    line-height: 1em;
    text-align: center;
    color: rgb(238, 233, 229);
    font-size:1.2rem;
    text-align: center;
    text-align: center;
    font-weight: lighter;
    margin-top: 20px;
    padding: 40px;
    border-radius: 5px;
}

.des-categorie::first-letter{
    font-size: 1.6rem;
}

.logo-cat{
    display:flex;
    align-items: center;
    justify-content: center;
    width:90%;
    padding-top: ;
}

.logo-cat img{
    width: 200px;
}

.infos-cat{
    color:rgb(138, 122, 96);
    margin-top: 5px;
}

.produits-block{
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: flex-start;
    flex-wrap: wrap;
    color: rgb(101, 101, 101);
}

.fiche-produit{
    font-family: 'futura';
    width:240px;
    height:auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-left: 19px;
    margin-right: 19px;
    margin-bottom: 20px;
}

h5{ 
    font-size: 1.1rem;
    margin-top: 30px;
    text-align: center;
    font-weight: lighter;
}

.nom-buche{
    font-family: "Playfair",serif;
    font-size: 1.9rem;
    margin-top: 15px;
    margin-bottom: -25px;
    color: rgb(174, 99, 113);
}

.visuel-produit{
    width:100%;
    border-radius: 5px;
}

blockquote{
    font-family: 'Crimson Text', sans-serif;
    font-style: italic;
    color:rgb(171,137,103);
}

blockquote #ref {
    font-style: normal;
}

.des-produit{
    font-weight: lighter;
    text-align: center;
    font-size: 15;
    margin-bottom: 20px;
}

.trait{
    width:180px;
    border-bottom: rgb(166, 166, 166) solid 3px;
    margin-bottom: 20px;
    margin-top: 20px;
}

.tarifs {
    list-style-type: none;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    gap:15px;
}

.rens{
    font-style: italic;
    font-size: 15;
    color: rgb(105, 99, 147);
}

.fiche-categorie, .fiche-produit {
    opacity: 1;
    transform: translateY(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fiche-categorie.visible, .fiche-produit.visible {
    opacity: 1;
    transform: translateY(0);
}

.visuel-pres{
    width:240px;
    border-radius: 5px;
    margin-left: 12px;
    margin-right: 12px;
    margin-bottom: 20px;
}

.visuels-block{
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: flex-start;
    flex-wrap: wrap;
}

#script-typo {
    font-family: 'Odstemplik',serif;
    font-size: 1.5rem;
    line-height: 1em;
    text-align: center;
}

#script-typo:first-letter {
    font-size: 3rem;
}

#script-typo-titre {
    font-family: 'Odstemplik',serif;
    font-size: 1.8rem;
    line-height: 0.9em;
    text-align: center;
}

#script-typo-titre:first-letter {
    font-size: 3rem;
}

.dlc {
    color:rgb(178, 178, 178);
    font-size:0.9rem;
    margin-top: 5px;
    font-style: italic;
    text-align: center;
}

.dispo {
    color:rgb(195, 114, 117);
    font-style: italic;
    text-align: center;
}

.pave-fete {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px;
    line-height: 1.5;
    flex:1;
}

.pave-fete p{
    margin-bottom: 15px;
}

.fete-section {
    display: flex;
    flex-direction: column;
    width:90%;
    max-width:800px;
    color: rgb(177, 117, 114);
    opacity:0;
    animation: IntroFadeIn 2s ease forwards;
}

.illus-noel {
    margin:auto;
    width: 100%;
    max-width: 400px;
    height: auto;
    content: url('images/visuels/noel/noel_au_pays_de_l_ogre.png');
    margin-bottom: 20px;
}

        






        





@media screen and (max-width: 768px) {
    .carte{
        width:95%;
        padding: 0px;
    }

    .page-block{
        width: 100%;
        padding: 0px;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .fiche-produit{
        width:70%;
        align-items: center;
        margin-left: 1%;
        margin-right: 1%;
    }

    

    h5{ 
        
    }

    .des-produit{
        font-weight: lighter;
        text-align: center;
        font-size: 0.95rem;
        margin-bottom: 15px;
    }

    .trait{
        width:80%;
        margin-bottom: 10px;
        margin-top: 10px;
    }

    .produits-block{
        justify-content: space-around;
        width: 100%;
    }

    

    


    .outline-column{
        display: none;
        width: 0px;
    }

    .horiz-border {
        background-size: auto 40px;
        border-radius: 40px;
        height: 40px;
        display: none;
    }

    .corner-deco {
        display:block;
        width: 40px;
        height: 40px;
    }


    .visuels-block #carre{
        width:48%;
        height: 500px;
        margin-left: 1%;
        margin-right: 1%;
        margin-bottom: 5px;
        background-color: red;
        object-fit: contain;
        object-position: center;
    }

    .visuels-block #large{
        width:100%;
        margin-left: 1%;
        margin-right: 1%;

        margin-bottom: 5px;
        
    }

    .visuel-titre{
        width:100%;
    }
}