@import './index.css' layer(index);

header {
  background-image: url('./images/marquesBg.jpg'),
    linear-gradient(to top, rgb(235, 19, 19, 0.4), transparent);
  min-height: auto;

  .text {
    text-transform: uppercase;
    padding-block: 4rem;
    font-size: 6rem;
    font-weight: 400;
  }
}

section {
  padding: 0;
  margin-block: 3rem 4rem;

  .marque {
    display: flex;
    align-items: center;
    gap: 2rem;
    color: black;

    .text {
      flex: 1 1 50%;
      text-align: left;

      .description {
        line-height: 2;
        margin-bottom: 2rem;
      }
    }

    .logo {
      flex: 1 1 50%;
    }
  }

  &:nth-of-type(odd) {
    .marque {
      flex-direction: row-reverse;
    }
  }
}

@media screen and (max-width: 425px) {
  header {
    .text {
      font-size: 4rem;
    }
  }
  section {
    .marque {
      flex-direction: column;
      gap: 1rem;
      margin-top: 1rem;

      .text {
        text-align: center;

        .description {
          line-height: 1.4;
          margin-bottom: 2rem;
        }
      }
    }

    &:nth-of-type(odd) {
      .marque {
        flex-direction: column-reverse;
      }
    }
  }
}
