@import url("https://fonts.googleapis.com/css2?family=Baloo+2:wght@400..800&family=Source+Sans+3:ital,wght@0,200..900;1,200..900&display=swap");

:root {
  --blue: #1c2541;
  --orange: #d15e14;
  --lightCream: #fdfaf6;
  --black: #313131;
  --white: #ffffff;
  --fontBody: "Source Sans 3", sans-serif;
  --fontHeadings: "Baloo 2", sans-serif;
  --shadow: 4px 20px 35px rgba(28, 37, 65, 0.1);
}

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

h1 {
  font-family: var(--fontHeadings);
  font-weight: 600;
  font-size: 47.78px;
  line-height: 1.15;
  letter-spacing: 0.01em;
  color: var(--blue);
}
h1.hero-h1 {
  font-family: var(--fontHeadings);
  font-weight: 700;
  font-size: 23.04px;
  line-height: 1.15;
  letter-spacing: 0.01em;
  color: var(--blue);
}

h2 {
  font-family: var(--fontHeadings);
  font-weight: 600;
  font-size: 39.81px;
  line-height: 1.15;
  letter-spacing: 0.01em;
  color: var(--blue);
}

h3 {
  font-family: var(--fontHeadings);
  font-weight: 600;
  font-size: 33.18px;
  line-height: 1.15;
  letter-spacing: 0.01em;
  color: var(--blue);
}

h4 {
  font-family: var(--fontHeadings);
  font-weight: 600;
  font-size: 27.65px;
  line-height: 1.15;
  letter-spacing: 0.01em;
  color: var(--blue);
}
h4.hero-h4 {
  font-family: var(--fontHeadings);
  font-weight: 300;
  font-size: 23.04px;
  line-height: 1.15;
  letter-spacing: 0.01em;
  color: var(--blue);
}

h5 {
  font-family: var(--fontHeadings);
  font-weight: 600;
  font-size: 23.04px;
  line-height: 1.15;
  letter-spacing: 0.01em;
  color: var(--blue);
}

h6 {
  font-family: var(--fontHeadings);
  font-weight: 600;
  font-size: 19.2px;
  line-height: 1.15;
  letter-spacing: 0.01em;
  color: var(--blue);
}

html,
body {
  overflow-x: hidden;
}

body {
  font-family: var(--fontBody);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.25;
  letter-spacing: 0.01em;
  color: var(--blue);
  background-color: var(--lightCream);
  overflow: hidden;
}

label {
  font-size: 16px;
  font-weight: 500;
  line-height: 1.25;
  letter-spacing: 0.01em;
}

img {
  max-width: 100%;
  height: auto;
  border-radius: 16px;
}

p {
  line-height: 1.5;
  margin: 0;
}

section {
  padding-top: 80px;
  padding-bottom: 80px;
}

section.first {
  padding-top: 160px;
}

section.contact-container {
  padding: 40px 0;
  background-color: var(--midnight);
}

ul {
  list-style: none;
  /* Color highlighting when pressed on mobile devices */
  /*-webkit-tap-highlight-color: transparent;*/
}

a {
  text-decoration: none;
}

ul {
  list-style: none;
  padding: 0;
}

#float-btn {
  text-decoration: none;
  color: var(--white);
  border: 1.5px solid var(--orange);
  padding: 12px 28px;
  border-radius: 50px;
  background: #d15e14;
  background: -webkit-linear-gradient(
    90deg,
    rgba(209, 94, 20, 1) 0%,
    rgba(191, 73, 0, 1) 100%
  );
  background: -moz-linear-gradient(
    90deg,
    rgba(209, 94, 20, 1) 0%,
    rgba(191, 73, 0, 1) 100%
  );
  background: linear-gradient(
    90deg,
    rgba(209, 94, 20, 1) 0%,
    rgba(191, 73, 0, 1) 100%
  );
  filter: progid:DXImageTransform.Microsoft.gradient(
  startColorstr="#D15E14",
  endColorstr="#BF4900",
  GradientType=1
);
  box-shadow: var(--shadow);
  transition: 0.3s all ease-in;
  display: inline-flex;
  gap: 10px;
  position: fixed;
  top: 50%;
  z-index: 99;
  right: 12px;
  top: 90%;
  transform: translate(0);
}
.text-bold {
  font-weight: 600;
}
.section-info {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  gap: 24px;
}

.titles-container {
  display: flex;
  flex-direction: column;
  gap: 12px;
  justify-content: center;
  align-items: flex-start;
  margin-bottom: 36px;
}

.btn-cine {
  text-decoration: none;
  color: var(--white);
  padding: 12px 28px;
  border-radius: 50px;
  background-color: var(--orange);
  transition: 0.3s all ease-in;
  display: inline-flex;
  gap: 10px;
}

.btn-cine-inverted:hover,
.btn-cine-inverted:hover,
.btn-cine-inverted:focus,
.btn-cine-inverted:focus-visible,
.btn-cine-inverted:focus-within {
  background: var(--white) !important;
  color: var(--orange);
}
.btn-cine-outline {
  text-decoration: none;
  color: var(--orange);
  border: 2px solid var(--orange);
  padding: 12px 28px;
  border-radius: 50px;
  background-color: transparent;
  transition: 0.3s all ease-in;
  display: inline-flex;
  gap: 10px;
}

.btn-cine-outline:hover,
.btn-cine-outline:hover,
.btn-cine-outline:focus,
.btn-cine-outline:focus-visible,
.btn-cine-outline:focus-within {
  background: var(--orange) !important;
  color: var(--white);
}
.btn-cine-inverted {
  text-decoration: none;
  color: var(--orange);
  padding: 12px 28px;
  border-radius: 50px;
  background-color: var(--white);
  transition: 0.3s all ease-in;
  display: inline-flex;
  gap: 10px;
}

.btn-cine-inverted:hover,
.btn-cine-inverted:hover,
.btn-cine-inverted:focus,
.btn-cine-inverted:focus-visible,
.btn-cine-inverted:focus-within {
  background: var(--orange) !important;
  color: var(--white);
}
.btn-cine-inverted-blue {
  text-decoration: none;
  color: var(--blue);
  padding: 12px 28px;
  border-radius: 50px;
  background-color: var(--white);
  transition: 0.3s all ease-in;
  display: inline-flex;
  gap: 10px;
}

.btn-cine-inverted-blue:hover,
.btn-cine-inverted-blue:hover,
.btn-cine-inverted-blue:focus,
.btn-cine-inverted-blue:focus-visible,
.btn-cine-inverted-blue:focus-within {
  background: #5c688f !important;
  color: var(--white);
}

.gap-12 {
  gap: 12px;
}

.mb-48 {
  margin-bottom: 48px;
}

.text-orange {
  color: var(--orange);
}

.orange-bg {
  background: var(--orange);
  padding: 80px 40px;
  border-radius: 24px;
}
.blue-bg {
  background: var(--blue);
  padding: 80px 40px;
  border-radius: 24px;
}

/* Navbar */
.navbar {
  background-color: transparent;
  /*  position: fixed; */
  width: 100%;
  text-align: center;
  z-index: 99;
  top: 0;
}

.navbar .toggler {
  display: flex;
  gap: 16px;
  align-items: center;
  color: var(--blue);
  font-weight: 500;
}

.nav-link {
  color: var(--blue);
  font-size: 16px;
  font-weight: 400;
  transition: all 0.5s ease-in-out;
  margin: auto;
}

.nav-link:hover,
.nav-link:focus,
.nav-link:focus-visible,
.nav-link:focus-within {
  color: var(--orange);
}

.nav-link.active {
  color: var(--white) !important;
}

.navbar-toggler {
  padding: 4px 8px;
  border: 1px solid var(--white);
  transition: 0.5s ease-in-out;
  border-radius: 6px;
}

.navbar-toggler svg {
  color: var(--white);
  transition: 0.5s ease-in-out;
}

.navbar-toggler:hover {
  background-color: var(--orange) !important;
  border: 1px solid var(--orange);
}

.navbar-toggler:hover svg {
  color: var(--white);
}

.navbar-toggler:focus {
  box-shadow: none;
}

.sticky {
  background: var(--white);
  transition: background 0.2s ease-in-out;
  top: 0;
  width: 100%;
  box-shadow: 0px -4px 20px rgba(30, 58, 95, 0.1);
}

.sticky .nav-link {
  color: var(--orange);
}

/* .sticky .navbar-toggler  */
.navbar-toggler {
  background: var(--blue) !important;
  border-color: var(--blue);
}

.logo-sticky {
  /* display: none; */
  display: block;
  width: 200px;
}
.logo-sticky-horizontal {
  /* display: none; */
  display: block;
  height: 80px;
}

/* 
.sticky .logo-sticky {
  display: block;
}

.sticky .logo-normal {
  display: none;
} */

/* Hero */

section .hero {
  padding: 80px;
  background-color: var(--blue);
  position: relative;
  overflow: hidden;
  border-radius: 60px;
}

#hero {
  position: relative;
}

#hero .btn-semblanza {
  position: absolute;
  right: 0;
  z-index: 3;
  top: 0;
}

#hero .btn-semblanza .semblanza-container {
  position: relative;
}

#hero .btn-semblanza .semblanza-container img {
  height: 180px;
  animation: spin 8s linear infinite;
}

#hero .btn-semblanza .semblanza-container i {
  font-size: 24px;
  color: var(--orange);
  position: absolute;
  z-index: 4;
  top: 50%;
  left: 50%;
  transform: translate(-60%, -50%);
}

.images-up-down-track {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  position: absolute;
  width: initial;
  animation: scroll-up 10s linear infinite;
}

.img-container {
  max-width: 100%;
  height: auto;
  padding: 8px;
  background-color: var(--white);
  border-radius: 24px;
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
}

.img-container .vertical-text {
  position: absolute;
  top: 0;
  right: 0;
  background: var(--blue);
  border-top-right-radius: 8px;
  border-bottom-right-radius: 8px;
  width: 45px;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}
.img-container .vertical-text p {
  color: rgb(255, 255, 255);
  font-size: 14px;
  font-weight: 600;
  transform: rotate(270deg);
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0px;
  width: 732%;
  height: auto;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
}

@keyframes scroll-up {
  0% {
    transform: translateY(0);
  }

  100% {
    transform: translateY(-55%);
  }
}

@keyframes scroll-side {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-33.33%);
  }
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

/* Cintillo */

.marquee-wrapper {
  margin: 35px 0;
  position: relative;
}

.marquee-wrapper .marquee-deco {
  width: 105%;
  height: 100%;
  background-color: var(--blue);
  position: absolute;
  top: 0;
  right: -10px;
  z-index: -1;
  transform: rotate(3deg);
}

.marquee-container {
  width: 100%;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.1);
  background: var(--orange);
  padding: 20px 0;
  position: relative;
}

.marquee-content {
  display: flex;
  animation: scroll 10s linear infinite;
  white-space: nowrap;
  width: 200%;
  gap: 14px;
}

/* .marquee-container::before{
    content: "";
    position: absolute;
    background-color: var(--blue);
    width: 100%;
    height: 100%;
    transform: rotate(45deg);
} */

.marquee-item {
  display: inline-flex;
  gap: 14px;
  align-items: center;
}

.marquee-item h6,
.marquee-item i {
  color: var(--white);
  margin: 0;
}

.icon {
  font-size: 2rem;
  margin: 0 30px;
  animation: pulse 2s ease-in-out infinite;
}

@keyframes scroll {
  0% {
    transform: translateX(0%);
  }

  100% {
    transform: translateX(-33.333%);
  }
}

@keyframes pulse {
  0%,
  100% {
    transform: scale(1);
    opacity: 0.8;
  }

  50% {
    transform: scale(1.2);
    opacity: 1;
  }
}

/* Responsive design */
@media (max-width: 768px) {
  .marquee-item {
    font-size: 1.8rem;
    margin-right: 30px;
  }

  .icon {
    font-size: 1.5rem;
    margin: 0 20px;
  }
}

/* Antecedentes */

.antecedentes-swiper,
.vinculaciones-swiper {
  display: flex;
  align-items: stretch;
}

.antecedentes-swiper .swiper-slide,
.vinculaciones-swiper .swiper-slide {
  display: flex;
  height: auto;
  /* importante para que no limite la altura */
}

.swiper-btn-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 12px;
}
.btn-wrapper {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

.swiper-btn-container .ant-btn,
.swiper-btn-container .vinc-btn {
  position: initial;
  background-color: var(--orange);
  height: 48px;
  width: 48px;
  border-radius: 50%;
}

.swiper-btn-container .swiper-button-next:after {
  font-family: "lucide" !important;
  content: "\e073";
  color: var(--white);
  font-size: 24px;
}

.swiper-btn-container .swiper-button-prev:after {
  font-family: "lucide" !important;
  content: "\e072";
  color: var(--white);
  font-size: 24px;
}

.antecedentes-item {
  display: flex;
  flex-direction: column;
  gap: 32px;
  height: 100%;
}

.antecedentes-item .antecedentes-card {
  color: var(--white);
  background-color: var(--blue);
  border-bottom: 8px solid var(--orange);
  border-radius: 22px;
  padding: 30px;
  height: 100%;
  box-shadow: var(--shadow);
}

.antecedentes-item .year-deco {
  position: relative;
  z-index: 1;
}

.antecedentes-item .year-deco::before {
  content: "";
  position: absolute;
  z-index: -1;
  right: 0;
  top: 50%;
  width: 80%;
  height: 2px;
  background-color: var(--blue);
}

.antecedentes-item .year-deco .year {
  color: var(--white);
  background-color: var(--orange);
  padding: 20px;
  height: 90px;
  width: 90px;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 50%;
}

.funny-wrapper .info-badge {
  background-color: var(--white);
  box-shadow: var(--shadow);
  border-radius: 50px;
  padding: 8px 14px 8px 8px;
  display: flex;
  width: fit-content;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
}

.funny-wrapper .info-badge .icon-wrapper {
  background-color: var(--orange);
  border-radius: 50%;
  width: 32px;
  height: 32px;
  padding: 8px;
  display: flex;
  justify-content: center;
  align-items: center;
  color: var(--white);
}

.funny-wrapper .img-container:last-child {
  position: absolute;
  z-index: 2;
  right: 0;
  top: -10%;
}
.funny-wrapper.two .img-container:last-child {
  position: absolute;
  z-index: 2;
  right: 0;
  top: initial;
  bottom: -10%;
}
/* Vinculaciones */

.vinculaciones-card {
  box-shadow: var(--shadow);
  background-color: var(--white);
  padding: 20px;
  height: 100%;
  border-radius: 24px;
}
.vinculaciones-card .vinculaciones-card-body {
  display: flex;
  flex-direction: column;
  gap: 8px;
  justify-content: flex-start;
  align-items: flex-start;
  margin-top: 16px;
}
.vinculaciones-card .vinculaciones-card-body .badge.orange {
  background-color: var(--orange);
  border-radius: 20px;
  padding: 5px 18px;
  color: var(--white);
  font-weight: 600;
  font-size: 14px;
}

/* Contacto */
.info-wrapper {
  display: flex;
  gap: 14px;
  align-items: center;
  margin-bottom: 12px;
}
.info-wrapper a {
  color: var(--blue);
}
.info-wrapper .info-icon {
  background-color: var(--orange);
  color: var(--white);
  border-radius: 50%;
  padding: 12px;
  height: 40px;
  width: 40px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.person span {
  color: var(--orange);
  font-weight: 500;
}

/* Footer */

footer {
  padding: 80px 0;
  background-color: var(--blue);
  color: var(--white);
}

footer .social-media .media-icons {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
footer .social-media .media-icons .social-icon {
  background-color: var(--white);
  color: var(--blue);
  padding: 10px;
  height: 40px;
  width: 40px;
  display: inline-flex;
  justify-content: center;
  border-radius: 50%;
}

footer ul {
  column-count: 2;
  column-gap: auto;
}
footer ul li {
  margin-bottom: 18px;
}

footer .copy {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  justify-content: space-between;
}

@media screen and (min-width: 1400px) {
  .images-up-down-track .img-container img {
    width: 205px;
    height: 100%;
  }
}

@media screen and (min-width: 1200px) and (max-width: 1400px) {
  .images-up-down-track .img-container img {
    width: 168px;
    height: 100%;
  }
}

@media screen and (max-width: 1200px) {
  .images-up-down-track .img-container img {
    width: 140px;
    height: 140px;
    max-width: 140px;
  }

  .navbar-expand-lg .navbar-toggler {
    display: block !important;
  }

  .navbar-collapse {
    position: fixed;
    top: 96px;
    padding: 15px;
    background: var(--white);
    width: 100%;
    -webkit-transform: translateY(0);
    transform: translateY(0);
    left: 50%;
    width: 90vw !important;
    margin-left: -45vw;
    max-height: calc(100vh - 160px);
    overflow-y: auto;
    box-shadow: 0 10px 8px rgba(150, 170, 180, 0.28);
    border-radius: 8px;
  }

  .navbar-expand-lg .navbar-nav {
    flex-direction: row;
    gap: 5px;
    margin: 0;
    justify-content: flex-end;
  }

  .navbar-collapse.collapsing {
    opacity: 0;
    width: 0 !important;
    margin-left: 0;
  }

  .navbar-collapse.show {
    opacity: 1;
    -webkit-transform: translateY(40px);
    transform: translateY(40px);
    background-color: var(--blue);
    left: 50%;
    width: 90vw !important;
    margin-left: -45vw;
    max-height: calc(100vh - 160px);
    overflow-y: auto;
    transition: opacity 0.3s ease-in;
  }

  .navbar-collapse.show .nav-link {
    color: var(--white);
    width: 100%;
    border-radius: 4px;
  }

  .navbar-collapse.show .nav-link:hover,
  .navbar-collapse.show .nav-link:focus,
  .navbar-collapse.show .nav-link:focus-visible,
  .navbar-collapse.show .nav-link:focus-within {
    background-color: var(--white);
    color: var(--blue);
  }
}

@media screen and (max-width: 535px) {
  .nav-pills .nav-link {
    min-width: 112px;
  }

  .nav-pills .nav-link p {
    font-size: 12px;
  }
}

@media screen and (max-width: 992px) {
  h1 {
    font-size: 34px;
    flex-shrink: 1;
    min-width: 0;
  }

  h2 {
    font-size: 30px;
  }

  h3 {
    font-size: 26px;
  }

  h4 {
    font-size: 23px;
  }

  h5 {
    font-size: 21px;
  }

  h6 {
    font-size: 17px;
  }

  section .hero {
    padding: 40px;
  }

  .images-up-down-track {
    flex-direction: row;
    flex-wrap: nowrap;
    width: 900%;
    animation: scroll-side 20s linear infinite;
  }

  .padding-mobile {
    padding-top: 200px;
  }

  .funny-wrapper .img-container:last-child {
    top: 0;
  }

  .funny-wrapper {
    margin-top: 72px;
  }

  .mt-48 {
    margin-top: 48px !important;
  }
}

@media screen and (max-width: 768px) {
  section .hero {
    border-radius: 24px;
  }

  #hero .btn-semblanza .semblanza-container img {
    height: 150px;
  }

  #hero .btn-semblanza .semblanza-container i {
    transform: translate(-45%, -45%);
  }

  .funny-wrapper .info-badge {
    margin: 0;
    position: absolute;
    bottom: 18px;
    left: 18px;
    z-index: 2;
  }
  .funny-wrapper.two .info-badge {
    margin: 0;
    position: absolute;
    top: 18px;
    left: 18px;
    bottom: initial;
    z-index: 2;
  }

  .funny-wrapper .img-container:last-child {
    top: -40px;
  }

  .images-up-down-track {
    width: 2100%;
  }
}

@media screen and (max-width: 425px) {
  .img-container .vertical-text p {
    transform: rotate(0deg);
    width: 100%;
    font-size: 11.5px;
  }

  .img-container .vertical-text {
    transform: rotate(0deg);
    width: 100%;
    height: auto;
    top: initial;
    right: 0;
    bottom: 0;
    padding: 10px;
    border-radius: 0 0 24px 24px;
  }
  .logo-sticky {
    width: 170px;
  }
}
