:root {
  --purple: hsl(240, 80%, 89%);
  --pink: hsl(0, 59%, 94%);
  --light-bg: hsl(204, 37%, 92%);
  --light-gray-bg: hsl(0, 0%, 94%);
  --white: hsl(0, 0%, 100%);
  --dark: hsl(0, 0%, 7%);
  --text-gray: hsl(0, 0%, 30%);
}
.card-wrap h3 {
  font-size: 1.1vw;
  font-weight: 700;
  color: var(--main-color);
}

@media (max-width: 480px) {
  .card-wrap h3 {
    font-size: 4vw; 
  }
}

@media (min-width: 481px) and (max-width: 768px) {
  .card-wrap h3 {
    font-size: 2.5vw; 
  }
}

@media (min-width: 769px) {
  .card-wrap h3 {
    font-size: 1.1vw; 
  }
}




.card-wrap p {
  font-size: 1.2vw;
  line-height: 1.7;
  font-family: 'Avenir';
  color: white;
}
@media (max-width: 480px) {
  .card-wrap p {
    font-size: 4vw; 
  }
}
@media (max-width: 768px) {
  .card-wrap p {
    font-size: 3.5vw; 
  }
}



.card-description {
  white-space: wrap;
}


.card-wrap a {
  text-decoration: none;
  color: inherit;
}

.card-wrap {
  display: flex;
  align-items: stretch;
  justify-content: center;
  width: 100%;
  gap: 24px;
  padding: 24px;
  flex-wrap: wrap;
  position: relative;
  left: 0;
}



.card-box {
  display: flex;
  flex-direction: column;
  flex-basis: 100%;
  position: relative;
  padding: 10px;
  background-color: rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(30px);
  -webkit-backdrop-filter: blur(30px);
  border-radius: 0.5vw;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.37);
  transition: transform 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease;
}

.card-box:hover {
  background-color: rgba(255, 255, 255, 0.2); /* Cambia el color de fondo */
  transform: scale(1.05); /* Aumenta ligeramente el tamaño */
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.5); /* Incrementa la sombra */
}

.card-box-top {
  display: flex;
  flex-direction: column;
  position: relative;
  gap: 12px;
  margin-bottom: 36px;
}

.card-box-image {
  width: 100%;
  height: 260px;
  object-fit: cover;                  
  object-position: 50% 20%;
}

.cad-title-flex {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.card-box-title {
  border-left: 3px solid var(--main-color);
  padding-left: 12px;
}

.card-user-follow-info {
  color: hsl(0, 0%, 60%);
}


.fill-one {
  background: var(--light-bg);
}

.fill-two {
  background: var(--pink);
}

/* RESPONSIVE QUERIES */

@media (min-width: 320px) {
  .card-title-flex {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: start;
  }
  .card-user-follow-info {
    margin-top: 6px;
  }

}

@media (min-width: 481px) {
  .card-title-flex {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: start;
  }
  .card-user-follow-info {
    margin-top: 6px;
  }
  
  .card-box{
    display: flex;
    left: 0;
  }
}

@media (min-width: 768px) {
  .card-box {
    flex-basis: calc(50% - 12px);
    display: flex;
    left: 0;

  }
  .card-title-flex {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: start;
  }
  .card-user-follow-info {
    margin-top: 6px;
  }
}

@media (min-width: 840px) {
  .card-title-flex {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: start;
  }
  .card-user-follow-info {
    margin-top: 6px;
  }

  .card-box{
    display: flex;
    left: 0;
  }
}

@media (min-width: 1024px) {
  .card-box {
    flex-basis: calc(40% - 16px);
    display: flex;
    left: 0vw;
  }
  .card-title-flex {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: start;
  }
  .card-user-follow-info {
    margin-top: 6px;
  }
}

@media (min-width: 1100px) {
  .card-box {
    flex-basis: calc(40% - 18px);
    position: relative;
    left: 0vw;
  }


}