body {
    font-family: "Montserrat", sans-serif;
    background-color: #333;
    color: white;
    margin: 0;
}

.fundo-blanco {
    background-color: white;
    color: black;
    padding: 2rem;
}

.fundo-blanco section {
    justify-content: space-evenly;
    display: flex;
    height: 49rem;
    flex-direction: column;
}

header {
    position: fixed; /* Fija el header */
    top: 0; /* Posición en la parte superior */
    left: 0; /* Asegura que esté alineado al borde izquierdo */
    width: 100%; /* Ocupa todo el ancho de la página */
    background-color: #111; /* Fondo del header */
    padding: 0 1rem 0 1rem;
    z-index: 1000;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-sizing: border-box;
    height: 4.5rem;
}

header h1 {
    color: whitesmoke;
    text-shadow: 0 0 10px aqua;
    margin-left: 0.5rem;
}

div {
    padding: 0;
}

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    height: 3rem;
}

.menu-btn {
    font-size: 1.7rem;
    background-color: transparent;
    border: none;
    color: white;
    font-weight: bold;
    cursor: pointer;
    justify-content: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.menu-btn string {
    font-size: 0.8rem;
}

.menu.hidden {
    display: none;
}

.menu-btn:hover {
    background-color: rgba(0, 255, 255, 0.5);
    border-radius: 0.5rem;
    color: black;
}

.search-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 60%;
    margin: 1rem;
    padding: 0;
    border: solid 0.1rem cyan;
    border-radius: 0.7rem;
}

header a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    text-decoration: none;
}

header input {
    flex-grow: 1;
    padding: 8px;
    box-sizing: border-box;
    width: auto;
    border: none;
    background-color: transparent;
    color: white;
}

header input:focus {
    border: none;
    outline: none;
}

.search-bar button {
    padding: 8px 16px;
    background-color: transparent;
    color: cyan;
    font-weight: bold;
    border: none;
    border-radius: 0.7rem;
}

.search-bar button:hover {
    cursor: pointer;
    background-color: rgba(0, 255, 255, 0.5);
}

.hidden {
    display: none;
}

.draw {
    display: flex;
    width: 15.5rem;
    height: 100%;
    flex-direction: column;
    justify-content: start;
    align-items: center;
    position: fixed;
    background-color: rgba(0, 0, 0, 0.9);
    padding: 0;
    top: 4.5rem;
    left: 0;
    right: 0;
}

.btndraw, .btnslct {
    text-decoration: none;
    padding: 1rem;
    width: -webkit-fill-available;
    display: flex;
    align-items: center;
    justify-content: space-between;
    text-align: left;
    color: white;
    text-shadow: 0 0 10px cyan;
}

.btnslct {
    background-color: rgba(0, 255, 255, 0.9);
    color: black;
    font-weight: bold;
}

.btndraw i, .btnslct i {
    margin-right: .07rem;
}

nav a:hover {
    background-color: rgba(0, 255, 255, 0.5);
    color: black;
    text-shadow: 0 0 8px white;
}

.draw a {
    text-decoration: none;
 }

 .draw .icon-app {
    font-size: 2rem;
    color: cyan;
 }

.draw .icon-app:hover {
    background-color: transparent;
    font-size: 2.4rem;
    color: #fff;
 }

.menu {
    z-index: 1000;
    position: fixed;
    top: 20%;
    left: 0;
    right: 0;
    padding: 2rem;
}
main {
    margin-top: 4.5rem;
}

main article {
    padding: 0;
    margin: 0;
}

.banner-container {
    position: relative; /* Necesario para que el h1 y el video se posicionen relativo a este contenedor */
    width: 100%;
    height: 20rem; /* Ajusta el tamaño del contenedor */
    background-image: url('https://media0.giphy.com/media/v1.Y2lkPTc5MGI3NjExbnd4ZDhhdHlvdTJibGg1MnJ1eHF4MzA3Ym51bnlnaGl6azhzY21ndSZlcD12MV9pbnRlcm5hbF9naWZfYnlfaWQmY3Q9Zw/NKEt9elQ5cR68/giphy.webp');
    background-size: cover; /* Asegura que la imagen cubra todo el área */
    background-position: center; /* Centra la imagen */
}

.banner-container a {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-decoration: none;
    text-align: center;
}

.banner-img {
    width: 100%;
}

.btn-partner-img {
    width: 100%;
}

.banner-container h1 {
    position: absolute;
    top: 70%; /* Ajusta la posición del texto */
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 3rem;
    text-shadow: 
        -2px -2px 0 black,
        2px -2px 0 black,
        -2px  2px 0 black,
        2px  2px 0 black,
        -3px 3px 10px rgba(247, 0, 255, 0.75);
}

.banner-container iframe {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%); /* Centra el video */
    width: 35%; /* Ajusta el tamaño del video */
    height: 90%;
}

.container-p {
    position: relative;
    background: linear-gradient(to top, #000000eb, #3d008e);
    text-align: center; /* Centra el texto dentro del div */
    padding: 1rem 2rem;
    color: #ffffff;
    text-shadow: 2px 3px 3px #007e87;
    /* font-weight: bold; */
}

footer {
    background-color: #111;
    color:  #999;
    position: fixed; /* Fija el footer */
    bottom: 0; /* Posición en la parte superior */
    left: 0; /* Asegura que esté alineado al borde izquierdo */
    width: 100%; /* Ocupa todo el ancho de la página */
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    padding: 3px;
    text-align: center;
    font-size: 12px;
}
 footer a {
    text-decoration: none;
    color: cyan;
 }

 footer .icon-app {
    font-size: 2rem;
 }

 footer .icon-app:hover {
    font-size: 2.4rem;
    color: #fff;
 }

 .tarjetas {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    align-items: center;
    margin-bottom: 4rem;
    /* flex-direction: column; */
 }
 
 .tarjetas img {
    width: 100%;
    /* margin: 0 5% 0 5%; */
    /* border-radius: 1rem; */
    
 }

 .trj {
    background-color: #111;
    margin:  3rem;
    margin-bottom: 6rem;
    border-radius: 1rem;
    text-align: center;
 }
 
 .trj:hover {
    box-shadow: -2px 2px 10px cyan;
    /*width: 81%;*/
 }


 .trj a {
    text-decoration: none;
    color: white;
    font-size: 0.8rem;
 }

 .trj h2 {
    font-size: 1rem;
    padding: 1rem 0 1rem 0;
    text-shadow: 0 0 10px rgba(0, 255, 255, 0.9);
 }

 .trj p {
    padding: 1rem;
 }
 
 /* Ocultar el banner de cookies por defecto */
.hidden-banner {
    display: none;
}

/* Estilo para el overlay que bloquea la página */
#cookie-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    z-index: 9998;
    display: none;
}

/* Estilos para el banner de cookies */
#cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #333;
    color: white;
    padding: 10px;
    text-align: center;
    z-index: 9999;
}

/* Responsive */
/* Celular */

@media screen and (max-width: 768px) {
    header {
        padding: 0.5rem;
    }

    header h1 {
        display: none;
    }

    .search-bar {
        max-width: 100%;
        margin: 0;
    }

    .menu-btn {
        margin-left: 0;
    }

    .draw {
        width: 100%;
        height: 100%;
        background-color: rgba(0, 0, 0, 0.9);
    }

    .banner-container {
        height: 13rem;
    }

    .banner-container h1 {
        font-size: 1.5rem;
        top: 83%;
    }
    
    .banner-container iframe {
        width: 66%; /* Ajusta el tamaño del video */
        height: auto;
    }
    
    .container-p {
        font-size: 12px;
    }

    .tarjetas {
        display: grid;
        grid-template-columns: auto;
        align-items: center;
     }

    .trj {
        width: 80%;
        margin: 5% 10%;
    }
    
}

/* Pantallas Pequeñas */

@media screen and (max-width: 380px) {
    header {
        padding: 0.5rem;
    }

    .search-bar {
        display: flex;
        align-items: center;
        justify-content: space-between; /* Espacio entre el input y el botón */
        flex-direction: row; /* Asegura que los elementos estén en una fila horizontal */
        width: 60%; /* Ajusta el ancho de la barra de búsqueda */
    }
    
    .search-bar input {
        width: 66%;
    }
    
    .search-bar button {
        padding: 8px 4px;
        font-size: 0.5rem;
        width: 30%;
        border-radius: 0.5rem;
    }

    .menu-btn {
        margin-left: 0;
    }

    .draw {
        width: 100%;
        height: 100%;
    }

    .banner-container h1 {
        font-size: 2rem;
        top: 80%;
    }
    
    .banner-container iframe {
        width: 66%; /* Ajusta el tamaño del video */
        height: auto;
    }
    
}
