/*diseño parte superior*/

body {
    background-color: #f6f5eb;
    margin: 0;
    font-family: 'roboto';
}
pre {
    font-family: 'roboto';
    color: #9e6f21;
}
.brand {
    padding: 1rem 2rem;
    display: flex; 
    color: #9e6f21;
    text-decoration-line: none;
    font-size: 3rem;
}

/* diseño del contenido general*/

.content {
    min-height: calc(100% - 10rem);  /* Ajusta el 60px al alto de tu footer */
    padding-bottom: 10rem;            /* Ajusta el 60px al alto de tu footer */
    box-sizing: border-box;
}

/*diseño de la nav-bar*/

.navbar-wrapper {
    padding: 1rem ;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
}

.navbar {
    list-style-type: none;
    padding: 0;
    margin: 0;
    display: inline-flex;
}

.navbar li {
    margin: 0 3rem;
    position: relative;
}

.navbar a {
    text-decoration: none;
    color: #9e6f21;
    font-size: 4rem;
    transition: transform 0.3s;
}

.navbar a:hover {
    transform: scale(1.5);
}

.navbar a:hover::before {
    content: attr(data-text);
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    color: #A0d8b3;
    font-size: 1rem;
    padding: 2px 10px;
    border-radius: 4px;
    transition: opacity 0.3s;
    opacity: 1;
    text-align: center;
}

/*Mi carrusel (se mantiene por compatibilidad, aunque landart usará vslides)*/

.mi-carrusel img{
    max-width: 50%; 
    max-height: 50%;
    margin: 0 auto;
    display: block;
}

.carousel-indicators {
    bottom: -40px;
}

/*diseño de historia*/
.container {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
}

.folio {
    width: 70%;
    height: 35rem;
    border: 1px #ffffff;
    padding: 20px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    border-radius: 0.345rem;
    background-color: #fff;
    overflow-y: auto;
}
.foto-cv {
    width: 10%;
    padding: 3rem 0 0 5rem;
    border-radius: 0.345rem;
}

/* diseño del pie de página*/

.pie-pagina {
    height: 4rem;
    color: white;
    text-align: center;
    line-height: 60px;
    position: absolute;
    bottom: 0;
    width: 100%;
    padding-top: 0.5rem;
}
.copyright {
    text-align: center;
    color: #9e6f21;
    z-index: 0;
}

/* =========================
   RESPONSIVE GLOBAL
   ========================= */

@media only screen and (max-width: 768px) {
  .brand {
      font-size: 1.5rem;
  }
  .copyright {
      font-size: 10px;
  }
  .navbar-wrapper {
      padding: 3rem;
  }
  .navbar li {
      margin: 0 1rem;
  }
  .mi-carrusel {
      padding-top: 10rem;
  }
  .carousel-control-prev {
      padding-top: 10rem;
  }
  .carousel-control-next {
      padding-top: 10rem;
  }
  .folio {
      width: 95%;
  }
  pre {
     font-size: 0.5rem;
  }
  .foto-cv {
      width: 20%;
      padding: 1rem 0 1rem 1rem;
      height: 5%;
      border-radius: 10%;
  }
}

/* =========================================================
   LAND ART — DESLIZADO VERTICAL TIPO TIKTOK (solo landart)
   No toca estilos de index. Todo encapsulado en .vslides*
   ========================================================= */

.vslides-wrap{
  min-height:100svh;
  background: #f6f5eb;      /* fondo oscuro para galería */
  color:#eaeaea;
  display:flex;
  align-items:center;
  justify-content:center;
  padding: 10svh 12px 16svh; /* deja aire arriba/abajo para no pisar el footer */
}

.vslides{
  position:relative;
  inline-size:min(1100px, 95vw);
  block-size:84svh;
  overflow-y:auto;
  scroll-snap-type: y mandatory;
  scrollbar-width:none;
  border-radius:16px;
  -webkit-overflow-scrolling: touch;
  box-shadow: 0 10px 40px rgba(0,0,0,.35);
  background: #0c0c0c;
}
.vslides::-webkit-scrollbar{ display:none; }

.vslide{
  scroll-snap-align:center;
  block-size:84svh;
  display:grid;
  place-items:center;
  margin:0;
  padding:0;
  background: radial-gradient(1000px 600px at 50% 15%, #f6f5eb 0%, #f6f5eb 70%);
}
.vslide img{
  width:100%;
  height:100%;
  object-fit:contain;  /* conserva la obra sin recortar */
  display:block;
}

/* Paginación (puntos) */
.vslides-pager{
  position:fixed;
  inset-block-end: 18px;
  inset-inline:0;
  display:flex;
  justify-content:center;
  gap:8px;
  pointer-events:none;
}
.vslides-pager button{
  inline-size:10px;
  block-size:10px;
  border-radius:999px;
  border:0;
  background:#505050;
  pointer-events:auto;
  cursor:pointer;
  transform: scale(1);
  transition: transform .2s ease, background .2s ease;
}
.vslides-pager button[aria-current="true"]{
  background:#ffffff;
  transform: scale(1.25);
}

/* Responsive específico landart */
@media (max-width: 768px){
  .vslides-wrap{
    padding: 8svh 8px 14svh;
  }
  .vslides{
    inline-size: 100vw;
    block-size: 82svh;
    border-radius: 12px;
  }
  .vslide{
    block-size: 82svh;
  }
}