* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

@font-face {
  font-family: "Ogilvy Sans Light";
  src: url(typografia/OgilvySansWeb-Light.woff2) format("woff2"),url(typografia/OgilvySansWeb-Light.woff) format("woff");
  font-weight: normal;
  font-style: normal;
  font-display: swap
}

@font-face {
  font-family: "Ogilvy Sans";
  src: url(typografia/OgilvySansWeb-Regular.woff2) format("woff2"),url(typografia/OgilvySansWeb-Regular.woff) format("woff");
  font-weight: normal;
  font-style: normal;
  font-display: swap
}

@font-face {
  font-family: "Ogilvy Sans";
  src: url(typografia/OgilvySansWeb-RegularItalic.woff2) format("woff2"),url(typografia/OgilvySansWeb-RegularItalic.woff) format("woff");
  font-weight: normal;
  font-style: italic;
  font-display: swap
}

@font-face {
  font-family: "Ogilvy Sans";
  src: url(typografia/OgilvySansWeb-Bold.woff2) format("woff2"),url(typografia/OgilvySansWeb-Bold.woff) format("woff");
  font-weight: bold;
  font-style: normal;
  font-display: swap
}

@font-face {
  font-family: "Ogilvy Serif";
  src: url(typografia/OgilvySerifWeb-Regular.woff2) format("woff2"),url(typografia/OgilvySerifWeb-Regular.woff) format("woff");
  font-weight: normal;
  font-style: normal;
  font-display: swap
}

@font-face {
  font-family: "Ogilvy Serif";
  src: url(typografia/OgilvySerifWeb-RegularItalic.woff2) format("woff2"),url(typografia/OgilvySerifWeb-RegularItalic.woff) format("woff");
  font-weight: normal;
  font-style: italic;
  font-display: swap
}

@font-face {
  font-family: "Ogilvy Serif";
  src: url(typografia/OgilvySerifWeb-Bold.woff2) format("woff2"),url(typografia/OgilvySerifWeb-Bold.woff) format("woff");
  font-weight: bold;
  font-style: normal;
  font-display: swap
}
body {
  margin: 0;
  padding: 0;
  font-family: "Ogilvy Sans",Georgia,Cambria,"Times New Roman",Times,serif;
}

body::-webkit-scrollbar {
  width: 0.3rem;
}

body::-webkit-scrollbar-thumb {
  /* background-color: black; */
  border-radius: 0.5rem;
}

html {
  scroll-behavior: smooth;
}


/*--------------------NavBar---------------------- */



/* Estilos base */
.main-nav {
  width: 100%;
  background-color: transparent;
  position: fixed;
  z-index: 50;
  top: 0px;
  left: 0;
}

.nav-content {
  width: 95%;
  margin: auto;
  display: flex;
  justify-content: space-around;
  align-items: center;
  height: 5rem;
}

#main-logo {
  margin-top: 0px;
  height: 50px;
  width: 115px;
  background-image: url(../Images/Ogilvy_Logo_Red.png);
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  display: block;
}

.nav {
  margin-top: 0px;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 50px;
}

.selected {
  font-weight: bold;
}

.nav a {
  text-decoration: none;
  color: white;
  margin: 0 40px;
  font-size: 16px;
}

.social i, .icon-box i { 
  color: white;
}

.social, .icon-box {
  cursor: pointer;
  border: none;
  border-radius: 0.4rem;
  font-size: 0.8rem;
}

.icon-box {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 25px;
  height: 0px;
  text-decoration: none;
  margin-top: 0px;
  color: white;
}

/* Estilos para tablet y móvil */
@media (max-width: 768px) {
  .nav-content {
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
  }

  .nav {
    width: 100%;
    display: flex;
    justify-content: space-around;
    align-items: center;
    position: fixed;
    bottom: 0;
    left: 0;
    background-color: #000; /* Ajusta según tu preferencia */
    height: 60px;
    padding: 0 10px; /* Asegura un poco de espacio a los lados */
    z-index: 100;
  }

  #main-logo-mobile {
    order: 3; /* Mantiene el logo en el centro */
    flex-grow: 0; /* Evita que el logo crezca */
    width: 50px; /* Ajusta al tamaño de tu logo */
    height: 50px; /* Ajusta al tamaño de tu logo */
    background-image: url('../Images/Ogilvy_Logo_Red.png'); /* Ajusta a tu imagen de logo */
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    margin: 0 20px; /* Añade un poco de margen alrededor del logo si es necesario */
  }

  .nav a {
    color: white; /* Asegura visibilidad */
    text-decoration: none;
    font-size: 16px; /* Tamaño de texto adecuado */
    flex-grow: 1;
    text-align: center; /* Alinea el texto de los enlaces */
  }

  /* Ajusta específicamente los enlaces a los lados del logo */
  .nav a:nth-child(-n+2), .nav a:nth-last-child(-n+2) {
    flex-basis: 20%; /* Ajusta según necesites el espacio */
  }


}

/* ####################### Modal ###################### */
.backdrop {
  position: fixed;
  display: none;
  top: 0;
  left: 0;
  z-index: 100;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.5);
}

.modal {
  position: fixed;
  z-index: 200;
  display: none;
  top: 12%;
  left: 25%;
  background: black;
  border-radius: 1rem;
  height: 80vh;
  width: 50vw;
  margin: auto;
  overflow: hidden;
  -webkit-border-radius: 1rem;
  -moz-border-radius: 1rem;
  -ms-border-radius: 1rem;
  -o-border-radius: 1rem;
}

.closeBtn {
  position: absolute;
  top: 1.5rem;
  left: 1.5rem;
}

.closeBtn button {
  cursor: pointer;
  height: 18px;
  width: 18px;
  border: none;
  filter: invert(100%) contrast(50%);
  background: url("");
}

.modal-pages {
  height: 100%;
}

.modal-pages iframe {
  border: none;
}

/* ####################### Video Div ###################### */
.playback {
  height: 800px;
  margin: 0rem 0;
  position: relative;
  background: radial-gradient(
    ellipse farthest-corner at top right,
    transparent 50%,
    
  );
}

.playback video {
  object-fit: cover;
  position: absolute;
  z-index: -1;
}

.playback-content {
  width: 98%;
  height: 100%;
  margin: auto;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding-bottom: 0.2rem;
}

.playback-content_text {
  width: 35%;
  padding: 3rem 1.5rem;
  text-align: left;
  user-select: none;
}

.playback-heading {
  color: white;
  font-size: 1.8rem;
  margin: 0.5rem 0;
  font-weight: 700;
  word-wrap: break-word;
  user-select: none;
}

.playback-category,
.playback-info {
  color: rgba(255, 255, 255, 0.7);
  margin: 0.5rem 0;
  font-size: 1rem;
  font-weight: 500;
  user-select: none;
}

.playback-category {
  font-size: 0.9rem;
  user-select: none;
}

.mainDiv p {
  margin: 0.2rem 0;
  color: #f4f4ff;
  font-weight: 500;
}

#videoDiv .glider-next,
#videoDiv .glider-prev {
  top: 20%;
}

/* ####################### premio Info Container ###################### */
#sobre {
  width: 100%;
  margin-top: 4rem;
  background: black;
  display: flex;
  justify-content: center;
}

.sobre-info {
  width: 50%;
  margin-top: 4rem;
  margin-bottom: 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: white;
  word-break: break-word;
}

.info-logo {
  width: 65px;
  height: 65px;
}

.info-logo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.info-titulo {
  font-size: 2.7rem;
  font-weight: 700;
  margin: 1.3rem 0 0 0;
  user-select: none;
  color: #000;
}

.info-descrip {
  font-size: 1.25rem;
  font-weight: 500;
  margin: 1.3rem 0;
  padding: 0;
  user-select: none;
  color: #000;
}

.premios {
  margin: 0.8rem 0;
  display: grid;
  grid-template: auto / repeat(5, 1fr); /* Ajustado para ser más flexible */
  column-gap: 0.5rem;
  color: #000;
}

.premio img {
  width: 70%; /* Responsivo pero considera ajustar si es necesario */
  object-fit: cover;
}

.info-premios a:link, .info-premios a:visited {
  color: #409cff; /* O el color que prefieras para tus enlaces */
  text-decoration: none; /* Elimina el subrayado por defecto de los enlaces */
  /* Puedes añadir aquí más estilos según necesites */
}


@media (max-width: 768px) {
  .premios {
    grid-template-columns: repeat(3, 1fr); /* 3 columnas para tablets */
  }
  .premio img {
    width: 80%; /* Posiblemente más grande para mejor visualización */
  }
}

@media (max-width: 480px) {
  .premios {
    grid-template-columns: repeat(2, 1fr); /* 2 columnas para móviles */
  }
  .premio img {
    width: 90%; /* Ajustar para que sea más grande en móviles */
  }
}


@media (max-width: 768px) {
  .dev-info {
    font-size: 1.2rem; /* Ajuste para tablets */
  }
}

@media (max-width: 480px) {
  .dev-info {
    font-size: 1rem; /* Ajuste para móviles */
  }
}


.dev-info,
.dev-setup,
.dev-compt {
  margin: 0.2rem 0;
  color: #000;
  font-size: 30px;
  text-align: justify;
}

.compt-premios {
  margin: 1rem 0;
  display: grid;
  grid-template: auto / repeat(3, 1fr);
  column-gap: 4rem;
  color: #000;
}

.compt-premios img {
  width: 80%;
  object-fit: cover;
  color: #000;
}

.dev-list {
  list-style: none;
  padding: 0;
  margin: 0;
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.95rem;
  font-weight: 600;
  color: #000;
}

.avail {
  font-size: 0.7rem;
  user-select: none;
  color: #000;
}
/* ####################### Footer Area ###################### */
#footer {
  width: 100%;
}

.main-footer {
  width: 95%;
  margin: 2rem auto;
  display: flex;
  justify-content: space-between;
  color: white;
  font-size: 0.7rem;
}

.main-footer .copy {
  color: rgba(255, 255, 255, 0.6);
  user-select: none;
}

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

.footer-info_items {
  margin: 0.8rem 0.5rem 0.8rem 0;
  padding: 0 0.5rem 0 0;
  border-right: 1px solid rgba(255, 255, 255, 0.3);
}

#footer-support_info {
  border-right: none;
}


/* Estilos por defecto */
.playback-content_text h1 {
  font-size: 2.5rem; /* Tamaño más grande para pantallas grandes */
}

.playback-content_text p {
  font-size: 1rem; /* Tamaño predeterminado para pantallas grandes */
}

/* Para tablets */
@media (max-width: 768px) {
  .playback-content_text h1 {
    font-size: 2rem; /* Más pequeño para tablets */
  }

  .playback-content_text p {
    font-size: 0.9rem; /* Ajuste para tablets */
  }
}

/* Para móviles */
@media (max-width: 480px) {
  .playback-content_text h1 {
    font-size: 1.5rem; /* Más pequeño para móviles */
  }

  .playback-content_text p {
    font-size: 0.8rem; /* Ajuste para móviles */
  }
}


/* Ocultar los botones por defecto */
.glider-prev, .glider-next {
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.5s, visibility 0.5s;
}

/* Mostrar los botones al hacer hover sobre el contenedor */
.glider-contain:hover .glider-prev, 
.glider-contain:hover .glider-next {
  opacity: 1;
  visibility: visible;
}

/* WHATSSAP */

#whatsapp-chat-container {
  position: fixed;
  bottom: 20px;
  right: 20px; /* Cambiado de 'left' a 'right' */
  z-index: 1000; /* Asegura que el botón y la ventana de chat estén por encima de otros elementos */
}

#whatsapp-button {
  cursor: pointer;
  /* Estilos adicionales para el botón si es necesario */
}

#chat-box {
  background-color: white;
  border: 1px solid #ccc;
  padding: 10px;
  width: 300px;
  height: 400px;
  overflow-y: auto;
  display: none; /* Oculta la ventana de chat inicialmente */
  position: absolute;
  bottom: 60px; /* Ajusta según el tamaño de tu botón */
  right: 0; /* Asegura que la ventana de chat se alinee a la derecha del botón */
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}


/* BUTTONS */

.buttons {
  margin-top: 20px; /* Espacio entre la descripción y los botones */
}

.play, .info {
  padding: 10px 20px;
  margin: 5px;
  border: none;
  border-radius: 5px;
  font-size: 16px;
  cursor: pointer;
  transition: background-color 0.3s;
}

.play {
  background-color: #ff0000; /* Rojo, similar al botón de play de Netflix */
  color: #fff;
}

.play:hover {
  background-color: #cc0000;
}

.info {
  background-color: #333; /* Gris oscuro para el botón de información */
  color: #fff;
}

.info:hover {
  background-color: #222;
}