@font-face{
    font-family: 'GoodTimes';
    src: url(font/good\ times\ rg.otf) format('opentype');
}
@font-face{
    font-family: 'Futura';
    src: url(font/Futura\ URW\ Medium.ttf) format('truetype');
}    
@font-face{
    font-family: 'Ragnear';
    src: url(font/Ragnear.otf) format('opentype');
}    
@font-face {
    font-family: 'MarzanDEMO';
    src: url(font/Marzan\ DEMO.ttf) format('truetype');
}   

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body, html {
    height: 100%;
    overflow-x: hidden;
}

.parallax-container {
    position: relative;
    width: 100%;
    height: 100vh;
    background-image: url(img/FondoPrueba1.png.jpg);
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    perspective: 1px;
    overflow: hidden;
}

.slider {
    width: 300%;
    height: 100%;
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.slide {
    width: 33.333%;
    height: 100%;
    position: relative;
}

.content-wrapper {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80%;
    max-width: 1000px;
    height: 80vh;            
    box-shadow: 0px 10px 15px rgba(0, 0, 0, 0.079);
    background-color: rgba(0, 0, 0, 0.433);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    transition: transform 0.3s ease-out;
    border: 1px solid white;
}

.text-container {
    position: relative;
    z-index: 40;
    text-align: center;
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.5s, transform 0.5s;
}

.text-container.show {
    opacity: 1;
    transform: translateY(0);
}

.main-image {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 100%;
    height: 40%;
    object-fit: cover;
    z-index: 50;
    transition: transform 0.1s ease-out;
    animation: revelarParriba 2.0s ease-in forwards;
}

.overlay-image {   
    opacity: 0.7;         
    position: absolute;            
    width: 100%;
    height: 100%;
    object-fit: cover;            
    z-index: 30;
    clip-path: inset(0 0 100% 0);
    animation: revelarPabajo 1.0s ease-out forwards;
}
.main-image2 {
    
    position: absolute;
    bottom: 0;
    right: 0;
    width: 100%;
    height: 110%;
    object-fit: cover;
    z-index: 31;
    transition: transform 0.1s ease-out;
    animation: revelarParriba 2.0s ease-in forwards;
}

.overlay-image2 {            
    
    position: absolute;            
    width: 100%;
    height: 100%;
    top: 5rem;
    object-fit: cover;            
    z-index: 30;
    clip-path: inset(0 0 100% 0);
    animation: revelarPabajo 1.0s ease-out forwards;
}
.main-image3{
    opacity: 0.5;
    position: absolute;
    bottom: 0;
    right: 0;
    width: 70%;
    height: 100%;
    object-fit:contain;
    z-index: 30;
    transition: transform 0.1s ease-out;
    animation: revelarParriba 2.0s ease-in forwards;
}

@keyframes revelarParriba {
     from {
        clip-path: inset(100% 0 0 0);
      }
      to {
        clip-path: inset(0 0 0 0);
      }
}

@keyframes revelarPabajo {
     from {
        clip-path: inset(0 0 100% 0);
      }
      to {
        clip-path: inset(0 0 0 0);
      }
}

h1 {
    font-family:'GoodTimes';
    font-size: 3em;
    color: #ffffff;
    text-shadow: 2px 2px 4px #000000;
}

h2 {
    font-family: 'MarzanDEMO';;
    font-size: 1em;
    margin-bottom: 1rem;
    color: #d7d7d7;
    text-shadow: 3px 6px 6px #000000;
}

p {
    font-family: 'Futura';
    font-size: 1.2rem;
    color: #ffffff;
}

button {
    padding: 0.8em 1.5em;
    margin: 1em;
    border-radius: 15px;
    border: 2px solid white;
    background-color: #00000063;
    color: white;
    position: relative;
    font-size: 1rem;
    transition: all 0.3s ease-out;
}

button:hover {
    border: 2px solid rgb(240, 210, 153);
    background-color: #00000075;
    color: rgb(231, 181, 89);
    cursor: pointer;
}

button:hover::after {
    content: '';
    position: absolute;
    bottom: -20px;
    left: 20px;
    width: 0;
    height: 0;
    border-width: 10px;
    border-style: solid;
    border-color: rgb(240, 210, 153) transparent transparent transparent;
    opacity: 1;
    transition: opacity 0.3s ease-out;
}

button::after {
    content: '';
    position: absolute;
    bottom: -20px;
    left: 20px;
    width: 0;
    height: 0;
    border-width: 10px;
    border-style: solid;
    border-color: white transparent transparent transparent;
    opacity: 1;
    transition: border-color 0.3s ease-out; 
}

.slider-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 100;
}

.dot {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.dot.active {
    background-color: white;
}


/* marquee es el slider negro */
.marquee-container {
    width: 100%;
    background-color: #000000;
    overflow: hidden;
    height: 80px;
    position: relative;
}

.marquee-text {
    white-space: nowrap;
    display: inline-block;
    animation: marquee 20s linear infinite;
    color: white;
    font-family: 'Ragnear';
    font-size: 2em;
    padding: 20px 0;
}

@keyframes marquee {
    0% {
        transform: translateX(100vw);
    }
    100% {
        transform: translateX(-100%);
    }
}
/*SEGUNDA PARTE DE HOME*/
/* Estilo de la sección principal */
.about-section {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
    width: 100%;
    height: 80vh;
    overflow: hidden;
    text-align: center;    
    background-image: url('img/Fondo--LOGO-izq-y-der.jpg'); /* Especifica la imagen de fondo */
    background-size: cover; /* Asegura que la imagen cubra todo el contenedor */
    background-position: center; /* Centra la imagen en el contenedor */
    background-repeat: no-repeat; /* Evita que la imagen se repita */
    background-color: #000000;
  }

  /* Estilo del contenedor de contenido */
  .about-content {
    position: relative;
    z-index: 2;    
  }
  
  
  /* Estilo para el título h1 */
  .about-content h1 {
    width: 100%;
    color: #181818;
    text-shadow: none;
    font-size: 2.5em;
    margin-bottom: 10%;
  }
  
  /* Estilo para el párrafo */
  .about-content p {
    font-family: 'Futura';
    position: relative;
    z-index: 2;
    margin: 20px 20px;
    margin-left: 10%;
    padding: 4%;
    color: rgb(223, 223, 223);
    width: 50%;
    border-radius: 20px;
    background-color: #363636;
    box-shadow: 0px 10px 15px rgba(0, 0, 0, 0.079);
  }
  
  /* Estilo de la imagen de fondo */
  .background-image {
    position: absolute;
    top: 98%;
    left: 50%;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: translate(-50%, -50%);
    filter: blur(1px);
    z-index: 1;
  }
  
  /* Estilo de la imagen en primer plano */
  .foreground-image {
    position: absolute;
    width: 280px;  
    top: 80%;
    padding-top: 20%;
    transform: translate(-50%, -50%);
    z-index: 3;
  }
  @media (max-width: 768px) {
    .foreground-image {
      transform: translate(-50%, -50%); /* Mantén la transformación inicial */
      left: 80%; /* Ajusta la posición horizontal */
    }
    .about-content h1 {
        font-size: 2em;
    }
  }
  .about-boton{
        width: 100%;
    height: auto;
    display: flex;
    justify-content: center;
    align-items: center;
    background: linear-gradient(90deg,rgb(226, 170, 26),rgb(252, 81, 81), rgb(243, 57, 194),rgb(171, 1, 145),rgb(123, 0, 255));
  }
  .about-boton h2{
    margin-top:20px;
    font-family: 'MarzanDEMO';
    text-shadow: none;
    color:rgb(255, 255, 255);
    
  }

 /* TERCERA PARTE HOME - [DISEÑOS] */

/* Estilo del contenedor principal */
.diseño-home {
    position: relative;
    width: 100%;
    height: 100vh; 
    overflow: hidden;
    padding-top: 10%;
    padding-bottom: 10%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    background-image: url(img/FondoEstrellado-Black.jpg.png);
    background-size: cover; /* Asegura que la imagen cubra todo el contenedor */
    background-position: center; /* Centra la imagen en el contenedor */
    background-repeat: no-repeat; /* Evita que la imagen se repita */
}

.diseño-home h1 {
    padding-top: 1.2em;    font-size: 2.5em;
    color: rgb(255, 255, 255);
    width: 80%;
}

.diseño-home p {
    font-size: 1.2em;
    font-family: 'Futura';
    text-align: center;
    color: rgb(251, 216, 153);
}

.diseño-home h2 {
    font-family: 'Ragnear';
    font-size: 1.5em;
}

.diseño-home button{
 
   color: rgb(255, 167, 255);
   font-family: 'Futura';
   top: -25px;
}
.contenedor-tiposDiseños {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    gap: 2em;
    margin: 1em;
    width: 60%;
}

.tipoDiseño {
    flex: 1; /* Ajusta el ancho de los elementos para que se distribuyan en el espacio disponible */
    border: 2px solid #ffffff;
    border-radius: 20px;
    padding: 1em;
    background-color: #0000007f;
}
.tipoDiseño img{
    width: 50%;
}
.tipoDiseño h2{
    padding: 20px 0;
    margin: 0;
}
.tipoDiseño p{
    margin: 0;
    padding: 1em;
}

/* Media Queries para dispositivos móviles */
@media (max-width: 768px) {
    .diseño-home {
        height: auto; /* Ajusta la altura del contenedor a auto para dispositivos móviles */
        padding: 2em 0; /* Añade padding superior e inferior para espaciar el contenido */
    }

    .contenedor-tiposDiseños {
        flex-direction: column; /* Cambia la dirección del flex a columna para dispositivos móviles */
        width: 80%; /* Ajusta el ancho del contenedor para dispositivos móviles */
    }

    .tipoDiseño {
        margin-bottom: 1em; /* Añade margen inferior entre los elementos */
        width: 100%; /* Asegura que los elementos ocupen el 100% del ancho del contenedor */
    }
    .diseño-home h1 {
        font-size: 2em; /* Ajusta el tamaño de la fuente para dispositivos muy pequeños */
    }
}

@media (max-width: 480px) {
    .diseño-home h1 {
        font-size: 1.5em; /* Ajusta el tamaño de la fuente para dispositivos muy pequeños */
    }

    .diseño-home h2 {
        font-size: 1.2em; /* Ajusta el tamaño de la fuente de los subtítulos para dispositivos muy pequeños */
    }
}
/* CUARTA PARTE HOME */
.lasthome {
    width: 100%;
    min-height: 100vh;
    background: linear-gradient(90deg, 
        rgb(226, 170, 26),
        rgb(252, 81, 81), 
        rgb(243, 57, 194),
        rgb(171, 1, 145),
        rgb(123, 0, 255)
    );
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 2rem 1rem;
}

.lasthome h1 {
    color: white;
    text-align: center;
    margin-bottom: 2rem;
    padding: 1rem;
    text-shadow: none;
}

.contenedorlasthome {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: stretch;
    gap: 2em;
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    padding: 2rem;
}

.contenedorlasthome .text1,
.contenedorlasthome .text2 {
    border: 2px solid white;
    border-radius: 20px;
    width: 50%;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
}

.contenedorlasthome h2 {
    color: white;
    margin-bottom: 1rem;
    text-align: center;
    text-shadow: none;
}

.contenedorlasthome p {
    margin: 1rem 0;
    padding: 1rem;
    text-align: justify;
    color: white;
    line-height: 1.6;
}

.contenedorlasthome img {
    width: 100px;
    height: 100px;
    object-fit: cover;
    background-color: rgba(0, 0, 0, 0.49);
    border-radius: 50%;
    padding: 4%;
    margin: 1rem 0;
}

.ubicacion{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 0;
    margin: 0;
    
}
.ubicacion img{
 width: 150px;
    
}
/* Responsive Design */
@media (max-width: 768px) {
    .lasthome {
        padding: 1rem;
    }
    
    .contenedorlasthome {
        flex-direction: column;
        padding: 1rem;
    }
    
    .contenedorlasthome .text1,
    .contenedorlasthome .text2 {
        width: 100%;
        margin-bottom: 1rem;
    }
    
    .contenedorlasthome p {
        padding: 0.5rem;
    }
}

/* Small screens */
@media (max-width: 480px) {
    .lasthome h1 {
        font-size: 1.5rem;
    }
    
    .contenedorlasthome {
        padding: 0.5rem;
    }
    
    .contenedorlasthome .text1,
    .contenedorlasthome .text2, .ubicacion {
        padding: 1rem;
    }
}
/*MENU DE NAVEGACION*/
.main-nav {
position: fixed;
top: 0;
left: 0;
width: 100%;
background-color: black;
z-index: 1000;
padding: 2em;
}

.nav-container {
width: 90%;
max-width: 1200px;
margin: 0 auto;
display: flex;
justify-content: space-between;
align-items: center;
}

.logo-container {
position: absolute;
left: 50%;
transform: translateX(-50%);
}

.logo {
height: 50px;
transition: transform 0.3s ease;
}

.logo:hover {
transform: scale(1.1);
}

.nav-links {

margin-left: auto;

}

.nav-button {
padding:1.5em;
margin: 0.5em;
background-color: #00000063;
color: white;
text-decoration: none;
font-family: 'Futura';
font-size: 1rem;
transition: all 0.3s ease-out;
font-family: 'MarzanDEMO';
}

.nav-button:hover {

background-color: #00000075;
color: rgb(231, 181, 89);
cursor: pointer;
}

/* Responsive design */
@media screen and (max-width: 768px) {
.nav-links {
display: none;
}

.logo-container {
position: relative;
left: 0;
transform: none;
}

.nav-container {
justify-content: center;
}
}
/* CSS */
.boton-estatico {
  display: none; /* oculto por defecto */
  position: fixed;
  bottom: 5%;
  right: 5%;
  padding: 5%;
  border: 1px solid #037bad;
  border-radius: 30px;
  background-color: rgba(3, 3, 3, 0.642);
  text-decoration: none;
  color: #037bad;
  font-family: 'MarzanDEMO' ;
  font-weight: bold;
  text-align: center;
  z-index: 9999;
}

/* Mostrar sólo en pantallas móviles */
@media only screen and (max-width: 768px) {
  .boton-estatico {
    display: block;
  }
}