@media screen and (max-width: 2560px){
    .seccion-boton #optionSelect{
        bottom: 72%;
        position: absolute;
    }

    .contenedor_vista_principal .div-content .left h2{
        font-size: 22px;
    }
}

@media screen and (max-width: 1600px) {
    .seccion-boton #optionSelect{
        bottom: 49%;
    }
    
    .contenedor_vista_principal .div-content .left h2{
        font-size: 20px;
    }

    .section.bottom-section.fixed {
        width: 71.6%;
    }
}

@media  screen and (max-width: 1440px){
    .contenedor_vista_principal .div-content .left h2{
        font-size: 20px;
    }

    .section.bottom-section.fixed {
        width: 71.5%;
    }

    .contenedor-card .seccion2 .titulo p{
        font-size: 14px;
    }

    #footer {
        width: calc(85% - 10px); /* Ancho máximo de cada contenedor (25% del ancho del padre menos el espacio entre ellos) */
        max-width: calc(85% - 10px);
    }
}

@media screen and (max-width: 1366px) {
    #header {
        width: calc(85% - 10px); /* Ancho máximo de cada contenedor (25% del ancho del padre menos el espacio entre ellos) */
        max-width: calc(85% - 10px);
    }
    
    .section.bottom-section.fixed {
        width: 84.3%;
    }
    
    .contenedor_vista_principal .div-content .left h2{
        font-size: 20px;
    }
    
    .seccion-boton #optionSelect{
        bottom: 39%;
    }

    .right .right-column a{
        font-size: 14px;
    }

    main{
        width: calc(85% - 10px); /* Ancho máximo de cada contenedor (25% del ancho del padre menos el espacio entre ellos) */
        max-width: calc(85% - 10px);
    }
}

@media screen and (max-width: 1280px) {
    #header {
        width: calc(95% - 10px); /* Ancho máximo de cada contenedor (25% del ancho del padre menos el espacio entre ellos) */
        max-width: calc(95% - 10px);
    }

    main{
        width: calc(95% - 10px); /* Ancho máximo de cada contenedor (25% del ancho del padre menos el espacio entre ellos) */
        max-width: calc(95% - 10px);
    }
    
    .section.bottom-section.fixed {
        width: 94.2%;
    }

    .contenedor_vista_principal .div-content .left h2{
        font-size: 20px;
    }

    .seccion-boton #optionSelect{
        bottom: 34%;
    }

    .right .right-column a{
        font-size: 16px;
    }

    #footer {
        width: calc(95% - 10px); /* Ancho máximo de cada contenedor (25% del ancho del padre menos el espacio entre ellos) */
        max-width: calc(95% - 10px);
    }
}

@media screen and (max-width: 1024px) {

    .bottom-right nav ul li,
    .bottom-right nav ul li .dropbtn{
        font-size: 15px;
    }

    .contenedor_vista_principal .div-content .left h2{
        font-size: 18px;
    }

    .seccion-boton #optionSelect{
        bottom: 40%;
    }

    .section.bottom-section.fixed {
        width: 94%;
    }

    .top-footer .left-section{
        width: 80%;
    }
    
    .top-footer .right-section {
        width: 20%;
    }

    .top-footer .right-section {
        flex-direction: column;
        gap: 10px;
        margin-top: 30px;
    }

    .top-footer .right-section img {
        max-width: 150px; /* Imágenes responsivas */
    }

}

@media screen and (max-width: 800px) {
    #header {
        width: calc(100% - 10px); /* Ancho máximo de cada contenedor (25% del ancho del padre menos el espacio entre ellos) */
        max-width: calc(100% - 10px);
    }

    .bottom-left {
        width: 30%; /* Cada sección ocupa el 50% del ancho de bottom-content */
    }

    .bottom-right {
        width: 70%; /* Cada sección ocupa el 50% del ancho de bottom-content */
    }

    main{
        width: calc(100% - 10px); /* Ancho máximo de cada contenedor (25% del ancho del padre menos el espacio entre ellos) */
        max-width: calc(100% - 10px);
    }
    
    .section.bottom-section.fixed {
        width: 98.7%;
    }
    
    .seccion-boton #optionSelect{
        bottom: 5%;
    }

    .contenedor_vista_principal .div-content .left h2{
        font-size: 17px;
    }

    .right .right-column a{
        font-size: 13px;
    }

    .item{
        flex: 0 0 calc(50% - 0px);
    }

    .contenedor-card .seccion2 .titulo p{
        font-size: 13px;
    }
}

@media  screen and (max-width: 768px){
    .bottom-right nav ul .ocultar {
        display: none;
    }

    .contenedor_vista_principal .div-content .left h2{
        font-size: 16px;
    }

    .seccion-boton #optionSelect{
        bottom: 49%;
    }

    .item{
        flex: 0 0 calc(50% - 0px);
    }

    .overlay #contentH1{
        font-size: 28px;
    }
    
    .overlay #contentH2{
        font-size: 60px;
    }

    .subitem1{
        font-size: 17px;
    }

    .subitem2{
        font-size: 27px;
    }
    
    .subitem3{
        font-size: 17px;
    }

    .section.bottom-section.fixed {
        width: 98.7%;
    }
}

@media  screen and (max-width: 690px){
    .inline-content h5{
        font-size: 12px;
       }
    
    .contenedor_vista_principal .div-content .left h2{
        font-size: 15px;
    }

    .section.bottom-section.fixed {
        width: 98.5%;
    }
}

@media  screen and (max-width: 600px){

    main{
        margin-top: -12%; 
    }

    .top-footer .left-section{
        width: 100%;
    }
    
    .top-footer .right-section {
        width: 100%;
        margin-bottom: 0;
        min-height: 0;
    }

    .top-footer .content-wrapper {
        padding: 0 20px;
    }

    .top-footer .left-section .bottom-container {
        margin-top: 5px;
        flex-direction: column; /* Permitir que los elementos se envuelvan */
    }

    .top-footer .left-section .bottom-container > div:nth-child(1),
    .top-footer .left-section .bottom-container > div:nth-child(2),
    .top-footer .left-section .bottom-container > div:nth-child(3) {
    width: 100%;
    }

    .top-footer .left-section .bottom-container > div > p {
        font-size: 18px;
    }
}

@media  screen and (max-width: 550px){
    .item{
        flex: 0 0 calc(100% - 0px);
    }
    
    .contenedor_vista_principal .div-content .left h2{
        font-size: 14px;
    }

    .section.bottom-section.fixed {
        width: 98.1%;
    }
}

@media  screen and (max-width: 500px){
    .inner-container a img {
        width: 140px; /* Ajusta el ancho de las imágenes según tus necesidades */
        height: auto;
    }

    .inner-container a .imgmid {
        width: 180px; /* Ajusta el ancho de las imágenes según tus necesidades */
        height: auto;
    }

    .inner-container a .imgser {
        margin-top: 9px;
        width: 120px; /* Ajusta el ancho de las imágenes según tus necesidades */
        height: auto;
    }

    .contenedor_vista_principal .div-content .left h2{
        font-size: 14px;
        width: 100%;
    }

    .section.bottom-section.fixed {
        width: 98%;
    }

    .overlay #contentH1{
        font-size: 24px;
    }
    
    .overlay #contentH2{
        font-size: 50px;
    }
    
    .subitem1{
        font-size: 15px;
    }

    .subitem2{
        font-size: 25px;
    }
    
    .subitem3{
        font-size: 15px;
    }

}

@media  screen and (max-width: 475px){

    .contenedor_vista_principal .div-content .left h2{
        font-size: 13px;
        padding: 2px;
        width: 100%;
    }

    .section.bottom-section.fixed {
        width: 96.2%;
    }

}

@media  screen and (max-width: 425px){
    .inner-container a img {
        width: 140px; /* Ajusta el ancho de las imágenes según tus necesidades */
        height: auto;
    }
    
    .section.bottom-section.fixed {
        width: 98.1%;
    }



    .contenedor_vista_principal .div-content .left h2{
        font-size: 12px;
        padding: 2px;
        width: 100%;
    }

    .seccion-boton #optionSelect{
        bottom: 32%;
    }

    .overlay #contentH1{
        font-size: 22px;
    }
    
    .overlay #contentH2{
        font-size: 40px;
    }

    .subitem1{
        font-size: 13px;
    }

    .subitem2{
        font-size: 23px;
    }
    
    .subitem3{
        font-size: 13px;
    }
}


@media  screen and (max-width: 375px){
    .caja_Seccion_medio .titulo_imagen{
        transform: translate(-100%, -50%);
        font-size: 20px; 
    }
    

    .contenedor_vista_principal .div-content .left h2{
        font-size: 12px;
        padding: 2px;
        width: 100%;
    }

    .inner-container a .imgmid {
        width: 170px; /* Ajusta el ancho de las imágenes según tus necesidades */
        height: auto;
    }

    .inner-container a .imgser {
        margin-top: 9px;
        width: 110px; /* Ajusta el ancho de las imágenes según tus necesidades */
        height: auto;
    }


    .section.bottom-section.fixed {
        width: 97.2%;
    }

    .left-section .top-container{
        font-size: 14px;
    }

    .overlay #contentH1{
        font-size: 20px;
    }
    
    .overlay #contentH2{
        font-size: 38px;
    }

    .subitem1{
        font-size: 13px;
    }

    .subitem2{
        font-size: 23px;
    }
    
    .subitem3{
        font-size: 13px;
    }
}

@media  screen and (max-width: 320px){
    .contenedor_vista_principal .div-content .left h2{
        font-size: 12px;

    }
    
    .section.bottom-section.fixed {
        width: 96.8%;
    }

    .left-section{
        height: 100%;
    }

    .right-section img{
        width: 100px;
        height: auto;
    }

    .overlay #contentH1{
        font-size: 15px;
    }
    
    .overlay #contentH2{
        font-size: 33px;
    }
}
