@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap');

#header {
    background-color: rgba(11, 21, 33, .70);
    z-index: 1000;
    color: white;
    max-width:100vw;
}

#header > #navbar { 
     max-width: calc(100vw - 24px);
}

button.navbar-toggler{
    border-color: transparent !important;
    height: 45px;
    width: 45px;
    aspect-ratio: 1;
    background-image: url(./imagenes/icon-menu.svg);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    filter: opacity(1);
}

button.navbar-toggler:focus{
    box-shadow: none !important;
    background-color: transparent !important;
    filter: opacity(.5);
    
}

.nav-link {
    color: white;
}

@media (max-width:991px) {
    .nav-item .nav-link{
        background-color: transparent !important;
        padding-left: 16px}
    
}

body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    /* background-color: #0B1521; */
    color: #ffffff;
    font-family: 'Montserrat', sans-serif;
    scroll-behavior: smooth;
}

main {
    max-width: 100vw;
    overflow-x:hidden;
    scroll-behavior: smooth;
}

#hero {
    height: 100vh;
    color: white;
}

#hero .item-redes {
    background-image: none;
    height: 75px;
}

.nav-item a {
    background-color: #fff;
    color: #074B79;
    font-weight: 700;
    border-radius: 4px;
    margin-inline: 4px;
}

.video-hero {
    width: 100%;
    height: 100%;
    object-fit: cover;
    
}

.sobre-nosotros {
    padding: 0px;
    text-align: center;
    background-color: #fff;
    color: red;
}

@media (min-width: 768px) {
    .sobre-nosotros {
        padding: 20px;
    }

}

.sobre-nosotros .encabezado {
    margin-bottom: 40px;
}

.sobre-nosotros h2 {
    font-size: 1.75rem;
    color: #ffffff;
    margin-bottom: 10px;
}

.sobre-nosotros p {
    font-size: 1.2rem;
    margin: 0 auto;
    max-width: 800px;
    color: black;
}

.el-invisible-izq{
    opacity: 0;
    transform: translateX(-200px);
    transition: opacity .7s ease, transform .5s ease-in ;
}

.el-invisible-der{
    opacity: 0;
    transform: translateX(200px);
    transition: opacity .7s ease, transform .5s ease-in ;
}

.el-invisible{
    opacity: 0;
    transform: translateX(20px);
    transition: opacity .7s ease, transform .5s ease-in ;
    
}
.el-invisible-escala{
    filter: blur(4px);
    opacity: 0;
    transition: all .7s ease;
    
}

.el-visible{
    opacity: 1;
    transform: translateX(0);
    filter: none;
    
}



.contenedor {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

.card {
    background-color: #ffffff;
    border-radius: 8px;
    height: 100%;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
}

.card h3 {
    font-size: 1.5rem;
    color: white;
    margin-bottom: 15px;
}

.card p {
    font-size: 1rem;
    line-height: 1.6;
    color: #0B1521;
}

.video-hero {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.overlay-hero {
    background-color: #074B79;
    opacity: .7;
}

.subtitle {
    color: white;
    background: linear-gradient(90deg, hsla(204, 89%, 25%, 1) 0%, hsla(237, 100%, 7%, 1) 50%, hsla(204, 70%, 24%, 1) 100%);
    border-top-right-radius: 1000px;
    border-bottom-left-radius: 1000px;
    min-width: min-content;
    box-shadow: 1px 3px 2px black;
    text-align: center;
}

.mision-vision-valores {
    background-color: #0B1521;
    color: white;
    padding: 20px;
}

.header-card {
    display: flex;
    justify-content: space-between;
    align-items: center;
    text-align: center;
    width: 100%;
    background-color: #074B79;
    border-radius: 8px;
    height: 100%;

}

.header-card h3 {
    width: 100%;
    margin: 0;
}

.container-servicios {
    background-color: #fff;
}

.header-card-servicio {
    display: flex;
    justify-content: center;

    text-align: center;
    margin-inline: auto;
}



.header-card-servicio h3 {
    width: 100%;
    font-size: 1.5rem;
    font-weight: 700;
    color: #074B79;
}

.description-servicio {
    display: flex;
    justify-content: center;
    font-size: 1rem;
    font-weight: 700;
    color: #0B1521;
    text-align: center;
    /* border: 1px solid red; */
    margin-inline: auto;
    margin: 1rem 0;
    width: 100%;
}

@media (min-width: 768px) {

    .header-card-servicio {
        width: 50%;
    }

    .description-servicio {
        width: 50%;
        margin-inline: auto;
    }


}

.container-video {
    padding: 0;
    background-color: #fff;

}

.video2{
    max-width: calc(100vw - 3rem);
}

.nuestra-operacion {
    background-color: #fff;
}

.container-img-operadores {
    width: 100%;
    height: 720px;
    position: relative;
    background-image: url(./imagenes/operadores.webp);
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    background-attachment: fixed;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
    filter: drop-shadow(5px 5px 10px #000000);
}

.contenedor_paralax {
    width: 100%;
    height: 720px;
    position: relative;
    background: rgb(7, 75, 121);
    background: linear-gradient(180deg, rgba(7, 75, 121, 1) 0%, rgba(11, 21, 33, 1) 100%);
}


.description-operadores {
    font-size: 1.2rem;
    font-weight: 700;
    color: #0B1521;
    padding: 20px;
    text-align: center;
}

.form-contacto {
    background-color: #fff;
    color: #0B1521;
    padding: 20px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
}

.form-contacto label {
    font-size: 1.5rem;
    font-weight: 700;
    color: #0B1521;
}

.form-contacto header {
    background-image: linear-gradient(90deg, hsla(204, 89%, 25%, 1) 0%, hsla(237, 100%, 7%, 1) 50%, hsla(204, 70%, 24%, 1) 100%);
    color: white;
}

.form-contacto input,
.form-contacto textarea {
    background-color: #dadada;
}


.container-img-formulario {
    height: 100%;
    max-height: 100%;
}

.img-formulario {
    width: 100%;
    height: 100%;
    max-height: 650px;
    object-fit: contain;
    object-position: bottom;
}

.container-info-contacto {
    background-color: #fff;
    color: #074B79;
    font-size: 1.2rem;
    font-weight: 700;
    padding: 20px;
    text-align: left;
}

.container-info-contacto a {
    text-decoration: none;
    color: #074B79;
    margin: 8px 0;
}

.container-info-contacto svg {
    color: #074B79;
}

.container-video-operadores {
    width: 100vw;

    max-width: 100vw;
}

.container-video-operadores video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.item-redes {
    display: flex;
    justify-content: center;
    padding: 1.2rem;
    align-items: center;
    aspect-ratio: 1/1;
    background: linear-gradient(to top, #074B79, #0E1119);
    color: white;
}

.item-redes img {
    height: 100%;
    width: 100%;
    color: white;
    fill: white;
    font-size: 2rem;
    filter: invert(1) brightness(2);

}

.title-redes {
    font-size: 1.5rem;
    font-weight: 700;
    color: #074B79;
    text-align: center;
    margin-bottom: 1rem;
}

footer {
    background-color: #074B79;
    color: white;
    padding: 20px;
    text-align: center;
}

#nosotros,
#servicios,
#operadores,
#contacto {
    padding-top: 125px;
}

#contacto {
    padding-top: 125px;
    background-color: #D9D9D9;
}

.carousel-img {
    position: absolute;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
}

.carousel-img.active {
    opacity: 1;
}

.container-carousel {
    height: 600px;
    min-height: min-content;
    margin-bottom: 125px;
}

@media (max-width: 768px) {
    .container-carousel {
        height: 200px;
        padding: 0 !important;
    }

    .container-carousel .container-img img {
        max-height: 100%;
        max-width: 100%;
        object-fit: contain;
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
    }

    #prevBtn,
    #nextBtn {
        max-height: 200px;
    }

}

#prevBtn,
#nextBtn {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    height: 500px;
    width: 50px;
    background-color: transparent;
    outline: none;
    border: none;
    cursor: pointer;
}

#prevBtn:hover img,
#nextBtn:hover img {
    filter: none;
    transition: all 0.5s;
}


#prevBtn>img {
    height: 100px;
    filter: drop-shadow(2px 2px 2px rgba(0, 0, 0, 0.5));
    transition: all 0.5s;
}

#nextBtn>img {
    height: 100px;
    filter: drop-shadow(2px 2px 2px rgba(0, 0, 0, 0.5));
    transition: all 0.5s;
}




.navbar-collapse.show .nav-item a {
    background-color: transparent;
    color: white;
    overflow: hidden;
}



.navbar-toggler-icon {
    filter: brightness(0) invert(1);

}

.icon-contacto {
    max-height: 55px;
}