@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body{
  height: 100%;
  font-family: Arial, sans-serif;
  color: white;
  overflow-x: hidden;
}

header {
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem;
  background-color: transparent;
  position: absolute;
  width: 100%;
}


.tit {
  font-size: 30px;
  color: white;
}

/*icono menu*/
.nav-list {
  list-style-type: none;
  display: flex;
  gap: 1rem;
}

.nav-list li a {
  text-decoration: none;
  color: #ffffff;

}

.abrir-menu,
.cerrar-menu {
  display: none;
  cursor: pointer;
}

@media screen and (max-width: 650px) {
  .abrir-menu,
  .cerrar-menu {
      display: block;
      border: 0;
      font-size: 2.10rem;
      background-color: transparent;
      cursor: pointer;
  }

  .abrir-menu {
      color: #ffffff;
      
  }

  .cerrar-menu {
      color: #ffffff;
  }

  .nav {
    max-width: 250px;
    background-color: #040a0c;
    height: 100vh;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 1rem;
    position: absolute;
    top: 0;
    right: 0;
    opacity: 0;
    visibility: hidden;
    box-shadow: 0 0 0 100vmax rgba(17, 9, 9, 0.5);
}

  .nav.visible {
    opacity: 1;
    visibility: visible;
    
  }
  
  .nav-list {
      flex-direction: column;
      align-items: end;
      color: white;
  }

  .nav-list li a {
      color: #ecececec;
  }
}

.hero {
  height: 100vh;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  overflow: hidden;
}

.hero img {
  width: 100%;
  height:90%;
  object-fit: cover;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 0;
}

.hero::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to top, #000 30%, transparent);
  z-index: 1;
}

.contenido {
  position: relative;
  z-index: 2;
  padding: 1.2rem;
  border-radius: 8px;
  max-width: 80%;
  margin: 0 auto;
}

h2 {
  margin: 0;
  padding: 0;
  font-size: 3.5rem;
  font-weight: bold;
}

p {
  margin: 1rem 0;
  font-size: 1.1rem;
  padding: 1.2rem;
  text-align: center;
  width: 100%;
  box-sizing: border-box;
}

.btn {
  margin-top: 2rem;
  color: #fff;
  padding: 0.7em 1.7em;
  font-size: 18px;
  text-decoration: none;
  border-radius: 0.5em;
  background: #212121;
  border: 1px solid #212121;
  transition: all 0.3s;
}

.btn:active {
  color: #666;
  box-shadow: inset 4px 4px 12px #000, inset -4px -4px 12px #1f1f1f;
}

/*temas informacion*/
.Header{
  background-color: black;
  height: 100vh;
  margin-top: 3.1rem;
}
#Temas {
  display: none;
  text-align: center; /* Centra el contenido horizontalmente */
  margin: 0 auto; /* Centra el contenedor */
  width: 100%; /* Ajusta el ancho según sea necesario */
}

/* css slider */
.slider{
  height: 100vh;
  margin-top: -50px;
  position: relative;
}
.slider .list .item{
  position: absolute;
  inset: 0 0 0 0;
  overflow: hidden;
  opacity: 0;
  transition: .5s;
}
.slider .list .item img{
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.slider .list .item::after{
  content: '';
  width: 100%;
  height: 100%;
  position: absolute;
  left: 0;
  bottom: 0;
  background-image: linear-gradient(
      to top, #000 40%, transparent
  );
}
.slider .list .item .content{
  position: absolute;
  left: 10%;
  top: 20%;
  width: 500px;
  max-width: 80%;
  z-index: 1;
}
.slider .list .item .content p2{
  display: flex;
  align-items: center; 
  justify-content: flex-start; 
  text-align: left;
}
.slider .list .item .content p{
  display: flex;
  align-items: center; 
  justify-content: flex-start; 
  text-align: left;
}
.slider .list .item .content p:nth-child(1){
  text-transform: uppercase;
  letter-spacing: 10px;
}
.slider .list .item .content h2{
  font-size: 100px;
  display: flex;
  align-items: center;
  justify-content: flex-start; 
  
  margin: 0;
}
.slider .list .item.active{
  opacity: 1;
  z-index: 10;
}
@keyframes showContent {
  to{
      transform: translateY(0);
      filter: blur(0);
      opacity: 1;
  }
}
.slider .list .item.active p:nth-child(1),
.slider .list .item.active h2,
.slider .list .item.active p:nth-child(3){
  transform: translateY(30px);
  filter: blur(20px);
  opacity: 0;
  animation: showContent .5s .7s ease-in-out 1 forwards;
}
.slider .list .item.active h2{
  animation-delay: 1s;
}
.slider .list .item.active p:nth-child(3){
  animation-duration: 1.3s;
}

/* arrows*/
.arrows{
  position: absolute;
  top: 30%;
  right: 50px;
  z-index: 100;
}

.arrow-main {
  position: relative;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 5px;
  cursor: pointer;

  &.arrow-prev {
    transform: scaleX(-1);
  }

  .arrow-span {
    display: flex;
    position: absolute;
    width: 20px;
    height: 20px;
    z-index: 9;
    &::before,
    &::after {
      content: "";
      width: 10px;
      height: 2px;
      position: absolute;
      left: 50%;
      top: 50%;
      background: #fff;
      margin: -1px 0 0 -5px;
      transform-origin: 9px 50%;
    }
    &::before {
      transform: rotate(-40deg);
    }
    &::after {
      transform: rotate(40deg);
    }
  }
  &::before {
    content: "";
    position: absolute;
    top: -1px;
    left: -2px;
    width: inherit;
    height: inherit;
    border-radius: 50%;
    border: 2px solid #ffffff2f;
  }
  svg.arrow-svg {
    width: inherit;
    height: inherit;
    color: #fff;
    stroke-dashoffset: 126;
    stroke-dasharray: 126 126 0;
    transform: rotate(0);
  }

  &.animate {
    svg.arrow-svg {
      animation: strok 0.6s ease forwards 0.5s;
    }
    .arrow-span {
      animation: arrow 1.2s ease forwards;
      &::before {
        animation: arrowUp 1.2s ease forwards;
      }
      &::after {
        animation: arrowDown 1.2s ease forwards;
      }
    }
  }
}


@keyframes strok {
50% {
  transform: rotate(-180deg);
  stroke-dashoffset: 0;
}

50.1% {
  transform: rotate(-360deg);
  stroke-dashoffset: 0;
}

100% {
  transform: rotate(-180deg);
  stroke-dashoffset: 126;
}
}

@keyframes arrow {
0%,
100% {
  transform: translateX(0);
  opacity: 1;
}

23% {
  transform: translateX(17px);
  opacity: 1;
}

24%,
80% {
  transform: translateX(-22px);
  opacity: 0;
}

81% {
  opacity: 1;
  transform: translateX(-22px);
}
}

@keyframes arrowUp {
0%,
100% {
  transform: rotate(-40deg) scaleX(1);
}

20%,
80% {
  transform: rotate(0) scaleX(0.1);
}
}

@keyframes arrowDown {
0%,
100% {
  transform: rotate(40deg) scaleX(1);
}

20%,
80% {
  transform: rotate(0) scaleX(0.1);
}
}

.thumbnail{
  position: relative;
  bottom: 265px;
  z-index: 11;
  display: flex;
  gap: 10px;
  width: 100%;
  height: 250px;
  padding: 0 50px;
  box-sizing: border-box;
  overflow: auto;
  justify-content: center;
}
.thumbnail::-webkit-scrollbar{
  width: 0;
}
.thumbnail .item{
  width: 150px;
  height: 220px;
  filter: brightness(.5);
  transition: .5s;
  flex-shrink: 0;
  position: relative;
}
.thumbnail .item img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 10px;
}
.thumbnail .item.active{
  filter: brightness(1.5);
}
.thumbnail .item .content{
  position: absolute;
  inset: auto 10px 10px 10px;
}
@media screen and (max-width: 678px) {
  .thumbnail{
      justify-content: start;
  }
  .slider .list .item .content h2{
      font-size: 60px;
  }
  .arrows{
      top: 10%;
  }
}
/* fin */

/* css noticias */
.todo{
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  background: linear-gradient(#000000, #f0eeeea1);
}
  
.envoltura{
  max-width: 1100px;
  margin: 0 60px 35px;
  padding: 20px 10px;
  overflow: hidden;
}

.target-list  .target-item{
  list-style: none;
}


.target-list .target-item .card-link{
  user-select:none ;
  display: block;
  background: #ffffff;
  padding: 18px;
  border-radius: 12px;
  text-decoration: none;
  border: 2px solid transparent;
  box-shadow: 0 10px 10px rgb(0, 0, 0, 0.05);
  transition: 0.2s ease;
}

.target-list  .target-item .card-link:active{
  cursor: grabbing;
}

.target-list  .target-item .card-link:hover{
  border-color: #1b798a;
}


.target-list  .card-link .card-image {
  width: 100%;
  aspect-ratio:16 / 9; 
  object-fit: cover; 
  border-radius: 10px;
}

.target-list  .card-link .badge{
color: #054346;
padding: 8px;
font-size: 0.95rem;
font-weight: 500;
margin: 16px 0 18px;
background: #dde4ff;
width: fit-content;
border-radius: 50px;
}

.target-list .card-link .card-texto{
font-size: 1.19rem;
color: black;
}
.target-list  .card-link .button{
  height: 35px;
  width: 35px;
  color: #0a6783;
  border-radius: 50%;
  margin: 30px 0 5px;
  background: none;
  cursor: pointer;
  border: 2px solid #00434e;
  transform: rotate(-45deg);
}
.target-list  .card-link:hover .button{
color: #eceffe;
background: #054346;
}

/* botones redondo de abajo*/
.envoltura .swiper-pagination-bullet{
    height: 13px;
    width: 13px;
    opacity: 0.5;
    background: #054346;
}
.envoltura .swiper-pagination-bullet-active{
    opacity: 1;
}



.envoltura .swiper-slide-button{
    color: #004349;
    margin-top: -35px;
}


@media screen  and (max-width: 760px) {
    .envoltura  {
        margin: 0 10px 10px;
    }

        
    .envoltura  .swiper-slide-button{
    display: none;
    }
}

/* fin */


/*carruseles*/
.carousel {
 
  height: 100vh;
  width: 100%;
  overflow: hidden;
  position: relative;
  font-family: Poppins, sans-serif;
  font-size: 12px;
}

.carousel .listas .Tem {
  width: 100%;
  height: 100%;
  position: absolute;
}



.carousel .listas .Tem .conde {
  position: absolute;
  top: 20%;
  width: 1140px;
  max-width: 80%;
  left: 50%;
  transform: translateX(-50%);
  padding-right: 30%;
  box-sizing: border-box;
  color: #fff;
  text-shadow: 0 5px 10px #0004;
}

.author {
  font-weight: bold;
  letter-spacing: 10px;
}

.title, .topic {
  font-size: 4em;
  font-weight: bold;
  line-height: 1.3em;
}

.carousel .listas .Tem .topic {
  color: #f1683a;
}

.bbb .button-link {
  margin-top: 20PX;
  display: inline-block;
  color: #090909;
  padding: .5em;
  font-size: 17px;
  border-radius: 0.5em;
  background: #fff9f9;
  cursor: pointer;
  border: 1px solid #e8e8e8;
  text-decoration: none;
  transition: all 0.3s;
  box-shadow: 6px 6px 12px #f1683a, -6px -6px 12px #f1683a;
  text-align: center;
}


@media screen and (max-width: 678px) {
  .carousel .listas .Tem .conde {
      padding-right: 0;
  }
  .carousel .listas .Tem .conde .title {
      font-size: 25px;
  }
}