body {
    font-family: 'Acumin Variable Concept', sans-serif;
    margin: 0;
    padding: 0;
    background: rgb(214,204,194);
    background: radial-gradient(circle, rgba(214,204,194,1) 20%, rgba(237,237,233,1) 58%, rgba(224,245,233,1) 90%);
}

header {
  background-color: #888888;
  padding: 10px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: sticky;
  top: 0;
  z-index: 1000; /* Asegura que esté por encima de otros elementos */
}

.nav-bar {
    display: flex;
    align-items: center;
}

.nav-bar .logo {
    font-size: 24px;
    font-weight: bold;
    color: #FFFFFF;
    margin-right: 20px;
}

.nav-bar .logo img {
    height: 40px;
    width: auto;
}

nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
}

nav ul li {
    margin-right: 20px;
}

nav ul li a {
    text-decoration: none;
    color: #FFFFFF;
    font-weight: bold;
    transition: background-color 0.3s, color 0.3s;
    padding: 5px 10px;
}

nav ul li a:hover {
    background-color: #FFFFFF;
    color: #888888;
}

nav ul li a.active {
    background-color: #FFFFFF;
    color: #888888;
}

.login {
    text-decoration: none;
    color: #FFFFFF;
    display: flex;
    align-items: center;
    margin-left: auto;
}

footer {
    background-color: #888888;
    padding: 10px 20px;
    text-align: center;
    color: #FFFFFF;
    font-size: 12px;
}

footer .social-icons {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 5px;
    align-items: center;
}

footer .social-icons img {
    width: 24px;
    height: 24px;
}

footer .contact-info {
    display: flex;
    align-items: center;
    gap: 5px;
    margin-left: 15px;
}

footer .phone-icon {
    width: 20px;
    height: 20px;
}

.footer-links {
    margin-top: 10px;
}

.footer-links p {
    margin: 0;
}

.footer-links a {
    color: #FFFFFF;
    text-decoration: none;
    margin: 0 5px;
}

.footer-links a:hover {
    text-decoration: underline;
}

main {
    padding: 20px;
}

.separatorTitle {
  background-color: black;
  height: 55px;
  margin-left: 135px;
  margin-right: 135px;
  border-radius: 10px;
  color: whitesmoke;
  text-align: center;
  padding: 15px;
  transition: background-color 0.3s ease, text-shadow 0.3s ease, color 0.3s ease;
}

.separatorTitle:hover {
  background-color: #2d2a2a;
  color: #ffffff;
  text-shadow: 0 0 0.5px #ffffff, 0 0 0.9px #ffffff, 0 0 1.2px #ffffff;
}



/* Sección de videos */

.video-layout {
  display: flex;
  justify-content: space-evenly;
  flex-wrap: wrap;
  flex-direction: row;
  align-content: flex-end;
  align-items: flex-end;
}

.main-video {
  flex: 3; /* Proporción del reproductor principal */
  margin-top: 50px;
  margin-right: 24px;
}

video {
  width: 100%;
  max-width: 100%; /* Ajustar al contenedor */
}

.gallery {
  flex: 1; /* Proporción de la galería */
  display: flex;
  flex-direction: column;
  gap: 10px; /* Espacio entre los videos de la galería */
}

.thumbnail {
  cursor: pointer; /* Cambiar el cursor al pasar sobre los videos */
  width: 100%; /* Ajustar al contenedor */
  max-width: 100%; /* Asegurar que no sobrepase el contenedor */
}

/* Sección de artículos */
.articulos-tendencias {
    margin-top: 40px;
}

article {
    --img-scale: 1.001;
    --title-color: black;
    --link-icon-translate: -20px;
    --link-icon-opacity: 0;
    position: relative;
    border-radius: 16px;
    box-shadow: none;
    background: #fff;
    transform-origin: center;
    transition: all 0.4s ease-in-out;
    overflow: hidden;
  }
  
  article a::after {
    position: absolute;
    inset-block: 0;
    inset-inline: 0;
    cursor: pointer;
    content: "";
  }
  
  /* basic article elements styling */
  article h2 {
    margin: 0 0 18px 0;
    font-family: "Bebas Neue", cursive;
    font-size: 1.9rem;
    letter-spacing: 0.06em;
    color: var(--title-color);
    transition: color 0.3s ease-out;
  }
  
  figure {
    margin: 0;
    padding: 0;
    aspect-ratio: 16 / 9;
    overflow: hidden;
  }
  
  article img {
    max-width: 100%;
    transform-origin: center;
    transform: scale(var(--img-scale));
    transition: transform 0.4s ease-in-out;
  }
  
  .article-body {
    padding: 24px;
  }
  
  article a {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    color: #28666e;
  }
  
  article a:focus {
    outline: 1px dotted #28666e;
  }
  
  article a .icon {
    min-width: 24px;
    width: 24px;
    height: 24px;
    margin-left: 5px;
    transform: translateX(var(--link-icon-translate));
    opacity: var(--link-icon-opacity);
    transition: all 0.3s;
  }
  
  /* using the has() relational pseudo selector to update our custom properties */
  article:has(:hover, :focus) {
    --img-scale: 1.1;
    --title-color: #28666e;
    --link-icon-translate: 0;
    --link-icon-opacity: 1;
    box-shadow: rgba(0, 0, 0, 0.16) 0px 10px 36px 0px, rgba(0, 0, 0, 0.06) 0px 0px 0px 1px;
  }
  
  
  /************************ 
  Generic layout (demo looks)
  **************************/
  
  *,
  *::before,
  *::after {
    box-sizing: border-box;
  }
  
  .articles {
    display: grid;
    max-width: 1200px;
    margin-inline: auto;
    padding-inline: 24px;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 24px;
  }
  
  @media screen and (max-width: 960px) {
    article {
      container: card/inline-size;
    }
    .article-body p {
      display: none;
    }
  }
  
  @container card (min-width: 380px) {
    .article-wrapper {
      display: grid;
      grid-template-columns: 100px 1fr;
      gap: 16px;
    }
    .article-body {
      padding-left: 0;
    }
    figure {
      width: 100%;
      height: 100%;
      overflow: hidden;
    }
    figure img {
      height: 100%;
      aspect-ratio: 1;
      object-fit: cover;
    }
  }
  
  .sr-only:not(:focus):not(:active) {
    clip: rect(0 0 0 0); 
    clip-path: inset(50%);
    height: 1px;
    overflow: hidden;
    position: absolute;
    white-space: nowrap; 
    width: 1px;
  }

  .ComentLikeContainer {
    margin-top: 20px;
    align-items: center;
}

.like-section {
    display: flex;
    align-items: center;
    gap: 5px;
    cursor: pointer;
    justify-content: center;
}

.like-icon {
    width: 24px;
    height: 24px;
}

.comment-section {
    margin-top: 10px;
    justify-content: center;
    text-align: center;
}

.comment-section input {
    padding: 8px;
    border: 1px solid #ccc;
    border-radius: 5px;
    flex-grow: 1;
    margin-bottom: 10px;
}

.comment-section button {
    padding: 8px 12px;
    background-color: #28666e;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.comment-section button:hover {
    background-color: #2a9d8f; /* Color más claro al pasar el mouse */
}

#commentsList {
    margin-top: 10px;
    max-height: 200px;
    overflow-y: auto;
}
