/*Permitir el deslizamiento suave*/
html {
    scroll-behavior: smooth;
}

/*Fuente externa*/
@font-face {
    font-family: 'URW DIN Arabic Thin';
    src: url('./fonts/URW\ DIN\ Arabic\ Thin.ttf') format('truetype');
}

*{
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

/********Dropdown Gigante********/
#fullscreen-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(26, 57, 87, 1);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    transform: translateY(-100%);
    justify-content: flex-end; /* Alinea el contenido al lado derecho */
    transition: transform 0.5s ease-in-out;
    z-index: 1000;
    padding-right: 15%; /* Ajusta el espaciado derecho */
}

#fullscreen-menu.show {
    transform: translateY(0);
}

#fullscreen-menu .menu-content {
    text-align: right;
}

#fullscreen-menu ul {
    list-style-type: none;
    padding: 0;
}

#fullscreen-menu li {
    margin: 20px 0;
}

#fullscreen-menu a {
    color: #F2B3C4;
    font-size: 2rem;
    text-decoration: none;
    font-family: 'URW DIN Arabic Thin', sans-serif;	
}
#fullscreen-menu a:hover {
    font-weight: bold;
}

#fullscreen-menu .close-menu {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 2rem;
    text-decoration: none;
    color: #FFEAE8;
}
.hidden {
    display: none;
}
/***********Animacion de aparicion***********/
.animate-item {
    opacity: 0;
    transform: translateY(100px);
    transition: transform 1.2s ease, opacity 0.8s ease;
}

.animate-item.visible {
    opacity: 1;
    transform: translateY(0);
}

.animate-item:nth-child(1) {
    transition-delay: 0.3s;
}

.animate-item:nth-child(2) {
    transition-delay: 0.5s;
} 

/******************Estilos Generales*******************/
body{
    height: 100vh;
    margin: 0;
    font-family: Arial, sans-serif;
}
.button-container {
    margin-top: 10px;
    width: 220px;
}

.button-container .button {
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    padding: 16px 30px;
    background-color: transparent;
    border-radius: 100px;
    font-size: 1.3rem;
    transition: all 0.3s ease;
    width: 100%;
}
.button-container .button img{
    width: 15px;
    height: 15px;
    transition: transform 0.3s ease;
}
.button-container .button span{
    padding: 0;
    text-align: left;
    margin-left: 25px;
    font-family: 'URW DIN Arabic Thin', sans-serif;
    font-weight: bold;
    transition: margin-left 0.3s ease; /* Transición suave para el margen */
}
.button-container .button:hover span {
    margin-left: 15px;
}
.button-container .button:hover img {
    transform: rotate(45deg);
}
.btn-claro .button{
    color: #FFEAE8;
    border: 1px solid #FFEAE8;
}
.btn-claro .button:hover{
    color: #1A3957;
    border: 1px solid #1A3957;
    background-color: #FFEAE8;
}
.btn-claro .button:hover img{
    filter: brightness(0) saturate(100%) invert(17%) sepia(58%) saturate(600%) hue-rotate(169deg) brightness(97%) contrast(94%); /* Cambia el color de la imagen */
}
.btn-oscuro .button{
    color: #00274d;
    border: 1px solid #00274d;
}
.btn-oscuro .button img{
    filter: brightness(0) saturate(100%) invert(17%) sepia(58%) saturate(600%) hue-rotate(169deg) brightness(97%) contrast(94%); /* Cambia el color de la imagen */
}
.btn-oscuro .button:hover{
    color: #FFEAE8;
    border: 1px solid #1A3957;
    background-color: #00274d;
}
.btn-oscuro .button:hover img{
    filter: none;
}


nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 50px;
    background-color: #1C3D59;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 10;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

nav img {
    height: 40px;
}

.button-container-nav {
    display: flex;
    align-items: center;
}

nav .buttonnav {
    background-color: #FFEAE8;
    color: #1C3D59;
    padding: 10px 40px;
    border: none;
    border-radius: 40px;
    font-size: 16px;
    text-decoration: none;
}

.button-container-nav img {
    height: 40px;
    margin-left: 15px;
    transition: transform 0.3s ease;
}

.button-container-nav img:hover {
    transform: rotate(90deg);
}



.section {
    background-color: #1C3D59;
    padding-top: 370px;
    padding-bottom: 100px;
}

.content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 90%;
    margin: 0 auto;
}

.left, .right {
    height: 180px;
}

.left {
    flex: 0 0 75%; /* La izquierda ocupará el 70% */
}

.right {
    flex: 0 0 25%; /* La derecha ocupará el 30% */
    text-align: left;
}

.subcontenedor-left, .subcontenedor-right {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    height: 100%;
    padding-bottom: 25px;
}

.subcontenedor-line-left, .subcontenedor-line-right {
    height: 10%;
}
.subcontenedor-right p{
    color: #FFEAE8;
    font-size: 0.78rem;
    font-weight: bold;
    text-transform: uppercase;
    font-family: 'URW DIN Arabic Thin', sans-serif;
}
.line {
    height: 1px;
    background-color: #FFEAE8;
    margin: 20px 0;
    width: 95%;
}
.sub-left-p{
    width: 60%;
    font-weight: bold;
    font-size: 1.4rem;
    color: #FFEAE8;
}
.text-img{
    text-align: left;
    font-size: 7rem;
    font-weight: bold;
    transition: 1s font-size;
    background-image: url('./media/img-fondo.jpg');
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.section-2 {
    background-color: #1C3D59;
    padding-top: 200px;
    padding-bottom: 100px;
}

.content-2 {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 90%;
    margin: 0 auto;
}

.left-2, .right-2 {
    height: auto;
}

.left-2 {
    flex: 0 0 30%; /* La izquierda ocupará el 70% */
}

.right-2 {
    flex: 0 0 70%; /* La derecha ocupará el 30% */
    text-align: left;
}

.subcontenedor-left-2, .subcontenedor-right-2 {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    height: 100%;
    padding-bottom: 25px;
}

.subcontenedor-line-left-2, .subcontenedor-line-right-2 {
    height: 10%;
}

.line {
    height: 1px;
    background-color: #FFEAE8;
    margin: 20px 0;
    width: 95%;
}
.sub-left-p-2{
    width: 100%;
    font-family: 'URW DIN Arabic Thin', sans-serif;
    font-weight: bold;
    font-size: 1.4rem;
    color: #FFEAE8;
}

.card-container {
    display: flex; /* Usar flexbox para flexibilidad */
    flex-wrap: wrap; /* Permitir que los elementos se envuelvan */
    gap: 20px;
    width: 100%;
    margin-top: 30px;
    padding: 0 40px;
    box-sizing: border-box; /* Asegurar que el padding no cause desbordamiento */
}

.card {
    flex: 1 1 calc(50% - 20px); /* Ajustar el ancho a la mitad del contenedor menos el gap */
    border: 1px solid #FFEAE8 !important;
    border-radius: 8px;
    text-align: center;
    display: flex;
    max-height: 400px;
    padding: 20px;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    box-sizing: border-box; /* Incluir padding y border en el cálculo del ancho */

}

/* Asegurar que las tarjetas ocupen el ancho completo si no hay suficiente espacio */
.card-container > .card {
    min-width: calc(50% - 20px);
}

.subcontenedor-right-2 h3{
    color: #FFEAE8;
    font-weight: bold;
    text-align: left;
    padding-bottom: 20px;
    height: 40%;
    width: 100%;
    text-transform: uppercase;
    font-size: 2rem; /* Ajusta el tamaño de la fuente */
    word-wrap: break-word;
}
.subcontenedor-right-2 p{
    font-size: 0.8rem;
    color: #FFEAE8;
    text-align: left;
    font-family: 'URW DIN Arabic Thin', sans-serif;
    font-weight: bold;
}



.section-3 {
    background-color: #1C3D59;
    color: white;
    padding-top: 30px;
    padding-bottom: 50px;
}

.subcontenedor-right-3{
    width: 100%;
}
.content-3 {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    max-width: 90%;
    margin: 0 auto;
    gap: 20px;
    flex-wrap: wrap;
}

.left-3 {
    flex: 1;
    min-width: 20%;
}

.left-3 .index {
    font-size: 16px;
    color: #FFEAE8;
}

.right-3 {
    flex: 2;
    min-width: 70%;
    max-width: 80%;
    text-align: left;
}
.row-container {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 20px;
    width: 100%;
    margin-bottom: 45px;
    margin-top: 30px;
    
}
.row-card {
    position: relative;
    text-align: center;
    display: flex;
    padding: 20px;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    margin: 0;
    width: 95%;
    height: 220px;
    border-bottom: 1px solid #FFEAE8;
    overflow: hidden;
}

.row-card h3 {
    text-transform: uppercase;
    font-size: 3rem;
    text-align: left;
    font-weight: bold;
    width: 85%;
    color: #FFEAE8;
    z-index: 1; /* Asegura que el h3 esté por encima hasta que el contenido se despliegue */
}
.content-toggle-button{
    position: absolute;
    right: 10px;
    top: 70%;
    padding: 5px 10px;
    z-index: 2; /* Botón encima del contenido desplegable */
}
.content-toggle-button img{
    width: 15px;
    height: auto;
    transform: rotate(44deg);
    
}
.toggle-button {
    color: #FFEAE8;
    border: none;
    cursor: pointer;
    margin: 0;
}
.toggle-button span{
    text-align: left;
    text-align: center;
    margin-left: 10px;
}
.toggle-button:hover span{
}
.extra-content {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: rgba(255, 234, 232, 0.8); /* Fondo con el color original en rgba y opacidad */
    color: black;
    max-height: 0;
    overflow: hidden;
    border-radius: 20px;
    transition: max-height 0.5s ease-out;
    z-index: 0; /* Por debajo del botón y h3 inicialmente */
    box-sizing: border-box; /* Incluye el padding en el cálculo del max-height */
    justify-content: center;
    align-items: center;
    backdrop-filter: blur(6px); /* Aplica el desenfoque al fondo */
}
.extra-extra-content {
    display: flex;
    padding: 40px;
    align-items: center; /* Centra el contenido horizontalmente */
    width: 100%;
    height: 100%; /* Permite que el contenedor se expanda más allá del contenido inicial */
}

.extra-content img {
    filter: brightness(0) saturate(100%) invert(17%) sepia(58%) saturate(600%) hue-rotate(169deg) brightness(97%) contrast(94%); /* Cambia el color de la imagen */
    width: 100px; /* Puedes ajustar el tamaño de la imagen */
    height: auto; /* Mantiene la proporción de la imagen */
    max-width: 100%; /* Asegura que la imagen no se desborde del contenedor */
    margin-right: 30px;/* Espaciado inferior entre la imagen y el texto */
}
.extra-extra-content p {
    font-family: 'URW DIN Arabic Thin', sans-serif;
    font-weight: bold;
    font-size: 1.2rem; /* Ajusta el tamaño de la fuente */
    max-width: 60%; /* Puedes ajustar el ancho máximo del texto */
    text-align: left; /* Asegura que el texto esté alineado a la izquierda */
    color: #1A3957;
}

.extra-content.active {
    height: 100%;
    z-index: 3; /* Por encima del h3 al activarse */
}
.button-container-3 {
    margin: 0;
    align-self: flex-end;
}

.button-container-3 span{
    padding: 10px;
}

.button-container-3 .button {
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background-color: transparent;
    border: 1px solid rgba(26, 57, 87, 1);
    border-radius: 20px;
    color: rgba(26, 57, 87, 1);
    font-size: 16px;
    transition: all 0.3s ease;
}

.button-container-3 .button:hover {
    background-color: white;
    color: #00274d;
}
*/

.section-3 .line{
    width: 100%;
    background-color: #FFEAE8;
}


.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    width: 100%;
    padding: 10px 40px;
    background-color: #FFEAE8;
    flex-wrap: wrap;
    padding-top: 100px;
}

.footer-img {
    width: 60%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
}

.footer-contenedor-logo{
    display: flex;
    width: 100%;
    align-items: center;
}

.footer-img img {
    width: 100%;
    max-width: 180px;
    height: auto;
    margin: 0;
    padding: 0;
}

.footer-img h1 {
    font-size: 5rem;
    color: #00274d;
    text-transform: uppercase;
    margin-left: 15px;
    text-align: left;
}

.footer-body{
    width: 18%;
}

.footer-nav{
    margin: 0;
    width:100%;
}

.footer-nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: left;
}

.footer-nav li {
    margin-bottom: 10px;
}

.footer-nav a {
    text-decoration: none;
    color: #2c3e50;
    font-size: 1rem;
    text-transform: uppercase;
}

.footer-contact{
    padding-top: 70px;
    color: #333;
}

.footer-contact p{
    padding: 5px 0;
    font-size: 1rem;
    text-transform: uppercase;
    word-wrap: break-word;
}

.footer-contact p a{
    font-size: 1rem;
    text-decoration: none;
    color: #000;

}
/*
.btn-5 {
    margin-top: 100px;
}
.btn-5 span{
    color: #00274d;
}
.btn-5 span:hover{
    color: #FFEAE8;
}
.btn-5 a{
    border: #00274d 1px solid !important; 
}*/

.footer-text{
    padding-top: 30px;
}
.footer-text p{
    font-size: 1rem;
    color: gray;
}
.footer-text a{
    text-decoration: none ;
    color: gray;
}
.btn-4{
    padding-top: 100px;
    width: 235px;
}
/**/
.btn-5{
    width: 100%;
}
.btn-5 .button span{
    padding: 0;
    margin: 0;
    text-align: center;
}
@media (max-width: 1300px) {  
    .section {
        padding-top: 300px;
        padding-bottom: 100px;
    }
    .subcontenedor-right p{
        font-size: 0.72rem;
    }
    .text-img{
        font-size: 5.7rem;
    }
    
    
} 
@media (max-width:1160px){
    .text-img{
        font-size: 5.6rem;
    }
}

@media (max-width: 1130px) { 
    .section {
        padding-top: 280px;
        padding-bottom: 100px;
    } 
    .text-img{
        font-size: 5.4rem;
    }
    .row-card h3{
        font-size: 2.5rem;
    }
    .row-card{
        height: 180px;
    }
    

}

@media (max-width:1080px) {
    .text-img{
        font-size: 5rem;
    }
    .subcontenedor-right p{
        font-size: 0.7rem;
    }
    .card h3{
        font-size: 1.6em;
    }
}

@media(max-width:990px){
    .section{
        padding-top: 230px;
    }
    .text-img{
        font-size: 4.5rem;
    }
    .subcontenedor-right p{
        font-size: 0.6rem;
    }
    .footer-img img {
        max-width: 160px;
    }
    .footer-img h1{
        font-size: 4rem;
    }
}

@media (max-width: 900px) {  
    .section{
        padding-top: 200px;
        padding-bottom: 50px;
    }
    .subcontenedor-right p{
        font-size: 0.6rem;
    }
    .card h3{
        font-size: 1.2rem;
    }
    .row-card h3{
        font-size: 2.1rem;
    }
    .text-img{
        font-size:4.2rem;
    }
} 

@media (max-width:850px){
    .text-img{
        font-size: 3.9rem;
    }
    .subcontenedor-right p{
        font-size: 0.56rem;
    }
    .sub-left-p-2{
        font-size: 1.2rem;
    }
}

@media (max-width: 800px) {  
    .card h3{
        font-size: 1.2rem;
    }
    .card p{
        font-size: 0.75rem;
    }
    .row-card h3{
        font-size: 2.1rem;
    }
    
    .footer-content {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        align-items: flex-start; /* Alinear los elementos hacia la parte superior */
        width: 100%;
        padding: 10px;
        background-color: #FFEAE8;
        flex-wrap: wrap; /* Permite que los elementos se envuelvan si no hay suficiente espacio */
        padding-top: 80px;
    }
    .footer-img {
        width: 100%;
        display: flex;
        padding-left: 15px;
        flex-direction: column; /* Asegura que los hijos estén alineados en columna */
        align-items: flex-start; /* Alinea el contenido a la izquierda */
        justify-content: flex-start; /* Alinea el contenido hacia la parte superior */
    }
    
    .footer-img img {
        max-width: 130px;
        margin: 0; /* Quita cualquier margen que pueda afectar el posicionamiento */
        padding: 0; /* Quita cualquier padding que pueda afectar el posicionamiento */
    }
    .footer-img h1 {
        font-size: 4rem; /* Ajusta el tamaño de fuente para pantallas más pequeñas */
        margin-left: 15px; /* Espacio entre el logo y el texto */
    }
    .footer-body{
        width: 100%;
        padding-left: 15px;
        display: flex;
    }
    .footer-nav{
        margin: 0;
        padding-top: 20px;
        width:100%;
    }
    .footer-nav a {
        font-size: 1rem;
    }
    .footer-contact{
        margin: 0;
        padding: 0;
        padding-top: 20px;
        padding-left: 15px;

    }
    .footer-contact p{
        font-size: 1rem;
        text-transform: uppercase;
        word-wrap: break-word;
    }
    .footer-contact p a{
        font-size: 1rem;
        text-decoration: none;
        color: #000;
    
    }
    .btn-4{
        padding-top: 20px;
        padding-bottom: 20px;
    }
} 

@media (max-width: 790px) {  
    .subcontenedor-line-left .line{
        display: none;    
    }
    .section{
        padding-top: 120px;
        padding-bottom: 50px;
    }
    .content{
        flex-direction: column;
        align-items: center;
    }
    .text-img{
        font-size: 5.3rem;
    }
    .subcontenedor-right{
        width: 55%;
    }
    .section-2{
        padding-top: 0px;
    }
    .content-2{
        display: flex;
        flex-direction: column; /* Asegura que los elementos se alineen verticalmente */
        align-items: flex-start;
    }
    .card-container{
        padding: 0;
    }
    .card{
        padding: 35px;
    }
    .card h3{
        padding-bottom: 33px;
        font-size: 2rem;
    }
    .subcontenedor-left-2{
        padding-bottom: 5px;
    }
    .subcontenedor-line-left-2 .line{
        display: none;    
    }
    .subcontenedor-line-right-2 .line{
        display: none;    
    }
    .content-3{
        display: flex;
        flex-direction: column; /* Asegura que los elementos se alineen verticalmente */
        align-items: flex-start;
    }
    .row-card{
        padding: 0;
        margin: 0;
        width: 100%;
        height: 120px;
    }
    .row-card h3{
        font-weight: 1000;
        font-size: 1.7rem;
        width: 80%;
    }
    .right-3{
        width: 100%;
        max-width: 100%;
    }
    .sub-left-p-2{
        font-size: 1.2rem;
    }
    .extra-extra-content p {
        font-size: 1rem; /* Ajusta el tamaño de la fuente */
    }


} 
@media(max-width:772px){
    .card h3{
        padding-bottom: 33px;
        font-size: 1.8rem;
    }
    .text-img{
        font-size: 4.9rem;
    }

}

@media(max-width:708px){
    .text-img{
        font-size: 4.6rem;
    }

}

@media(max-width:688px){
    .text-img{
        font-size: 4.1rem;
    }

}
@media(max-width:608px){
    .text-img{
        font-size: 4rem;
    }
    .footer-img img {
        max-width: 120px; /* Limita el tamaño máximo del logo */
    }
    .footer-img h1 {
        font-size: 4rem; /* Ajusta el tamaño de fuente para pantallas más pequeñas */
        margin-left: 15px; /* Espacio entre el logo y el texto */
    }
    .extra-content img {
        width: 80px; /* Puedes ajustar el tamaño de la imagen */
        margin-right: 30px;/* Espaciado inferior entre la imagen y el texto */
    }
    .extra-extra-content p {
        font-size: 0.94rem; /* Ajusta el tamaño de la fuente */
        max-width: 60%; /* Puedes ajustar el ancho máximo del texto */
    }
}
@media(max-width:578px){
    .text-img{
        font-size: 3.6rem;
    }
}

@media(max-width:532px){
    .text-img{
        font-size: 3.4rem;
    }
    .card{
        padding: 25px;
    }
    .card h3{
        font-size: 1.2rem;;
    }
}

@media(max-width:510px){
    .text-img{
        font-size: 3rem;
    }
    .card-container{
        display: flex;
        flex-direction: column; /* Asegura que los elementos se alineen verticalmente */
        align-items: flex-start;
    }
    .card h3{
        font-size: 1.8rem;
    }
    .card p{
        font-size: 0.88rem;
    }
    .subcontenedor-right{
        width: 75%;
    }
    .subcontenedor-right p{
        font-size: 0.7rem;
    }
    .row-card h3{
        font-size: 1.5rem;
    }
    .footer-img img {
        max-width: 100px; /* Limita el tamaño máximo del logo */
    }
    .footer-img h1 {
        font-size: 3.5rem; /* Ajusta el tamaño de fuente para pantallas más pequeñas */
        margin-left: 15px; /* Espacio entre el logo y el texto */
    }
    .footer-nav li a{
        font-size: 0.9rem;
    }
    .footer-contact p{
        font-size: 0.9rem;
    }
    .btn-4{
        width: 200px;
    }
    .btn-4 .button-content-1 img{
        width: 12px;
        height: auto;    
    }
    .btn-4 .button-content-2 span{
        font-size: 0.99rem;
    }
    .extra-content img {
        width: 70px; /* Puedes ajustar el tamaño de la imagen */
    }
    .extra-extra-content p {
        font-size: 0.9rem; /* Ajusta el tamaño de la fuente */
        max-width: 60%; /* Puedes ajustar el ancho máximo del texto */
    }
    .row-card h3{
        font-size: 1.3rem;
    }
}

@media(max-width:455px){
    .text-img{
        font-size: 2.7rem;
    }
    .extra-content img {
        width: 70px; /* Puedes ajustar el tamaño de la imagen */
    }
    .extra-extra-content p {
        font-size: 0.8rem; /* Ajusta el tamaño de la fuente */
        max-width: 60%; /* Puedes ajustar el ancho máximo del texto */
    }
    .footer-img img {
        max-width: 90px; /* Limita el tamaño máximo del logo */
    }
    .footer-img h1 {
        font-size: 3.2rem; /* Ajusta el tamaño de fuente para pantallas más pequeñas */
    }
    .btn-4{
        display: none;
    }
}
@media(max-width:409px){
    .text-img{
        font-size: 2.4rem;
    }
    .footer-img img {
        max-width: 80px; /* Limita el tamaño máximo del logo */
    }
    .footer-img h1 {
        font-size: 3rem; /* Ajusta el tamaño de fuente para pantallas más pequeñas */
    }
    .footer-nav li a{
        font-size: 0.8rem;
    }
    .footer-contact p{
        font-size: 0.8rem;
    }
    .row-card h3{
        font-size: 1.19rem;
    }
    .extra-extra-content p{
        font-size: 0.76rem;
    }
    .section-2{
        padding-bottom: 80px;
    }
    .card h3{
        font-size: 1.3rem;
    }
    .card p{
        font-size: 0.8rem;
    }
}
@media(max-width:368px){
    .text-img{
        font-size: 2.1rem;
    }
    .row-card{
        height: 98px;
    }
    .content-toggle-button{
        top: 40%;
    }
    .row-card h3{
        font-size: 0.86rem;
    }
    .extra-extra-content img{
        width: 55px;
    }
    .extra-extra-content p{
        font-size: 0.69rem;
    }
    
    .footer-img img {
        max-width: 60px; /* Limita el tamaño máximo del logo */
    }
    .footer-img h1 {
        font-size: 2.8rem; /* Ajusta el tamaño de fuente para pantallas más pequeñas */
    }
    .footer-nav li a{
        font-size: 0.8rem;
    }
    .footer-contact p{
        font-size: 0.8rem;
    }
}
@media(max-width:345px){
    .footer-nav li a{
        font-size: 0.7rem;
    }
    .footer-contact p{
        font-size: 0.7rem;
    }
}

@media(max-width:322px){
    .text-img{
        font-size: 1.8rem;
    }
    .extra-extra-content p{
        font-size: 0.58rem;
    }
}