:root {
    --beige: #f4caaa;
    --beigeClaire: #feecde;
    --vertTresClaire: #dbffee;
    --vertClaire: #bfffbc;
    --vertMoyen: #759573;
    --vertFonce: #50604f;
    --vertTresFonce: #2a2b2a;

    --beige50: #f4caaa8a;
    --vertTresClaire50: #dbffee86;
    --vertClaire50: #bfffbc79;
    --vertMoyen50: #7595737e;
    --vertFonce50: #50604f80;
    --vertTresFonce50: #2a2b2a83;

    --couleurLunerien: #dbffee;
    --couleurLunesymboleMalus: #ffdbdb;
    --couleurLunesymboleBonus: #dbffdb;
    --couleurLunecarteMalus: #e2e2e2;
    --couleurLunedesMalus: #ffffea;
    --couleurLunemultiInverse: #e8dbff;
    --couleurLunevaleurInverse: #fcdbff;
  }
*{
    margin: 0;
    padding: 0;

    box-sizing: border-box;
    font-family: Lexend;

    border-radius: 2vw;
}
html,body{
    display: block;
    position: absolute;
    height: 100dvh;
    width: 100dvw;

    background-color: var(--vertTresFonce);
}
.oldFont{
    font-family: "UnifrakturMaguntia";
}
h3 .oldFont{
    font-size: 2em;
}
p,h1,h2,h3,h4,svg{
    color: var(--vertTresClaire);
}
img{
    max-height: 50vh !important;
    border-radius: 0;
}
.content{
    border-top: 3px;
    border-left: 2px;
    border-right: 2px;
    border-bottom: 0px;

    padding:  2em;
}
strong{
    color: #202055;
}
button{
    line-height: 1em;
    border: none;
    font-size: 1.2em;
    font-weight: 600;

    background: linear-gradient(90deg,var(--beigeClaire) 0%, var(--beige) 100%);
}
button:hover{
    cursor: pointer;
}
#screenZone{
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 90dvh;
    width: 97vw;
    max-width: 1300px;
    margin: 4dvh auto;
}
#title,#descPost,#letterR,#letterA,#copyright{
    background: linear-gradient(180deg,var(--vertFonce) 0%, var(--vertMoyen) 100%);
}
#tabContent{
    background: linear-gradient(180deg,var(--vertTresClaire) 0%, var(--vertClaire) 100%);
}
.tabButton.tabSelected, #tabButton0.tabSelected{
    background: linear-gradient(180deg,var(--vertTresClaire) 0%, var(--vertClaire) 100%);
    color: var(--vertFonce);
    z-index: 10;
}
.tabButton,#tabButton0{
    color: var(--vertTresFonce);
}
button:hover{
    box-shadow: 0px 0px 15px var(--vertClaire);
}
.tabSelected:hover{
    box-shadow: 0px 0px 15px var(--vertClaire);
}
#topZone{
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    width: 100%;
    height: 13%;

    gap: 1.5%;

}
#title,#descPost,#tabButton0{
    height: 100%;
}
#title,#descPost{
    display: flex;
    align-items: center;
    justify-content: flex-start;
}
#title{
    width: 70%;
}
#descPost{
    width: 30%;
}
#descPost>h1{
    margin-top: 1vw;
    font-size: 4vw;
    font-family: "UnifrakturMaguntia";
}
#tabButton,#tabButton0{
    width: 10%;
    min-width: 135px;
}
#tabButton button{
    height: 17%;
    width: 100%;
}
#tabButton #tabButton6{
    height: 6%;
}

#mainZone{
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    gap: 1.5%;
    width: 100%;
    height: 85%;

}
#middleContent,#tabButton{
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;

}
#letterR,#letterA{
    width: 100%;
    height: 49%;
}
#letterR p, #letterA ul li, .jeu ul li{
    margin-bottom: 0.3em;
}
ul li{
    list-style: url("images/svg/dot.svg");
}
#letterA ul li strong{
    color: var(--vertClaire) !important;
}
#letterR{
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding-right: 2.5em;
}
#middleContent{
    width: 100%;
}
#tabContent,#copyright{
    width: 100%;
}
#tabContent{
    position: relative;
    overflow: hidden;
    height: 92%;
    padding: 0;
}
.tabContent{
    display: none;
    position: absolute;
    overflow-y: auto;
    overflow-x: hidden;
    height: 100%;
    width: 100%;
    padding: 4% 4% 4% 4%;
    gap: 6%;

    background-image: url("/images/svg/papierpeint.svg");
    background-size: contain;
    background-repeat: repeat;
    background-position: top;
    background-attachment: local;
}
.tabContent h4{
    width: 100%;
    text-align: center;
}

*::-webkit-scrollbar {
    width: 20px;               /* width of the entire scrollbar */
} 
*::-webkit-scrollbar-track {
    background: var(--vertTresClaire);        /* color of the tracking area */
}
*::-webkit-scrollbar-thumb {
    background-color: var(--vertFonce);    /* color of the scroll thumb */
    border-radius: 0px;       /* roundness of the scroll thumb */
    border: 3px solid var(--vertTresClaire);  /* creates padding around scroll thumb */
}

.tabContent.contentSelected{
    display: flex;
    flex-direction: column;
    gap: 2em;
}
.tabContent p, .tabContent h2, .tabContent h3, .tabContent h4{
    color: var(--vertTresFonce) !important;
}
.tabContent .tabTop,.tabContent .tabBottom,.tabContent .tabMiddle{
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    width: 100%;
    gap: 2em;
}
.tabContent .tabTop>div, .tabContent .tabBottom>div, .tabContent .tabMiddle>div{
    background: linear-gradient(180deg,var(--vertTresClaire) 0%, var(--vertClaire) 100%);
    padding: 1em 2em;
}
.tabContent div>div{
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
}
.tabContent div>div>img{
    object-fit: contain;
}
.onlyImg{
    background: none !important;
    padding: 1em !important;
}

.lienAccueil{
    text-decoration: underline;
    color: darkmagenta;
}
.lienAccueil:hover{
    cursor: pointer;
}
#logoRal{
    width: 88%;
}

#tabContent1 .tabBottom{
    flex-direction: column !important;
}
.livre{
    flex-direction: row !important;
    gap: 1em;
}
.livreCouv{
    width: 20%;
}
.livreInfo{
    width: 80%;
}
.livreGenre,.livreDuree,.livreDate{
    font-size: 0.9em;
}
.livreGenre,.livreDate{
    margin-bottom: 0px !important;
}
.livreDate{
    margin-top: auto;
}

#tabContent1 .tabTop>div:first-child{
    width: 60%;
}
#tabContent1 .tabTop>div:last-child{
    width: 40%;
}
#tabContent1 .tabTop div:last-child img{
    align-self: center;
    width: 100%;
}

.jeu a{
    color: darkmagenta;
}
.jeu{
    gap: 2em;
    flex-direction: row !important;
    justify-content: flex-start !important;
}
#tabContent2>div{
    flex-direction: column !important;
}
#introJeu{
    flex-direction: row-reverse !important;
    gap: 3em !important;
    margin-bottom: 1em;
}
#sectionJeuDesc{
    width: 60%;
}
#newsJeu{
    width: 40%;
}
.idJeu{
    width: 40%;
}
.idJeu>h4{
    font-size: 1.2em;
}
.idJeu a{
    text-align: center;
}
.infoJeu{
    width: 60%;
}
.miseAjourJeu{
    border-radius: 0px !important;
}
.jeuImg{
    margin-top: 0.5em;
    margin-bottom: 0.5em;
    justify-content: center !important;
    align-items: center !important;
    flex-direction: row !important;
    gap: 4%;
}
.jeuImg div{
    display: flex;
    align-self: stretch;
    max-height: 200px;
}
.jeuImg div img{
    width: 100% !important;
    height: 100% !important;
    object-fit: contain;
}
.lienJeu{
    margin-top: 0.5em;
    margin-bottom: 1em;
}
.jeuVersion{
    margin-top: auto;
    margin-bottom: 0.5em;
    font-size: 0.9em;
    text-align: right;
}

#tabContent3>.tabTop>div:first-child{
    width: 60%;
}
#tabContent3>.tabTop>div:last-child{
    width: 40%;
}
#tabContent3>.tabMiddle{
    flex-direction: row !important;
    flex-wrap: wrap !important;
    gap: 1em !important;
    justify-content: space-around !important;
}
#tabContent3>.tabMiddle>h4{
    text-align: center;
    width: 100%;
}
#musiqueMenu{
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-between;
}
#musiqueMenu>.musiqueMenuButton{
    width: 48%;
    text-align: center;
    font-weight: bold;
    margin: 0.2em 0em;
    border: solid 2px var(--vertTresFonce);
}
.musiqueMenuButton:hover{
    cursor: pointer;
}
.musiqueMenuButton>p{
    margin-top: auto !important;
    margin-bottom: auto !important;
}
#musiqueMenu>p{
    width: 100%;
    text-align: center;
    margin-top: 1em;
}
#musiqueMenu>select{
    width: 100%;
}
.musique{
    flex: 1 1 50%;
    max-width: 45%;
}
.musiqueLien{
    margin: 0.5em 0 !important;
}
.musique p{
    margin: 0 !important;
}
.musiqueImg{
    margin-bottom: 1em;
}
.musiqueInfo{
    width: 100%;
}
.musiqueInfo *{
    width: 100% !important;
    text-align: center !important;
}
.musiqueTitre{
    font-size: 1em;
    font-weight: bold;
}

#tabContent4 .tabTop div:first-child{
    width: 60%;
}
#tabContent4 .tabTop div:last-child{
    width: 40%;
}

#tabContent6>.tabTop>div:first-child{
    width: 60%;
}
#tabContent6>.tabTop>div:last-child{
    width: 40%;
}

.tabContent div div h3{
    margin-bottom: 0.5em;
}
.tabContent div div p{
    margin-bottom: 0.5em;
}
.tabContent div div img{
    width: 100%;
}
.tabContent div div p,.tabContent div div h3{
    width: 100%;
}


#copyright{
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    height: 6%;
    padding-top: 0;
    padding-bottom: 0;
}
#up{
    display: none;
    top: 0;
}
#down{
    bottom: 0;
}