* {
    padding: 0;
    margin: 0;
    text-decoration: none;
    list-style: none;
    box-sizing: border-box;
}

@font-face {
    font-family: 'Helvetica Neue';
    src: url('path-to-your-fonts/HelveticaNeue.woff2') format('woff2'),
         url('path-to-your-fonts/HelveticaNeue.woff') format('woff');
}

body {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
}
nav {
    font-family: Helvetica Neue, Helvetica;
    background: #323232;
    height: 50px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 15px; /* Ajusta según sea necesario */
    position: relative;
    z-index: 2;
}

.enlace {
    display: flex;
    align-items: center;
    padding: 0; /* Ajusta el padding según sea necesario */
    margin-left: 1px;
}

.logo {
    height: 50px;
}

.mid-text {
    font-size: 18px;
    color: #fff;
    text-transform: uppercase;
    white-space: nowrap;
    margin-left: 20px; /* Ajusta según sea necesario */
    margin-right: auto; /* Empuja el menú a la derecha */
    text-align: center;
}

.checkbtn {
    font-size: 30px;
    color: #fff;
    cursor: pointer;
    display: none;
    margin-left: auto;
}

nav ul {
    display: flex;
    align-items: center;
    margin: 0;
    padding: 0;
    list-style: none;
}

nav ul li {
    margin: 0 10px;
}

nav ul li a {
    display: block;
    padding: 10px 15px;
    color: #fff;
    font-size: 18px;
    border-radius: 3px;
    text-transform: uppercase;
}

li a.active, li a:hover {
    background: #000090;
    transition: .5s;
}

#check {
    display: none;
}


.texto {
    position: relative;
    top:20px;
    z-index: 1;
    color: #fff;
    width: 80vw; /* Ajusta el tamaño según sea necesario */
    max-width: 800px; /* Máximo ancho para el contenedor */
    margin: 0 auto; /* Centrar el contenedor horizontalmente */
    text-align: left;
    padding: 20px;/* Fondo semi-transparente para legibilidad */
    height: 100%; /* Asegura que ocupe toda la altura disponible */
}

.texto h1 {
    font-size: 2vw; /* Tamaño de fuente relativo al ancho de la ventana */
    color: #f3f3f3;
}

.texto p {
    font-size: 1.5vw; /* Tamaño de fuente relativo al ancho de la ventana */
    color: #f3f3f3;
}

video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.capa {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #010df2;
    opacity: 0.5;
    mix-blend-mode: overlay;
}

@media (max-width: 952px) {
    .enlace {
        padding-left: 10px;
    }

    nav ul li a {
        font-size: 16px;
    }

    .mid-text {
        font-size: 14px;
        margin-left: 5px;
    }

    .checkbtn {
        display: block;
    }

    .texto h1 {
        font-size: 4vw; /* Ajusta el tamaño de la fuente para pantallas más pequeñas */
    }

    .texto p {
        font-size: 3vw; /* Ajusta el tamaño de la fuente para pantallas más pequeñas */
    }
}

@media (max-width: 858px) {
    nav {
        flex-direction: row;
        justify-content: space-between;
    }

    .enlace {
        order: 1;
    }

    .mid-text {
        order: 2;
        margin: 0 auto;
    }

    .checkbtn {
        order: 3;
        margin-left: 20px;
    }

    nav ul {
        flex-direction: column;
        align-items: center;
        position: fixed;
        width: 100%;
        height: 100vh;
        background: #2c3e50;
        top:40px;
        left: -100%;
        transition: all .5s;
    }

    nav ul li {
        margin: 50px 0;
        line-height: 30px;
    }

    nav ul li a {
        font-size: 20px;
    }

    li a:hover, li a.active {
        background: none;
        color: red;
    }

    #check:checked ~ ul {
        left: 0;
    }
}
footer {
    background-color: #323232;
    color: #fff;
    padding: 2px 0;
    text-align: center;
    width: 100%;
    position: relative;
    overflow: hidden; /* Asegura que no haya overflow */
}

.footer-content {
    display: flex;
    flex-direction: row; /* Alinea los elementos en fila */
    align-items: center;
    justify-content: center; /* Centra los elementos horizontalmente */
    flex-wrap: wrap; /* Permite que los elementos se muevan a la siguiente línea si es necesario */
}

.footer-content p {
    margin: 0 10px; /* Añade margen entre la ubicación y los iconos */
    font-size: 14px;
    flex-shrink: 0; /* Evita que el texto se encoja */
}

.social-icons {
    display: flex;
    margin-top: 0; /* Elimina el margen superior */
    margin-left: 10px; /* Añade margen entre el texto y los iconos */
}

.social-icon {
    margin: 0 10px;
    color: #fff;
    font-size: 20px;
    text-decoration: none;
    transition: color 0.3s ease;
}

.social-icon:hover {
    color: #000090;
}

@media (max-width: 768px) {
    .footer-content {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-content p, .social-icons {
        margin: 5px 0;
    }
    
    .social-icon {
        margin: 5px;
        font-size: 18px;
    }
}
.search-bar {
    position: relative;
    
    z-index: 1;
    margin-left: 100px; /* Para empujar la barra de búsqueda a la derecha */
    margin-right: 200px; /* Ajusta el margen según sea necesario */
    display: flex;
    flex-direction: column;
    align-items: center;
}

.search-bar input {
    padding: 10px 15px;
    font-size: 16px;
    border-radius: 20px;
    border: 1px solid #ccc;
    width: 350px;
    outline: none;
    transition: border-color 0.3s;
}
.search-bar input:focus {
    border-color: #000090; /* Color del borde cuando está enfocado */
}
section {
    position: relative;
    background: url(Fondo.mp4);
    background-size: cover;
    background-position: center center;
    height: calc(100vh - 50px); /* Ajustado para el tamaño del nav */
    overflow: hidden; /* Evita el scroll */
    display: flex;
    flex-direction: column; /* Alinea los elementos en columna */
    justify-content: center;
    align-items: center; /* Centra verticalmente el contenido */
}


.search-bar h3 {
    font-size: 3vw;
    color: #ffffff;
    text-shadow: 2px 3px 0 #a9136d;
    text-align: center;
    margin-bottom: 10px; /* Reduce el espacio entre el texto y la barra de búsqueda */
}


.carousel {
    position: absolute;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
}

.carousel-content {
    display: flex;
    width: 100%;
    animation: scroll 30s linear infinite;
}

.carousel img {
    width: 200px;
    margin-left: 10px;
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}



@media (max-width: 768px) {
    .footer-content {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .footer-content p {
        margin: 10px 0;
    }

    .social-icons {
        margin-top: 10px;
    }

    .social-icon {
        font-size: 16px; /* Reduce el tamaño para iconos más pequeños */
    }
}
