@import url("generales.css");



h1 {
   font-family: var(--letra-texto);
   color: var(--azul);
   font-size: clamp(2rem, 5vw, 3.5rem);
   width: 100%;
   padding: 50px 30px 0 70px;
   margin: 0;
}

h2 {
    font-family: var(--letra-texto);
    color: var(--blanco);
    font-size: clamp(1rem, 3vw, 2rem);
    width: 100%;
    padding: 10px 30px 0 70px;
    margin-top: 0;
    font-style: italic;
    margin-bottom: 50px;
 }

#linea-titulo {
    width: 60vw;
    margin-left: 5px;
    margin-bottom: 20px;
    border: 2px solid var(--rosa);
    box-shadow: 0 0 15px var(--rosa);
    border-radius: 10px;
}

#linea-titulo-2 {
    width: 70vw;
    margin-left: 5px;
    border: 2px solid var(--azul);
    box-shadow: 0 0 15px var(--azul);
    border-radius: 10px;
}

.introduccion {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: start;
    padding: 70px;
    min-height: 500px;
    gap: 40px;
}

.presentacion {
    width: 50%;
}


.presentacion p {
    font-family: var(--letra-texto);
    color: var(--blanco);
    font-size: 16px;
    line-height: 2;
    text-align: left;
}

.imagen-contenedor {
    position: relative;
    max-width: 550px;
    width: 100%;
    /* padding-top: 53.35%; /* La clave para la proporción */
    /* height: 0; */
    height: 300px;
}
.imagen-presentacion {
    width: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}


.imagen-presentacion img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: contain;
    filter: drop-shadow(0px 30px 30px rgba(0, 0, 0, 0.5));
}
 
.vapor {
    position: absolute;
    top: 54%;
    left: 12%;
    width: 25px;
    height: 25px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.75);
    z-index: 10;
    filter: blur(5px);
    transform: translate(-50%, -50%);
    opacity: 0;
    animation: vapor-movimiento 4s infinite;
}

.vapor2 {
    width: 20px;
    height: 20px;
    left: 9%;
    top: 54%;
    animation-duration: 3.5s;
    animation-delay: -1s;
}

.vapor3 {
    width: 25px; 
    height: 25px;
    left: 16%;
    top: 54%;
    animation-duration: 3s; 
    animation-delay: -2s; 
}


@keyframes vapor-movimiento {
   0% {
    transform: translate(-50%, -50%) translateY(0) scale(1);
    opacity: 1;
   }

    90%{
    transform: translate(-50%, -50%) translateY(-40px) scale(1.5);
    opacity: 0.4;
    }
   95%{
    transform: translate(-50%, -50%) translateY(-40px) scale(1.5);
    opacity: 0.2;
    filter: blur(10px);
   }

   100% {
    transform: translate(-50%, -50%) translateY(-40px);
    opacity: 0;
    
   }
}
 
/* ------------------------------------- */
/* ---- MEDIA QUERIES ---- */

@media (max-width: 992px) {
    h1,
    h2 {
        padding: 20px 15px 0 15px;
        text-align: center;
    }

   .introduccion{
    flex-direction: column;
    padding: 20px;
   }

   .presentacion {
    width: 90%;
   }

   .presentacion, .imagen-presentacion {
    width: 100%;
   }

   #linea-titulo, #linea-titulo-2 {
    width: 100%;
    margin-left: 0;
   }

}

