body {
    margin: 0;
    font-family: 'Medieval', serif;
    background: url('../img/fondo.jpg') no-repeat center center fixed;
    background-size: cover;
    color: #f5f5dc;
  }
  
  @font-face {
    font-family: 'Medieval';
    src: url('../fonts/medieval.ttf');
  }
  
  header {
    background: rgba(0, 0, 0, 0.7);
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  
  .logo img {
    width: 60px;
    height: 60px;
  }
  
  .logo h1 {
    display: inline-block;
    margin-left: 10px;
    font-size: 2em;
    color: gold;
  }
  
  nav ul {
    list-style: none;
    display: flex;
    gap: 20px;
  }
  
  nav ul li a {
    color: #fff;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s;
  }
  
  nav ul li a:hover {
    color: gold;
  }
  
  main .bienvenida {
    text-align: center;
    padding: 80px 20px;
    background: rgba(0, 0, 0, 0.6);
    margin: 40px;
    border: 3px solid #daa520;
    border-radius: 10px;
  }
  
  .boton {
    display: inline-block;
    padding: 15px 30px;
    background-color: #6b4226;
    color: white;
    border-radius: 10px;
    font-size: 1.2em;
    text-decoration: none;
    margin-top: 20px;
    transition: background 0.3s;
  }
  
  .boton:hover {
    background-color: #8b5e3c;
  }
  
  footer {
    background: #111;
    text-align: center;
    padding: 20px;
    color: #ccc;
  }
  
  footer .redes img {
    width: 24px;
    margin: 0 10px;
    filter: brightness(0.8);
    transition: filter 0.3s;
  }
  
  footer .redes img:hover {
    filter: brightness(1.2);
  }
  
  /* --- Footer pegado abajo --- */
html, body {
  height: 100%;
  display: flex;
  flex-direction: column;
}

main {
  flex: 1;
}

footer {
  background: #111;
  text-align: center;
  padding: 20px;
  color: #ccc;
  margin-top: auto;
}
