body {
  font-family: 'Poppins', sans-serif;
  color: #ffffff;
  background-color: #000000;
}

.layout_padding {
  padding: 75px 0;
}

.layout_padding-top {
  padding-top: 75px;
}

.layout_padding-bottom {
  padding-bottom: 75px;
}

/*Gate Main Page Glitch*/

.glitch-img {
  position: absolute;
  top: 10%;
  left: 50%;
  transform: translateX(-50%);
  width: 300px;
  animation: glitch 2s infinite;
  z-index: 2;
}

/*header section*/
.hero_area {
  height: 100vh;
  background-image: url(../images/HomeUTDID.png);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  image-rendering: pixelated;
  background-color: #000; /* rellena espacio restante con negro */
}

@media (max-width: 768px) {
  html, body {
    margin: 0 !important;
    padding: 0 !important;
    background-color: #000 !important;
    border: none !important;
    box-shadow: none !important;
    overflow-x: hidden;
  }

  .hero_area {
    background-size: cover !important;
    background-position: center center !important;
    background-repeat: no-repeat !important;
    background-color: #000 !important;
    image-rendering: -webkit-optimize-contrast; /* suaviza la imagen */
  }

  .container {
    padding: 0 !important;
    margin: 0 !important;
  }

  .carousel-item,
  .detail-box,
  .sliderUTDID_section {
    border: none !important;
    box-shadow: none !important;
  }
}

/*Logo UTDID Principal*/
.navbar-brand span {
  font-size: 24px;
  font-weight: 700;
  color: #ffffff;
  text-transform: uppercase;
}

/*Barra menu*/
.custom_nav-container.navbar-expand-lg .navbar-nav .nav-item .nav-link {
  padding: 10px 30px;
  color: #ffffff;
  text-align: center;
  text-transform: uppercase;
}

/* Slider Elemento Central UTDID */
.sliderUTDID_section {
  height: calc(100% - 80px);
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
}

.sliderUTDID_section .detail-box {
  color: #ffffff;
}

.sliderUTDID_section .detail-box h1 {
  text-transform: uppercase;
}

.sliderUTDID_section .detail-box h1 span {
  color: #00f7ff;
}

.sliderUTDID_section .detail-box p {
  margin-top: 1px;
  color: #b1fcff;
}

.sliderUTDID_section .detail-box .btn-box {
  margin-top: 1px;
}

.sliderUTDID_section .detail-box .btn-box a {
  display: inline-block;
  padding: 10px 45px;
  background-color: #00f7ff;
  color: #ff0000;
  -webkit-transition: all 0.3s;
  transition: all 0.3s;
  border: 1px solid transparent;
  border-radius: 5px;
}

.sliderUTDID_section .detail-box .btn-box a:hover {
  background-color: transparent;
  border-color: #00f7ff;
  color: #ffffff;
}

.sliderUTDID_section #carouselNumIndicators {
  width: 100%;
}

.sliderUTDID_section .carousel-indicators {
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  color: #00f7ff;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  left: initial;
  width: 25px;
  height: 200%;
  margin: 0;
  bottom: 50%;
  right: 45px;
  -webkit-transform: translateY(50%);
          transform: translateY(50%);
}

.sliderUTDID_section .carousel-indicators::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 1px;
  height: 55%;
  background-color: #ffffff;
  -webkit-transform: translate(-50%, -50%);
          transform: translate(-50%, -50%);
}

.sliderUTDID_section .carousel-indicators span {
  margin: 0 2px;
}

.sliderUTDID_section .carousel-indicators li {
  text-indent: unset;
  margin: 0;
  border: none;
  opacity: 1;
  background-color: transparent;
  width: auto;
  height: auto;
}

.sliderUTDID_sectionn .carousel-indicators li.active {
  color: #00f7ff;
}

.sliderUTDID_section .custom_carousel-control {
  position: absolute;
  top: 50%;
  left: 25px;
  width: 105px;
  -webkit-transform: translateY(-50%);
          transform: translateY(-50%);
}

/* End sliderUTDID section */

/* footer section*/
.footer_section {
  font-weight: 500;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  padding: 20px;
  background-color: #1d1d1d;
}

.footer_section p {
  color: #ffffff;
  margin: 0;
  text-align: center;
}

.footer_section a {
  color: #ffffff;
}

/* end footer section*/

/* ================= MOBILE ADAPTATION ================= */
@media (max-width: 768px) {
  body {
    font-size: 16px;
    padding: 0 10px;
  }

  @media (max-width: 768px) {
  .welcome-message {
    top: unset !important;
    bottom: 20px !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    right: unset !important;
    text-align: center;
  }
}


 /*  @media (max-width: 768px) {
  .welcome-message {
    top: 70px !important; /* antes estaba en 20px 
    right: 10px;
    font-size: 0.9rem;
    z-index: 9999;
  }
} 
*/


  .layout_padding, .layout_padding-top, .layout_padding-bottom {
    padding: 40px 0;
  }

  .glitch-img {
    width: 180px;
    top: 15%;
  }

  .hero_area {
    background-position: center center;
    background-size: cover;
  }

  .navbar-brand span {
    font-size: 20px;
  }

  .custom_nav-container .navbar-nav .nav-item .nav-link {
    padding: 8px 15px;
    font-size: 14px;
  }

  .sliderUTDID_section .detail-box h1 {
    font-size: 1.6rem;
    text-align: center;
  }

  .sliderUTDID_section .detail-box p {
    font-size: 0.9rem;
    text-align: center;
  }

  .sliderUTDID_section .detail-box .btn-box a {
    padding: 10px 20px;
    font-size: 0.9rem;
  }

  .sliderUTDID_section .carousel-indicators {
    display: none;
  }

  .footer_section {
    padding: 10px;
    font-size: 0.9rem;
  }

  .custom_carousel-control {
    display: none;
  }
}

/* Visualizacion Movil */
      @media (max-width: 480px) {
  #global-player-widget {
    width: 95vw !important;
    bottom: 10px;
    right: 10px;
    left: auto;
  
  }

  #lyrics-widget {
    width: 90vw;
    max-height: 60vh;
    top: 20px;
    left: 5vw;
  }
  }


/* === GLOBAL MOBILE ADAPTATION FOR ALL HTML FILES === */
@media (max-width: 768px) {

  html, body {
    overflow-x: hidden;
    font-size: 16px;
    padding: 0 10px;
  }

  header.header_section .navbar-nav {
    flex-direction: column;
    align-items: flex-start !important;
  }

  .navbar-toggler {
    margin-left: auto;
  }

  .navbar-brand {
    margin-right: auto !important;
  }

  .navbar-toggler-icon {
    color: #00f7ff;
  }

  .navbar-collapse {
    background-color: rgba(0,0,0,0.85);
    padding: 15px;
    border-radius: 10px;
  }

  .custom_nav-container .navbar-nav .nav-item .nav-link {
    font-size: 15px;
    padding: 10px 20px;
  }

  .carousel .carousel-item h1,
  .heading_container h1 {
    font-size: 1.8rem;
    text-align: center;
  }

  .carousel .carousel-item p,
  .rise_section p,
  .origins_section p {
    font-size: 1rem;
    text-align: center;
  }

@media (max-width: 768px) {
  .heading_container,
  .heading_container h1,
  .renorigin_box,
  .renorigin_box h3,
  .renorigin_box p {
    text-align: center !important;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
  }

  .renorigin_box {
    padding: 0 20px;
  }

  .renorigin_box h3 {
    font-size: 1.4rem;
    color: #00f7ff;
    margin-bottom: 10px;
  }

  .renorigin_box p {
    font-size: 1rem;
    color: #ffffff;
    line-height: 1.6;
  }
}

  .container, .rise_section, .origins_section {
    padding: 0 12px;
  }

  @media (max-width: 768px) {
  .heading_container h1 {
    text-align: center;
    font-size: 1.8rem;
  }

  .rise_section {
    text-align: center;
    padding: 0 12px;
  }

  .rise_section h4 {
    font-size: 1.5rem;
    color: #ff0000;
    margin-bottom: 10px;
  }

  .rise_section p {
    font-size: 1rem;
    line-height: 1.6;
    color: #ffffff;
  }
}

  .footer_section {
    padding: 10px;
    font-size: 0.9rem;
  }

  .origin_image {
    width: 100%;
    height: auto;
    aspect-ratio: auto;
  }

  .announcement-section, .statements_container, .statements_section {
    padding-left: 10px !important;
    padding-right: 10px !important;
  }

    /* Centrado para los statements */
  .statement-box {
    text-align: center !important;
    width: 100%;
    margin: 0 auto;
  }

  .statement-text h3,
  .statement-text p {
    text-align: center !important;
    margin: 0 auto;
  }

@media (max-width: 768px) {
  .character {
    flex-direction: column !important;
    align-items: center;
    text-align: center;
    gap: 20px;
  }

  .character-image {
    width: 100%;
    max-width: 320px;
  }

  .character-image img {
    width: 100%;
    height: auto;
    max-height: none;
    border-radius: 14px;
    box-shadow: 0 0 10px rgba(0, 247, 255, 0.3);
  }

  .character-description {
    text-align: center;
    padding: 0 16px;
  }

  .character-description h4 {
    font-size: 1.2rem;
    color: #00f7ff;
    margin-bottom: 8px;
    text-align: center;
  }

  .character-description p {
    font-size: 0.95rem;
    line-height: 1.6;
    text-align: center;
    color: #ffffff;
  }
}

  .track-card {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .track-info {
    text-align: center;
  }

  .statement-box {
    max-width: 100%;
    margin: 0 auto;
  }

  .statement-text p {
    font-size: 0.95rem;
  }

  .sliderUTDID_section .detail-box {
    text-align: center;
  }

  #lyrics-widget {
    width: 90vw !important;
    max-height: 60vh !important;
    top: 20px !important;
    left: 5vw !important;
  }

  #global-player-widget {
    width: 95vw !important;
    bottom: 10px !important;
    right: 10px !important;
    left: auto !important;
  }

  .announcement-section .container {
  text-align: center;
}

}

