*{
    list-style: none;
    text-decoration: none;
    font-family:Georgia, 'Times New Roman', Times, serif
}

.navbar{
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: #000000;
    padding: 10px 20px;
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;




}

.logo img{

    width: 100px;
    border-radius:50%;
    border: 2px gray solid;
}

.lista{

    display: flex;
    gap: 20px;
    margin: 20px;
    margin-right: 40px;

}

.lista li a{
    
    color: WHITE;

    font-size: 25px;
    font-weight: bold;
    padding: 10px 15px;
    border-radius: 10px;
    transition: 0.4s;
    background-color: rgb(245, 100, 100);
}

.lista li a:hover{
   background-color: rgb(255, 12, 12);
   font-size: 30px;

}

body{
   background-image: url("fondoweb.jpg");
   padding-top: 80px;

}

.inicio{
    padding: 10px 20px;
    border-radius: 30px;
    align-items: center;
    justify-content: center;
    display: block;
    background-color: rgba(112, 212, 243, 0.5);
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.boton{
    padding: 15px;
    background-color: red;
    color: black;
    font-size: 18px;
    border-radius: 5px;
    transition: 0.3s;

}

.boton:hover{
    font-size: 20px;
    filter: brightness(120%);
    box-shadow: 0 0 10px red;
}

.inicio h3{
    font-size: 23px;
    color: white;
}

.inicio h2{
    font-size: 23px;
    color: white;
}

.menu-check {
    display: none;
}

@media (max-width: 768px) {
    .menu-icono {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        width: 30px;
        height: 20px;
        cursor: pointer;
        margin-right: 30px;
    }

    .menu-icono span {
        width: 100%;
        height: 3px;
        background-color: white;
        border-radius: 2px;
        transition: 0.3s;
    }

    .lista {
        display: flex; 
        flex-direction: column;
        position: absolute;
        top: 100%; 
        left: 0;
        width: 100%;
        background-color: #000000; 
        margin: 0;
        padding: 0;
        max-height: 0;
        opacity: 0;
        overflow: hidden;
        transition: max-height 0.4s ease-in-out, opacity 0.3s ease-in-out;
        z-index: 9999;
    }

    .menu-check:checked ~ .lista {
        max-height: 300px;
        opacity: 1;
    }

    .lista li {
        text-align: center;
        width: 100%;
        margin: 0;
        padding: 0;
    }

    .lista li a {
        display: block;
        margin: 10px 20px;
        font-size: 20px;
        padding: 12px 0;
        box-sizing: border-box;
    }

    .lista li a:hover {
        font-size: 22px; 
    }

    .menu-check:checked ~ .menu-icono span:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }
    .menu-check:checked ~ .menu-icono span:nth-child(2) {
        opacity: 0;
    }
    .menu-check:checked ~ .menu-icono span:nth-child(3) {
        transform: translateY(-9px) rotate(-45deg);
    }
}

.video-container {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%; /* Relación de aspecto 16:9 */
    height: 0;
    overflow: hidden;
    margin-bottom: 20px;
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

                                                                                           
                         
 /* Estilos específicos para la página de Error 404 */
.error-404 h1 {
    font-size: 90px;
    color: red;
    margin: 10px 0;
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.5);
}

.error-404 h2 {
    font-size: 28px;
    margin-bottom: 15px;
}

.error-404 p {
    font-size: 18px;
    color: white;
    margin-bottom: 30px;
}


