:root {
  --base-rotation: -3deg;
}

.main-container {
  display: flex;
  flex-direction: column;
}

.folder-left,
.folder-right {
  display: flex;
  width: 100%;
  height: 110%;
  z-index: 1;
  border-radius: 5px 10px 10px 10px;
  position: relative;
  top: 15px;
}

.folder-left {
  background: #ff9480;
}

.folder-right {
  background: #ff6a62;
}

.folder-parent-left::before,
.folder-parent-right::before {
  content: "";
  display: block;
  padding-top: 10px;
  width: 50%;
  height: 30px;
  border-radius: 10px 0 0 0;
  clip-path: path("M 0 0 L 270 0 C 295 2, 275 20, 300 25 L 0 50 z");
}

.folder-parent-left::before {
  background: #ff9480;
}

.folder-parent-right::before {
  background: #ff6a62;
}
.folder-bg-left,
.folder-bg-right {
  width: 100%;
  height: 90%;
  z-index: -1;
  border-radius: 10px;
}

.folder-bg-left {
  background-color: #ff6a62;
}

.folder-bg-right {
  background-color: #d33731;
}

.folder-parent-left,
.folder-parent-right {
  width: 700px;
  height: 100%;
  margin-top: 7.5%;
  transform: rotate(var(--base-rotation));
}

.folder-parent-left {
  margin-left: 10%;
}

.folder-parent-right {
  margin-right: 10%;
  transform: rotate(calc(var(--base-rotation) * -1));
}

.inside-left1,
.inside-right1 {
  max-width: 44%;
  padding: 15px 25px;
}

.inside-left2,
.inside-right2 {
  display: flex;
  max-width: 44%;
  padding-top: 5%;
  padding-bottom: 10%;
}

.image-left,
.image-right {
  display: flex;
  object-fit: contain;
  max-width: 100%;
  max-height: 255px;
  border-radius: 5px 0 5px 5px;
  clip-path: polygon(85% 0, 100% 15%, 100% 100%, 0 100%, 0 0);
}

.IT,
.LG,
.KO {
  display: flex;
}

.PR,
.FR {
  display: flex;
  justify-content: flex-end;
}

/* General */
sup{
  color: #ffffff;
}
.move {
  position: relative;
  margin: -30px 25px;
  z-index: 2;
}
.color {
  color: #ffffff;
}
.hidden {
  color: #ff9480;
}
.bold {
  font-weight: bold;
}
.info {
  font-size: 1.25rem;
}
.description {
  font-size: 1rem;
  padding: 10px 0 10px 0;
}

@media (max-width: 1200px) {
  :root {
    --base-rotation: -2.5deg;
  }
}

@media (max-width: 1100px) {
  :root {
    --base-rotation: -2deg;
  }
}

@media (max-width: 1000px) {
  :root {
    --base-rotation: -1.5deg;
  }
  .folder-parent-right {
    margin-right: 5%;
  }
  .folder-parent-left {
    margin-left: 5%;
  }
}

@media (max-width: 900px) {
  :root {
    --base-rotation: -1deg;
  }
}

@media (max-width: 850px) {
  :root {
    --base-rotation: -0.5deg;
  }
}

@media (max-width: 800px) {
  :root {
    --base-rotation: 0deg; /* Exactly 0deg at 800px */
  }
  .folder-parent-right,
  .folder-parent-left {
    width: 90vw;
  }
  .folder-parent-right,
  .folder-parent-left {
    margin-right: 5%;
    margin-left: 5%;
  }

  .folder-parent-left::before,
  .folder-parent-right::before {
    display: none;
  }
  .folder-bg-left {
    background: #ff9480;
    margin-top: -40px;
  }
  .move {
    margin: 0 25px;
  }
  .folder-bg-right {
    background: #ff6a62;
    margin-top: -40px;
  }
  .folder-left,
  .folder-right {
    top: 25px;
    flex-direction: column;
  }
  .inside-left1,
  .inside-right1,
  .inside-left2,
  .inside-right2 {
    justify-content: center;
    max-width: 100%;
    padding: 15px 25px;
  }

  .image-left,
  .image-right {
    max-height: 100%;
  }

  .IT,
  .LG,
  .KO,
  .PR,
  .FR {
    justify-content: center;
    height: fit-content;
    margin: 0 5% 20% 5%;
  }

  .main-container {
    font-size: 95%;
  }
}

@media (max-width: 500px) {
  .description {
    font-size: 100%;
  }
}

@media (max-width: 350px) {
  .folder-parent-right,
  .folder-parent-left {
    margin-right: 1%;
    margin-left: 1%;
  }
  .IT,
  .LG,
  .KO,
  .PR,
  .FR {
    justify-content: center;
    height: fit-content;
    margin: 0 0 20%;
  }
  .main-container {
    font-size: 90%;
  }
  .description,
  .info {
    font-size: 100%;
  }
}

@media (max-width: 275px) {
  .main-container {
    font-size: 80%;
  }
}

@media (max-width: 225px) {
  .IT,
  .LG,
  .KO,
  .PR,
  .FR {
    justify-content: center;
    height: fit-content;
    margin: 0 0 25%;
  }
  .main-container {
    font-size: 60%;
  }
  .bold {
    font-size: 90%;
  }
}
@media (max-width: 175px) {
  .IT,
  .LG,
  .KO,
  .PR,
  .FR {
    justify-content: center;
    height: fit-content;
    margin: 0 0 35%;
  }
}
