@import url("https://fonts.googleapis.com/css2?family=Dancing+Script:wght@600&display=swap");

body {
  font-family: Verdana, Geneva, Tahoma, sans-serif;
}

img {
  max-width: 100%;
  height: auto;
}

video {
  max-width: 100%;
  height: auto;
}

.main-header {
  height: auto;
  width: 100%;
  background-color: #cb3493;
}

.logopage {
  padding-left: 10%;
  max-width: 100%;
}

.bg-light {
  width: 100%;

  background-color: #cb3493 !important;
}

.me-auto {
  margin-left: 50%;
}

li.nav-item {
  padding-left: 19%;
  font-family: "Dancing Script", cursive;
  font-size: 20px;
}

.navbar-light .navbar-nav .nav-link {
  color: white;
}

.about-section {
  height: fit-content;
  min-height: 100vh;
  background: url(../images/purplebg.jpg) #c83494;
}

.container-lg.about {
  width: 30%;
  margin: 13% 0 0 50%;
  display: inline-block;
}

.container-sm.contact {
  width: 30%;
  margin: 8% 0 0 50%;
  display: inline-block;
}

.caps-title {
  color: white;
  font-size: 53px;
  margin: 45px 0 45px 0;
  font-family: "Dancing Script", cursive;
}

.caps-title-center {
  color: white;
  font-size: 53px;
  margin: 45px 0 45px 0;
  display: flex;
  justify-content: center;
  font-family: "Dancing Script", cursive;
}

.white-text {
  color: white;
  font-size: 18px;
  text-align: justify;
}

.white-text-credits {
  color: white;
  font-size: 18px;
  text-align: center;
}

h5.black-text {
  color: black;
  font-family: "Dancing Script", cursive;
  font-size: 30px;
}

.d-block {
  margin: 0 auto;
  width: 50%;
}

.carousel-caption {
  bottom: 0;
  padding: 0;
}

.white-subtitle {
  margin: 30px 0;
  color: white;
}

.white-subtitle-work {
  margin: 30px 0;
  color: white;
  font-size: 20px;
  /* EB-5 — alinea descripciones de trabajos a la izquierda */
  text-align: left;
}

.white-subtitle-center {
  margin: 30px 0;
  color: white;
  display: flex;
  justify-content: center;
  text-align: center;
}

.work-section {
  height: auto;
  background-color: black;
}

.work-images {
  padding: 50px 0 50px 0;
}

.container-lg.section {
  display: inline-block;
}

.justify-content-center {
  width: 100%;
  margin: 0;
}

.col-4.work {
  width: 50%;
}

.footer {
  background: url(../images/fondofooter.jpg) #c83494;
  height: 227px;
  color: #fff;
}

.main-menu2 {
  float: left;
  margin: 59px 0 0 191px;
}
.main-menu2 ul {
  padding: 0;
  margin: 0;
}
.main-menu2 ul li {
  float: left;
  margin: 0px 25px;
  list-style-type: none;
}
.main-menu2 ul li a {
  color: white;
  text-decoration: none;
  font-family: "Dancing Script", cursive;
  font-size: 22px;
}

.cierre {
  text-align: center;
  background: url(../images/fondofooter.jpg) #c83494;
  margin: -1px 0;
}
.cierre span {
  color: white;
  font-family: verdana;
  font-size: 14px;
}
.social {
  float: right;
  margin: 55px 220px 0 0;
}
.social img {
  float: left;
  margin: 0px 8px 0 0;
}

ul.list {
  list-style: none;
  float: left;
  color: white;
  padding-top: 6px;
  font-family: "Dancing Script";
  font-size: 28px;
  display: contents;
}

ul.list li {
  padding-bottom: 46px;
}

.Bottom {
  min-height: 1405px;
  /* border: 1px solid red; */
  position: relative;
}
.random {
  max-width: 1114px;
  /* border: 1px solid red; */
  margin: 131px auto 0 auto;
}
.first-colunm {
  max-width: 370px;
  float: left;
  margin: 0;
}
.first-colunm img {
  float: left;
}
.second-colunm {
  float: left;
  max-width: 374px;
}
.second-colunm img {
  float: left;
}
.third-colunm {
  float: left;
  max-width: 370px;
}
.third-colunm img {
  float: left;
}
.silueta {
  position: absolute;
  top: 896px;
  right: 0px;
}

.iframe-container {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%;
  height: 0;
}
.iframe-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

/* EB-3 — Rediseño layout Visual Communication (solo comunication.html via .vc-page) */

/* Interruptores de ajuste rápido (cambiar el valor en una sola línea, sin código muerto):
   --vc-fit:   cover  = la imagen llena la tarjeta y se recorta el excedente
               contain = la imagen se ve completa, con letterbox sobre el fondo del contenedor
   --vc-ratio: proporción uniforme de todas las tarjetas (ancho / alto) */
.vc-page {
  --vc-fit: cover;
  --vc-ratio: 1 / 1;
}

/* Fondo claro de la sección de trabajos */
.vc-page .work-section {
  background-color: #f5f5f5;
}

/* Títulos de sección y descripciones legibles sobre fondo claro */
.vc-page .caps-title-center,
.vc-page .white-subtitle-work {
  color: #1a1a1a;
}

/* Contenedor uniforme: el <a> que envuelve cada imagen */
.vc-page .work-images a {
  display: block;
  aspect-ratio: var(--vc-ratio);
  overflow: hidden;
  background-color: #ffffff;
}

/* La imagen llena el contenedor; el hover hace zoom interno (crece la imagen, no la tarjeta) */
.vc-page .work-images a img {
  width: 100%;
  height: 100%;
  object-fit: var(--vc-fit);
  display: block;
  transition: transform 0.3s ease;
}
.vc-page .work-images a:hover img {
  transform: scale(1.05);
}

/* Ritmo vertical entre tarjetas y caption más compacto */
.vc-page .work-images [class*="col"] {
  margin-bottom: 28px;
}
.vc-page .white-subtitle-work {
  margin: 14px 0 0 0;
  font-size: 16px;
}

@media (max-width: 900px) {
  .container-lg.about {
    width: 100%;
    margin: 0;
  }

  .social {
    margin: 0;
  }
  .main-menu2 {
    margin: 0;
  }

  .footer {
    display: flex;
    justify-content: center;
    align-items: center;
  }

  li.nav-item {
    padding-left: 0%;
  }
}

@media (max-width: 650px) {
  .col-4.work {
    width: 100%;
  }
  .white-text-credits {
    font-size: 14px;
  }
}

@media (max-width: 450px) {
  .caps-title {
    font-size: 40px;
  }
}

@media (max-width: 1114px) {
  .Bottom {
    min-height: 1405px;
    /* border: 1px solid red; */
    position: relative;
  }
  .random {
    max-width: 1114px;
    /* border: 1px solid red; */
    margin: 0;
  }
  .first-colunm {
    max-width: 100%;
    float: unset;
    margin: 0;
  }
  .first-colunm img {
    float: unset;
    width: 100%;
  }
  .second-colunm {
    max-width: 100%;
    float: unset;
  }
  .second-colunm img {
    float: unset;
    width: 100%;
  }
  .third-colunm {
    max-width: 100%;
    float: unset;
  }
  .third-colunm img {
    float: unset;
    width: 100%;
  }
  .silueta {
    display: none;
  }
}
