@font-face {
  font-family: 'MYRIADPRO';
  src: url('assets/MYRIADPRO-SEMIBOLD.OTF') format('truetype');
}

body {
  margin: 0;
  font-family: 'MYRIADPRO', sans-serif;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.top-slider-aside {
  background-color: #7C211E;
  height: 8vh;
  display: flex;          
  align-items: center;
  overflow: hidden;      
  padding: 0 1rem;
  position: relative;
}

.top-slider-aside p {
  color: #FFF;
  font-size: 1rem;
  white-space: nowrap;   
  margin: 0;
  display: inline-block;
  padding-left: 100%;     
  animation: scroll 20s linear infinite;
}

@keyframes scroll {
  0% {
    transform: translateX(0%);
  }
  100% {
    transform: translateX(-100%);
  }
}

.contenido-section {
  flex: 1;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  padding: 2vh 2vw;
  gap: 2vw;
}

.contacto-inline {
  display: flex;
  gap: 2rem; 
  flex-wrap: wrap;
  align-items: center;
}

.contacto-inline > div {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.contenido-page1,
.contenido-page2 {
  flex: 1 1 45%;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  padding: 2vh 1vw;
}

.construccion-img1,
.construccion-img2 {
  max-width: 100%;
  height: auto;
  object-fit: contain;
  max-height: 60vh;
}

.titulo-contenido {
  margin-bottom: 2vh;
  width: 80%;
  text-align: center;
  font-size: 1.5rem;
  font-weight: 900;
  letter-spacing: 0.9px;
  color: #000;
  position: static;
}

.contenido-page-text {
  margin-top: 3rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  width: 100%;
  max-width: 400px;
}

.contenido-page-text div {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: nowrap;
}

.contenido-page-text img {
  width: 24px;
  height: auto;
}

.contenido-page-text a {
  color: inherit;
  text-decoration: none;
}

.contenido-page-text p {
  font-size: 1rem;
  margin: 0;
}

.bottom-slider-aside {
  background-color: #3E4952;
  height: 8vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cincho-sudak-space {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  overflow: hidden;
  padding: 0 1rem;
}

.cincho-sudak {
  height: 150%;
  width: auto;
}

@media (max-width: 1024px) {
  .contenido-section {
    flex-direction: column-reverse;
    align-items: center;
  }

  .contenido-page1,
  .contenido-page2 {
    width: 100%;
    align-items: center;
    text-align: center;
  }

  .contenido-page-text {
    width: 80%;
  }

  .contenido-page-text img {
    width: 5vw;
  }

  .titulo-contenido {
    font-size: 1.3rem;
    margin-top: 2vh;
    width: 90%;
  }

  .construccion-img2 {
    max-height: 40vh;
  }
}

@media (max-width: 600px) {
  .top-slider-aside p {
    font-size: 0.9rem;
  }

  .contenido-page-text p {
    font-size: 0.9rem;
  }

  .titulo-contenido {
    font-size: 1.1rem;
  }
}