body {
  margin: 0;
  padding: 0;
  font-family: sans-serif;
  background-color: #a67c52;
  color: #fff;
}

header {
  background-color: #832c2cba;
  padding: 15px 0;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

nav ul {
  display: flex;
  justify-content: center;
  list-style: none;
  gap: 40px;
  font-family: "Ethnocentric";
}

nav ul li a {
  text-decoration: none;
  color: #fff;
  font-weight: bold;
  font-size: 18px;
  transition: color 0.3s;
}

nav ul li a:hover {
  color: #d63c2e;
  transform: scale(1.05);
}

.nav-link {
  font-weight: bold;
  margin: 0 10px;
  transition: 0.3s;
}

.nav-link.active {
  border-bottom: 2px solid #000000;
}


.titulo-expendios, .expsancris {
  font-family: "Ethnocentric";
  text-align: center;
  font-size: 2.5rem;
  margin-top: 40px;
  text-shadow: 2px 2px 3px #7b241c;
}

h3 {
  text-align: center;
  font-size: 1.2rem;
  margin: 10px auto 40px auto;
  max-width: 900px;
  text-shadow: 1px 1px 2px #7b241c;
}

.contenedor-expendios, .contenedor-sancris{
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  max-width: 1200px;
  margin: 0 auto 50px auto;
}

.expendio, .exp1, .exp2, .exp3, .exp4, .exp5, .exp6{
  background: white;
  color: #333;
  width: 45%;
  min-width: 300px;
  border-radius: 2px;
  overflow: hidden;
  text-align: center;
  padding: 20px;
  box-shadow: 0 0 20px rgba(0,0,0,0.2);
  transition: transform 0.3s, box-shadow 0.3s;
}

.expendio img, .exp1 img, .exp2 img, .exp3 img, .exp4 img, .exp5 img, .exp6 img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  border-radius: 2px;
  margin-bottom: 15px;
}

.expendio h2, .exp1 h2, .exp2 h2, .exp3 h2, .exp4 h2, .exp5 h2, .exp6 h2{
  color: #7b241c;
  margin-bottom: 10px;
  text-shadow: 1px 1px 2px rgba(0,0,0,0.2);
}

.expendio p, .exp1 p, .exp2 p, .exp3 p, .exp4 p {
  font-size: 0.95rem;
  line-height: 1.6;
  text-align: justify;
}

.expendio:hover, .exp1:hover, .exp2:hover, .exp3:hover, .exp4:hover, .exp5:hover, .exp6:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.4);
}

.atras
{
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 30px 0;
}

.btnatras
{
  background-color: #8B4513;
  color: white;
  padding: 12px 28px;
  text-decoration: none;
  border-radius: 2px;

}

.btnatras:hover
{
  transform: translateY(-5px);
  text-shadow: 1px 1px 3px rgba(0,0,0,0.2);
  background-color: #7b241c;
}

button[class^="contacto"] {
  background-color: #7b241c; 
  color: #fff;
  border: none;
  padding: 12px 25px;
  border-radius: 5px;
  font-size: 1rem;
  cursor: pointer;
  margin-top: 15px;
  transition: background-color 0.3s, transform 0.3s, box-shadow 0.3s;
}

button[class^="contacto"]:hover {
  background-color: #a04024;
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

