body{
    background-image: url(imagenes/background.jpeg);
    background-attachment: fixed;
    color: white;
    padding-top: 100px;
}
h1{
    text-align: center;
    font-size: 3em;
}
.contenedor{
    text-align: justify;
    font-size: 1.5em;
    padding: 2%;
    background-color: rgba(0, 0, 0, 0.438);
    width: 75%;
    font-family: cursive;
}
.contenido{
    text-align: justify;
    font-size: 1.5em;
    padding: 2%;
    background-color: rgba(0, 0, 0, 0.438);
    width: 40%;
    font-family: cursive;
    
}
.contenido p{
    text-align: justify;
    font-family: cursive;
}
.contenedor p{
    text-align: justify;
    font-family: cursive;
}
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: sans-serif;
}
.navbar {
  display: flex;
  justify-content: space-between; 
  align-items: center;
  background-color: #dca8ff8f;
  padding: 1rem 2rem;
  color: white;
  position: fixed;
  border-bottom: 4px solid transparent; 
  border-image: linear-gradient(to right, #ff0000, #ff7f00, #ffff00, #00ff00, #0000ff, #4b0082, #8b00ff) 1;
  top: 0;          /* Pegada al inicio */
  left: 0;         /* Pegada a la izquierda */
  width: 100%;     /* Asegúrate de que ocupe todo el ancho */
  z-index: 1000;
}
.navbar::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, #ff0000, #ff7f00, #ffff00, #00ff00, #0000ff, #8b00ff, #ff0000);
  background-size: 200% 100%;
  animation: rgb-move 3s linear infinite;
}

@keyframes rgb-move {
  0% { background-position: 0% 50%; }
  100% { background-position: 100% 50%; }
}
.nav-links {
  display: flex;
  list-style: none;
  flex-wrap: center;
}
.nav-links li {
  margin-left: 20px;
}
.nav-links a {
  color: white;
  font-size: 15px;
  font-family: cursive;
  text-align: left;
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s;
  
}
.nav-links a:hover {
  color: #5f005f;
}
.imagen1{
    float: right;
    padding-right: 10%;
    clear: both;
}
.imagen2{
    float: right;
    padding-top: 1%;
    padding-right: 1%;
    clear: both;
}