.partners-container{
  min-height: 100vh;
  background-color: var(--light-black-color);
  background-size: cover;
  background-position: center center;
  color: var(--primary-color);
}

.partners-content{
  max-width: 140rem;
  margin: 0 auto;
  padding: 10rem 3rem;
  overflow: hidden;
  display: flex;
  flex-flow: column wrap;
  justify-content: center;
  min-height: 100vh;
}

.partners-title{
  margin-bottom: 1rem;
}

.partners-description{
  padding-bottom: 1rem;
  margin-bottom: 1rem;
  color: var(--white-color);
}

.grid-partners {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 5rem;
  min-height: 250px;
}

.card-partners{
  display: flex;
  align-items: center;
  justify-content: flex-start;
  flex-direction: column;
  background-color: var(--black-color);
  color: var(--primary-color);
  width: 100%;
  border-bottom: 2px solid var(--primary-color);
  border-top: 2px solid var(--primary-color);
  border-radius: 20px;
  padding: 40px 10px;
  margin: 10px;
  transition: all 300ms ease-in-out;
  box-shadow: var(--primary-color) 0 0 20px 0;
  cursor: pointer;
}

.partner-image{
  border-radius: 20px;
  margin-bottom: 30px;
  width: 200px;
  height: 200px;
}

.partner-image2{
  border-radius: 20px;
  margin-bottom: 30px;
  width: 280px;
}

.card-partners:hover{
  transform: scale(1.04);
}

.partner-logo{
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 200px;
  background-color: #446494;
  border-radius: 20px;
  margin-bottom: 30px;

  img{
    width: 200px;
    height: 50px;
  }
}

.title{
  font-weight: bold;
  font-size: 2rem;
}

.description{
  font-size: 1.8rem;
  color: var(--white-color);
}

@media (max-width: 800px) {
  .partners-content {
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .grid-partners {
    grid-template-columns: 1fr;
  }

  .grid-partners {
    gap: 1rem;
  }

  .card-partners{
    margin: 0;
    width: 100%;
    padding: 5px;
    margin: 5px;
    transition: all 300ms ease-in-out;
    box-shadow: var(--primary-color) 0 0 20px 0;
  }

  .partner-image{
    border-radius: 20px;
    margin-bottom: 10px;
    width: 150px;
    height: 150px;
  }

  .partner-logo{
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 150px;
    background-color: #446494;
    border-radius: 20px;
    margin-bottom: 10px;

    img{
      width: 150px;
    }
  }

  .name{
    font-size: 1.6rem;
    color: var(--white-color);
  }

  .description{
    font-size: 1.5rem;
    color: var(--white-color);
  }

  .partners-description{
    display: none;
  }
}