* {
  box-sizing: border-box;
}

html {
  font-size: 62.5%;
}

body {
  background-color: #EEE8DC;
  display: flex;
  justify-content: center;
  margin: 0;
  padding: 50px 0;
  font-size: 16px;
}

p {
  margin: 0;
}

.container {
  display: grid;
  grid-template-columns: 1fr;
  grid-template-rows: 1.5fr auto;
  gap: 10px 0;
  width: 70vw;
  height: auto;
}
.container .header {
  display: grid;
  grid-template: repeat(1, 2fr 1fr)/repeat(1, 1fr);
  grid-column: 1/4;
  grid-row: 1/2;
}
.container .header__name {
  grid-column: 1/1;
  grid-row: 1/2;
}
.container .header__top-information {
  grid-column: 1/1;
  grid-row: 2/3;
}
.container .contain {
  border: 2px #151515 solid;
  grid-column: 1/4;
  grid-row: 2/6;
  padding: 8px;
  display: grid;
  grid-template-rows: repeat(2, auto) 0.5fr;
  grid-template-columns: 26% 36% 38%;
  grid-template-areas: "undesirable undesirable sidebar" "hermione article article" "footer footer footer";
}
.container .undesirable {
  grid-area: undesirable;
}
.container .sidebar {
  grid-area: sidebar;
}
.container .sidebar .harry-character img {
  width: 100%;
}
.container .sidebar .section .text-1 {
  font-family: "Inika", serif;
  font-size: 1.7vw;
  text-align: center;
  text-transform: uppercase;
}
.container .sidebar .section .text-2 img {
  width: 100%;
}
.container .hermione-character {
  grid-area: hermione;
}
.container .hermione-article {
  grid-area: article;
  display: grid;
  grid-template-columns: 0.5fr auto 3.5fr;
  grid-template-rows: 1fr auto;
  gap: 6px;
  grid-template-areas: "mudblood section-1 section-2" "mudblood section-3 section-3";
}
.container .hermione-article .mudblood {
  grid-area: mudblood;
  display: grid;
  justify-items: center;
  padding: 0 0 6px 6px;
}
.container .hermione-article .mudblood img {
  width: 100%;
}
.container .hermione-article .section-1 {
  grid-area: section-1;
  display: grid;
  grid-template-columns: repeat(2, auto);
}
.container .hermione-article .section-1 .name {
  font-family: "Inika", serif;
  font-size: 1.7vw;
  text-transform: uppercase;
  transform: rotate(180deg);
  writing-mode: vertical-rl;
}
.container .hermione-article .section-1 .text {
  font-family: "Akaya Kanadaka", system-ui;
  font-size: 1vw;
  text-transform: uppercase;
  transform: rotate(180deg);
  writing-mode: vertical-rl;
}
.container .hermione-article .section-2 {
  grid-area: section-2;
}
.container .hermione-article .section-2 .text-1 {
  font-family: "Inika", serif;
  font-size: 1.7vw;
  text-transform: uppercase;
}
.container .hermione-article .section-2 .quote img {
  width: 100%;
}
.container .hermione-article .section-3 {
  grid-area: section-3;
  display: grid;
  grid-template-columns: 0.4fr 1fr 1fr;
  gap: 8px;
  align-content: center;
  align-items: end;
}
.container .hermione-article .section-3 .letter img {
  width: 100%;
}
.container .hermione-article .section-3 .report img {
  width: 100%;
}
.container .hermione-article .section-3 .relationship img {
  width: 100%;
}
.container .footer {
  grid-area: footer;
  display: flex;
}
.container .footer img {
  width: 100%;
}

@media (max-width: 720px) {
  .container {
    width: 80vw;
  }
}
@media (max-width: 450px) {
  .container {
    width: 90vw;
  }
}/*# sourceMappingURL=main.css.map */