*{
    margin: 0;
    padding: 0;
}

nav{
    background-color: rgb(14, 86, 86);
    padding: 15px 0;
}
.menu{
    display: flex;
    justify-content: center;
    list-style: none;
}
.menu li{
    margin: 0 20px;
}
.menu a{
    text-decoration: none;
    color: rgb(0, 0, 0);
    font-family: Verdana, Geneva, Tahoma, sans-serif;
    font-weight: bold;
}

.menu a:hover{
    color: rgb(21, 193, 216);
}
 .jue{
    width: 50%;
    background-color: rgba(192, 190, 190, 0.681);
    margin: 0 auto;
    border-radius: 20px;
}
header{
    background-image: url(../img/contra.jpg);
    background-repeat: none;
    background-size: cover;
}
header .jue{
    padding: 1em;
    text-align: center;

}
header section{
    background-color: rgba(46, 46, 117, 0.511);
}

section{
    width: 80%;
    margin: 3em auto;
    box-shadow: 0px 10px 20px 20px rgb(122, 58, 110);
    padding: 2em;
    border-radius: 30px;
}

.jue{
    width: 50%;
    background-color: rgba(192, 190, 190, 0.681);
    margin: 0 auto;
    border-radius: 20px;
    padding: 15px;
}

.fav{
    background-color: rgba(250, 235, 215, 0.737);
}

.fav figure{
    display: flex;
    gap: 1em;
    align-items: center;
}

.fav figure img{
    width: 35%;
    height: auto;
}


h2{
    width: 100%;
    text-align: center;
    margin-bottom: 1em;
}
a{
    background-color: rgba(240, 248, 255, 0.748);
    text-decoration: none;
} 

@media (max-width: 1025px){

    .jue{
        width: 70%;
    }

    section{
        width: 90%;
    }

}
@media (max-width: 500px){

    .menu{
        flex-direction: column;
        align-items: center;
    }

    .jue{
        width: 95%;
    }

    section{
        width: 95%;
        padding: 1em;
    }

    .fav figure{
        flex-direction: column;
    }

    .fav figure img{
        max-width: 100%;
    }

    h1{
        font-size: 1.8rem;
    }

    h2{
        font-size: 1.3rem;
    }

}