@import './index.css' layer(index);
header {
  background-image: linear-gradient(
      to top,
      transparent,
      30%,
      rgba(0, 0, 0, 0.3)
    ),
    url('/images/podcastBg.jpeg');
}

section {
  margin-block: 4rem;
}

main {
  color: black;

  img {
    border-radius: 15px;
  }

  .content {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
    align-items: center;

    .text {
      h2 {
        font-size: 3rem;
        margin-bottom: 2rem;
        line-height: 1.5;
      }

      p {
        margin-bottom: 1.7rem;
        line-height: 2;
        font-size: 1.6rem;
      }

      span {
        font-weight: 600;
      }
      .list {
        div {
          display: flex;
          gap: 10px;
          align-items: center;
          font-size: 1.6rem;
          line-height: 2;
          margin-bottom: 2rem;
          p {
            margin-bottom: 0;
            font-weight: 500;
          }
        }
      }
    }

    .images {
      display: flex;
      flex-direction: column;
      gap: 20px;
    }
  }
}

section:nth-of-type(3) {
  color: white;
  .content {
    border-radius: 15px;
    background-color: black;
    padding: 2rem;
    align-content: center;
    grid-template-columns: 1fr;
    text-align: center;
    .slogan {
      text-align: left;
    }
  }
}

@media screen and (max-width: 768px) {
  section {
    .content {
      grid-template-columns: 1fr;
    }
    &.studio__clients {
      .content {
        grid-template-areas:
          'text'
          'img';

        .images {
          grid-area: img;
        }
        .text {
          grid-area: text;
        }
      }
    }
  }
}
