@import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap');

html {
  position: relative;
}

body {
  background: linear-gradient(
  to bottom,
  #1a23e0 5vh,
  #ffffff 15vh,
  #ffffff 70vh,
  #ffffff 95vh,
  #1fff00 100vh
  );
  font-family: "Roboto", serif;
  font-weight: 300;
  font-style: normal;
  height: 100%;
  margin: 0;
  padding: 0;
  overflow-x: hidden;
  background-size: cover;
  height: 100vh;
}

.main-header {
  padding: 15px 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: sticky;
  top: 0;
  z-index: 1000;
}

.main-header .logo {
  display: flex;
  align-items: center;
  margin-right: auto;
}


.main-header .logo img {
  max-height: 100px;
}

.main-header .navigation {
  position: relative;
  left: -550px;
}

.main-header .nav-list {
  list-style: none;
  display: flex;
  gap: 30px;
  margin: 0;
  padding: 0;
}

.main-header .nav-list li {
  display: inline-block;
  position: relative;
}

.main-header .nav-list a {
  display: inline-block;
  text-decoration: none;
  padding: 10px 20px;
  color: #ffffff;
  font-size: 25px;
  font-weight: normal;
  transition: color 0.3s;
}

.main-header .nav-list a:hover {
  color: #00bcd4;
}

.dropdown-menu {
  background: #ffffff;
  display: none;
  position: absolute;
  top: 100%;
  left: 19px;
  min-width: 200px;
  padding: 0;
  margin: 0;
  border-radius: 5px;
  list-style: none;
  z-index: 1000;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.25);
}

.dropdown-menu::after {
  content: '';
  position: absolute;
  top: -20px; /* Ajusta para que la punta quede fuera del menú */
  left: 53px; /* Ajusta para centrar o mover la punta */
  border-width: 10px;
  border-style: solid;
  border-color: transparent transparent #ffffff transparent;
  z-index: 999;
}

.dropdown-menu li {
  margin: 0;
  padding: 5px 0;
  text-align: left;
}

.dropdown-menu li a {
  text-decoration: none;
  color: #353ef9 !important;
  font-weight: normal !important;
  transition: color 0.3s;
  font-size: 18px !important;
}

.dropdown-menu li a:hover {
  font-weight: bold !important;
  color: #0e1862 !important;
}

.nav-list .dropdown:hover > .dropdown-menu {
  display: block;
}

.btn-ingresar {
    float: right;
    background-color: #1a23e0;
    color: #ffffff;
    padding: 0.6rem;
    font-size: 20px;
    font-weight: bold;
    border-radius: 5px;
    border: solid 3px #ffffff;
    cursor: pointer;
}

.btn-ingresar:hover {
    background-color: #ffffff;
    color: #1a23e0;
    border: solid 3px #1a23e0;
    box-shadow: 0px 0px 15px 5px rgba(255, 255, 255, 0.5);
}

a, a:hover {
  text-decoration: none;
}

.icon {
  display: inline-block;
  width: 1em;
  height: 1em;
  stroke-width: 0;
  stroke: currentColor;
  fill: currentColor;
}

.item-bg {
  width: 300px;
  height: 500px;
  position: absolute;
  top: 30px;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 6px 26px 6px rgba(0,0,0,0.25);
  opacity: 0;
  transition: all .3s;
  left: -30px;
  left: 50%;
  transform: translateX(-50%);
  pointer-events: none;
}

.item-bg.active {
  background-color: #1a23e0;
  color: white;
  z-index: 0;
  left: 0;
  top: 0;
  opacity: 1;
}

.news-slider {
  z-index: 2;
  max-width: 550px;
  margin-left: auto;
  margin-right: auto;
  margin-top: 60px;
}

@media screen and (max-width: 1300px) {
  .news-slider {
    max-width: 1000px;
  }
}

@media screen and (max-width: 576px) {
  .news-slider {
    margin-top: 45px;
  }
}

.news-slider__wrp {
  display: flex;
  align-items: flex-start;
  position: relative;
  z-index: 2;
}

.news-slider__item {
  width: 400px;
  flex-shrink: 0;
}

@media screen and (max-width: 992px) {
  .news-slider__item {
    width: 340px;
  }
}

.news-slider__item.swiper-slide {
  opacity: 0;
  pointer-events: none;
  transition: all .3s;
}

.news-slider__item.swiper-slide-active,
.news-slider__item.swiper-slide-prev,
.news-slider__item.swiper-slide-next {
  opacity: 1;
  pointer-events: auto;
}

.news-slider__ctr {
  position: relative;
  z-index: 12;
}

.news-slider__arrow {
  background: #353ef9;
  border: none;
  display: inline-flex;
  width: 50px;
  height: 50px;
  justify-content: center;
  align-items: center;
  border-radius: 50%;
  position: absolute;
  top: 50%;
  z-index: 12;
  cursor: pointer;
  outline: none!important;
}

.icon-arrow-left {
  fill: white;
  width: 20px;
  height: 20px;
}

.icon-arrow-right {
  fill: white;
  width: 20px;
  height: 20px;
}

.news-slider__arrow:focus {
  outline: none!important;
}

.icon-font {
  display: inline-flex;
}

.news-slider-prev {
  left: 15px;
  transform: translateY(-50%);
}

.news-slider-next {
  right: 15px;
  transform: translateY(-50%);
}

.news-slider__pagination {
  text-align: center;
  margin-top: 50px;
}

.news-slider__pagination .swiper-pagination-bullet {
  width: 15px;
  height: 10px;
  display: inline-block;
  background: #9dc2ff;
  opacity: 1;
  margin: 0 5px;
  border-radius: 20px;
  transition: opacity .5s, background-color .5s, width .5s;
  transition-delay: .5s, .5s, 0s;
}

.news-slider__pagination .swiper-pagination-bullet-active {
  opacity: 1;
  background: #353ef9;
  width: 50px;
  transition-delay: 0s;
}

@media screen and (max-width: 576px) {
  .news-slider__pagination .swiper-pagination-bullet-active {
    width: 70px;
  }
}

.news__item {
    display: flex;
    justify-content: center;
    height: 430px;
    padding: 10px 20px;
    color: #000000;
    border-radius: 10px;
    display: block;
    transition: all .3s;
    z-index: 1;
}

@media screen and (min-width: 800px) {
  .news__item:hover {
    color: #ffffff;
    transition-delay: .1s;
    .news-date,.news__title,.news__txt {
      opacity: 1;
      transition-delay: .1s;
    }

    .news__img {
      box-shadow: none;
    }
  }
}

.news__item.active {
  z-index: 10;
  color: #ffffff;
}

.news__item.active .news__img {
  display: flex;
  box-shadow: none;
}

@media screen and (max-width: 992px) {
  .news__item {
    padding: 30px;
  }
}

@media screen and (max-width: 576px) {
  .news__item {
    padding: 20px;
  }
}


.news__title {
  font-size: 25px;
  font-weight: 500;
  opacity: .7;
  margin-top: 10px;
  margin-bottom: 15px;
  transition: opacity .3s;
}

@media screen and (max-width: 576px) {
  .news__title {
    font-size: 22px;
    margin-bottom: 10px;
  }
}

.news__txt {
  margin: 20px 0;
  line-height: 1.6em;
  font-size: 16px;
  opacity: .7;
  transition: opacity .3s;
}

.news__img {
  border-radius: 10px;
  box-shadow: 0 6px 26px 6px rgba(0,0,0,0.25);
  height: 260px;
  margin-top: 10px;
  width: 100%;
  transition: all .3s;
  transform-origin: 0% 0%;
}

@media screen and (max-width: 576px) {
  .news__img {
    height: 180px;
    margin-top: 20px;
  }
}

.news__img img {
  max-width: 100%;
  border-radius: 10px;
  height: 100%;
  width: 100%;
}

svg[hidden] {
    display: none; /* Asegura que el SVG no ocupe espacio */
}

.titulo-carrusel {
    display: flex;
    justify-content: center;
    padding: 20px 0;
    font-size: 26px;
}

.carousel-container {
    width: 50%; /* Ancho deseado */
    overflow: hidden; /* Ocultar el desbordamiento */
    position: relative; /* Necesario para posicionar el slide */
    height: 80px; /* Altura del carrusel */
    margin: 0 auto; /* Centrar horizontalmente */
    white-space: nowrap;
}

/* Animación CSS */
@keyframes slide {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(-100%);
    }
}

.carousel-slide {
    display: inline-block;
    gap: 25px; /* Espacio entre imágenes */
    animation: 50s slide infinite linear; /* Animación de desplazamiento */
}

.carousel-slide img {
    height: 60px; /* Altura de las imágenes */
    padding: 0 12.5px;
    width: auto; /* Mantener proporciones */
    object-fit: cover; /* Ajustar contenido dentro del contenedor */
}

.orica-logo {
    height: 70px;
    width: 150px;
}

.cfe-logo {
    height: 50px;
    width: 150px;
}

.field-logo {
    height: 70px;
    width: 170px;
}

.karcher-logo {
    height: 70px;
    width: 170px;
}

.coca-cola-logo {
    height: 70px;
    width: 170px;
}

.infac-logo {
    height: 60px;
    width: 170px;
}

.metelmex-logo {
    height: 60px;
    width: 170px;
}

.sesa-logo {
    height: 60px;
    width: 170px;
}

.mission-logo {
    height: 60px;
    width: 90px;
}
