
.sponsor{
    width: 100%;
    height: 100%;
    flex-direction: column;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px 0 20px;
    background-color: #f8fbff;
}

.sponsor-text{
    text-align: center;
    font-size: 50px;
    font-weight: 600;
    margin-bottom: 50px;
    color: #222;
}

.sponsor-container{
    width: 70%;
    height: auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

.sponsor-card{
    width: 200px;
    height: 180px;
    perspective: 1000px;
}

.sponsor-logo{
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    background: white;
    border-radius: 12px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.03),
            0 2px 4px rgba(0, 0, 0, 0.05);




    position: relative;
    transform-style: preserve-3d;
    transition: transform 0.999s;
}

.sponsor-card:hover .sponsor-logo {
  transform: rotateY(180deg);
}

.sponsor-front,
.sponsor-back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
}

.sponsor-front {
    color: #fff;
    display: flex;
    align-items: center;
    border-radius: 10px;
    justify-content: center;
    font-size: 24px;
    transform: rotateY(0deg);
}

.sponsor-back {
    width: 80%;
    color: #fff;
    display: flex;
    align-items: center;
    border-radius: 10px;
    justify-content: center;
    font-size: 24px;
    transform: rotateY(180deg);
}

.sponsor-back-text{
    display: flex;
    color: black;
    font-size: 15px;
}

.sponsor-image{
    width: 150px;
}

@media (max-width: 1024px) {
  .sponsor-container {
    width: 90%;
    gap: 16px;
  }

  .sponsor-card {
    width: 180px;
    height: 160px;
  }

  .sponsor-text {
    font-size: 30px;
    margin-bottom: 40px;
  }

  .sponsor-image {
    width: 120px;
  }

  .sponsor-back-text {
    font-size: 14px;
  }
}

@media (max-width: 780px) and (min-width: 480px) {
  .sponsor-container {
    width: 95%;
    gap: 14px;
  }

  .sponsor-card {
    width: 160px;
    height: 150px;
  }

  .sponsor-text {
    font-size: 26px;
    margin-bottom: 30px;
  }

  .sponsor-image {
    width: 100px;
  }

  .sponsor-back-text {
    font-size: 13px;
  }
}

@media (max-width: 479px) and (min-width: 430px) {
  .sponsor-container {
    display: flex;
    align-items: center;
    width: 100%;
    padding: 0;
    margin: 0;
    gap: 12px;
  }

  .sponsor-card {
    width: 80px;
    height: 70px;
  }

  .sponsor-text {
    font-size: 24px;
    margin-bottom: 25px;
  }

  .sponsor-image {
    width: 90%;
  }

  .sponsor-back-text {
    font-size: 12px;
    text-align: center;
  }
}

@media (max-width: 430px){
  .sponsor-container {
    display: flex;
    align-items: center;
    width: 100%;
    padding: 0;
    margin: 0;
    gap: 12px;
  }

  .sponsor-card {
    width: 80px;
    height: 70px;
  }

  .sponsor-text {
    font-size: 24px;
    margin-bottom: 25px;
  }

  .sponsor-image {
    width: 40%;
  }

  .sponsor-back-text {
    font-size: 12px;
    text-align: center;
  }
}