/*======================
   FONTS
=======================*/
@font-face {
  font-family: "MarcellusSC";
  src: url('font/MarcellusSC-Regular.ttf');
  font-display: swap;
}

@font-face {
  font-family: "CormorantGaramond";
  src: url('font/CormorantGaramond-Medium.ttf');
  font-display: swap;
}

@font-face {
  font-family: "CormorantGaramondBold";
  src: url('font/CormorantGaramond-Bold.ttf');
  font-display: swap;
}

@font-face {
  font-family: "gigi";
  src: url('font/gigi.ttf');
  font-display: swap;
}

/*======================
   GLOBAL STYLES
=======================*/
body {
    min-height: 100vh;
    background: linear-gradient(45deg, #0f711e, #00ffff);
    background-repeat: no-repeat;
    background-size: cover;
    text-align: center;
    margin: 0;
    padding: 0;
    font-family: "CormorantGaramond", serif;
    color: #00FF80;
}

p {
    font-size: 1.6em;
    text-decoration: none;
    color: white;
    margin-bottom: 10px;
}

#lirelasuite {
    display: none;
}

/*======================
   TITLES
=======================*/
h1, h2, h3 {
    font-family: "MarcellusSC", serif;
    color: black;
    text-shadow:
        1px 1px 2px silver,
        0 0 1em blue,
        0 0 0.2em blue;
    font-style: italic;
    text-align: center;
    margin-bottom: 0.5em;
}

h1 { font-size: 1.8em; }
h2 { font-size: 1.7em; }
h3 { font-size: 1.6em; }

/*======================
   IMAGES
=======================*/
img {
    border-radius: 20px;
    box-shadow: 8px 8px 10px 0 rgba(0,0,0,0.5);
    transition: 0.5s;
    margin-bottom: 0.25em;
}

img:active {
    transform: scale(2.2);
    transition: 1s;
}

/*======================
   MAIN LAYOUT
=======================*/
.main {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    margin-top: 15px;
}

.main img { height: 260px; }

.img_wrapper { max-width: 25%; }

/*======================
   FICHE BLOCK (fond noir)
=======================*/
.fiche-wrapper {
    float: right;
    background: rgba(0,0,0,0.75); /* FOND NOIR AUTOUR DES INFOS UNIQUEMENT */
    padding: 1em;
    border-radius: 12px;
    display: inline-block;
}

.fiche_img { display: inline; }

/*======================
   FICHE TEXTES
=======================*/
.fiche_title {
    font-family: "MarcellusSC", serif;
    color: silver;
    font-size: 1.6em;
    text-align: center;
    margin: 0.7em 0;
}

.fiche_description {
    font-family: "CormorantGaramond", serif;
    color: #00FF80;
    font-size: 1.3em;
    margin: 0.4em 0;
}

.fiche_price {
    font-family: "CormorantGaramondBold", serif;
    color: #00FFFF;
    font-size: 1.3em;
    display: inline-block;
}

/*======================
   BUTTON
=======================*/
.bouton a {
    background: #008000; /* VERT */
    border-radius: 6px;
    padding: 0.3em 0.3em;
    color: ghostwhite;
    display: inline-block;
    font-family: gigi;
    font-size: 1.15em;
    text-decoration: none;
    transition: 0.3s;
}

.bouton a:hover {
    background: #00e673;
    cursor: pointer;
}

/*======================
   FOOTER
=======================*/
.footer, .foot {
    font-family: "CormorantGaramond", serif;
    color: #00FF80;
    font-size: 1.6em;
    font-style: italic;
    width: 100%;
}

/*======================
   MEDIA QUERIES
=======================*/
@media (max-width: 620px) {

    .main {
        display: inline-block;
    }

    .main img {
        height: 156px;
    }

    .img_wrapper {
        max-width: 100%;
    }

    .fiche-wrapper {
        width: 100%;
        margin: auto;
        padding: 0.2em;
    }

    .fiche_title {
        margin: 0.2em 0 0.4em 0;
        font-size: 1.5em;
    }

    .fiche_description,
    .fiche_price,
    p {
        color: white;
        text-shadow: 1px 1px 3px black; /* lisibilité mobile */
        font-size: 1.2em;
    }

    .bouton a {
        padding: 0.3em 0.35em;
        font-size: 1.25em;
    }
}

@media (min-width: 621px) and (max-width: 1579px) {

    .main img {
        height: 96px;
    }

    .img_wrapper {
        max-width: 35%;
    }

    .fiche_title {
        width: 50%;
    }
}
