html {
    overflow: hidden;
}


* {
    margin: 0 auto;
    padding: 0;
    box-sizing: border-box;
    cursor: url(/media/cursor/key.webp), auto;
}


:root {
    --viewport-height: 100vh;
    --beige: #bfb4a3;
}


::selection {
    color: inherit;
    text-shadow: 2px 1px 4px #845757;
}


::-webkit-scrollbar {
    width: 8px;
}


::-webkit-scrollbar:horizontal {
    height: 8px;
}


::-webkit-scrollbar-thumb {
    background: #fff9f9;
    border: 1px solid;
    border-radius: 10px;
    border-color: #e7c9d1;
}


::-webkit-scrollbar-track {
    background-color: #f4f4f4;
    border-radius: 10px;
    border: 1px solid #ccc;
}


@-webkit-keyframes fade-in {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}
@keyframes fade-in {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}


img::selection {
    background: transparent;
}


a {
    color: inherit;
    text-decoration: none;
}


a:hover {
    font-style: italic;
}


p {
    margin: 0;
}


li {
    list-style-type: none;
}


button {
    border-radius: 5px;
    font-size: inherit;
    color: inherit;
}


footer {
    margin: .3em 0;
    text-align: center;
}


mark {
    color: inherit;
    background: #dcd1c8;
}


img {
    filter: sepia(.3);
    transition: transform .5s;
}


img:hover {
    transform: scale(1.05);
}


body {
    color: #515151;
    font-size: 10px;
    font-family: nunito;
    background-image: url(/media/bg/room.jpg);
    background-attachment: fixed;
    background-size: cover;
    background-repeat: no-repeat;
    background-position-y: center;
}


.fade-in {
    -webkit-animation: fade-in 1s ease-in both;
    animation: fade-in 1s ease-in both;
}


#page {
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    min-height: var(--viewport-height);
}


#container {
    display: flex;
    flex-direction: column;
    width: 700px;
    height: auto;
    padding: 1em;
    border-radius: 5px;
    background: #ffeff8;
    filter: drop-shadow(2px 4px 6px #a1a1a1);
}


.profile,
.text-wrapper {
    border-radius: 5px;
    background: white;
    box-shadow: inset 0px 0px 4px #e4c9d8;
}


#main {
    display: flex;
    width: 100%;
    flex-direction: column;
}


.pfp {
    position: relative;
    background: url(/media/icon/doll.jpg);
    background-size: cover;
    background-position: center;
    width: 150px;
    height: 150px;
}


.pfp:hover .pfp-caption {
    opacity: 1;
}


.pfp-caption {
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    opacity: 0;
    transition: opacity 0.4s ease;
}


.profile {
    display: grid;
    width: 100%;
    padding: 1em;
    grid-auto-flow: column;
}


.profile::-webkit-scrollbar {
    width: 8px;
}


.profile::-webkit-scrollbar-thumb {
    border: 1px solid #f4e9ef;
    background: #fff3fa;
    border-radius: 5px;
}


.description {
    margin: 0 1.5em;
}


.langues button {
    height: 9px;
    width: 60px;
    margin-right: 5px;
    border: 1px solid #847057;
}


.pourcent {
    margin: 5px 0 5px;
}


.francais {
    background: #BDAEA1;
}


.english {
    background: linear-gradient(90deg, rgb(189 174 161) 90%, rgb(247 242 239) 0%);
}


.espanol {
    background: linear-gradient(90deg, rgb(189 174 161) 50%, rgb(247 242 239) 0%);
}


.russe {
    background: linear-gradient(90deg, rgb(189 174 161) 15%, rgb(247 242 239) 0%);
}


.hangul {
    background: linear-gradient(90deg, rgb(189 174 161) 5%, rgb(247 242 239) 0%);
}


nav button {
    width: fit-content;
    height: fit-content;
    padding: 4px;
    border: 2px solid #fbd3e8;
    background: #ffeff8;
    box-shadow: inset 2px 1px 1px white, inset -2px -2px 2px #f3ccdd;
    transition: background .5s, box-shadow .5s, transform .5s;
}


nav button:hover {
    font-style: italic;
    background: #ffd6ed;
    box-shadow: inset 2px 1px 1px white, inset -2px -2px 2px #eeb7cf;
    transform: scale(1.05);
}


nav button:active {
    transform: scale(0.9);
    box-shadow: inset 3px 2px 1px white;
}


.text-wrapper {
    height: 210px;
    margin: 0;
}


.text-wrapper::-webkit-scrollbar {
    width: 0;
    background: transparent;
}


.text-wrapper::-webkit-scrollbar-thumb {
    background: transparent;
}


.divider {
    height: 40px;
    background-image: url(/media/dividers/beigeribbon.png);
    background-size: contain;
}


.text {
    padding: 0 1em;
    height: 168px;
}


.characters {
    display: flex;
    margin-top: 10px;
}


#characters img {
    height: 12em;
}

.characters-container {
    display: flex;
    flex-direction: column;
    grid-gap: 5px;
}


#quizzes img {
    height: 12em;
}


.quiz-container {
    display: grid;
    grid-auto-flow: column;
    align-content: center;
    grid-gap: 20px;
    height: 100%;
    padding: 0 1em 0;
    overflow-y: hidden;
}