@import url("https://fonts.googleapis.com/css2?family=Merriweather:ital,wght@0,300;0,400;0,700;0,900;1,300;1,400;1,700;1,900&family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap");

body {
  font-family: "Poppins", sans-serif;
  margin: 0;
  padding: 0;
  background-color: #ffffff;
  color: #1e1c1c;
  display: flex;
  text-align: justify;
}

/* Estilos para el div lateral */
.sidebar {
  width: 200px;
  height: 100vh;
  background-color: #000000;
  position: fixed;
  top: 0;
  left: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.sidebar img {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Contenedor principal */
.container {
  margin-left: 250px; /* Desplaza el contenido principal para evitar que se superponga con el sidebar */
  width: 80%;
  max-width: 800px;
  padding: 50px;
}

h1 {
  font-size: 24px;
  color: #000000;
  text-align: left;
  margin-bottom: 20px;
}

h2 {
  font-size: 20px;
  margin-top: 20px;
  color: #1e1c1c;
}

p {
  font-size: 16px;
  line-height: 1.6;
  margin-bottom: 20px;
}

ul {
  margin-left: 20px;
}

li {
  margin-bottom: 10px;
}

.highlight {
  color: #000000;
  font-weight: 600;
}

/* Estilos responsivos para pantallas pequeñas */

/* Dispositivos con un ancho máximo de 480px (teléfonos pequeños) */
@media (max-width: 480px) {
  /* Ocultar la imagen y el contenedor de la imagen en dispositivos móviles */
  .sidebar,
  .sidebar img {
    display: none;
  }

  /* Ajustar tamaños de texto */
  h1 {
    font-size: 16px;
  }

  h2 {
    font-size: 14px;
  }

  p {
    font-size: 12px;
  }

  /* Ajustes de contenedor principal */
  .container {
    margin-left: 0;
    width: 100%;
    max-width: 100%;
    padding: 50px;
  }
}

/* Dispositivos con un ancho máximo de 320px (teléfonos muy pequeños) */
@media (max-width: 320px) {
  /* Ocultar la imagen y el contenedor de la imagen en dispositivos móviles */
  .sidebar,
  .sidebar img {
    display: none;
  }

  /* Ajustar tamaños de texto */
  h1 {
    font-size: 14px;
  }

  h2 {
    font-size: 12px;
  }

  p {
    font-size: 10px;
  }

  /* Ajustes de contenedor principal */
  .container {
    margin-left: 0;
    width: 100%;
    max-width: 100%;
    padding: 50px;
  }
}

/* Dispositivos pequeños como teléfonos móviles */
@media (max-width: 600px) {
  /* Ocultar la imagen y el contenedor de la imagen en dispositivos móviles */
  .sidebar,
  .sidebar img {
    display: none;
  }

  /* Ajustar tamaños de texto */
  h1 {
    font-size: 18px;
  }

  h2 {
    font-size: 16px;
  }

  p {
    font-size: 14px;
  }

  /* Ajustes de contenedor principal */
  .container {
    margin-left: 0;
    width: 100%;
    max-width: 100%;
    padding: 50px;
  }
}

/* Dispositivos de tamaño medio, como teléfonos grandes o pequeños tabletas */
@media (max-width: 768px) {
  /* Ocultar la imagen y el contenedor de la imagen en dispositivos móviles */
  .sidebar,
  .sidebar img {
    display: none;
  }

  /* Ajuste de tamaños de texto */
  h1 {
    font-size: 20px;
  }

  h2 {
    font-size: 18px;
  }

  p {
    font-size: 15px;
  }

  /* Ajustes de contenedor principal */
  .container {
    margin-left: 0;
    width: 100%;
    max-width: 100%;
    padding: 50px;
  }
}

/* Dispositivos grandes, como tabletas y teléfonos de gran tamaño */
@media (max-width: 1024px) {
  /* Ajuste de tamaños de texto */
  h1 {
    font-size: 22px;
  }

  h2 {
    font-size: 20px;
  }

  p {
    font-size: 16px;
  }

  /* Ajustes de contenedor principal */
  .container {
    margin-left: 0;
    width: 100%;
    max-width: 100%;
    padding: 20px;
  }
}
