/* Estilos generales */
body {
    margin: 0;
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    background-color: #fff;
    color: #333;
}

/* Navbar */
.navbar {
    background-color: #1a1a1a;
    display: flex;
    flex-direction: row;
    justify-content: right;
    gap: 20px;
    height: 40px;
    padding: 10px;
}

.navbar a {
    color: #fff;
    text-decoration: none;
}

.navbar-icon {
    height: 100%;
}

/* Sección principal */
.main-section {
    padding: 50px 20px;
    text-align: center;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
}

/* Media query for main-section that makes the flex-direction to change to column */
@media (max-width: 1000px) {
    .main-section {
        flex-direction: column-reverse;
    }
}

.main-section-description {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.main-section-image {
    max-width: 100%;
    height: auto;
    object-fit: contain;
    max-height: 660px;
}

.main-section h2 {
    font-size: 48px;
    margin-bottom: 20px;
}

.main-section p {
    font-size: 18px;
    max-width: 800px;
    margin: 0 auto 30px;
    line-height: 1.6;
}

.download-buttons {
    margin-bottom: 50px;
}

.download-buttons a {
    display: inline-block;
    margin: 0 10px;
}

.download-buttons img {
    width: 150px;
    height: auto;
}

/* Sección descriptiva */
.description-section {
    background-color: #f4f4f4;
    padding: 50px 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.description-section .text {
    padding: 20px;
    max-width: 700px;
}

.description-section .text h3 {
    font-size: 32px;
    margin-bottom: 20px;
    margin-top: 0;
}

.description-section .text p {
    font-size: 18px;
    line-height: 1.6;
}


.description-section-image{
    max-width: 100%;
    height: auto;
    object-fit: contain;
    max-height: 400px;
    border-radius: 5px;
}

/* Barra final */
.footer {
    background-color: #1a1a1a;
    padding: 20px;
    text-align: center;
}

.footer p {
    color: #fff;
    margin: 0;
    font-size: 18px;
}

/* Responsividad */
@media (max-width: 1000px) {
    .main-section h2 {
        font-size: 46px;
    }

    .description-section {
        flex-direction: column;
    }

    .description-section .image, .description-section .text {
        text-align: center;
        padding-top: 0;
    }
}

/* Estilo para las imágenes superpuestas */
.image-stack {
    position: relative;
    display: inline-block;
}

.base-image {
    position: relative;
    z-index: 1;
}

.overlay-image {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 2;
    opacity: 0; /* Puedes ajustar la opacidad según tus necesidades */
}
