body {
  margin: 0;
  font-family: 'Poppins';
  overflow-x: hidden;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  padding: 0;
  margin: 0;
}

.background {
  position: absolute;
  min-width: 100vw;
  min-height: 90vh;
  background: radial-gradient(
      farthest-corner at 90% 90%,
      rgba(238, 0, 119, 0.233),
      transparent 60%
    ),
    radial-gradient(
      farthest-corner at 10% 10%,
      rgba(143, 111, 173, 0.534),
      transparent 60%
    ),
    radial-gradient(
      farthest-corner at 90% 10%,
      rgba(117, 50, 179, 0.411),
      transparent 40%
    ),
    radial-gradient(
      farthest-corner at 10% 90%,
      rgba(155, 80, 158, 0.274),
      transparent 40%
    );
  clip-path: polygon(0 0, 100% 0, 100% 100%, 23% 90%, 0 100%);
  z-index: -1;
  top: 0;
}

a {
  text-decoration: none;
  color: unset;
}

.textMenu {
  visibility: hidden;
  font-family: 'Poppins';
  font-weight: 800;
  color: #333;
}

.hiddenMenuText {
  font-family: 'Poppins';
  font-weight: 800;
  color: #333;
  transform: scale(0, 1);
  transition: transform 450ms ease-in-out 10ms;
  transform-origin: right;
}

/*.titles*/
h1,
h2,
h3 {
  font-family: 'Archivo';
  color: #222;
}

h1 {
  font-size: calc(2.5rem + 0.6vw);
}

h2 {
  font-size: calc(1.75rem + 0.6vw);
}

h3 {
  font-size: calc(1.25rem + 0.6vw);
}

@media (max-width: 576px) {
  h1 {
    font-size: calc(2rem + 0.6vw);
  }
}

.subtitle {
  color: #6b009d;
}

.relative {
  position: relative;
}

.divider-title {
  color: white;
  background-color: #6b009d;
  text-align: center;
  padding: 50px 16px;
  font-weight: 700;
  margin-bottom: 2rem;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  align-items: center;
  background-image: linear-gradient(to right, transparent 20%, var(--primary)),
    url(../assets/pattern.png);
  background-position: center left;
  background-size: 300px;
  background-repeat: no-repeat;
}

.reversed {
  background-image: linear-gradient(to left, transparent 20%, var(--primary)),
    url(../assets/pattern.png);
  background-position: center right;
}

.w-100vw {
  width: 100vw;
}

.divider-title > span {
  position: relative;
  z-index: 2;
  display: block;
  margin-right: 0.5rem;
  margin-bottom: 0.5rem;
  max-width: 90%;
}

.ornament {
  position: absolute;
  z-index: -1;
  top: 50%;
  transform: translateY(-50%);
  right: 0;
  width: 200px;
  height: 200px;
}

.on-left {
  right: auto;
  left: 0;
}

/* Artículos recomendados */
.articulos-recomendados h4 {
  color: #6b009d;
  text-align: center;
}

.card > img {
  width: 100%;
  height: 150px;
  object-fit: cover;
  object-position: center;
}

.card {
  width: 350px;
  margin: 1rem auto;
  border-radius: 8px;
  box-shadow: 0px 5px 20px #f1f1f181;
  overflow: hidden;
}
/* 
////////////////////////////////////////////////////////////////////////////////////   
/                           HEADER AND NAV                                        /
//////////////////////////////////////////////////////////////////////////////////
*/

header {
  background-color: white;
  height: 50px;
  justify-content: space-between;
  margin: auto;
  position: relative;
  z-index: 11; /* Superior al nav */
}

header > div {
  position: relative;
  display: flex;
  align-items: center;
  height: 100%;
  width: 90%;
  margin: auto;
}

.header-logo {
  position: relative;
  z-index: 10;
  transition: transform 450ms ease-in-out;
  width: 80px;
  object-fit: contain;
}

.headerContent {
  width: 92%;
}

.logo-brand {
  display: flex;
}

.nav {
  position: fixed;
  width: 100vw;
  height: 100vh;
  background-color: #fefefe;
  z-index: 10;
  transform: scale(0, 1);
  transition: transform 450ms ease-in-out 650ms;
  transform-origin: left;
  top: 0;
  padding: 4rem 0rem;
}

.bg-white {
  background: white;
}

.nav ul {
  margin-top: 1.75rem;
  overflow-y: scroll;
  max-height: 100%;
  scrollbar-width: none;
  padding-left: 5%;
}

.nav ul::-webkit-scrollbar {
  display: none;
}

.nav ul li {
  opacity: 0;
  transition: opacity 150ms;
  list-style: none;
  color: #333;
  text-transform: uppercase;
  font-weight: 800;
  cursor: pointer;
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
}

.nav ul li:hover {
  color: #111;
}

.nav ul li.selected {
  color: #ee0076;
  position: relative;
  padding-left: 15px;
}

.nav ul li.selected:before {
  content: '';
  position: absolute;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
  min-width: 5px;
  height: 5px;
  border-radius: 50%;
  background-color: #ee0076;
}

.menu {
  position: absolute;
  top: 500%;
  right: 500%;
}

.contentMenu {
  margin-right: 40px;
}

/*
**************************** 
ANIMACIONES 
****************************
 */

.nav-expanded {
  transform: scale(1, 1);
  transform-origin: left;
  transition: transform 450ms ease-in-out;
}

.nav-expanded ul li {
  opacity: 1;
  transition: opacity 250ms ease-in-out 450ms;
}

nav a {
  text-decoration: none;
}

nav a:visited {
  color: inherit;
}

.bars {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  right: 5px;
  z-index: 999;
  min-height: 20px;
  min-width: 18px;
  cursor: pointer;
  padding-inline: 1.75rem;
  padding-top: 2rem;
}

.bar {
  position: absolute;
  top: 45%;
  transition: all 100ms ease 200ms;
  border-radius: 20px;
}

.bar,
.bar::before,
.bar::after {
  min-width: 18px;
  min-height: 3px;
  background-color: rgba(0, 0, 0, 0.8);
  transition: all 100ms ease 200ms;
}

.bar::before,
.bar::after {
  content: '';
  position: absolute;
}

.bar::before {
  top: 7px;
}

.bar::after {
  bottom: 7px;
}

.bar-white,
.bar-white::before,
.bar-white::after {
  background-color: white;
}

/*
**********************
ANIMACIONES
**********************
*/
.bars {
  transition: all 150ms ease-in-out 250ms;
}

.menu:checked ~ label .bar {
  background-color: transparent;
  transition: all 150ms ease-in-out 250ms;
}

.menu:checked ~ label .bar::before,
.menu:checked ~ label .bar::after {
  transition: all 150ms ease-in-out 250ms;
  background-color: #ee0076;
}
.menu:checked ~ label .bar::before {
  transform: rotate(45deg);
  top: 0;
}

.menu:checked ~ label .bar::after {
  transform: rotate(135deg);
  bottom: 0;
}

/* 
**********************
HEADER MEDIAS
**********************
*/
@media (min-width: 620px) {
  .nav-waves {
    display: block;
    z-index: -1;
  }
}

@media (min-width: 992px) {
  header {
    height: 60px;
  }

  .header-logo {
    width: 100px;
  }

  .nav {
    padding: 4rem 0rem;
  }

  .nav ul li {
    padding-top: 1rem;
    padding-bottom: 1rem;
  }

  .bars {
    min-height: 23px;
    min-width: 25px;
  }

  .bar::before {
    top: 8px;
  }

  .bar::after {
    bottom: 8px;
  }

  .bar,
  .bar::before,
  .bar::after {
    min-width: 25px;
    min-height: 3px;
  }
}

@media (min-width: 1366px) {
  .header > div {
    max-width: 1200px;
    margin: auto;
  }

  .menu:checked ~ .bars {
    transform: translateX(150%) translateY(-50%);
  }
  .nav ul {
    padding-left: calc((100% - 1200px) / 2);
  }
}

@media (min-width: 1366px) and (min-height: 720px) {
  .nav ul li {
    font-size: 1.5rem;
  }
}

@media (min-width: 1900px) and (min-height: 950px) {
  .nav ul li {
    font-size: 2rem;
  }
}
/*************************HERO************************************************/
.hero {
  padding: 12% 5%;
  background-image: var(--bg-img);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  position: relative;
  z-index: 1;
}

.hero h1 {
  color: rgb(255, 255, 255);
  position: relative;
  z-index: 1;
}

.hero-overlay {
  background-image: linear-gradient(
    to right,
    rgba(0, 0, 0, 0.5),
    rgba(0, 0, 0, 0.3)
  );
  width: 100%;
  height: 100%;
  position: absolute;
  inset: 0;
  z-index: 1;
}

.hero-deco {
  position: relative;
  top: -25px;
}

.on-right {
  transform: rotate(180deg);
}

span.before {
  background-color: #21174a;
}

span.after {
  background-color: #fac70b;
  animation-name: slideAfter;
  animation-duration: 1s;
  animation-fill-mode: both;
  left: 0;
  animation-delay: 1s;
}

span.before,
span.after,
span.before::after,
span.after::after {
  width: 40px;
  height: 8px;
  border-radius: 8px;
  display: block;
  position: absolute;
  z-index: 1;
}

span.before::after {
  content: '';
  position: absolute;
  background-color: #127681;
  animation-name: slide;
  animation-duration: 1s;
  animation-fill-mode: both;
  animation-delay: 1s;
}

span.after::after {
  content: '';
  position: absolute;
  background-color: #df0e62;
  animation-name: slide;
  animation-duration: 1s;
  animation-fill-mode: both;
  animation-delay: 1s;
}

/*Estos son los de la izquierda*/

.hero-deco2 {
  position: relative;
  top: -25px;
}

span.before2 {
  background-color: #21174a;
}

span.after2 {
  background-color: #fac70b;
  animation-name: slideAfter;
  animation-duration: 1s;
  animation-fill-mode: both;
  left: 0;
  animation-delay: 1s;
}

span.before2,
span.after2,
span.before2::after,
span.after2::after {
  width: 40px;
  height: 8px;
  border-radius: 8px;
  display: block;
  position: absolute;
  z-index: 1;
}

span.before2::after {
  content: '';
  position: absolute;
  background-color: #127681;
  animation-name: slide;
  animation-duration: 1s;
  animation-fill-mode: both;
  animation-delay: 1s;
}

span.after2::after {
  content: '';
  position: absolute;
  background-color: #df0e62;
  animation-name: slide;
  animation-duration: 1s;
  animation-fill-mode: both;
  animation-delay: 1s;
}

@keyframes slide {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(70%);
  }
}

@keyframes slideAfter {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(140%);
  }
}

@media (min-width: 1366px) {
  .hero {
    padding: 8% calc((100% - 1200px) / 2);
  }
}

@media (min-width: 1366px) {
  span.before2,
  span.after2 {
    position: absolute;
    left: 710px;
  }
}

@media (max-width: 576px) {
  span.before2,
  span.after2 {
    position: absolute;
    left: 320px;
  }
}

@media (max-width: 992px) {
  span.before2,
  span.after2 {
    position: absolute;
    left: 490px;
  }
}

/*************************HOME***********************************************/

.full {
  height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  background-color: rgba(0, 0, 0, 0.9);
}

.fullPage {
  overflow-y: hidden;
  height: 100vh;
  margin-top: -50px;
}

.home-content > * {
  width: 90%;
}

.fullPage section:nth-child(even) .home-content {
  align-items: flex-end;
  text-align: right;
}

.video-container {
  overflow: hidden;
  position: absolute;
  width: 100vw;
  top: 0;
  z-index: -1;
}

.full-screen-video {
  width: 100vw;
  height: 100vh;
  object-fit: fill;
  position: absolute;
  top: 0;
}

@media (max-width: 850px) {
  .full-screen-video {
    width: 100vw;
    height: 100vh;
    object-fit: contain;
    position: absolute;
    top: 0;
  }
  .video-container {
    background-color: black;
  }
}

.background-overlay {
  position: absolute;
  width: 100vw;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.5);
  top: 40px;
  left: 0;
  z-index: 2;
}

.home-content {
  z-index: 3;
  color: white;
  width: 90%;
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 100%;
}

.index-title {
  font-size: 32px;
  margin-bottom: 1rem;
  color: white;
}

@media (min-width: 576px) {
  .home-content h1 {
    font-size: 3rem;
  }

  .index-title {
    font-size: 42px;
  }

  .home-content > * {
    width: 70%;
  }
}

@media (min-width: 992px) {
  .fullPage {
    margin-top: -80px;
  }
  .index-title {
    font-size: 56px;
  }
}

@media (min-width: 1366px) {
  .home-content {
    width: 1200px;
  }
}

/* Video controls */
[data-action] {
  border-radius: 50%;
  position: fixed;
  border: none;
  background-color: #00000033;
  transition: all ease 500ms;
  width: 50px;
  height: 50px;
  bottom: 5px;
  right: 5px;
  z-index: 100;
  background-position: center;
  background-repeat: no-repeat;
}

[data-action]:hover {
  background-color: #000000aa;
}

[data-action='togglePause'] {
  transform: translateX(-110%);
  background-image: url('../assets/VideoOn.svg');
}

[data-action='toggleSound'] {
  background-image: url('../assets/SoundOff.svg');
}

/* 
////////////////////////////////////////////////////////////////////////////////////   
/                           MAIN                                                  /
//////////////////////////////////////////////////////////////////////////////////
*/

p {
  font-family: 'Poppins';
  line-height: 1.8;
}

.description {
  margin: auto;
}

/* 
**************************************************************************************
*                        home office                                                 *
**************************************************************************************
*/
.home-office-hero {
  padding-top: 50px;
  padding-bottom: 50px;
}

@media (max-width: 992px) {
  .home-office-hero {
    padding: 0;
    overflow-x: hidden;
  }
}

.home-office-subtitle {
  margin-bottom: 5rem;
  margin-top: 5rem;
  color: #6b009d;
}

.floating-shape {
  position: absolute;
  animation-name: float;
  animation-iteration-count: infinite;
  animation-direction: alternate;
  width: 150px;
}

[data-cube] {
  top: 0%;
  left: 15%;
  opacity: 0.6;
  animation-duration: 6s;
}

[data-cone] {
  bottom: -5%;
  right: 0%;
  opacity: 0.2;
  animation-duration: 4s;
}

.home-office-content > *:not(h1) {
  margin-block: 1rem;
}

.home-office-content {
  z-index: 2;
}

.hero-container {
  padding-top: 5rem;
  padding-bottom: 5rem;
  width: 90%;
  margin: auto;
  position: relative;
}

.hero-container:first-child {
  padding-top: 2.5rem;
  padding-bottom: 2.5rem;
}

.env-sect-left > h3:only-child {
  margin-bottom: 3rem;
}

.hero-CTA {
  background: linear-gradient(
    270deg,
    rgba(184, 28, 150, 0.9) 6.67%,
    rgba(127, 20, 165, 0.9) 92.33%
  );
  padding: 1.125rem 2rem;
  padding-right: 2.75rem;
  display: block;
  width: fit-content;
  border-radius: 5px;
  margin-top: 4rem !important;
  position: relative;
  font-weight: 600;
}

.hero-CTA-solid {
  background-image: unset;
  background-color: #ee0076;
  color: white;
}

.CTA-ico {
  position: absolute;
  top: 50%;
  right: 0.85rem;
  transform: translateY(-50%);
}

.m-inline-auto {
  margin-inline: auto;
}

.top-img,
.bottom-img {
  max-width: 100%;
  display: block;
  margin-left: auto;
  margin-right: auto;
  border-radius: 8px;
}

.hero-footer {
  text-align: center;
  width: 90%;
  margin: auto;
}

.top,
.bottom {
  position: relative;
}

.deco-wrapper {
  position: relative;
}

.deco-wrapper .deco-img {
  position: absolute;
  bottom: -60px;
  right: -60px;
  z-index: -1;
  width: 150px;
  height: 150px;
  opacity: 0.9;
  display: block;
}

.deco-img.bottom {
  left: -60px;
}

@media (min-width: 650px) and (max-width: 991px) {
  .deco-wrapper .deco-img {
    bottom: -60px;
    right: 30px;
    z-index: -1;
    width: 150px;
    height: 150px;
  }

  .deco-img.bottom {
    left: 70px;
  }
}

@media (min-width: 576px) {
  .top-img,
  .bottom-img {
    max-width: 530px;
  }
  .hero-footer {
    width: auto;
  }
}

@media (min-width: 768px) {
  .bottom,
  .top {
    justify-content: space-between;
  }
}

@media (min-width: 992px) {
  .home-office-hero {
    margin-top: -80px;
    padding-top: 80px;
  }

  [data-cube] {
    top: 0;
    left: 15%;
  }

  [data-cone] {
    top: 95%;
    right: 10%;
  }

  .top,
  .bottom {
    display: flex;
    align-items: center;
  }

  .top-img,
  .bottom-img {
    margin: unset;
    max-width: 400px;
    object-fit: contain;
  }

  .home-office-content {
    width: 50%;
  }

  .flex-end {
    flex-direction: row-reverse;
    align-items: center;
  }

  .bottom .home-office-content {
    padding-left: 2rem;
  }
}

@media (min-width: 1366px) {
  .home-office-hero {
    margin-top: -80px;
    padding-top: 80px;
  }

  .hero-container {
    max-width: 1200px;
    margin-inline: auto;
    display: flex;
    align-items: center;
    padding-top: 5rem;
    padding-bottom: 5rem;
    margin-top: 4rem;
    margin-bottom: 4rem;
    position: relative;
  }

  .home-office-content > h2 {
    margin-block: 2rem;
    margin-bottom: 4rem;
  }

  .top-img,
  .bottom-img {
    max-width: unset;
    object-fit: cover;
    z-index: 0;
    filter: drop-shadow(4px 4px 10px rgba(0, 0, 0, 0.2));
  }

  .top-img {
    width: 60%;
    margin-left: auto;
  }

  .bottom-img {
    left: 0;
    width: 100%;
    /* transform: rotateY(180deg) translateY(15%); */
  }

  .glass-text {
    padding: 3rem;
    border-radius: 5px;
    background-color: rgba(131, 69, 181, 0.05);
    backdrop-filter: blur(5px);
  }

  .offset-glass {
    width: 220%;
    position: absolute;
    z-index: -1;
    padding-top: 8rem;
    padding-bottom: 8rem;
    transform: translate(-50%, -17.5%);
  }

  .offset-glass > p {
    width: 50%;
  }
}

/*Medidas medioambiental amigable*/
.align-self-center {
  align-self: center;
}

.span-pink {
  color: #ee0076;
}

.span-cyan {
  color: #00b6d2;
}

.measures {
  min-height: 100vh;
  margin-left: auto;
  margin-right: auto;
  padding-bottom: 5rem;
}
.measures h2 {
  margin-block: 2rem;
}
.measures p {
  margin-block: 1.5rem;
}
@media (min-width: 768px) and (orientation: portrait) {
  .measures {
    max-width: 700px;
    padding-inline: 0;
  }
}
@media (min-width: 992px) and (orientation: landscape) {
  .measures {
    max-width: 950px;
    padding-inline: 0;
  }
  .measures h3 {
    line-height: 1.5;
  }
}

@media (min-width: 1366px) and (orientation: landscape) {
  .measures {
    max-width: 1200px;
  }
}

/* 
//////////////////////////////////////////////////////////
/                       slide 2                          /
//////////////////////////////////////////////////////////
*/

.col {
  width: 100%;
  display: flex;
}

.environment-section {
  margin-bottom: 4rem;
}

.measures {
  width: 90%;
}

.measures.slide2 > div:last-child {
  text-align: center;
}

@media (min-width: 576px) {
  .environment-section {
    display: flex;
    flex-wrap: wrap;
  }

  .col {
    width: 50%;
  }
}

@media (min-width: 905px) {
  .col {
    width: 33.33333%;
  }
}

@media (min-width: 1366px) {
  .measures {
    width: auto;
  }
  .environment-section {
    margin-bottom: 8rem;
  }

  .col {
    width: 25%;
  }

  .env-sect-left,
  .env-sect-right {
    width: 50%;
  }
  .p-left {
    padding-left: 3.25rem;
  }

  .p-right {
    padding-right: 2.5rem;
  }

  .cards-flex {
    padding: 0;
  }
}

.environment-section p:first-child {
  margin-top: 0;
}

.cards-flex {
  display: flex;
  flex-wrap: wrap;
}

.env-sect-left p:nth-child(4),
.highlight {
  font-weight: 700;
  margin-block: 2rem;
}

.measure-card {
  width: 250px;
  background-color: var(--secondary-bg);
  border-radius: 20px;
  position: relative;
  padding: 5.5rem 1.5rem 1.5rem 1.5rem;
  margin-inline: auto;
  margin-bottom: 2rem;
  text-align: center;
  font-size: 1rem;
}

.measure-card > h3 {
  font-size: 1.25rem;
}

.card-ico {
  position: absolute;
  max-width: 40px;
  max-height: 40px;
  top: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
}

.measures-cards {
  margin-block: 2.5rem;
}

/* @media (min-width: 576px) {
    .measures-cards {
        display: flex;
        flex-wrap: wrap;
    }
    .col {
        width: 50%;
        margin-block: 2rem;
    }
} */

@media (min-width: 768px) {
  .measure-card {
    width: 260px;
  }
}

/* @media (min-width: 992px) {
   .col {
        width: 33.3333333%;
    }
    .measure-card {
        margin-inline: 0;
    }
} */

/* @media (min-width: 1366px) {
    .col {
        width: 25%;
    }
} */

/* 
/////////////////////////////////////////////
CAROUSEL
/////////////////////////////////////////////
*/

.carousel-container {
  position: relative;
  overflow: hidden;
  margin-inline: auto;
  display: none;
  height: 300px;
}

@media (min-width: 350px) {
  .carousel-container {
    display: block;
    margin-bottom: 5rem;
  }
}

@media (min-width: 576px) {
  .carousel-container {
    width: 500px;
    height: 400px;
  }
}

@media (min-width: 768px) {
  .carousel-container {
    width: 700px;
    height: 500px;
  }
}

@media (min-width: 992px) {
  .carousel-container {
    width: 100%;
    height: 700px;
  }
}

.carousel-slide {
  min-width: 100%;
  position: relative;
}

.carousel-slide > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.carousel-slide > h1 {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  color: white;
}

.btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  padding: 1rem;
  background-color: rgba(0, 0, 0, 0.164);
  color: white;
  border: none;
  font-size: 1.5rem;
}

.prev {
  left: 0;
}

.next {
  right: 0;
}

.carousel {
  display: flex;
  overflow: hidden;
  position: relative;
  height: 100%;
}

/* 
//////////////////////////////////////////////////////////////////////////////////////////
/                           ANUNCIANTES PUBLICITARIOS                                   /
///////////////////////////////////////////////////////////////////////////////////////
*/
.body-background-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  z-index: -1;
  opacity: 0.5;
}

.main-container {
  max-width: 1200px;
  margin: auto;
  padding: 2rem 2rem;
}

.anunciantes > .main-container {
  position: relative;
  padding: 30px 60px;
}

@media (max-width: 400px) {
  .anunciantes > .main-container {
    position: relative;
    padding: 30px 30px;
  }
  .mobile-hidden {
    display: none;
  }
}

.anunciantes {
  overflow-x: hidden;
}

.title-border {
  border-left: 5px solid #ee0076;
  padding-left: 15px;
  margin-block: 2.5rem;
}

.container-texts p {
  text-align: justify;
  padding: 0 0 20px;
}

.logo-container {
  margin-top: 1rem;
  margin-bottom: 1rem;
  height: 100px;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

@media (min-width: 992px) {
  .logo-container {
    margin-top: 2.5rem;
    margin-bottom: 2.5rem;
  }
}

.company-logo {
  width: 120px;
  opacity: 0.75;
  transition: all 300ms ease;
}

.logo-container:hover .company-logo {
  opacity: 1;
  transform: scale(1.05);
}

.clients-text p:not(:first-child) {
  margin-block: 1.25rem;
}

.clients-text {
  position: relative;
}

@media (min-width: 992px) {
  .main-container {
    width: 90%;
    padding-inline: 0;
  }
  .clients-text p {
    text-align: justify;
    padding: 20px 0px;
    max-width: 975px;
  }
}

.sponsors-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
}

@media (min-width: 576px) {
  .sponsors-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 768px) {
  .sponsors-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (min-width: 992px) {
  .sponsors-grid {
    grid-template-columns: repeat(5, 1fr);
  }
}

.anunciantes-decoration {
  position: absolute;
  top: 5%;
  transform: rotateZ(90deg);
  left: 120%;
  height: 200px;
  opacity: 0.5;
}

/* 
////////////////////////////////////////////////////////
                        FOOTER
////////////////////////////////////////////////////////                        
*/
#footer {
  overflow-x: hidden;
  max-width: 100vw;
  margin-top: 3rem;
  position: relative;
}

.footer-contact-ico {
  margin-right: 0.75rem;
  transform: translateY(20%);
}

.footer-lists {
  background-color: #eaeaea;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  padding: 2rem 1rem 2rem 1rem;
  row-gap: 2rem;
  max-width: 100%;
}

.footer-lists ul {
  list-style-type: none;
}

.footer-lists ul:first-of-type {
  flex-grow: 1;
  flex-basis: 100%;
}

.footer-lists li {
  font-size: 13px;
  padding-top: 1rem;
  transition: color 250ms ease;
}

.footer-lists li:hover {
  color: var(--primary);
}

.mof-shadow-logo-right {
  width: 30%;
  position: relative;
  left: 20px;
}

.mof-shadow-logo-left {
  display: none;
}

.mof-shadow-logo-left-small {
  display: none;
}

.mof-shadow-logo-right {
  display: none;
}

@media (max-width: 360px) {
  .mof-shadow-logo-left-small {
    width: 30%;
    position: absolute;
    left: 0;
    top: -5%;
  }

  .footer-lists {
    row-gap: 2.5rem;
  }

  .footer-lists ul:first-of-type {
    flex-basis: 1000%;
  }

  .footer-lists ul {
    width: 100%;
  }
}

@media (min-width: 576px) {
  .footer-lists ul:first-of-type {
    flex-basis: 50%;
  }

  .footer-lists ul:last-of-type {
    padding-right: 3rem;
  }
  .mof-shadow-logo-right {
    display: block;
  }
}

@media (min-width: 768px) {
  .footer-lists {
    padding-inline: 3rem;
  }

  .footer-lists ul:first-of-type {
    flex-basis: 60%;
  }

  .mof-shadow-logo-right {
    width: 40%;
  }

  .footer-lists ul:last-of-type {
    padding-right: 5rem;
  }

  .mof-shadow-logo-right {
    left: 60px;
    max-width: 240px;
  }
}

@media (min-width: 992px) {
  .mof-shadow-logo-right {
    display: none;
  }

  .mof-shadow-logo-left {
    display: block;
    width: 20%;
    position: relative;
    right: 55px;
  }

  .footer-lists ul:first-of-type {
    flex-basis: auto;
    flex-grow: 0;
  }

  .footer-lists li {
    font-size: 1rem;
  }

  .footer-lists ul:last-of-type {
    padding-right: 0;
  }

  .footer-lists ul {
    padding-right: 0.5rem;
  }
}

@media (min-width: 1366px) {
  .mof-shadow-logo-left {
    position: absolute;
    left: 0;
    width: 200px;
  }

  .footer-lists {
    justify-content: flex-end;
    column-gap: 5rem;
  }

  .footer-lists ul:last-of-type {
    padding-right: 5rem;
  }
}

/* social media footer */

.footer-social-media {
  background-color: #656565;
  display: flex;
  justify-content: space-between;
  padding: 1rem;
}

.social-media-icons {
  display: flex;
  align-items: center;
}

.social-media-ico-ig {
  width: 20px;
  height: auto;
}

.social-media-icons > :not(:last-child) {
  margin-right: 0.5rem;
}

.mediaoffice-footer {
  font-weight: 700;
  color: white;
  text-decoration: none;
}

@media (min-width: 576px) {
  .footer-social-media {
    padding-inline: 2rem;
  }
}

/* FINAL DE FOOTER */

@keyframes float {
  from {
    transform: translateY(0);
  }
  to {
    transform: translateY(-5%);
  }
}

.hide {
  opacity: 0;
}

.transition-opacity {
  transition: opacity 700ms ease-in-out;
}

/* Utilities */
:root {
  --shadow-sm: 0 4px 4px #55555519;
  --section-bg: #eaeaea;
  --primary: #6b009d;
  --secondary-bg: #fbf8ff;
}

.large-p-y {
  padding: 72px 0;
}

.md-p-y {
  padding: 2rem 0 !important;
}

.xl-p-y {
  padding: 144px 0;
}

.m-block-0 {
  margin-block: 0;
}

.text-white {
  color: white;
}

.text-center {
  text-align: center;
}

.mb-1 {
  margin-bottom: 1rem;
}

.mb-2 {
  margin-bottom: 2rem;
}
.mb-3 {
  margin-bottom: 3rem;
}

.bg-primary {
  background-color: var(--primary);
}

.bg-secondary {
  background-color: var(--secondary-bg);
}

.hidden {
  display: none;
}

.column {
  flex-direction: column;
}

.p-t-0 {
  padding-top: 0;
}

.divider-decoration {
  background-image: linear-gradient(to right, transparent 20%, var(--primary)),
    url(../assets/pattern.png);
  background-position: center left;
  background-size: 300px;
  background-repeat: no-repeat;
}

/* 
//////////////////////////////////////////////////////////////////////////////////////////
/                           Página de contacto                                          /
///////////////////////////////////////////////////////////////////////////////////////
*/
.contact-map {
  max-width: 100%;
  max-height: 310px;
  margin-inline: auto;
  display: block;
  margin-top: 4rem;
}
.contact {
  margin-top: 4rem;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.contact h3 {
  color: white;
  letter-spacing: 0.0325rem;
}

.contact-information {
  background-color: #6b009d;
  background-image: url('../assets/contact-deco.svg');
  padding-inline: 2rem;
  color: white;
  padding: 3rem 2rem;
  border-radius: 20px 20px 0 0;
  background-repeat: no-repeat;
  background-position: 115% 125%;
  align-self: stretch;
}

.work-cta {
  background-color: #6b009d;
  background-image: linear-gradient(to left, transparent 5%, var(--primary)),
    url(../assets/pattern.png);
  background-size: 300px;
  background-repeat: no-repeat;
  background-position: center right;
  padding: 3rem 5%;
  color: white;
  text-transform: uppercase;
  font-weight: 500;
  font-size: 14px;
  margin-bottom: 3rem;
  position: relative;
  overflow: hidden;
}

.work-cta p > span:nth-child(2) {
  color: #9af7fd;
}

.work-cta a > span:first-child {
  color: #ff87c2;
}

@media (min-width: 335px) {
  .work-cta {
    font-size: 18px;
  }

  .work-cta p:nth-child(2) {
    font-size: 20px;
  }

  .work-cta p > span:nth-child(2) {
    color: #9af7fd;
    font-size: 20px;
  }
}

.work-cta .cta-deco {
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  z-index: -1;
}

.send-ico {
  padding-left: 10px;
  display: inline-block;
}

.cta-deco img {
  width: 300px;
  height: 300px;
  position: relative;
  right: -10px;
}

.deco-overlay {
  background-image: linear-gradient(to left, transparent 60%, #6b009d);
  width: 100%;
  height: 100%;
  position: absolute;
  right: 0;
}

@media (min-width: 1366px) {
  .work-cta {
    padding: 3rem calc((100vw - 1200px) / 2);
  }
}

@media (min-width: 520px) {
  .contact-information {
    width: 450px;
    align-self: auto;
  }
}

.contact-info-block {
  margin-top: 1.75rem;
  margin-bottom: 1.75rem;
  font-weight: 700;
}

.contact-block-icon > img {
  width: 1.25rem;
  height: 1.25rem;
}

.contact-block-icon {
  width: 2.5rem;
  height: 2.5rem;
  display: grid;
  place-items: center;
  background-color: #7d0fb1;
  border-radius: 50%;
}

@media (min-width: 500px) {
  .contact-info-block {
    display: flex;
    align-items: center;
    gap: 1.5rem;
  }
}

@media (min-width: 992px) {
  .contact-information {
    display: flex;
    flex-direction: column;
    justify-content: center;
    border-radius: 20px 0 0 20px;
  }
}

@media (min-width: 1366px) {
  .contact-information {
    padding-left: 4rem;
    padding-right: 6rem;
  }
}

/******************* Form *********************/
.contact-form {
  padding-left: 2rem;
  padding-right: 2rem;
  width: 100%;
  background-color: white;
  padding-bottom: 1.5rem;
  box-shadow: 0 10px 15px #3333331c;
  border-radius: 0px 0px 20px 20px;
}

.contact-form label {
  transition: color 600ms ease;
}

@media (min-width: 520px) {
  .contact-form {
    width: 450px;
  }
}

.contact-form form > div,
#fieldset > div {
  display: flex;
  flex-direction: column;
  margin-bottom: 1.75rem;
  margin-top: 1.75rem;
}

form .fieldset {
  flex-direction: column-reverse !important;
}

.contact-form form input,
.contact-form form textarea {
  border: none;
  outline: none;
  font-size: 1.25rem;
  border-bottom: 1px solid #222;
  background-color: transparent;
  transition: border ease 300ms;
}

.contact-form form input:focus,
.contact-form form textarea:focus {
  border-bottom: 1px solid #6b009d;
}

.contact-form form input:focus ~ label,
.contact-form form textarea:focus ~ label {
  color: #6b009d;
  font-weight: 800;
}

[for='message'] {
  font-weight: 700;
}

[for] {
  margin-bottom: 0.75rem;
}

.contact-form form textarea {
  border-bottom: 1px solid #6b009d;
}

.submit-form {
  border-radius: 3px;
  padding-inline: 4rem;
  padding-block: 1rem;
  font-family: 'Poppins';
  font-weight: 700;
  color: white;
  border: none;
  background-color: #6b009d;
  transition: all 100ms ease;
}

@media (min-width: 768px) {
  .submit-form {
    font-size: 1.25rem;
  }
}

.submit-form:hover {
  background-color: #8411b9;
  outline: 3px solid #6b009d;
  transition: all 200ms ease;
}

@media (min-width: 992px) {
  .contact {
    flex-direction: row;
    min-width: 100%;
    margin-left: auto;
    margin-right: auto;
    align-items: stretch;
    justify-content: center;
  }

  .contact-form {
    width: auto;
    border-radius: 0px 20px 20px 0;
  }

  #fieldset {
    display: block;
  }
}

.contact-map {
  max-width: 400px;
  max-height: 310px;
}

@media (min-width: 992px) {
  #fieldset > div {
    width: 100%;
  }

  #fieldset > .name {
    margin-right: 10%;
  }
}

@media (min-width: 1366px) {
  .contact-map {
    width: 850px;
    max-width: 850px;
  }
}

/*************Planifica con nosotros****************/

.planning-container {
  margin-top: 8rem;
}

.planning-container h2 {
  margin-bottom: 2rem;
}

.planning-container p span:first-of-type {
  color: #ee0076;
}

.planning-container p span:last-of-type {
  color: blue;
}

/******************Mapa ******************/

@media (max-width: 567px) {
  .main-container > iframe {
    width: 100%;
    max-width: 100%;
  }
}

/*********** Organizaciones amigas ****************/

.organization-friends {
  text-align: center;
  max-width: 1200px;
  margin-inline: auto;
  margin-top: 10rem;
}

.organization-logos {
  display: flex;
  margin-inline: auto;
  width: fit-content;
  margin-top: 3rem;
  flex-wrap: wrap;
  justify-content: center;
}

.org-logo {
  object-fit: contain;
  max-width: 60px;
  margin-inline: 1rem;
}

.logo-col {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-block: 1rem;
  width: 50%;
}

@media (min-width: 600px) {
  .organization-logos {
    flex-wrap: nowrap;
  }
}

@media (min-width: 992px) {
  .org-logo {
    max-width: 100px;
    margin-inline: 3rem;
  }

  .logo-col {
    width: fit-content;
  }
}

/* 
/////////////////////////////////////////////////
                TECHNICAL OFFICE
/////////////////////////////////////////////////                
*/

/**********Hero*********************/
.technical-office-hero {
  margin-top: 3rem;
  margin-bottom: 5rem;
  position: relative;
}

.technical-office-hero > h1 {
  margin-bottom: 4rem;
}

.technical-office-hero > p {
  margin-block: 2rem;
}

.tech-off-decoration {
  position: absolute;
  right: 0;
  top: 0;
  width: 200px;
  display: none;
}

@media (min-width: 992px) {
  .technical-office-hero > *:not(img) {
    width: 60%;
  }

  .tech-off-decoration {
    display: block;
  }

  .textMenu {
    visibility: visible;
    font-family: 'Poppins';
    font-weight: 800;
    color: #333;
    text-transform: uppercase;
    transition: all 200ms ease-in 250ms;
  }
}

@media (min-width: 1272px) {
  .technical-office-hero > *:not(img) {
    width: 65%;
  }
}

/* Acordeons */

.acordeon-item:first-child {
  margin-top: 3rem;
}

.acordeon-header,
.acordeon-collapsable > div {
  padding: 1.5rem 2rem;
  cursor: pointer;
}

.acordeon-header {
  background-color: rgba(255, 239, 247, 0.8);
  width: 100%;
  text-align: left;
  border: none;
  position: relative;
  padding-right: 2.5rem;
}

.acordeon-header p {
  font-size: 1rem;
}

.acordeon-item:not(:last-child) .acordeon-header {
  border-bottom: 1px solid rgb(119, 27, 128);
}

.acordeon-collapsable {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.2s ease-out;
}

.acordeon-collapsable p {
  margin-block: 1rem;
}

.acordeon-header-arrow {
  position: absolute;
  top: 50%;
  right: 0;
  transform: translate(-50%, -50%);
  opacity: 0;
  transition: opacity 150ms ease-in;
}

.acordeon-header:hover .acordeon-header-arrow {
  opacity: 1;
}

/***********Contenedor de preguntas********************/

.questions-container {
  position: relative;
  margin-block: 8rem;
}

.questions-container > div {
  margin-top: 3rem;
}

.faq-decoration {
  position: absolute;
  top: 3rem;
  right: 105%;
}

.download-section {
  font-size: 20px;
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.download-link {
  font-weight: bold;
  color: #df0d62;
  margin-bottom: 20px;
  text-align: center;
  padding: 0 1rem;
}

@media (min-width: 992px) {
  .questions-container {
    display: flex;
    justify-content: space-between;
  }

  .questions-container > div {
    width: 40%;
    margin-top: 0;
  }

  .faq h3 {
    padding-bottom: 2rem;
  }
}
/************Instituciones publicitarias******************/
.institutions-container {
  margin: 50px auto;
  width: 90%;
}

.institutions-container img {
  max-width: 100%;
  max-height: 80px;
}

.institutions-container a {
  display: flex;
  justify-content: center;
}

/***************Portales de marketing*********************************/
#Portals {
  margin-top: 3rem;
  padding-inline: 0;
}

#Portals > h2 {
  margin-bottom: 3rem;
}

.portals-links > div {
  padding-right: 2rem;
}

.portal-link {
  display: block;
  margin-block: 1rem;
  text-align: center;
  background-color: #f7f7f7;
  padding-block: 0.925rem;
  padding-left: 0.5rem;
  border-radius: 30px;
  color: rgb(0, 0, 167);
  transition: transform 500ms ease;
}

.portal-link:hover {
  color: blue;
}

@media (min-width: 400px) {
  .portals-links > div {
    width: 50%;
  }
  .portals-links {
    display: flex;
    flex-wrap: wrap;
    flex-direction: column;
    max-height: 40rem;
  }

  .portal-link {
    font-size: 0.925rem;
  }
}

@media (min-width: 768px) {
  .portals-links {
    max-height: 25rem;
  }
  #Portals {
    padding-inline: 2rem;
  }
}

@media (min-width: 992px) {
  .portals-links {
    max-height: 20rem;
  }

  .portal-link:hover {
    transform: scale(1.15);
  }
}

@media (min-width: 1366px) {
  .portals-links > div {
    width: 25%;
  }
}

/**********************AutoCarousel************************************/
.move-to-left {
  transform: translateX(-300px);
}

.add-transition {
  transition: transform 300ms ease-in;
}

.opacity-0 {
  opacity: 0;
}

/**********************FIX FOR SAFARI************************************/
video::-webkit-media-controls {
  z-index: 999999 !important;
}

/********************** TOAST ************************************/
#toast {
  visibility: hidden;
  background-color: #333;
  color: #fff;
  text-align: center;
  border-radius: 2px;
  padding: 16px;
  position: fixed;
  z-index: 1;
  left: 50%;
  bottom: 10px;
  font-size: 17px;
  transform: translateX(-50%);
}

#toast.show {
  visibility: visible;
  -webkit-animation: fadein 0.5s, fadeout 0.5s 2.5s;
  animation: fadein 0.5s, fadeout 0.5s 2.5s;
}

@-webkit-keyframes fadein {
  from {
    bottom: 0;
    opacity: 0;
  }
  to {
    bottom: 30px;
    opacity: 1;
  }
}

@keyframes fadein {
  from {
    bottom: 0;
    opacity: 0;
  }
  to {
    bottom: 30px;
    opacity: 1;
  }
}

@-webkit-keyframes fadeout {
  from {
    bottom: 30px;
    opacity: 1;
  }
  to {
    bottom: 0;
    opacity: 0;
  }
}

@keyframes fadeout {
  from {
    bottom: 30px;
    opacity: 1;
  }
  to {
    bottom: 0;
    opacity: 0;
  }
}

.buttonScrollTop {
  display: none;
  position: fixed;
  bottom: 50px;
  right: 30px;
  z-index: 99;
  font-size: 18px;
  border: none;
  outline: none;
  background-color: #ee0076;
  color: white;
  cursor: pointer;
  padding: 10px 15px;
  border-radius: 100%;
}

/* Modal container */
.modal {
  display: none; 
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8); 
  z-index: 1000; 
  display: flex; 
  align-items: center; 
  justify-content: center; 

/* Modal content wrapper */
.modal-content {
  position: relative;
  background-color: #000; 
  padding: 0;
  border-radius: 8px;
  overflow: hidden;
  max-width: 90%;
  max-height: 80%;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5); 
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Video styles */
.modal-content video {
  width: 100%;
  height: auto;
  max-height: 80vh; 
  display: block;
}

/* Close button */
.close-btn {
  position: absolute;
  top: 10px;
  right: 10px;
  background: rgba(255, 255, 255, 0.8);
  border: none;
  color: #000;
  font-size: 24px;
  font-weight: bold;
  border-radius: 50%;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.3s ease;
  z-index: 1001; 
}

.close-btn:hover {
  background: rgba(255, 255, 255, 1); 
}

.close-btn:focus {
  outline: none; 
  box-shadow: 0 0 0 2px #007bff; 
}