.sponsor {
  margin: 200px auto 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 50px;

  .contents_title {
    color: #000;
    font-family: Khand;
    font-size: 64px;
    font-style: normal;
    font-weight: 700;
    line-height: 100%;
    text-decoration-line: underline;
    margin: 0;
    pointer-events: none;
  }

  .cards {
    width: 1045px;
    height: 300px;
    flex-shrink: 0;
    display: grid;
    gap: 60px 80px;
    grid-template-columns: repeat(auto-fit, minmax(295px, 1fr));

    .card {
      width: 295px;
      height: 120px;
      flex-shrink: 0;
      background: #d9d9d9;
      cursor: pointer;
      transition: 0.5s;

      &:nth-child(2) {
        background: url("../../images/jogarbola.png");
        background-position: 50% 50%;
        background-size: contain;
        background-repeat: no-repeat;
      }
      &:nth-child(3) {
        background: url("../../images/sirg.png");
        background-position: 50% 50%;
        background-size: contain;
        background-repeat: no-repeat;
      }
      &:nth-child(4) {
        background: url("../../images/toyoko.png");
        background-position: 50% 50%;
        background-size: contain;
        background-repeat: no-repeat;
      }
      &:nth-child(5) {
        background: url("../../images/boken.png");
        background-position: 50% 50%;
        background-size: contain;
        background-repeat: no-repeat;
      }
      &:nth-child(6) {
        background: url("../../images/vent.PNG");
        background-position: 50% 50%;
        background-size: contain;
        background-repeat: no-repeat;
      }

      &:hover {
        transform: scale(1.1);
      }
    }
  }
}

@media (width <= 1300px) {
  .sponsor {
    margin: 100px auto 40px;

    .cards {
      width: 720px;
      height: auto;
      gap: 40px 50px;
      grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));

      .card {
        width: 200px;
        height: 81px;
      }
    }
  }
}

@media (width <= 768px) {
  .sponsor {
    .contents_title {
      font-size: 40px;
    }

    .cards {
      width: 300px;
      height: auto;
      gap: 20px 0px;
      grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));

      .card {
        width: 300px;
        height: 122px;
      }
    }
  }
}
