body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    display: grid;
    grid-template-rows: auto 1fr auto; 
  }
  
  header {
    background-color: #000000;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  }

  main {
    text-align: center;
    margin: 2.5%;
    height: 60%;
  }

  footer {
    margin-top: 3%;
    background: #000000;
    text-align: center;
    padding: 20px;
    height: 250px;
  }

  
  .nav-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
  }
  
  .logo {
    font-size: 1.5em;
    color: #ffffff;
    font-weight: bold;
  }
  
  .search-container {
    flex-grow: 1;
    margin: 0 20px;
  }
  
  .search-container input[type="text"] {
    width: 90%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 1em;
  }
  
  .auth-links {
    display: flex;
    gap: 15px;
  }
  
  .auth-links button {
    text-decoration: none;
    background-color: #ffffff;
    color: rgb(0, 0, 0);
    font-weight: bold;
    border-radius: 5%;
    width: 150px;
    height: 50px;
    border-style: none;
  }

  .auth-links button:hover {
    background-color: #dedeff;
    cursor: pointer;
  }
  
  .menu-bar {
    display: flex;
    justify-content: center;
    gap: 20px;
    padding: 10px 0;
    border-top: 1px solid #ddd;
  }
  
  .menu-bar a {
    text-decoration: none;
    color: #ffffff;
    font-size: 1em;
    font-weight: bold;
    padding: 5px 10px;
    border-radius: 4px;
    transition: background-color 0.3s;
  }
  
  .menu-bar a:hover {
    background-color: #322d2d;
  }
  
  .icon {
    margin-right: 5px;
    font-size: 1.2em;
  }



/* carousel --------------------------------------------------------------------------------- */


.carousel {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  max-width: 70%;
  margin: auto;
  overflow: hidden;
  border: 2px solid #ddd;
  border-radius: 10px;
  background: #f9f9f9;
  border-color: black;
}

.carousel-content {
  display: flex;
  transition: transform 0.5s ease-in-out;
}

.slide {
  align-items: center;
  min-width: 100%;
  padding: 20px;
  display: none;
}

.slide img {
  width: 20%;
  height: auto;
  border-radius: 10px;
}

.text {
  width: 60%;
  padding: 20px;
  text-align: left;
}


.carousel .slide.active {
  display: flex; /* Muestra solo la diapositiva con la clase 'active' */
}

button.prev, button.next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.5);
  color: white;
  border: none;
  padding: 10px 15px;
  font-size: 24px;
  cursor: pointer;
  border-radius: 50%;
}

button.prev { left: 10px; }
button.next { right: 10px; }

button.prev:hover, button.next:hover {
  background: rgba(0, 0, 0, 0.8);
}




  /* FOOTER ------------------------------------------------------------------- */
.container {
        background-color: black;
        border-style: solid;
        width: 100%;
        height: 200px;
        padding: 0 0;
        bottom: 0;        /* Posiciona la imagen en la parte inferior de la pantalla */
        left: 0; 
    }
  
.subcontainer {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    width: 100%;
    height: 100%;
  
  }
  
.footerTitle{
    font-size: x-large;
    color: rgb(255, 255, 255);
    text-align: center;
}
  
  .footerSubtitle{
    font-size: large;
    color: white;
    text-align: center;
  }
  
  .instaLogo{
    width: 89px;
    height: 50px;
  }
  
  .xLogo{
    width: 75px;
    height: 50px;
  }
  
  .perfilLogo {
    width: 50px;
    height: 50px;
  }
  
  .footerList{
    text-align: center;
    color: rgb(0, 0, 0);
  }
  
  .footerLink {
    color: white;
    text-decoration: none;
  }
  
  .footerInfo p{
    color:white;
  }
  
  .footerInfo {
    text-align: center;
  }
  
  