body { background-color: #fdfaf6;
 color: #3e2f1c; 
 font-size:1.1em;
 font-family: 'Georgia', serif;
 width:80%;
 margin:auto;
 }
 header {
      text-align: center;
      padding: 2rem;
      background: linear-gradient(to right, #a1866f, #cbb89d);
      color: white;
      font-family: 'Playfair Display', serif;
    }

    .intro {
      max-width: 900px;
      margin: 2rem auto;
      padding: 1rem;
      font-size: 1.1rem;
      line-height: 1.6;
    }

    .cards {
      display: flex;
      flex-wrap: wrap;
      justify-content: center;
      gap: 2rem;
      padding: 2rem;
    }

    .card {
      background: white;
      border: 1px solid #d8cfc4;
      border-radius: 10px;
      box-shadow: 0 4px 8px rgba(0,0,0,0.1);
      width: 250px;
      padding: 1rem;
      transition: transform 0.3s ease;
    }

    .card:hover {
      transform: translateY(-5px);
	  background-color: #F4EDE4;
  color: white;
	   
    }

    .card h3 {
      margin-top: 0;
      font-family: 'Playfair Display', serif;
      color: #5c4430;
    }
    .btn {
      display: inline-block;
      margin-top: 1rem;
      padding: 0.6rem 1.2rem;
      background-color: #8b6f4e;
      color: white;
      border: none;
      border-radius: 5px;
      text-decoration: none;
      font-weight: bold;
      transition: background-color 0.3s ease;
    }
    .btn:hover {
      background-color: #a57f5a;
    }
.card a {
  color: #8b6f4e;
  text-decoration: none;  
  transition: color 0.3s ease, border-bottom 0.3s ease;
  border-bottom: 2px solid transparent;
  font-weight: bold;
  
}

.card a:hover, a:focus {
    color: #a57f5a;
	
  outline: none;
}

.footer-links a {
  color: #8b6f4e;
  text-decoration: none;
  font-weight: bold;
  padding: 0.5rem 1rem;
  border-radius: 5px;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.footer-links a:hover {
  background-color: #a57f5a;
  color: white;
}

footer {
  background-color: #f4ede4;
  color: #5c4430;
  padding: 2rem 1rem;
  text-align: center;
  font-size: 1rem;
  border-top: 1px solid #d8cfc4;
}

.footer-container {
  max-width: 900px;
  margin: 0 auto;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  margin: 1rem 0;
}

.footer-links a {
  color: #8b6f4e;
  text-decoration: none;
  font-weight: bold;
  padding: 0.5rem 1rem;
  border-radius: 5px;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.footer-links a:hover {
  background-color: #a57f5a;
  color: white;
}

 h1 {
 font-family: Georgia, Serif;
 font-size: 2.3em; 
 text-align: center; 
 font-weight:bold;
 }
 
 h2 {font-family: Georgia, Serif;
 font-size: 1.6em; 
 text-align: left; 
 font-weight:bold;
 }
 
img.suelta {
max-width:100%;
height:auto;
float: left;
margin-left:5px;
margin-right:5px;
}
 p  {
 font-family: Georgia, Serif;
 text-align:justify; 
 font-size:1em; 
 line-height:1.4;
}
p.center {text-align:center; 
}
p.right {text-align:right; 
}
p.negrita {
font-weight:bold;
}
p.peque {
text-align:right;
font-size:0.8em; }

ul {font-family: Georgia, Serif;
 text-align:left; 
 font-size:1em; 
 line-height:1.4;}
 table {
	border: 1px solid #800000;
	width:100%;
}
@media (max-width: 768px) {
  header {
    padding: 1.5rem;
    font-size: 1.2rem;
  }

  .intro {
    padding: 1rem;
    margin: 1rem;
    font-size: 1rem;
  }

  .cards {
    flex-direction: column;
    align-items: center;
    padding: 1rem;
    gap: 1.5rem;
  }

  .card {
    width: 90%;
    max-width: 350px;
  }

  .btn {
    width: 100%;
    text-align: center;
    padding: 0.8rem;
  }

  footer {
    padding: 1rem;
    font-size: 0.8rem;
  }
}

@media (max-width: 600px) {
  .footer-links {
    flex-direction: column;
    gap: 0.5rem;
  }

  .footer-links a {
    display: block;
    width: 100%;
    text-align: center;
  }

  footer {
    font-size: 0.9rem;
    padding: 1.5rem 1rem;
  }
}