/* header */

#header {
  height: 100vh;
  min-height: 730px;
  background: 
  linear-gradient(#32094b, transparent 48px),
  radial-gradient(ellipse at bottom left, #3a138f 0%, transparent 55%),
  radial-gradient(ellipse at top right, #351182 0%, transparent 55%),
  linear-gradient(90deg, #1c1740, #1b0130)
  ;
}

#header .barras {
  width: 36px;
  margin-bottom: 1rem;
}

#header-left {
  width: 60%;
}

.img-header {
  display: flex;
  justify-content: flex-end;
}


/* valores */

#valores {
  /* background: var(--clr-tit-dark); */
  background: #1d0d45;
}

.circle-ico {
  background: linear-gradient(var(--clr-prin), var(--clr-sec));
  border-radius: var(--brad);
  width: 140px;
  padding: 1.5rem;
  margin: 0 auto 1rem;
}


/* videos */

#videos {
  /* background: #1d0d45; */
  background: linear-gradient(90deg, #180b32, #200736);
}

#videos .cards {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
}

#videos .cards > * {
  flex: 1 1 200px;
}

#videos .vcard, #videos .canal {
  height: 120px;
  width: 100%;
  padding: 0;
  overflow: hidden;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

#videos .vcard::after {
  content: '';
  position: absolute;
  background: linear-gradient(0deg, #000000, #00000000);
  bottom: 0;
  left: 0;
  width: 100%;
  height: 50%;
  transition: height 150ms ease-out;
}

#videos .vcard:hover {
  box-shadow: 0 0 18px var(--clr-btn-h);
  transition: box-shadow 150ms ease-out;
}

#videos .vcard:hover::after {
  height: 100%;
}

#videos .vcard p {
  position: absolute;
  text-align: center;
  color: white;
  width: 90%;
  top: 40%;
  opacity: 0;
  left: 50%;
  transform: translateX(-50%);
  font-size: 14px;
  z-index: 900;
  font-weight: 600;
  transition: top 150ms ease-out, opacity 100ms ease-out;
}

#videos .vcard:hover p {
  top: 30%;
  opacity: 1;
}

#videos .vcard img {
  transition: max-width 150ms ;
}

#videos .vcard:hover img {
  max-width: 105%;
}

#videos .canal {
  background: #0a001b;
  font-weight: 600;
  color: white;
}

#videos .canal img {
  width: 68px;
  max-width: 40%;
}

@media (max-width: 1180px) {
  #videos .vcard p {
    top: unset;
    bottom: 16px;
    opacity: 1;
    transition: bottom 150ms ease-out;
  }
  #videos .vcard:hover p {
    top: unset;
    bottom: 24px;
  }
  #videos .vcard::after {
    height: 100%;
  }
}


/* sobre */

#sobre-mi {
  /* background: radial-gradient(ellipse at top, #190e36, #0a001b); */
  /* background: #1d0d45; */
  background: var(--clr-tit-dark);
}


/* newsletter */

#newsletter {
  /* background: #1d0d45; */
  background: var(--clr-tit-dark);
  padding-bottom: var(--pady);
}

#newsletter .bgcard {
  display: grid;
  grid-template-columns: 65% 1fr;
}

#newsletter ::placeholder {
  color: #aaa;
}

#newsletter ::ms-input-placeholder {
  color: #aaa;
}


/* servicios */

#servicios {
  background: #1d0d45;
}

#servicios li {
  list-style: inside;
}

.card {
  background-color: #bdb7fb;
}


/* contacto */

#contacto {
  /* background: radial-gradient(ellipse at right, var(--clr-sec), #1f114c); */
  background: var(--clr-tit-dark);
}

.contact-ico {
  width: 80px;
  height: 80px;
  cursor: pointer;
  padding: 1rem;
  border-radius: var(--brad);
  background: linear-gradient(var(--clr-prin), var(--clr-sec));
  transition: padding 120ms ease-out, box-shadow 150ms ease-out;
  display: flex;
  align-items: center;
}

.contact-ico:hover {
  padding: .85rem;
}

.contact-ico a {
  width: 100%;
  height: 100%;
}

#form {
  width: 100%;
}



@media (max-width: 768px) {
  .hide-768 {
    display: none !important;
  }
  .show-768 {
    display: block !important;
  }
  #header-cont {
    justify-content: center;
  }
  #header-left {
    justify-content: center;
    align-items: center;
    text-align: center;
    width: 100%;
  }
  .img-header {
    justify-content: center;
    width: 60%;
    animation-delay: 0;
  }
  #descripcion-img {
    width: 50%;
    margin-bottom: 2rem;
  }
  .to-column {
    flex-direction: column;
  }
  .to-column-reverse {
    flex-direction: column-reverse;
  }
  .circle-ico {
    width: 80px;
  }
  #newsletter .bgcard {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    gap: 1.5rem;
  }
  #newsletter .label, #newsletter .field {
    text-align: center;
  }
}


