/*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;
}

/******Deshabilita todas las interacciones del usuario*******/
video {
    pointer-events: none !important;
    user-select: none !important;
}

/***********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;
} 

/***********Animacion de aparicion de card***********/
.animate-item-card {
    opacity: 0;
    transform: translateY(100px);
    transition: transform 1.2s ease, opacity 0.8s ease;
}

.animate-item-card.visible {
    opacity: 1;
    transform: translateY(0);
}

.animate-item-card:nth-child(1) {
    transition-delay: 0.3s;
}

.animate-item-card:nth-child(2) {
    transition-delay: 0.5s;
} 

.animate-item-card:nth-child(3) {
    transition-delay: 0.7s;
}

.animate-item-card:nth-child(4) {
    transition-delay: 0.9s;
}  


/******************Estilos Generales*******************/
body{
    height: 100vh;
    margin: 0;
    font-family: Arial, sans-serif;
}

/*Letra izquierda*/
.subheading{
    font-family: 'URW DIN Arabic Thin', sans-serif;
    font-size: 1.1rem;
    line-height: 1;
    font-weight: bold;
}

.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;
}

.line {
    height: 1px;
    background-color: #FFEAE8;
    margin: 20px 0;
    width: 95%;
}


/*******************Barra de navegacion******************/
nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 50px;
    background-color: rgba(255, 234, 232, 0.9);
    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: rgba(26, 57, 87, 0.9);
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    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);
}

/********************Video dentro de texto********************/
svg { 
    font-size: 18rem;
    font-weight: 700;
    text-transform: uppercase;
    transition: 1s font-size;
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
}

.video-principal{
    width: 100%;
    height: 100%;
    display: block;
}
  
svg rect {
    fill: white;
    mask: url(#mask);
}
  
svg > rect {
    fill: #FFEAE8;
}

.text-overlay {
    position: absolute;
    bottom: 7%;
    right: 20%;
    color: rgba(26, 57, 87, 0.9);
    font-family: 'URW DIN Arabic Thin', sans-serif;
    z-index: 2;
    display: flex;
    gap: 25px;
    text-align: right;
    align-items: flex-end;
}

.text-principal{
    text-align: right;
}

.text-secundary{
    text-align: left;
    align-items: flex-end;
}

.text-overlay h1 {
    font-size: 1.8em;
    margin: 0;
    font-weight: bold;
}

.text-overlay img{
    cursor: pointer;
    transition: transform 0.3s ease;
}

.text-overlay img:hover {
    transform: scale(1.1);
}

/********************Primera seccion********************/
.section {
    background-color: rgba(26, 57, 87, 1);
    padding-top: 220px;
    padding-bottom: 155px;
}

.content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 90%;
    margin: 0 auto;
}

.left, .right {
    height: 180px;
}

.left {
    flex: 1;
}

.right {
    flex: 2;
    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%;
}

.left .index, .left .subheading, .right h1 {
    color: #FFEAE8;
    margin: 0;
    padding: 0;
}

.right h1 {
    font-size: 3.4rem;
    line-height: 1;   
}

/*******************Video de 3 secciones*******************/
.contenedor-principal{
    padding-top: 5px;
    width: 100%;
    background-color: rgba(26, 57, 87, 1);
}

.contenedor {
    position: relative;
    width: 100%;
    max-width: 95%;
    margin: 0 auto;
}

.imagen {
    width: 100%;
    height: auto;
    z-index: 2;
    position: relative;
}

.video-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

.video-container video {
    width: 100%;
    height: 80%;
    object-fit: cover;
}

/**********************Seccion 2**********************/
.section2{
    background-color: rgba(26, 57, 87, 1);
    color: white;
    padding-top: 10px;
    padding-bottom: 200px;
}

.content2 {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 90%;
    margin: 0 auto;
}

.subcontenedor-right .text-2{
    font-size: 3.2rem;
}

.subcontenedor-right p{
    text-transform: uppercase;
    padding-top: 10%;
    font-size: 0.96rem;
    color: #FFEAE8;
    font-weight: bold;
    font-family: 'URW DIN Arabic Thin', sans-serif;
}

.left-2, .right-2 {
    height: auto;
}

.left-2 {
    flex: 1;
}

.right-2 {
    flex: 2;
    text-align: left;
}

.left-2 .index, .left-2 .subheading, .right-2 h1 {
    color: #FFEAE8;
    margin: 0;
    padding: 0;
}

.left-2 .index {
    font-size: 16px;
}

.left-2 .subheading {
    font-size: 20px;
    line-height: 1;
}

.right-2 h1 {
    font-size: 3.4rem !important;
    line-height: 1;
}

.card-container h3{
    font-family: 'URW DIN Arabic Thin', sans-serif;
}
/*
.button-container {
    margin-top: 10px;
}

.button-container .button {
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background-color: transparent;
    border: 1px solid white;
    border-radius: 20px;
    color: white;
    font-size: 16px;
    transition: all 0.3s ease;
}

.button-container .button:hover {
    background-color: white;
    color: #00274d;
}*/

.card-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    width: 100%;
    margin-bottom: 45px;
    margin-top: 30px;
}
  
.card {
    background-color: rgba(26, 57, 87, 1);
    border: 3px solid #ffffff33 !important;
    border-radius: 8px;
    text-align: center;
    display: flex;
    padding: 5px;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    margin: 0;
    width: 100%;
}

.card .icon {
    margin-bottom: 60px;
    margin-top: 5px;
}

.card img {
    width: 120px;
    height: 100px;
    margin-left: 10px;
    align-self: flex-start;
}

.card h3 {
    font-size: 1.2rem;
    text-align: start;
    color: #FFEAE8;
    width: 100%;
    padding-left: 10px;
}

/***********************Seccion 3***********************/
.section-3 {
    background-color: #FFEAE8;
    color: white;
    padding-top: 135px;
    padding-bottom: 5px;
}

.subcontenedor-right-3{
    width: 85%;
}

.text-3{
    font-size: 3.4rem !important;
    margin: 0;
    margin-bottom: 20px;
    color: rgba(26, 57, 87, 1);
}
.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: 30%;
}

.left-3 .index {
    font-size: 16px;
    color: #bbbbbb;
}

.left-3 .subheading {
    color: rgba(26, 57, 87, 1);
}

.right-3 {
    flex: 2;
    min-width: 60%;
    max-width: 70%;
    text-align: left;
}

.row-container {
    margin-top: 20px;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: nowrap;
    height: 100%;
}
/*
.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;
}
*/
.custom-video-wrapper {
    display: flex;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
}

.custom-video-wrapper video {
    flex-grow: 1;
    width: 520px;
    height: 180px;
    object-fit: fill;
}

.section-3 .line{
    width: 100%;
    background-color: #00274d;
}
.btn-3{
    width: 340px;
}

/********************Slider de logos*********************/
.company img{
    width: 220px;
    height: 100px;
    object-fit: contain;
}
  
.content-slider-principal{
    padding-top: 70px;
    background-color: #FFEAE8;
}

.content-slider-multiple {
    position: relative;
}
  
.titulo {
    position: absolute;
    width: 60%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    font-size: 24px;
    font-weight: bold;
    color: #333;
    background-color: rgba(0, 39, 77, 0.8);
    border-radius: 130px;
    padding: 25px 40px;
    z-index: 5;
    backdrop-filter: blur(6px); /* Aplica el desenfoque al fondo */
}
  
.stock-ticker2 {
    font-size: 20px;
    padding-block: 22px;
    overflow: hidden;
    user-select: none;
    --gap: 20px;
    display: flex;
    gap: var(--gap);
}
  
.stock-ticker2 ul {
    list-style: none;
    flex-shrink: 0;
    min-width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: var(--gap);
    animation: scroll2 20s linear infinite;
}
.stock-ticker {
    font-size: 14rem;
    color: #00274d;
    padding-block: 0px;
    overflow: hidden;
    user-select: none;
    --gap: 20px;
    display: flex;
    gap: var(--gap);
}

.stock-ticker ul {
    list-style: none;
    flex-shrink: 0;
    min-width: 100%;
    font-family: 'URW DIN Arabic Thin', sans-serif !important;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: var(--gap);
    animation: scroll 40s linear infinite;
}

.stock-ticker + .stock-ticker {
    margin-top: -5rem;
}

@keyframes scroll {
    to {
      transform: translateX(calc(-100% - var(--gap)));
    }
}

@keyframes scroll2 {
    to {
      transform: translateX(calc(-100% - var(--gap)));
    }
}

/******************Seccion 4: Slider Card******************/
.section4{
    background-color: #FFEAE8;
    padding-top: 100px;
    padding-bottom: 50px;
}

.content4 {
    flex-direction: column;
    align-items: flex-start;
    max-width: 95%;
    margin-left: 60px;
}

.subtext-4{
    padding-bottom: 30px;
}

.subtext-4 p{
    color: #00274d;
}

.text-4{
    color: #00274d;
    font-size: 3.4rem;
    width: 60%;
}

.subcontent4{
    padding-bottom: 90px;
}

.sliderCardContenedor {
    user-select: none;
    display: flex;
    overflow-x: scroll;
    scroll-behavior: smooth;
    gap: 20px;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 20px;
}

.sliderCardContenedor::-webkit-scrollbar {
    display: none;
}

.sliderItem {
    flex-shrink: 0;
    width: 500px;
    height: 100%;
    background-color: rgba(26, 57, 87, 1);
    border-radius: 20px;
    position: relative;
    padding: 35px;
}

.sliderText {
    font-size: 1.1rem;
    color: #FFEAE8;
    font-weight: bold;
    text-transform: uppercase;
}

.sliderText-company{
    padding-top: 20px;
    font-size: 0.7rem;
    font-weight: bold;
    color: #FFEAE8;
    text-transform: uppercase;
}
.sliderText-comment{
    padding-top: 20px;
    font-size: 0.87rem;
    color: #FFEAE8;
    width: 80%;
}

.slideNumber {
    position: absolute;
    top: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: #FFEAE8 1px solid;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
}
.color-blue{
    background-color: #00274d;
    width: 95%;
    height: 1px;
}

/**********************Footer**********************/
.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    width: 100%;
    padding: 10px;
    background-color: #FFEAE8;
    flex-wrap: wrap;
}

.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;

}

.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;
}
/***********Responsive***********/
@media(max-width:1300px){
    svg{
        font-size: 15.8rem;
    }
}

@media (max-width: 1200px) {
    svg {
        font-size: 15rem;
    }
    .text-overlay {
        bottom: 15%;
        right: 14%;
    }

    .text-secondary img{
        width: 85%;
    }
   

} 

@media (max-width: 1100px) {
    svg {
        font-size: 13rem;
    }
    
} 

@media (max-width: 960px) {
    svg {
        font-size: 11.8rem;
        height: 95%;
    }
    .video-principal{
        height: 85%;
    }
    .section{
        padding-top: 400px;
    }
    .text-overlay {
        bottom: 22%;
    }
    .text-overlay h1 {
        font-size: 1.5em;
    }

    .card-container {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
        width: 100%;
        margin-bottom: 45px;
    }

    .card {
        background-color: rgba(26, 57, 87, 1);
        border: 1px solid #ffffff33;
        border-radius: 8px;
        text-align: left;
        display: flex;
        padding: 5px;
        flex-direction: column;
        align-items: flex-start;
        justify-content: flex-start;
       /* margin-left: 1px;*/
        width: 100%;
    }
    .footer-img img {
        max-width: 160px;
    }
    .footer-img h1{
        font-size: 4rem;
    }
} 

@media (max-width: 880px) {
    svg {
        font-size: 10.8rem;
    }
} 

@media (max-width: 810px) {
    svg {
        font-size: 10rem;
        height: 85%;
    }
    .video-principal{
        height: 75%;
    }
    .text-overlay {
        bottom: 30%;
    }
    .section {
        padding-top: 400px;
        padding-bottom: 40px;
    }
    .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 */
    }
    
    .footer-img {
        width: 60%;
        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 {
        width: 100%;
        margin: 0; /* Quita cualquier margen que pueda afectar el posicionamiento */
        padding: 0; /* Quita cualquier padding que pueda afectar el posicionamiento */
    }
    .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-5 {
        display: none;
    }

    .color-blue{
        display: block;
        width: 95%;
    }
} 

@media (max-width: 780px) {
    nav {
        padding: 15px 25px;
    }
    svg {
        font-size: 8.8rem;
    }
    .text-overlay {
        right: 15%;
    }
    .text-overlay h1 {
        font-size: 1.4em;
    }
    .section {
        padding-top: 220px;
        padding-bottom: 40px;
    }
    .text-secondary img{
        width: 85%;
    }

    .content {
        flex-direction: column;
        align-items: flex-start;
        max-width: 100%;
        margin-left: 20px;
    }

    .left, .right {
        height: auto;
        width: 100%;
        text-align: left;
    }

    .subcontenedor-left, .subcontenedor-right {
        align-items: flex-start;
        justify-content: flex-start;
    }

    .left .index, .left .subheading, .right h1 {
        font-size: 16px;
    }

    .right h1 {
        font-size: 2.4rem !important;
        padding-top: 35px;
    }

    .button-container {
        text-align: left;
        margin-top: 40px;
    }

    .line {
        display: none;
    }

    /*Siguiente Seccion*/
    .section2 {
        padding-top: 10px;
        padding-bottom: 40px; /* Ajusté el padding para pantallas más pequeñas */
    }

    .content2 {
        flex-direction: column; /* Cambié la dirección para alinearlo verticalmente */
        align-items: flex-start; /* Alinea todo a la izquierda */
        max-width: 100%;
        margin-left: 20px; /* Asegura que no haya margen */
    }

    .left-2, .right-2 {
        height: auto;
        width: 100%;
        text-align: left; /* Alinea el texto a la izquierda */
    }

    .subcontenedor-right .text-2 {
        font-size: 2rem; /* Ajusté el tamaño de la fuente para pantallas más pequeñas */
    }

    .subcontenedor-right p {
        text-transform: uppercase;
        padding-top: 10%;
        font-size: 1rem;
    }

    .left-2 .index, .left-2 .subheading, .right-2 h1 {
        font-size: 18px;
    }

    .right-2 h1 {
        padding-top: 35px;
        font-size: 2.4rem !important;
    }

    .button-container {
        text-align: left; /* Alinea los botones a la izquierda */
        margin-top: 20px;
    }
    .card-container {
        display: grid;
        grid-template-columns: repeat(2, 1fr); /* Cambié el número de columnas a 2 */
        gap: 20px;
        width: 100%;
        margin-bottom: 45px;
    }

    .card {
        background-color: rgba(26, 57, 87, 1);
        border: 1px solid #ffffff33;
        border-radius: 8px;
        text-align: left;
        display: flex;
        padding: 5px;
        flex-direction: column;
        align-items: flex-start;
        justify-content: flex-start;
       /* margin-left: 1px;*/
        width: 90%;
    }
    

    .card .icon {
        margin-bottom: 60px;
        margin-top: 5px;
    }

    .card img {
        width: 120px;
        height: 100px;
        margin-left: 10px;
        align-self: flex-start;
    }

    .card h3 {
        font-size: 1.2rem;
        text-align: left; /* Alinea el texto a la izquierda */
        color: #FFEAE8;
        width: 100%;
    }

    /*Siguiente seccion*/
    .section-3 {
        padding-top: 80px;
        padding-bottom: 80px;
    }
    .content-3 {
        flex-direction: column;
        align-items: flex-start;
    }

    .left-3, .right-3 {
        min-width: 100%;
        max-width: 100%;
    }

    .left-3 .subheading {
        font-size: 18px;
    }

    .text-3 {
        font-size: 2.3rem !important;
        /*colocar negrita*/
        /*font-weight: bold !important;*/
        
    }
    .row-container {
        flex-direction: column;
        align-items: flex-start;
    }

    .button-container-3 {
        align-self: flex-start;
        margin-top: 20px;
    }

    .custom-video-wrapper {
        width: 100%;
    }

    .custom-video-wrapper video {
        width: 100%;
        height: 170px; /* Ajusta la altura automáticamente */
    }
    .content4 {
        margin-left: 30px;
    }
    .subtext-4{
        padding-bottom: 20px;
    }
    .text-4 {
        font-size: 2.3rem !important;
        width: 80%;
    }
    .sliderItem {
        width: 97%;
        height: 100%;
        padding: 35px;
    }
    .color-blue{
        display: block;
        width: 95%;
    }
    .footer-img img {
        max-width: 150px; /* Limita el tamaño máximo del logo */
    }
    .footer-img h1 {
        font-size: 5rem; /* Ajusta el tamaño de fuente para pantallas más pequeñas */
        margin-left: 15px; /* Espacio entre el logo y el texto */
    }
} 

@media (max-width: 660px) {
    svg {
        font-size: 8rem;
        height: 80%;
    } 
    .video-principal{
        height: 70%;
    }
    .text-overlay {
        bottom: 33%;
        right: 7%;
    }
    .text-overlay h1 {
        font-size: 1.3em;
    }
}

@media (max-width: 600px) {
    svg {
        font-size: 7.2rem;
        height: 72%;
    }
    .video-principal{
        height: 62%;
    }
    .text-overlay {
        bottom: 35%;
        right: 7%;
        font-size: 0.9rem;
    }
    .titulo{
        width: 80%;
    }
    .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 */
    }
} 

@media (max-width: 542px) {
    svg {
        font-size: 6.5rem;
        height: 65%;
    }
    .video-principal{
        height: 55%;
    }
    .text-overlay {
        bottom: 43%;
    }
    .text-overlay h1 {
        font-size: 1.2em;
    }
    .text-secondary img{
        width: 75%;
    }
} 
@media (max-width: 490px) {
    svg {
        font-size: 5.5rem;
        height: 60%;
    }
    .video-principal{
        height: 50%;
    }
    .text-overlay {
        bottom: 48%;
    } 
    .content-slider-principal{
        padding-top: 0px;
    }
    .card-container {
        grid-template-columns: repeat(1, 1fr);
        gap: 20px;
        width: 95%;
    }
    .card {
        width: 100%;
    }
    .animate-item-card:nth-child(1) {
        transition-delay: 0.3s;
    }
    
    .animate-item-card:nth-child(2) {
        transition-delay: 0.5s;
    } 
    .subcontenedor-right-3{
        width: 100%;
    }
    .subcontenedor-right h1{
        font-size: 2.2rem !important;
    }
    .subcontenedor-right-3 h1{
        font-size: 2.2rem !important;
     }
     .footer-img img {
        max-width: 100px; /* 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 */
        margin-left: 15px; /* Espacio entre el logo y el texto */
    }
    .btn-4{
        display: none;
    }
}
@media (max-width: 400px) {
    svg {
        font-size: 4.5rem;
        height: 60%;
    }
    .video-principal{
        height: 50%;
    }
    .text-overlay {
        bottom: 46%;
        font-size: 0.85rem;
    } 
    .subcontenedor-right h1{
        font-size: 2rem !important;
    }
    .subcontenedor-right-3 h1{
       font-size: 2rem !important;
    }
    .titulo{
        width: 90%;
    }
    .company img{
        width: 100px;
        height: 60px;
    }
    .stock-ticker{
        font-size: 10rem;
    }
    .btn-3{
        width: 290px;
    }
    .button span{
        font-size: 1rem;
    }
    .button img{
        width: 5px;
        height: 5px;
    }
    .footer-img h1{
        font-size: 2.5rem;
    }
    .footer-img img {
        max-width: 90px; /* Limita el tamaño máximo del logo */
    }
    .footer-nav li a{
        font-size: 0.9rem;
    }
    .footer-contact p{
        font-size: 0.85rem;
    }
}  
@media (max-width: 360px) {
    svg {
        font-size: 4.5rem;
        height: 58%;
    }
    .video-principal{
        height: 55%;
    }
    .text-overlay {
        bottom: 49%;
        font-size: 0.7rem;
    } 
    
}  
@media(max-width:330px){
    svg {
        font-size: 4rem;
    }
}


@media (max-width: 318px) {
    svg {
        font-size: 4rem;
        height: 58%;
    }
    .video-principal{
        height: 55%;
    }
    .text-overlay {
        bottom: 49%;
        font-size: 0.85rem;
    } 
    .card img {
        width: 100px;
        height: 80px;
        margin-left: 10px;
    }
}  