* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Arial", sans-serif;
    background-color: #0a0a0a;
    color: #e0e0e0;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    background: url("../img/paisaje_fondo1.jpg") no-repeat center fixed !important;
    background-position: center;
}

/* Botones de acción */
.div_buttom {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    margin-bottom: 20px;
    margin: 8%;
}

.div_buttom a,
.div_buttom button {
    padding: 10px 20px;
    font-size: 1rem;
    /* Usa rem para una mejor responsividad */
    border-radius: 8px;
    margin-bottom: 10px;
    transition: transform 0.2s, box-shadow 0.2s;
}

.div_buttom a {
    background-color: #05b779;
    color: white;
    text-decoration: none;
}

.div_buttom button {
    background-color: #136877;
    color: white;
}
.btn2 {

    font-size: 1em;
    text-transform: uppercase;
    transition: all 0.4s ease;
    z-index: 1;
    text-decoration: none;
    padding: 1%;
    margin: 2%;
    width: auto;
    color: aliceblue;
    justify-content: center;
    text-align: center;align-items: center;

}
/* Botón de servicios - Azul, verde oscuro y negro */
.btn2_service {
    background: linear-gradient(135deg,
            rgba(18, 58, 100, 0.418),  /* Azul oscuro */
            rgba(25, 85, 60, 0.493),   /* Verde oscuro */
            rgba(20, 20, 20, 0.9));  /* Negro elegante */
    border-radius: 12px;
    transform: scale(0.9);
    transition: transform 0.3s ease;
}

.btn2_service:hover {
    background: linear-gradient(135deg,
            rgba(30, 80, 120, 0.9),  /* Azul más claro */
            rgba(35, 105, 75, 0.9),  /* Verde más claro */
            rgba(25, 25, 25, 0.9));  /* Negro suave */
    transform: scale(1);
}

#scrollToTop {
    margin: 15% 0 15% 0;
    border-radius: 50% !important;
    justify-content: flex-start;
    display: none;
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: linear-gradient(135deg,
            rgba(42, 119, 200, 0.9),  /* Azul oscuro */
            rgba(56, 102, 83, 0.9),   /* Verde oscuro */
            rgba(84, 82, 82, 0.9));  /* Negro elegante */
    color: rgb(253, 255, 255);
    padding: 10px;
    border-radius: 5px;
    cursor: pointer;
    z-index: 10; /* Asegúrate de que esté sobre otros elementos */
}

#scrollToTop:hover {
    background-color: #3b67e0ca;
    color: rgb(17, 13, 13);
}

.container-fluid {
    display: flex;
    /* Permite que los elementos se ajusten en varias filas si es necesario */
}

aside {
    background-color: transparent !important;
    width: 25% !important; 
    height: auto;
    z-index: 10;
    flex-grow: 1;
    padding: 6px; 
    overflow-block: unset !important; /* Ocultar scroll horizontal */
    box-sizing: border-box; /* Incluir el padding en el tamaño total */
}

.main_principal {
    width: 75%!important; /* ancho del main */
    height: auto !important;
    margin: 2%; /* Eliminar margen izquierdo para alinear con aside */
}


/* Ajustes para el iframe */
iframe {
    width: 100% !important;
    overflow: hidden;
    height: auto;
    min-height: 200vmin;
    flex-grow: 1;
}

/* Contenedor fluido */

/* Media Queries para mejorar la responsividad */

@media (200px <=width <=1000px) {
    .main_principal iframe {
        width:90vmax!important;
        height: 238vmax !important;
        background-color: transparent !important;
        margin: 5%;
        overflow-block: unset !important; /* Ocultar scroll horizontal */
        box-sizing: border-box; 
    }

    /* Footer styles */
    footer {
        background-color: #2c3e50;
        color: white;
        width:100vmax!important;
        display: flex;
        justify-content: space-between;
        align-items: center;
        text-align: center;
        position: absolute;
        z-index: 0;
    }

}