@media only screen and (max-width: 500px) {

    button {
        display: block;
        width: 100px;
    }
    .btn_abrir{
        display: flex;
        background-color: #ffffff;
        width: 50px;
       position: absolute;
       left: 400px;
       border-color: #ffffff;
    }
    #logo_hm img {
        width: 15%;
        margin: none;
    }
    .btn_cerrar{
        width: 40px;
        height: 40px;
        display: block;
        position: relative;
        left: 380px;
        background-color: rgb(26, 204, 224);
       border-color: transparent;
    }
    .hm_menu{
        font-family: BrunoAce-Regular;
        font-size: 30px;
        color: orange;
        font-weight: 700;
        text-align: center;
    text-decoration: underline overline;
    }
    .nav_hm{
    display: flex;
    flex-direction: column;
    padding: 20px;
    gap: 40px;
    
    }
    
    #hm_element1,
    #hm_element2,
    #hm_element3,
    #hm_element4
    {
    font-size: 18px;
    }
    .nav {
        display: none;
    }

    h1 {
        font-size: 24px;
    }

    h2 {
        font-size: 20px;
    }

    h3 {
        font-size: 16px;
    }

    .img_ancla {
        margin-left: 100px;
        max-width: 50vw;
    }
}