*{
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body{
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

main{
    flex-grow: 1;
}

.titulos{
    background-color: #000000;
    color: #ffffff;
    padding: 1rem;
}

.header{
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.menu ul{
    list-style-type: none;
}

.image_h{
    min-height: 100vh;
    background-image: url(https://images.alphacoders.com/134/1341414.png);
    background-repeat: no-repeat;
}

.image_h div{
    min-height: inherit;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: rgba(0,0,0,.75);
    color: #ffffffc7;
    text-align: center;
}

.image_h  h1{
    font-size: 5vw;
}

@media screen and (min-width: 1024px){
    .header{
        display: flex;
        flex-direction: row;
        justify-content: space-between;
    }

    .menu ul{
        display: flex;        
    }

    .menu li{
        padding: .5rem;
        transform: rotate(-20deg); 
        
    }

    .menu a{
        text-decoration: none;
        color: rgb(0, 0, 0);
        background-color: rgb(255, 255, 255);
        border-radius: 5px;
        padding: 5px;
        filter: drop-shadow(5px 5px 8px rgb(255, 174, 0));
        font-weight: bold;
        transition: background-color 0.3s ease;
        transition: font-size 0.3s ease;          
    }

    .menu a:hover{
        background-color: rgba(0, 128, 0, 0.556);
        font-size: 1.3em;             
    }

    main h2{
        background: linear-gradient(to right, white, black);
    }

    
}


.texto-con-movimiento {
    animation: moverTexto 3s ease-in-out infinite; /* Ajusta la duración y el estilo de la animación según lo necesites */
}

@keyframes moverTexto {
    0% {
        transform: translateX(-200px);
    }
    50% {
        transform: translateX(200px); /* Cambia la cantidad de movimiento horizontal según lo necesites */
    }
    100% {
        transform: translateX(-200px);
    }
}