
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  scrollbar-width: thin;
  scrollbar-color: rgb(66, 51, 51) transparent;
}

body, html {
  height: 100%;
  font-family: 'Lato', sans-serif;
}

.container {
  display: unset;
  height: 100vh;
}

.sidebar {
  background-color: white;
  color: rgb(66, 51, 51);
  padding: 1rem;
  font-size: 10px;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: left;
}

.sidebar h1 {
  font-weight: 400;
}

/* Zona de imágenes */
.contenido {
  flex: 1;
  background-color: white;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: right;
  padding: 2rem;
  padding-top: 8rem;
}

.imagen-contenedor {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin: 10px 8px;
  max-width: 160px;
}

.imagen-contenedor img {
  width: 100%;
  max-width: 600px;
  height: 300px;
  object-fit: contain; /* <-- para que no se recorte */
  height: auto;
}

.numero {
  font-family: 'Lato', sans-serif;
  font-weight: 400;
  font-size: 15px;
  color: rgb(66, 51, 51);
  margin-right: 15px;
  width: 50px;
  user-select: none;
}

.contenido-2 {
  flex: 1;
  background-color: white;
  display: flex;
  flex-direction: row;
  gap: 9.5rem;
  align-items: center;
  justify-content: left;
  padding: 2rem;
  padding-top: 5rem;
}

.imagen-contenedor-2 {
  display: flex;
  flex-direction: column;
  align-items: left;
  max-width: 160px;
}

.imagen-contenedor-2 img {
  width: fit-content;      
  height: 200px;           
  object-fit: contain;
}

/* Scrollbar */
body::-webkit-scrollbar {
  width: 6px;
}

body::-webkit-scrollbar-track {
  background: transparent;
}

body::-webkit-scrollbar-thumb {
  background-color: rgb(66, 51, 51);
  border-radius: 10px;
}

body::-webkit-scrollbar-thumb:hover {
  background-color: #555;
}


/* --- MÓVIL VERTICAL --- */
@media (max-width: 700px) and (orientation: portrait) {
  .contenido,
  .contenido-2 {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    padding: 1rem;
  }

  .imagen-contenedor,
  .imagen-contenedor-2 {
    flex-direction: row;
    align-items: flex-start;
    justify-content: center;
    gap: 1rem;
    width: 100%;
    max-width: 90%;
  }

  .imagen-contenedor img,
  .imagen-contenedor-2 img {
    max-width: 300px;
    height: auto;
  }

  .numero {
    font-size: 16px;
    width: 40px;
    text-align: right;
    margin: 0;
    padding-top: 5px;
  }

  .sidebar {
    justify-content: flex-start;
    font-size: 12px;
    padding: 1rem;
  }
}

@media (max-width: 700px) and (orientation: landscape) {
  .contenido-2 {
    flex-direction: row !important;
    justify-content: flex-start !important;
    gap: 9.5rem !important;
    padding-top: 5rem !important;
  }

  .imagen-contenedor-2 {
    flex-direction: column !important;
    align-items: left !important;
    max-width: 160px !important;
  }

  .imagen-contenedor-2 img {
    height: 200px !important;
    object-fit: contain !important;
  }
}
