@font-face {
  font-family: 'Neue';
  src: url('/assets/fonts/NeueHaasDisplayThin.ttf') format('truetype');
  font-weight: 100;
}

@font-face {
  font-family: 'Neue';
  src: url('/assets/fonts/NeueHaasDisplayLight.ttf') format('truetype');
  font-weight: 300;
}

@font-face {
  font-family: 'Neue';
  src: url('/assets/fonts/NeueHaasDisplayMediu.ttf') format('truetype');
  font-weight: 500;
}

@font-face {
  font-family: 'Neue';
  src: url('/assets/fonts/NeueHaasDisplayBold.ttf') format('truetype');
  font-weight: 700;
}

@font-face {
  font-family: 'Neue';
  src: url('/assets/fonts/NeueHaasDisplayBlack.ttf') format('truetype');
  font-weight: 900;
}

:root {
  font-family: 'Neue', sans-serif;
  color-scheme: light dark;
  color: rgba(255, 255, 255, 0.87);
  background-color: #000;

  --explore-scale: 1;
  --underline-width: 100%;
  --explore-divider-height: 30px;
  letter-spacing: 1px;
}
/* ::-webkit-scrollbar{
  width: 0;
} */
::-webkit-scrollbar{
  width: 10px;
  position: absolute;
}
::-webkit-scrollbar-thumb{
  background-color: lightgray;
  border-radius: 10px;
}
* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
  font-weight: 100;
}


a, button{
  transition: all 0.3s;
}
a:hover, button:hover{
  transform: scale(1.1);
}

.smooth-wrapper {
  position: fixed;
  width: 100%;
  height: 100%;
  overflow: hidden;
  top: 0;
  left: 0;
}
/* Contenido interno que se desplazará suavemente */
.smooth-content {
  position: relative;
  width: 100%;
  min-height: 100vh; /* Asegura que cubra al menos la altura de la ventana */
}

#preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #000;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}
.catalog-item a{
  transition: all 0.3s;
}
.catalog-item a:hover{
  transform: scale(1);
}
input[type="radio"]+label{
  cursor: pointer;
}
.section {
  width: 100%;
  height: 100vh;
  position: relative;
  z-index: 2;
}

.btn-outline{
  background-color: transparent;
  border-radius: 5px;
  border: 1px solid rgba(255, 255, 255, 0.5);
  backdrop-filter: blur(8px);
  color: rgba(156, 163, 175, 1);
  padding: 5px 20px;
  cursor: pointer;
  text-decoration: none;
}
.btn-outline-lg{
  padding: 10px 4rem;
  background-color: transparent;
  border-radius: 5px;
  border: 2px solid rgba(255, 255, 255, 0.50);
  backdrop-filter: blur(8px);
  color: rgba(156, 163, 175, 1);
  cursor: pointer;
}
/**Smoothing the scroll**/
.no-scroll{
  overflow: hidden;
}
.preloader{
  position: relative;
}

.preloader img{
  filter: contrast(50%);

}
.text-gradient {
  background: linear-gradient(rgb(255, 255, 255) 43.5%, rgba(153, 153, 153, 0) 100%) text;
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
}
.sponsor-m{
  width: max-content;
}
.sponsors-marquee{
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  margin: auto;
  height: fit-content;
}

.sponsors-marquee .swiper-slide{
  width: max-content;
}
.marquee{
  display: flex;
  opacity: 0.25;
  gap: 20px;
}
.marquee-c{
  display: none;
}
.catalog-title, .articles-title{
  display: flex;
  justify-content: space-between;
  padding: 3% 3% 66px 3%;
}
.link-container{
  display: flex;
  justify-content: center;
  align-items: flex-end;
}
.catalog h2, .articles h2{
  font-size: 4rem;
  font-weight: 500;
  color: #fff;
  text-transform: uppercase;
  line-height: 90%;
}
.link-container{
  display: flex;
  gap: 20px;
}
.link-container a{
  text-decoration: none;
  color: #fff;
  font-weight: 100;
  display: flex;
  align-items: end;
  gap: 8px;
  justify-content: center;
}
.link-container .link-text{
  position: relative;
  &::after{
    content: '';
    position: absolute;
    bottom: -3px;
    left: 0;
    width: var(--underline-width);
    height: 1px;
    background-color: rgba(255, 255, 255, 1);
  }
}
.link-arrow{
  width: 1rem;
  background-color: #EE161F;
  padding: 10px;
  width: 2rem;
  height: 2rem;
  border-radius: 100%;
  overflow: hidden;
  display: flex;
  justify-content: center;
  transition: all 0.3s;
}

.article-item-top .link-arrow, .card-item-top .link-arrow{
  position: absolute;
  top: 3%;
  right: 3%;
  width: 3.5rem;
  height: 3.5rem;
  padding: 1.2rem;
}

.catalog-item, .article-item, .card-item{
  padding: 2rem;
  border-radius: 11.898px;
  border: 1.19px solid rgba(255, 255, 255, 0.07);
  background: rgba(0, 0, 0, 0.10);
  box-shadow: 
  0px calc(clamp(1px, 59.491vw / 32.2, 59.491px)) calc(clamp(1px, 118.982vw / 16.1, 118.982px)) 0px rgba(255, 255, 255, 0.15) inset, 
  0px calc(clamp(1px, 5.949vw / 32.2, 5.949px)) calc(clamp(1px, 11.898vw / 16.1, 11.898px)) 0px rgba(0, 0, 0, 0.05), 
  0px calc(clamp(1px, 17.847vw / 32.2, 17.847px)) calc(clamp(1px, 35.695vw / 16.1, 35.695px)) 0px rgba(0, 0, 0, 0.05), 
  0px calc(clamp(1px, 35.695vw / 32.2, 35.695px)) calc(clamp(1px, 71.389vw / 16.1, 71.389px)) 0px rgba(0, 0, 0, 0.10);
}

.article-item img{
  width: 100%;
  height: 100%;
}
.catalog-item a{
  display: flex;
  flex-direction: column;
  gap: 1rem;
  text-decoration: none;
}
.catalog-item-top{
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  margin-bottom: 3%;
}
.catalog-item-top h5{
  font-size: 1rem;
  margin-top: -.3rem;
}
.catalog-item a{
  text-decoration: none;
  color: #fff;
}
.catalog-item-top .link-arrow{
  width: 3rem;
  height: 3rem;
  padding: 1rem;
}

.link-arrow:hover{
  scale: 1.1 !important;
}
.catalog-item-bottom img{
  width: 100%;
  height: 283px;
  border-radius: 11.898px;
}

.articles a, .card-item a{
  text-decoration: none;
  color: #fff;
}
.card-item h5{
  font-size: 1.2rem;
  font-weight: 300;
  color: #fff;
  margin-bottom: 2%;
  margin-top: 5%;
}
.card-item p{
  font-weight: 100;
  color: #fff;
  opacity: 0.75;
}
.articles-carousel{
  display: flex;
  gap: 20px;
  justify-content: space-between;
  align-items: center;
  padding-inline: 3%;
}

#calculator-modal{
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100dvh;
  padding-right: 2.5%;
  background: rgba(0, 0, 0, 0.8);
  z-index: 100;
  display: flex;
  justify-content: right;
  align-items: center;
  display: none;
}
#calculator-modal .modal-content{
  display: flex;
  gap: 20px;
  height: 70%;
}
#calculator-modal .modal-content .results{
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: center;
  justify-content: space-between;
}
#calculator-modal .modal-content .results, .form-calculator{
  border-radius: 11.898px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(0, 0, 0, 0.10);
  box-shadow: 0px 59.491px 118.982px 0px rgba(255, 255, 255, 0.15) inset, 0px 5.949px 11.898px 0px rgba(0, 0, 0, 0.05), 0px 17.847px 35.695px 0px rgba(0, 0, 0, 0.05), 0px 35.695px 71.389px 0px rgba(0, 0, 0, 0.10);
  backdrop-filter: blur(10px);
  height: 100%;
  padding: 5% 1%;
}
.form-calculator{
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-evenly;
  padding: 5%;
}


#calculator-modal .modal-content .results h3{
  font-weight: 300;
  color: #fff;
}
#calculator-modal .modal-content .result{
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: center;
  justify-content: center;
}
#calculator-modal .modal-content .result .result-box{
  padding: 10px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.10);
  background: linear-gradient(0deg, rgba(255, 255, 255, 0.10) 0%, rgba(255, 255, 255, 0.05) 88.89%);
  box-shadow: 0px 1px 0px 0px rgba(0, 0, 0, 0.05), 0px 4px 4px 0px rgba(0, 0, 0, 0.05), 0px 10px 10px 0px rgba(0, 0, 0, 0.10);
  backdrop-filter: blur(10px);
}
#calculator-modal .modal-content .results h4{
  font-weight: 400;
  text-align: center;
  color: #fff;
}

.flex{
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}
.form-group{
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 20px;
}
.form-group label{
  font-weight: 300;
  color: #fff;
}
.form-group input, .form-group select{
  padding: 10px;
  outline: none;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.10);
  background: linear-gradient(0deg, rgba(255, 255, 255, 0.10) 0%, rgba(255, 255, 255, 0.05) 88.89%);
  box-shadow: 0px 1px 0px 0px rgba(0, 0, 0, 0.05), 
              0px 4px 4px 0px rgba(0, 0, 0, 0.05), 
              0px 10px 10px 0px rgba(0, 0, 0, 0.10);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  color: white;
}
.form-group option{
  
  background: darkgray;
}
.back-calculator-btn button, .check-result{
  display: none;
}

.modal-content .btn-container{
  display: grid;
  place-items: center;
  gap: 20px;
}
button{
  cursor: pointer;
}
.header-right .open-modal{
  text-decoration: none;
  color: rgba(255, 255, 255, 0.50);
  font-size: 1rem;
  font-weight: 100;
  background-color: transparent;
  border: none;
  margin-right: 15px;
}
#close-btn{
  position: absolute;
  color: #F00;
  font-family: "Neue";
  font-size: 35px;
  font-style: normal;
  font-weight: 600;
  line-height: 150%; /* 52.5px */
  z-index: 1;
  top: 15%;
  right: 5%;
  cursor: pointer;
}

#preloader .background-video{
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;
  opacity: 0.5;
}
#preloader img{
  display: none;
}

.modal-overlay{
  width: 100%;
  height: 100vh;
  position: fixed;
  top: 0;
  left: 0;
  background: transparent;
  z-index: 0;
}

.loader-container {
  display: flex;
  justify-content: center;
  align-items: center;
} 
.loader {
  width: 20px;
  aspect-ratio: 1;
  border-radius: 50%;
  border: 4px solid;
  border-color: gray #0000;
  animation: l1 1s infinite;
  display: none;
}
.action-button{
  display: flex;
  justify-content: center;
  margin-top: 2%;
}
.action-bar-mobile{
  display: none;
}
#catalog-nav-link{
  list-style: disc;
  list-style-position: inside;
}
#catalog-nav-link a{
  color: white;
}
.form-action .btn-outline{
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
}
.form-message{
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  margin-top: 20px;
}
.form-message .success{
  color: lawngreen;
}
.form-message .error{
  color: #EE161F;
}
.form-message .error, .form-message .success{
  font-weight: 500;
  display: none;
}
@keyframes l1 {to{transform: rotate(.5turn)}}

.line-item{
  position: relative;
}
.line-item .remove-btn{
  position: absolute;
  top: 0;
  right: 0;
  font-size: 20px;
  cursor: pointer;
  width: 20px;
}
.arrows_bv.arrow {
  border: solid grey;
  border-width: 0 3px 3px 0;
  display: inline-block;
  padding: 3px;
  pointer-events: none;
  position: absolute;
  top: -15%;
  bottom: 0;
  left: 0;
  right: 0;
  margin: auto;
  width: 2px;
  height: 2px;
  transform: rotate(45deg);
  -webkit-transform: rotate(45deg);
  transition: all 0.3s;
}
.arrow-select-container {
  position: absolute;
  right: 5%;
  border-radius: 25%;
  height: 24px;
  width: 24px;
  top: 0;
  bottom: 0;
  margin: auto;
  background: linear-gradient(0deg, rgba(255, 255, 255, 0.10) 0%, rgba(255, 255, 255, 0.05) 88.89%);
  box-shadow: 0px 0.794px 0px 0px rgba(0, 0, 0, 0.05), 0px 3.178px 3.178px 0px rgba(0, 0, 0, 0.05), 0px 7.944px 7.944px 0px rgba(0, 0, 0, 0.10);
  backdrop-filter: blur(7.944288730621338px);
  pointer-events: none;
}
@media (width <= 768px) {
  #calculator-modal{
    padding-right: 0;
  }
  #calculator-modal .modal-content{
    width: 100%;
    padding: 20px;
  }
  .add-btn-container button{
    padding: 15px 19px !important;
    font-size: 16px !important;
    margin-bottom: 10px;
  }
  #calculator-modal .modal-content .results{
    position: absolute;
    height: 65vh;
    z-index: 1;
    left: 0;
    right: 0;
    margin: 0 auto;
    width: 90%;
    display: none;
  }
  .back-calculator-btn button, .check-result{
    color: #FFF;
    font-size: 16px;
    font-family: "Neue";
    font-style: normal;
    font-weight: 500;
    line-height: 150%; /* 18.78px */
    text-decoration-line: underline;
    text-decoration-style: solid;
    text-decoration-skip-ink: auto;
    text-decoration-thickness: auto;
    text-underline-offset: auto;
    text-underline-position: from-font;
    background-color: transparent;
    border: none;
    display: block;
  }
  #calculator .btn-outline{
    display: block;
  }
  .form-group input, .form-group select{
    font-size: 16px;
  }
}