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

body {
  font-family: Arial, Helvetica, sans-serif;
  background-color: #fff;
  color: #333;
  overflow-x: hidden;
}

.barra-superior {
  background-color: blue;
  color: white;
  font-weight: bold;
  font-size: 0.75rem;
  height: 35px;
  line-height: 35px;
  width: 100%;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1001;
  text-align: center;  
  padding-right: 15px; 
}

.barra-navegacion {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 60px;
  background-color: white;
  border-bottom: 1px solid #ddd;
  width: 100%;
  position: fixed;
  top: 35px;
  left: 0;
  z-index: 1000;
}

.galeria {
  font-family: "Instrument Serif", serif;
  font-weight: 400;
  font-style: italic;
}

.navegacion-izquierda,
.navegacion-derecha {
  display: flex;
  align-items: center;
}

.navegacion-izquierda a,
.navegacion-derecha a {
  margin: 0 1.5rem;
  font-size: 0.95rem;
}

.navegacion-centro {
  display: flex;
  justify-content: center;
  align-items: center;
  transform: translateX(-28px);
}

.barra-navegacion a {
  text-decoration: none;
  color: blue;
  font-weight: bold;
  font-size: 0.85rem;
}

.barra-navegacion::after {
  content: "";
  display: block;
  width: 100%;
  height: 1px;
  background-color: blue;
  position: absolute;
  bottom: 0;
  left: 0;
}

.imagen-logo {
  height: 70px;
  object-fit: contain;
  margin-left: -30px;
}

.hamburguesa {
  display: none;
  flex-direction: column;
  cursor: pointer;
  margin-right: 1rem;
}

.hamburguesa span {
  height: 3px;
  width: 25px;
  background: blue;
  margin: 4px 0;
  border-radius: 2px;
}

.menu-movil {
  display: none;
  flex-direction: column;
  background: white;
  position: fixed;
  top: 95px;
  right: 0;
  width: 100%;
  z-index: 999;
}

.menu-movil a {
  padding: 1rem;
  border-bottom: 1px solid #ddd;
  text-decoration: none;
  color: blue;
  font-weight: bold;
  text-align: center;
}

.menu-movil a.boton-pedido-movil {
  font-family: "Instrument Serif", serif;
  font-weight: 400;
  font-style: italic;
}

.galeria-contenedor {
  padding-top: 95px;
  width: 100%;
}

.grid-galeria {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.5rem;
  max-width: 100%;
  margin: 0 auto;
}

.cuadro-imagen {
  background-color: #eee;
  aspect-ratio: 1 / 1;
  border: 1px solid #ccc;
  overflow: hidden;
  background-size: cover;
  background-position: center;
  width: 100%;
}

@media (max-width: 768px) {
  .navegacion-izquierda,
  .navegacion-derecha {
    display: none;
  }

  .barra-superior {
    padding-right: 0;
    text-align: center;
  }

  .navegacion-centro {
    transform: none;
    margin-left: 1rem;
    justify-content: flex-start;
  }

  .imagen-logo {
    margin-left: 0;
    height: 60px;
  }

  .hamburguesa {
    display: flex; 
  }

  .grid-galeria {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .grid-galeria {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .menu-movil a.galeria {
    font-weight: normal;
  }
}

@media (min-width: 769px) {
  .barra-navegacion a.galeria {
    font-weight: normal;
  }
}
