@import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

@media (max-width: 480px){


    /*********************************************************/
    /**********************MOVIL*****************************/

    main {
        width: 100%;
    }

    h5 {
        font-size: x-large;
    }


    /*********************HERO SECTION************************/
    
    .header {
        background-image: linear-gradient(rgba(5, 7, 12, 0.75), rgba(5, 7, 12, 0.75)), url(../img/Launch_Home.jpg); /*Para lograr que la imágen este opaca*/
        opacity: 1;
        width: 100%;
        height: 1100px;
        background-size: cover;
        background-position: center;
        background-repeat: no-repeat;
        background-attachment: scroll;
    }

    #headerTOP {
        display: flex;
        align-items: center;
    }
    
    .InfoTOP {
        position: absolute;
        text-align: center;
        top: 110px;
        margin: 10px auto;
    }
    
    .txt_head h1 {
        font-size: 40px;
    }
    
    .txt_head h2 {
        font-size: 20px;
        color: #FDC309;
    }
    
    .btn btn-outline-light {
        font-size: 100px;
    }
  
    .InfoCARD {
        position: absolute;
        top: 400px;
        text-align: center;
    }

/* Estilos adicionales para que el popup sea responsive */
.popup-content {
  box-sizing: border-box; /* Asegura que el padding no cause desbordamiento */
}

@media (max-width: 480px) {
  .popup-content {
    width: 95%; /* Asegura que el popup ocupe casi todo el ancho */
    max-width: 95%;
    padding: 20px; /* Reduce el relleno para ahorrar espacio */
    font-size: 0.9em; /* Reduce el tamaño de la fuente para mejor lectura */
  }

  .popup-content h2 {
    font-size: 1.5rem; /* Tamaño de título más pequeño */
  }

  .close-btn {
    top: 5px; /* Posiciona el botón de cerrar en la esquina superior */
    right: 15px;
    font-size: 25px; /* Tamaño de botón más pequeño */
  }
}

    /**/
    /**/
    /*********************************************************SERVICIOS**************************************/
    /**/
    /**/

    /**********************************************************HERO SECTION******************************************/

.headerSERV {
    width: 100%;
    height: 1800px;
    background-color: #FDC309;
}

#ServiciosTOP {
    width: 80%;
    height: auto;
}

.Titulo_container {
    position: absolute;
    text-align: center;
    top: 150px;
    margin: 10px auto; 
}

.titulo h1{
    font-size: 80px;
}

.titulo h2{
    font-size: 60px;
}

.card_services {
    position: absolute;
    top: 300px;
    display: flex;
}

.card-img-top {
    box-shadow: 0 0 10px rgba(0, 0, 0, .5);
}

/******************************************************DESTACADOS***************************************************/

.bento-grid {
    grid-template-columns: 1fr;
}

/**/
    /**/
    /*********************************************************CONTACTO*****************************************************/
    /**/
    /**/

    /********************************HERO SECTION*/

    .headerCONT {
        background-image: linear-gradient(rgba(5, 7, 12, 0.75), rgba(5, 7, 12, 0.75)), url(../img/Header_Contacto.JPG);
        opacity: 1;
        width: 100%;
        height: 1350px;
        background-size: cover;
        background-position: center;
        background-repeat: no-repeat;
        background-attachment: fixed;
    }

    #headerTOP_Cont {
        display: flex;
        align-items: center;
    }

    .InfoTOP_Cont {
        position: absolute;
        text-align: center;
        top: 180px;
        margin: 10px auto; 
    }

    .txt_head_Cont h1 {
        font-size: 50px;
    }

    .txt_head_Cont h2 {
        color: #FDC309;
        font-size: 40px;
    }

    .InfoCARD_Cont {
        position: absolute;
        top: 450px;
        text-align: center;
    }

    .card-body-icon img {
        width: 100px;
    }

}
