@import url("https://fonts.googleapis.com/css2?family=Kavivanar&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Alegreya:ital,wght@0,400..900;1,400..900&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Shadows+Into+Light+Two&display=swap");

:root {
  --paper: whitesmoke;
}

.sidebar-right {
  min-width: 10px;
}

.deco-distress {
  position: absolute;
  right: 0%;
  top: 0%;
  width: 150px;
  height: auto;
  pointer-events: none;
}

.page-header {
  align-items: start;
  padding: 0;
  color: #816692;
}

.container {
  background-color: var(--paper);
  padding-top: 30px;
  padding-left: 20px;
  padding-right: 20px;
  padding-bottom: 20px;
  display: flex;
  flex-direction: column;
  min-height: calc(100vh - 40px);
  width: 100%;

  gap: 20px;

  color: #0a3370;

  background-image: url(../img/website/asset-paper-fold.png);
  background-size: cover;
  background-position: top;
}

.sheet-part {
  display: flex;
  gap: 10px;

  width: 100%;
}

.tabs-wrapper {
  display: flex;
  flex-direction: row;
  width: 100%;
  flex-grow: 1;
  gap: 10px;
}

.tabs-left-part {
  display: flex;
  flex-direction: column;
  gap: 7px;

  flex-grow: 7;
  flex-shrink: 0;
  flex-basis: 65%;
}

.tabs-right-part {
  display: flex;
  flex-direction: column;
  gap: 7px;

  flex-grow: 3;
  flex-shrink: 1;
  flex-basis: 35%;

  gap: 5px;
}

/* LES DIFFERENTES PARTS */
.player-wrapper {
  display: block;
  flex-grow: 0;

  h3 {
    font-family: "Grenze Gotisch", serif;
    color: black;
  }

  p {
    font-family: "Shadows Into Light Two", cursive;
  }
}

.character-icon {
  background-color: black;
  aspect-ratio: 1 / 1;
  min-height: 140px;
  height: 100%;
}

.character-name-wrapper {
  padding-left: 5%;
  display: flex;
  flex-direction: column;
  flex-grow: 1;

  h3 {
    font-family: "Grenze Gotisch", serif;
    color: black;
  }

  h2 {
    font-size: 3rem;
    margin: auto 0;

    font-family: "Kavivanar", cursive;
  }
}

.background {
  max-width: 30%;
}

.level-wrapper {
  display: flex;
  align-items: center;
  flex-wrap: wrap;

  flex-grow: 4;
  h3 {
    font-family: "Grenze Gotisch", serif;
    font-size: 25px;
    color: black;
  }
  p {
    margin-left: 20px;
    font-size: 32px;
    font-family: "Kavivanar", cursive;
  }

  .current-exp {
    margin-left: 0px;
    font-size: 14px;
    flex: 0 0 100%;
  }
}

.class-wrapper {
  flex-grow: 6;

  p {
    display: flex;
    margin: auto 0;
    width: 100%;
    justify-content: center;

    font-family: "Kavivanar", cursive;
  }
}

.tab {
  display: flex;
  flex-direction: column;

  h3 {
    color: black;
    font-size: 24px;

    position: absolute;
    background-color: var(--paper);
    width: fit-content;

    transform: translate(10px, -50%);

    font-family: "Grenze Gotisch", serif;
  }
}

.tab-content {
  padding: 20px 10px 10px 10px;
  flex-grow: 1;
  font-family: "Shadows Into Light Two", cursive;
}

.round-outline {
  border: 2px dotted black;
  border-radius: 10px;
}

.grow {
  flex-grow: 1;
}

@media (max-width: 768px) {
  .container {
    background-image: unset;
  }

  .tabs-wrapper {
    margin-top: 10px;
    flex-direction: column;
    gap: 20px;
  }

  .background {
    margin-top: 10px;
  }

  .tabs-left-part {
    gap: 20px;
  }

  .tabs-right-part {
    gap: 20px;
  }

  .sheet-part {
    flex-wrap: wrap;
  }

  .character-icon {
    min-width: 30%;
  }

  .background {
    min-width: 100%;
    max-width: unset;
    flex: 0 0 100%;
  }

  .level-wrapper {
    flex-wrap: nowrap;

    .current-exp {
      flex: auto;
      margin-left: 20px;
    }
  }
}
