@font-face {
    font-family: "Civette";
    src: url("fonts/Civette-Regular\ copie.otf") format("opentype");
    font-style: normal;
}

@font-face {
    font-family: "Civette";
    src: url("fonts/Civette-Italic\ copie.otf") format("opentype");
    font-style: italic;

}

@font-face {
    font-family: "4MyLover";
    src: url("fonts/4MyLover.ttf") format("truetype");
    font-style: normal;
}

@font-face {
    font-family: "Stockinette";
    src: url("fonts/Stockinette-Regular\ copie.otf") format("opentype");
    font-style: normal;
}

h1{
    font-family: "Comic Sans MS", "Comic Sans", cursive;
    position: absolute;
    font-size: 500%;
    color: rgb(50, 75, 49);
}

h2{
    color: rgb(50, 75, 49);
    font-family: "Comic Sans MS", "Comic Sans", cursive;
}
body{
    margin: 0; padding: 0;
    background-color: rgb(63, 0, 29);
    display: flex;
    justify-content: center;
}

#global{
    width: 800px;
}

.header{
    width: 100%;
    height: 100px;
    margin-top: 200px;
    justify-content: center;
    display: flex;
    box-sizing: border-box;
}

.entete{
    width: 759px;
    background-color: rgb(255, 208, 241);
    border-radius: 10px;
    border: 4mm ridge rgb(50, 75, 49);
}

.content{
    width: 100%;
    margin-bottom: 400px;
    margin-top: 10px;
    display: flex;
    justify-content: space-around;
    box-sizing: border-box;
}

.column{
    background-color: rgb(255, 208, 241);
    border-radius: 10px;
}

.left{
    width: 20%;
    border: 4mm ridge rgb(50, 75, 49);
    overflow: auto;
    max-height: 500px;
}

.right{
    width: 70%;
    border: 4mm ridge rgb(50, 75, 49);
    overflow: auto;
    max-height: 500px;
}

.page-livre{
    width: 50%;
    height: auto;
    aspect-ratio: 3 / 5;
    object-fit: cover;
    display: block;
}

.livre{
    display: flex;
    perspective: 1500px;
    position: relative;
}

#droite{
    backface-visibility: hidden;
}

.feuille.rotation{
    transform: rotateY(-180deg);
}

.feuille{
    width: 50%;
    position: relative;
    transform: rotateY(0deg);
    transform-origin: left center;
    transition: 1s;
    transform-style: preserve-3d;
}

.feuille .page-livre{
    width: 100%;
}

.verso{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    transform: rotateY(180deg);
    backface-visibility: hidden;
}

.page-dessous{
    position: absolute;
    top: 0;
    left: 50%;
    width: 50%;
}

.page-dessous .page-livre{
    width: 100%;
}

.fleche{
    background: transparent;
    border: none;
    color: #365538;
    font-size: 35px;
    cursor: pointer;
    transition: transform 0.2s;
}

.conteneur-livre{
    display: flex;
    align-items: center;
    gap: 10px;
}

.conteneur-livre .livre{
    flex: 1;
    min-width: 0;
}

.fleche:focus{
    outline: none;
}

.fleche:focus-visible{
    outline: 2px solid #365538;
    border-radius: 5px;
}

.fleche:hover{
    transform: scale(1.15);
}

#section-blog{
    padding: 20px;
}

#section-blog img{
    max-width: 100%;
    object-fit: contain;
}

.recto{
    position: relative;
    backface-visibility: hidden;
}

.annotation{
    position: absolute;
    top: 12%;
    left: 15%;
    margin: 0;
    color: navy;
    font-family: "Comic Sans MS", "Comic Sans", cursive;
}

.page-gauche{
    position: relative;
    width: 50%;
}

.page-gauche .page-livre{
    width: 100%;
}

#section-tfe:fullscreen{
    background-color: rgb(63, 0, 29);
    display: flex !important;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

#section-tfe:fullscreen .conteneur-livre{
    width: min(110vh, 90vw);
}

#section-tfe:fullscreen .fleche{
    color: rgb(255, 208, 241);
}

.page-gauche,
.page-dessous,
.recto,
.verso{
    container-type: inline-size;
}

.portrait-copine img{
    width:50%;
    height: auto;
}

#section-copines{
    padding: 20px;
}

.portrait-copine{
    position: relative;
}

.portrait-copine p{
    position: absolute;
    bottom: 5%;
    left: 5%;
    width: 80%;
    background-color: rgba(255, 208, 241, 0.9);
    padding: 10px;
}

