html,
*,
body {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;
}

.opacity__text {
  color: #000000a5;
}

.container {
  background-color: aliceblue;
  width: 100%;
  min-height: 100vh;
}

header {
  align-items: center;
  justify-content: space-between;
  display: flex;
  padding: 1rem 15%;
  background-color: #fff;
  border-bottom: 1px solid #0000000d;
}

.creator h1 {
  background: linear-gradient(135deg, #667eea, #764ba2);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-size: 2rem;
}

.context h1 {
  font-size: 2rem;
}

.masonry__wrapper {
  padding: 2rem 15%;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  grid-auto-rows: 150px;
  gap: 25px;
}

.masonry__card {
  display: inline-block;
  width: 100%;
  margin-bottom: 25px;
  break-inside: avoid;
  background: white;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 40px #0000002f;
  transition: all 0.4s ease;
  position: relative;
}

.masonry__card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 60px #00000026;
}

.card__intro {
  background: linear-gradient(135deg, #667eea, #764ba2);
  padding: 3rem 2rem;
  grid-row: span 2;
  text-align: center;
  color: #fff;
}

.card__intro h2 {
  font-size: 2.2rem;
  margin-bottom: 15px;
  font-weight: 700;
}

.card__intro p {
  font-size: 1.2rem;
}
.quote {
  background: linear-gradient(135deg, #667eea, #764ba2);
  color: #fff;
  padding: 2rem 1rem;
  grid-row: span 2;
  text-align: center;
}
.quote q {
  font-style: italic;
}

.quote q,
.quote p {
  font-size: 2.2rem;
}

.introduction {
  padding: 0;
  grid-row: span 3;
}

.introduction .video {
  width: 100%;
  height: 250px;
  overflow: hidden;
}

.video video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.introduction .description,
.embed .description,
.pdf .description {
  border-top: 1px solid #00000015;
  padding: 1rem 2rem;
}

.introduction h2,
.embed h2,
.pdf h2 {
  font-size: 2.2rem;
}

.introduction p,
.embed p,
.pdf p {
  font-size: 1.2rem;
}

.audio {
  padding: 2rem 1rem;
  text-align: center;
  grid-row: span 2;
  background-image: linear-gradient(135deg, #ff9a9e, #fecfef);
}

.audio__wave {
  align-items: center;
  justify-content: center;
  display: flex;
  margin-top: 1rem;
}

.audio__wave .wave {
  width: 4px;
  height: 40px;
  background: linear-gradient(to top, #667eea, #764ba2);
  margin: 0 2px;
  border-radius: 2px;
  animation: audioWave 1.5s ease-in-out infinite;
}

@keyframes audioWave {
  0%,
  100% {
    transform: scaleY(0.3);
  }
  50% {
    transform: scaleY(1);
  }
}

.audio__wave .wave:nth-child(2) {
  animation-delay: 0.2s;
}
.audio__wave .wave:nth-child(3) {
  animation-delay: 0.3s;
}
.audio__wave .wave:nth-child(4) {
  animation-delay: 0.4s;
}
.audio__wave .wave:nth-child(5) {
  animation-delay: 0.5s;
}

.audio h2 {
  margin-bottom: 10px;
}

.audio audio {
  margin: 1rem 0;
}

.embed {
  padding: 0;
  grid-row: span 3;
}

.embed .youtube__iframe {
  width: 100%;
  height: 250px;
  overflow: hidden;
}

.youtube__iframe iframe {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.pdf {
  padding: 0;
  grid-row: span 3;
}

.pdf__wrapper {
  width: 100%;
  height: 300px;
  overflow: hidden;
}

.pdf__wrapper embed {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.contact {
  background-image: linear-gradient(135deg, #a8edea, #fed6e3);
  padding: 2rem 1rem;
  text-align: center;
  grid-row: span 2;
}

.contact h2 {
  font-size: 2.2rem;
  margin-bottom: 2rem;
}

.contact p {
  font-size: 1.2rem;
  margin-bottom: 1rem;
}

.like {
  padding: 2rem 3rem;
  grid-row: span 2;
}

.like h2 {
  font-size: 2rem;
  margin-bottom: 10px;
}

.like li {
  font-size: 1rem;
  list-style: none;
  color: #000000a5;
  margin-left: 1rem;
  margin-bottom: 10px;
}

.like li::before {
  content: "▶";
  color: #333;
  display: inline-block;
  width: 1rem;
  margin-left: -1rem;
  margin-right: 3px;
}

.footer__content{
  width: 100%;
  padding: 1rem 15%;
  text-align: center;
  background-color: #fff;
    border-top: 1px solid #0000000d;
}

/* RESPONSIVE */
@media screen and (min-width: 1030px) and (max-width: 1168px) {
  .card__intro h2 {
    font-size: 2rem;
  }
  .like {
    grid-row: span 3;
  }
}

@media screen and (max-width: 978px) {
  .creator h1,
  .context h1 {
    font-size: 1.6rem;
  }
}

@media screen and (max-width: 678px) {
  .creator h1,
  .context h1 {
    font-size: 1.2rem;
  }
  .card__intro h2,
  .introduction h2,
  .audio h2,
  .embed h2,
  .quote p,
  .quote q,
  .pdf h2,
  .contact h2,
  .like h2 {
    font-size: 1.6rem;
  }

  .card__intro p,
  .introduction p,
  .audio p,
  .embed p,
  .pdf p,
  .contact p,
  .like p {
    font-size: 1rem;
  }
}

@media screen and (max-width: 568px) {
  header {
    justify-content: center;
  }
  .context h1 {
    display: none;
  }
  .card__intro,
  .like {
    grid-row: span 3;
  }
}
