@import url('https://fonts.googleapis.com/css2?family=Grandstander:ital,wght@0,100..900;1,100..900&display=swap');

body, html {
    margin: 0;
    padding: 0;
    font-family: 'Grandstander', cursive;
    scroll-behavior: smooth;
    background-attachment: fixed;
    background-size: cover;
    position: relative;
}

.section {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    font-size: 1.5em; /* Tamaño de la fuente más grande */
}

#section1 {
    background: url('img/seccion1.png') no-repeat center center;
    background-color: #7BD3EA;
    background-size: contain;
    position: relative;
    text-align: center;
}

#section2 {
    background: url('img/seccion2.png') no-repeat center center;
    background-color: #A1EEBD;
    background-size: contain;
    text-align: left;
}

#section3 {
    background: url('img/seccion3.png') no-repeat center center;
    background-color: #F6F7C4;
    background-size: contain;
    text-align: right;
}

#section4 {
    background: url('img/seccion4.png') no-repeat center center;
    background-color: #F6D6D6;
    background-size: contain;
    text-align: left;
}

#section5 {
    background: url('img/seccion5.png') no-repeat center center;
    background-color: #FFC6AC;
    background-size: contain;
    text-align: right;
}

#section6 {
    background: url('img/seccion6.png') no-repeat center center;
    background-color: #A0E2F9;
    background-size: contain;
    text-align: left;
}

.grandstander-title {
    font-size: 5em;
    font-weight: 900;
    line-height: 1.2;
    text-align: center;
    margin: 0;
    padding: 10px;
    position: absolute;
    top: 25%;
    left: 50%;
    transform: translateX(-50%);
}

.grandstander-subtitle {
    font-size: 2em;
    font-weight: 600;
}

.content {
    width: 40%;
    max-width: 800px;
}

.content p {
    font-size: 1.2em;
    margin: 20px 0;
}

.buttons {
    position: relative;
    width: 100%;
    height: 100%;
    font-size: 0.85em;
}

button.float {
    background-size: contain;
    border: none;
    padding: 20px;
    font-size: 0.85em;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.3s;
    font-family: 'Grandstander', cursive;
    color: #000000;
    position: absolute;
}

button.float:hover {
    transform: translateY(-10px);
    background-size: contain;
    border: none;
    padding: 20px;
    font-size: 0.85em;
    font-weight: 700;
    cursor: pointer;
    transition: transform 0.3s;
    font-family: 'Grandstander', cursive;
    color: #0a5370;
    position: absolute;
}

.button-clientes {
    background: url('img/btn_clientes.png') no-repeat center center;
    background-size: contain;
    width: 150px;
    height: 150px;
    border: none;
    padding: 20px;
    font-size: 1em;
    cursor: pointer;
    transition: transform 0.3s;
    font-family: 'Grandstander', cursive;
    color: rgb(0, 0, 0);
    position: absolute;
    top: -400px;
    left: -350px;
}

.button-desarrollamos {
    background: url('img/btn_desarrollamos.png') no-repeat center center;
    background-size: contain;
    width: 200px;
    height: 200px;
    border: none;
    padding: 20px;
    font-size: 1em;
    cursor: pointer;
    transition: transform 0.3s;
    font-family: 'Grandstander', cursive;
    color: rgb(0, 0, 0);
    position: absolute;
    top: 70px;
    left: -250px;
}

.button-implementamos {
    background: url('img/btn_implementamos.png') no-repeat center center;
    background-size: contain;
    width: 200px;
    height: 200px;
    border: none;
    padding: 20px;
    font-size: 1em;
    cursor: pointer;
    transition: transform 0.3s;
    font-family: 'Grandstander', cursive;
    color: rgb(0, 0, 0);
    position: absolute;
    top: 30px;
    left: 280px;
}

.button-arreglamos {
    background: url('img/btn_arreglamos.png') no-repeat center center;
    background-size: contain;
    width: 250px;
    height: 250px;
    border: none;
    padding: 20px;
    font-size: 1em;
    cursor: pointer;
    transition: transform 0.3s;
    font-family: 'Grandstander', cursive;
    color: rgb(0, 0, 0);
    position: absolute;
    top: 110px;
    left: 650px;
}

.button-contacto {
    background: url('img/btn_contacto.png') no-repeat center center;
    background-size: contain;
    width: 200px;
    height: 200px;
    border: none;
    padding: 0px;
    font-size: 1em;
    cursor: pointer;
    transition: transform 0.3s;
    font-family: 'Grandstander', cursive;
    color: rgb(0, 0, 0);
    position: absolute;
    top: -400px;
    left: 900px;
}

.button-inicio {
    background: url('img/btn_inicio.png') no-repeat center center;
    background-size: contain;
    width: 100px;
    height: 100px;
    border: none;
    padding: 0px;
    font-size: 0.75em;
    cursor: pointer;
    transition: transform 0.3s;
    font-family: 'Grandstander', cursive;
    color: rgb(0, 0, 0);
    position: absolute;
    top: 85%;
    left: 75%;
}

.animated-elements .ray {
    width: 50px;
    position: absolute;
    font-size: 1em;
}

.ray1 {
    top: 350px;
    left: 1350px;
}

.ray2 {
    top: 550px;
    left: 700px;
}

.int1 {
    top: 800px;
    left: 700px;
}

.int2 {
    top: 160px;
    left: 1170px;
}

.estrella1 {
    top: 250px;
    left: 1500px;
}

.estrella2 {
    top: 300px;
    left: 100px;
}

.animated-elements .flecha {
    width: 40px;
    position: absolute;
    font-size: 1em;
    opacity: 0; /* Inicia con opacidad 0 */
    animation: blink 1s infinite; /* Aplica la animación con una duración de 2 segundos */
}

@keyframes blink {
    0%, 100% { opacity: 0; }
    50% { opacity: 1; }
}

.flecha1 {
    top: 87%;
    left: 85%;
    animation-delay: calc(0.5s * (1 + (rand() % 2))); /* Aplica un retraso aleatorio */
}

.scroll {
    background-size: contain;
    width: 100px;
    height: 100px;
    border: none;
    padding: 0px;
    font-size: 0.75em;
    font-weight: 700;
    text-align: right;
    cursor: pointer;
    transition: transform 0.3s;
    font-family: 'Grandstander', cursive;
    color: rgb(0, 0, 0);
    position: absolute;
    top: 87%;
    left: 80%;
}

@keyframes moveRayY {
    0% { transform: translateY(0); }
    100% { transform: translateY(-20px); }
}

@keyframes moveRayX {
    0% { transform: translateX(0); }
    100% { transform: translateX(20px); }
}

.moveY {
    animation: moveRayY 2s infinite alternate;
}

.moveX {
    animation: moveRayX 2s infinite alternate;
}

.logo-strip {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    padding: 20px 0;
}

.logo-strip a {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 10px;
    flex: 1 1 calc(20% - 20px);
    max-width: 150px;
}

.logo-strip img {
    max-width: 100%;
    height: auto;
    transition: transform 0.3s;
}

.logo-strip img:hover {
    transform: scale(1.1);
}

.logo-row {
    display: flex;
    justify-content: center;
    margin-bottom: 10px; /* Espacio entre las filas, ajusta según sea necesario */
}

.logo-row a {
    margin: 0 10px; /* Espacio entre los logos, ajusta según sea necesario */
}




/* Responsive Styles */





@media (max-width: 768px) {
    .logo-row img {
        width: 150px; /* Tamaño ajustado de los logos en pantallas pequeñas */
    }
}

.section#section5 .content {
    text-align: center;
    padding-bottom: 20px; /* Añade espacio entre el texto y los logos */
}

form {
    display: flex;
    flex-direction: column;
    align-items: center;
}

form input, form button {
    padding: 10px;
    margin: 10px;
    font-size: 1em;
    font-family: 'Grandstander', cursive;
    border-radius: 15px; /* Bordes redondeados */
}

form input {
    border: 1px solid #ccc; /* Opcional: Estilo del borde */
}

form button {
    background-color: #ffffff; /* Color de fondo del botón */
    color: rgb(2, 2, 2); /* Color del texto del botón */
    border: none; /* Elimina el borde del botón */
    cursor: pointer;
}

form button:hover {
    background-color: #d6d6d6; /* Color de fondo del botón al pasar el mouse */
}



@media (max-width: 768px) {
    .grandstander-title {
        font-size: 4em; /* Tamaño de la fuente más pequeño */
        top: 23%; /* Ajusta la posición para dispositivos móviles */
        align-content: center;
    }
    .buttons {
        position: absolute;
        width: 100%;
        height: 100%;
        font-size: 0.85em;
    }
    .button-clientes {
        background: url('img/btn_clientes.png') no-repeat center center;
        background-size: contain;
        width: 100px;
        height: 100px;
        border: none;      
        cursor: pointer;
        transition: transform 0.3s;
        font-family: 'Grandstander', cursive;
        color: rgb(0, 0, 0);
        position: absolute;
        left: -15%;
    }
    
    .button-desarrollamos {
        background: url('img/btn_desarrollamos.png') no-repeat center center;
        background-size: contain;
        width: 200px;
        height: 200px;
        border: none;   
        cursor: pointer;
        transition: transform 0.3s;
        font-family: 'Grandstander', cursive;
        color: rgb(0, 0, 0);
        position: absolute;
        top: 20%;
        left: -20%;
    }
    
    .button-implementamos {
        background: url('img/btn_implementamos.png') no-repeat center center;
        background-size: contain;
        width: 200px;
        height: 200px;
        border: none;       
        cursor: pointer;
        transition: transform 0.3s;
        font-family: 'Grandstander', cursive;
        color: rgb(0, 0, 0);
        position: absolute;
        top: 5%;
        left: 10%;
    }
    
    .button-arreglamos {
        background: url('img/btn_arreglamos.png') no-repeat center center;
        background-size: contain;
        width: 200px;
        height: 200px;
        border: none;     
        cursor: pointer;
        transition: transform 0.3s;
        font-family: 'Grandstander', cursive;
        color: rgb(0, 0, 0);
        position: absolute;
        top: 25%;
        left: 30%;
    }
    
    .button-contacto {
        background: url('img/btn_contacto.png') no-repeat center center;
        background-size: contain;
        width: 150px;
        height: 150px;
        border: none;      
        cursor: pointer;
        transition: transform 0.3s;
        font-family: 'Grandstander', cursive;
        color: rgb(0, 0, 0);
        position: absolute;
        left: 45%;
    }
   

    .menu-hamburger {
        display: none; /* Muestra el menú de hamburguesa en dispositivos móviles */
    }

    .section {       
        font-size: 1.2em; /* Tamaño de la fuente más grande */
        align-content: center;
        text-align: center;
    }


    #section1 {
        background: url('img/seccion1_res.png') no-repeat center center;
        background-color: #7BD3EA;
        background-size: contain;
        position: relative;
        text-align: center;
    }
    
    #section2 {
        background: url('img/seccion2_res.png') no-repeat center center;
        background-color: #A1EEBD;
        background-size: contain;
        text-align: left;
    }
    
    #section3 {
        background: url('img/seccion3_res.png') no-repeat center center;
        background-color: #F6F7C4;
        background-size: contain;
        text-align: right;
    }
    
    #section4 {
        background: url('img/seccion4_res.png') no-repeat center center;
        background-color: #F6D6D6;
        background-size: contain;
        text-align: left;
    }
    
    #section5 {
        background: url('img/seccion5_res.png') no-repeat center center;
        background-color: #FFC6AC;
        background-size: contain;
        text-align: right;
    }
    
    #section6 {
        background: url('img/seccion6_res.png') no-repeat center center;
        background-color: #A0E2F9;
        background-size: contain;
        text-align: left;
    }

    .grandstander-subtitle {
        font-size: 2em;
        font-weight: 600;
        align-content: center;
        text-align: center;
    }
    
    .content {
        width: 60%;
        max-width: 80%;
        align-content: center;
        text-align: center;
    }
    
    .content p {
        font-size: 1.2em;
        margin: 20px 0;
        align-content: center;
        text-align: center;
    }
    .animated-elements .flecha {
        width: 30px;
        position: absolute;
        font-size: 1em;
        opacity: 0; /* Inicia con opacidad 0 */
        animation: blink 1s infinite; /* Aplica la animación con una duración de 2 segundos */
    }
    .flecha1 {
        top: 94%;
        left: 88%;
        animation-delay: calc(0.5s * (1 + (rand() % 2))); /* Aplica un retraso aleatorio */
    }
    
    .scroll {
        background-size: contain;
        width: 100px;
        height: 100px;
        border: none;
        padding: 0px;
        font-size: 0.75em;
        font-weight: 700;
        text-align: right;
        cursor: pointer;
        transition: transform 0.3s;
        font-family: 'Grandstander', cursive;
        color: rgb(0, 0, 0);
        position: absolute;
        top: 94%;
        left: 64%;
    }
    .animated-elements .ray {
        width: 50px;
        position: absolute;
        font-size: 1em;
        display: none;
    }

}



.menu-hamburger {
    display: none;
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 1000;
}

.menu-hamburger button {
    background: none;
    border: none;
    font-size: 1.5em;
    cursor: pointer;
}

.menu-hamburger ul {
    display: none;
    list-style: none;
    padding: 0;
    margin: 0;
    position: absolute;
    top: 40px;
    right: 10px;
    background-color: #fff;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.menu-hamburger ul li {
    padding: 10px;
}

.menu-hamburger ul li a {
    text-decoration: none;
    color: #000;
}

/* Mostrar el menú hamburguesa en dispositivos móviles */
@media (max-width: 768px) {
    .menu-hamburger {
        display: block;
    }
}

.show-menu {
    display: block;
}