* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: #0a0a0a;
  color: #ef4444;
  font-family: Arial, Helvetica, sans-serif;
  overflow-x: hidden;
}

.mogu-plane {
  position: fixed;
  inset: -20%;
  background-image: url("mogu-tile.svg");
  background-repeat: repeat;
  background-size: 170px 85px;
  opacity: 0.5;
  transform: rotate(-8deg);
  animation: scroll 8s linear infinite;
  pointer-events: none;
}

@keyframes scroll {
  from {
    background-position: 0 0;
  }

  to {
    background-position: 0 85px;
  }
}

main {
  position: relative;
  width: 90%;
  max-width: 1000px;
  margin: auto;
  padding: 50px 0;
}

.intro {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}

h1,
.subtitle,
h2 {
  font-family: "Arial Black", Arial, sans-serif;
  -webkit-text-stroke: 3px #0a0a0a;
  paint-order: stroke fill;
}

h1 {
  margin: 0;
  font-size: 72px;
  line-height: 1;
}

h1 span {
  color: #991b1b;
}

h1 small {
  font-size: 24px;
  -webkit-text-stroke: 1px #0a0a0a;
}

.subtitle {
  display: inline-block;
  margin: 12px 0 0;
  padding: 6px 12px;
  background: #450a0a;
  border: 4px solid #0a0a0a;
  border-radius: 10px;
  font-size: 42px;
}

.profile {
  margin: 0;
  text-align: center;
  transform: rotate(2deg);
}

.profile img {
  display: block;
  width: 150px;
  border: 5px solid #0a0a0a;
  outline: 3px solid #991b1b;
}

.profile figcaption {
  display: inline-block;
  margin-top: 10px;
  padding: 5px 9px;
  background: #ef4444;
  color: #0a0a0a;
  border: 3px solid #0a0a0a;
  font-weight: bold;
}

.about {
  margin-top: 45px;
  padding: 24px 30px;
  background: #991b1b;
  border: 6px solid #0a0a0a;
  border-radius: 24px;
}

.about h2 {
  margin: 0 0 18px;
  font-size: 48px;
  font-style: italic;
}

.about ul {
  margin: 0;
  padding-left: 32px;
}

.about li {
  margin: 12px 0;
  font-size: 24px;
  font-style: italic;
  font-weight: bold;
  -webkit-text-stroke: 1px #0a0a0a;
  paint-order: stroke fill;
}

.about li span {
  font-size: 17px;
  font-weight: normal;
}

@media (max-width: 650px) {
  main {
    padding: 30px 0;
  }

  .intro {
    align-items: flex-start;
    gap: 15px;
  }

  h1 {
    font-size: 44px;
  }

  h1 small {
    display: block;
    margin-top: 5px;
    font-size: 17px;
  }

  .subtitle {
    font-size: 27px;
  }

  .profile img {
    width: 95px;
  }

  .about {
    padding: 20px;
  }

  .about h2 {
    font-size: 34px;
  }

  .about li {
    font-size: 19px;
  }

  .about li span {
    font-size: 14px;
  }
}
