@charset "utf-8";
/*IGNITE Global Marketing CSS Document. 2023*/
@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&display=swap');

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

body {
    font-family: 'Bebas Neue', sans-serif;
    background-color: #000;
    color: #fff;
    letter-spacing: 1px;
}

header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 10%;
    z-index: 1000;
    background-color: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(10px);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
}

.logo {
    display: flex;
    justify-content: center;
    align-items: center;
}

.logo img {
    width: 50%;
    height: auto;
    max-width: 150px;
    object-fit: contain;
}

nav ul {
    display: flex;
    list-style-type: none;
}

nav ul li {
    margin: 0 1rem;
}

nav ul li a {
    color: #fff;
    text-decoration: none;
    font-size: 1.1rem;
    transition: opacity 0.3s ease;
}

nav ul li a:hover {
    opacity: 0.7;
}

/* Sección Parallax */
.parallax-section {
    height: 140vh;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding-bottom: 20%;
    opacity: 0;
    width: 100%;
    /* Inicialmente invisible */
    transform: translateY(300px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.parallax-section1 {
    height: 140vh;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding-bottom: 20%;

}

.parallax-section.visible {
    opacity: 1;
    /* Visible cuando se hace scroll */
    transform: translateY(0);
    /* Efecto suave */
}

/* Animación */
@keyframes fade-out {
    to {
        opacity: 0;
    }
}

.video-container {
    display: flex;
    justify-content: space-around;
}

.parallax-video25 {
    width: 50%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding-bottom: 1%;
}

.parallax-video {
    width: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding-bottom: 1%;
}

#about,
#contact {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 2rem;
    text-align: center;
}

h3 {
    font-size: 1rem;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 2rem;
    text-align: center;
}

#about h2,
#contact h2 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

#about p,
#contact p {
    font-size: 1.2rem;
    max-width: 800px;
    line-height: 1.6;
}

#contact a {
    color: #fff;
    font-size: 1.5rem;
    margin-top: 1rem;
    display: inline-block;
}

/* Ajustes para móviles */
@media (max-width: 768px) {


    header {

        height: 5%;
        position: relative;

    }

    .logo {
        margin-top: 4%;

    }

    .logo img {
        padding-top: 2%;
        width: 40px;
        /* Reduce el tamaño de las imágenes para móviles */
        height: auto;
        /* Mantén la proporción */
        object-fit: contain;
        /* Contener toda la imagen sin recortar */
        margin-bottom: 1rem;
    }

    nav ul {
        align-items: center;
    }

    nav ul li {
        margin: 0.5rem 0;
    }

    .parallax-section {
        height: 35vh;
        /* Mantener la altura completa en pantallas grandes */
        display: flex;
        align-items: center;
        justify-content: center;
        background-size: cover;
        /* Usamos cover para pantallas grandes */
        background-position: center;
        background-repeat: no-repeat;
        background-size: 100%;
        transform: none;
        transition: none;
        opacity: 1;
    }

    .parallax-section1 {
        height: 35vh;
        /* Mantener la altura completa en pantallas grandes */
        display: flex;
        align-items: center;
        justify-content: center;
        background-size: cover;
        /* Usamos cover para pantallas grandes */
        background-position: center;
        background-repeat: no-repeat;
        background-size: 100%;
    }


    nav ul li a {
        margin-right: 20px;
    }

    .parallax-section h2 {
        font-size: 2rem;
    }

    #about h2,
    #contact h2 {
        font-size: 2.5rem;
    }

    #about p,
    #contact p {
        font-size: 1rem;
    }
}