html {
  font-size: 62.5%; /*esto es para que 1rem = 10px*/
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background-color: rgb(0, 0, 0);
  margin: 0;
  padding: 0;
}

#barra {
  list-style: none;
  width: 100%;
  background: linear-gradient(to bottom, #f1c40f 0%, #d4af37 50%, #b8860b 100%);
  height: 10rem;
  font-family: 'Times New Roman', Times, serif;
  display: flex;
  align-items: center;
  justify-content: space-around;
  padding: 0 2rem;
}

#barra ul {
  display: flex;
  list-style: none;
}

.logo {
  width: auto;
  height: 14rem;
  z-index: 10;
  margin-top: 10rem;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 20rem;
}

.nav-links a {
  text-decoration: none;
  color: black;
  font-weight: bold;
  font-family: Georgia, 'Times New Roman', Times, serif;
  font-style: italic;
  font-size: 2.5rem;
  transition: 0.3s;
}

.nav-links a:hover {
  color: #ffffff;
  text-shadow: 0.2rem 0.2rem 0.5rem rgba(0,0,0,0.2);
}

.titulo {
  background: linear-gradient(to bottom, #f1c40f 0%, #d4af37 50%, #b8860b 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-family: Georgia, 'Times New Roman', Times, serif;
  font-style: italic;
  font-weight: bold;
  font-size: 6rem;
  text-align: center;
  margin: 2rem;
  margin-top: 1rem;
}

.titulo2 {
  color: white;
  text-align: center;
  font-size: 5rem;
  margin-top: 1rem;
  font-family: Georgia, 'Times New Roman', Times, serif;
  font-style: italic;
}

.titulo3 {
  color: white;
  text-align: center;
  font-size: 5rem;
  margin-top: 3.5rem;
  font-family: Georgia, 'Times New Roman', Times, serif;
  font-style: italic;
}

.frase {
  color: #ffffff;
  text-align: center;
  font-family: Georgia, 'Times New Roman', Times, serif;
  font-style: italic;
  font-size: 4rem;
}

.direccion {
  color: white;
  text-align: center;
  font-size: 3rem;
  font-family: Georgia, 'Times New Roman', Times, serif;
  margin-top: 2rem;
  font-style: italic;
}

.fotos_portada {
  position: relative;
  width: 60rem;
  margin: 4rem auto;
  display: flex;
  align-items: center;
  justify-content: center;
}

#imagen_pizza {
  width: 100%;
  height: auto;
  border-radius: 1.3rem;
  border: 0.3rem solid #d4af37;
  transition: opacity 0.5s ease-in-out, transform 0.5s ease-in-out;
}

#imagen_pizza.desplazamiento {
  transform: translateX(-100%);
  opacity: 0;
}

#imagen_pizza:hover {
  transform: scale(1.03); 
}
.descripcion_portada {
    color: white;
    text-align: center;
    font-size: 3rem;
    font-family: Georgia, 'Times New Roman', Times, serif;
    font-style: italic;
}

.boton_portada_l,
.boton_portada_r {
  position: absolute;
  background: linear-gradient(150deg, #f0f0f0, #8e8888);
  border: 0.1rem solid #b5b5b5;
  width: 7rem; 
  height: 7rem;
  cursor: pointer;
  transition: 0.3s;
  border-radius: 50%;
  opacity: 0.5;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #444;
  font-size: 3rem;
  font-family: 'Times New Roman', Times, serif;
  font-weight: bold;
}

.boton_portada_l { left: -12rem; }
.boton_portada_r { right: -12rem; }

.boton_portada_l:hover {
  background: linear-gradient(0deg, #f0f0f0, #1e7c04);
  border: 0.1rem solid #d4af37;
  color: #d4af37;
}

.boton_portada_r:hover {
  background: linear-gradient(0deg, #f0f0f0, #aa0404);
  border: 0.1rem solid #d4af37;
  color: #d4af37;
}

.contenedor_nosotros {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: row;
  gap: 8rem;
  margin: 12rem auto 4rem auto;
  max-width: 120rem;
  padding: 0 4rem;
}

.foto_familia {
  width: 100%;
  max-width: 40rem;
  border-radius: 1.5rem;
  border: 0.3rem solid #d4af37;
}
.texto_nosotros {
  max-width: 55rem;
  text-align: left;
}

.sobre_nosotros {
  color: white;
  font-family: Georgia, 'Times New Roman', Times, serif;
  font-style: italic;
  font-weight: bold;
  font-size: 5rem;
  margin-bottom: 2.5rem;
}

.descripcion {
  color: white;
  font-family: Georgia, 'Times New Roman', Times, serif;
  font-size: 2rem;
  line-height: 1.6;
  text-align: justify;
}
.descripcion2 {
    color: white;
    font-family: Georgia, 'Times New Roman', Times, serif;
    font-size: 2rem;
    line-height: 1.6;
    text-align: justify;
    text-align: justify;
    display: block;

}

.boton_pedido {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  margin-top: 8rem;
}

.boton_wsp {
  background-color: #18bd54;
  color: white;
  font-size: 4rem;
  font-weight: bold;
  text-decoration: none;
  border-radius: 3rem;
  padding: 2rem 4rem;
  font-family: 'Arial', sans-serif;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  transition: all 0.3s ease;
  box-shadow: 0 0.5rem 1.5rem rgba(37, 211, 102, 0.4);
}

.boton_wsp:hover {
  transform: translateY(-0.3rem);
  box-shadow: 0 0.8rem 2rem rgba(24, 189, 84, 0.6);
}

.boton_wsp:active {
  transform: scale(0.95);
}

.logo_wsp {
  width: 8rem;
  height: auto;
}
.logo_pdf {
  width: 6rem;
  height: auto;
}
.seccion_encuentranos {
    width: 100%;
    max-width: 80rem;
    margin: 4rem auto;
    padding: 0 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.lista_datos {
    padding: 0;
    margin: 3rem 0 0 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 2rem;
    max-width: 100%;
}

.lista_datos li {
    color: white;
    font-family: Georgia, 'Times New Roman', Times, serif;
    font-size: 3rem;
    font-style: italic;
    line-height: 1.5;
    text-align: left;
}


.lista_datos strong {
    color: #d4af37;
    font-weight: bold;
}
#clima_info strong {
    color: #d4af37;
    font-weight: bold;
}

.redes {
  list-style: none;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10rem;
  margin-top: 3rem;
  color: white;
  padding: 0;
}

.logo_red {
  width: 10rem;
  height: auto;
  transition: transform 0.3s ease;
}

.logo_red:hover {
  transform: scale(1.2);
}


.mapa {
  width: 80%;
  max-width: 80rem;
  height: 45rem;
  display: block;
  margin: 3rem auto;
  border-radius: 1.5rem;
  border: 0.3rem solid #d4af37;
  box-shadow: 0 1rem 3rem rgba(0, 0, 0, 0.3);
}

.seccion_menu {
    text-align: center;
    padding: 2rem 1rem;
    width: 100%;
    overflow: hidden;
}

.contenedor_descarga {
  margin-bottom: 6rem;
}

.boton_descarga {
  background-color: #d4af37;
  color: #1a1a1a;
  font-size: 3rem;
  font-weight: bold;
  text-decoration: none;
  padding: 1.5rem 3rem;
  border-radius: 3rem;
  font-family: 'Arial', sans-serif;
  box-shadow: 0 0.5rem 1.5rem rgba(212, 175, 55, 0.3);
  transition: all 0.3s ease;
  display: inline-block;
  margin-top: 3rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
}

.boton_descarga:hover {
  background-color: #ce1126;
  color: white;
  transform: translateY(-0.2rem);
}

.menu_fotos {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
    width: 100%;
    padding: 0 1rem;
}

.pagina_carta {
    width: 100%;
    max-width: 100%!important;
    height: auto!important;
    display: block;
    border-radius: 1rem;
    box-shadow: 0 1rem 3rem rgba(0, 0, 0, 0.15);
}

footer {
  background-color: #1a1a1a;
  color: white;
  padding: 3rem 0;
  margin-top: 5rem;
  border-top: 0.3rem solid #d4af37;
}

.footer_content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}

.footer_content p {
  font-size: 1.4rem;
  font-family: 'Arial', sans-serif;
  opacity: 0.8;
}

.footer_redes {
  list-style: none;
  display: flex;
  gap: 3rem;
  padding: 0;
}

.footer_redes a {
  color: #d4af37;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.6rem;
  transition: 0.3s;
}

.footer_redes a:hover {
  color: #ce1126;
  text-shadow: 0 0 1rem rgba(206, 17, 38, 0.5);
}

.enlace_red {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    gap: 1rem;
}
.enlace_red:hover .logo_red {
    transform: scale(1.2);
}
.nombre_red {
    color: white;
    font-size: 1.8rem;
    font-family: Georgia, 'Times New Roman', Times, serif;
    font-style: italic;
    text-align: center;
    margin: 0;
    transition: color 0.3s ease;
}
.enlace_red:hover .nombre_red {
    color: #d4af37; 
}
#clima_info {
    color: white;
    font-family: Georgia, 'Times New Roman', Times, serif;
    font-size: 2.5rem;
    text-align: center;
    margin-top: 2rem;
    font-size: 3rem;
}

/*Diseño reponsivo celulares*/
@media (max-width: 768px) {
  #barra {
    height: auto;
    flex-direction: column;
    padding: 2rem 1rem;
    gap: 2rem;
  }
  
  .logo {
    height: 10rem;
    margin-top: 0;
  }
  
  .nav-links {
    gap: 3rem;
  }
  
  .nav-links a {
    font-size: 2rem;
  }

  .titulo { font-size: 3.5rem; margin-top: 4rem; }
  .titulo2, .titulo3 { font-size: 3.5rem; margin-top: 4rem; }
  .frase { font-size: 2.2rem; padding: 0 2rem; }
  .direccion { font-size: 2rem; padding: 0 1rem; }

  .fotos_portada {
    width: 90%;
    margin: 2rem auto;
  }
  
  .boton_portada_l, 
  .boton_portada_r {
    width: 5rem;
    height: 5rem;
    font-size: 2rem;
  }
  .boton_portada_l { left: -2rem; z-index: 15; }
  .boton_portada_r { right: -2rem; z-index: 15; }

  .contenedor_nosotros {
    flex-direction: column;
    margin: 4rem auto;
    padding: 0 2rem;
    gap: 3rem;
  }
  
  .foto_familia {
    width: 100%;
    max-width: 40rem;
    margin-top: 0;
  }
  
  .texto_nosotros {
    text-align: center;
  }
  
  .sobre_nosotros {
    font-size: 3.5rem;
  }
  
  .descripcion {
    font-size: 1.8rem;
  }

  .boton_pedido {
    margin-top: 4rem;
    padding: 0 2rem;
  }
  
  .boton_wsp {
    font-size: 2.2rem;
    padding: 1.5rem 2.5rem;
    width: 100%;
    max-width: 35rem;
    border-radius: 1.5rem;
  }
  
  .logo_wsp {
    width: 4.5rem;
  }

  .redes {
    gap: 4rem;
  }
  
  .logo_red {
    width: 6rem;
  }

  .mapa {
    width: 95%;
    height: 30rem;
  }

  .boton_descarga {
    font-size: 2rem;
    padding: 1.2rem 2.5rem;
  }
  
  .pagina_carta {
    width: 95%;
  }
  .menu_fotos {
    width: 100% !important;
    padding: 0 1rem !important;
    overflow: hidden !important;
  }
  
  .menu_fotos img, 
  .pagina_carta {
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    object-fit: contain !important;
  }
}
/*Diseño reponsivo tablets*/
@media (min-width: 769px) and (max-width: 1024px) {
  
  .nav-links {
    gap: 5rem !important; 
  }
  
  .nav-links a {
    font-size: 2.2rem;
  }

  .titulo { font-size: 5rem; }
  .titulo2, .titulo3 { font-size: 4rem; }
  .frase { font-size: 3rem; }

  .contenedor_nosotros {
    gap: 4rem;
    padding: 0 3rem;
    margin: 6rem auto 4rem auto;
  }
  
  .foto_familia {
    width: 45rem;
  }
  
  .texto_nosotros {
    max-width: 45rem;
  }
  
  .sobre_nosotros { font-size: 4rem; }
  .descripcion { font-size: 1.9rem; }

  .mapa {
    width: 90%;
    height: 40rem;
  }
}
/*estilos modo claro (ya que por defecto es oscuro*/
.boton_cambio_modo {
  background-color: #d4af37;
  color: black;
  border: none;
  padding: 1rem 1.5rem;
  font-size: 2rem;
  font-weight: bold;
  font-family: Georgia, serif;
  border-radius: 2rem;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-top: 3rem;
  display: block;
  margin-left: auto;
  margin-right: 3rem;

}

.boton_cambio_modo:hover {
  background-color: white;
  transform: scale(1.05);
}

body.modo_claro {
  background-color: #f9f9f9;
}

body.modo_claro .titulo2,
body.modo_claro .titulo3,
body.modo_claro .frase,
body.modo_claro .direccion,
body.modo_claro .sobre_nosotros,
body.modo_claro .descripcion,
body.modo_claro .redes,
body.modo_claro .descripcion_portada,
body.modo_claro #clima_info,
body.modo_claro .seccion_encuentranos .lista_datos li {
  color: #1a1a1a !important;
}
body.modo_claro .nombre_red {
  color: #1a1a1a !important;
}
body.modo_claro .enlace_red{
  color: #1a1a1a !important;
}

body.modo_claro footer {
  background-color: #eaeaea;
  color: #1a1a1a;
}

body.modo_claro .footer-content p {
  color: #1a1a1a;
}
body.modo_claro .enlace_red:hover .nombre_red {
    color: #d4af37  !important;
}
