
.navegacion{
    max-width: 1200px;
    margin: auto;
    padding: 0.5rem;
    background-color: rgb(231, 204, 84);
    border-radius: 10px;
    box-shadow: 0px 0px 20px 2px rgb(44, 38, 9);
}

.menu ul {
    justify-content: center;
    display: flex;
    gap: 20px;
    list-style:none;
}
.menu a {
    text-decoration: none;
    color: rgb(27, 27, 27);
    font-size: 14px;
    padding: 10px 26px;
}
.menu i {
    margin-right: 8px;
}
.menu i {
    margin-right: 6px;
}
.menu ul{
    display: flex;
    gap: 20px;
}
.menu a {
    text-decoration: none;
    color: white;
    font-size: 14px;
    padding: 8px 15px;
    border-radius: 6px;
    transition: 1s;
}
.menu a:hover {
    background: rgba(255,255,255,0.3);
}
body {
    background: linear-gradient(135deg, #663d04, #ff990b);
    color: white;
}
#return{
    background-image: url('../img/grano_cafe.webp');
    background-size: cover; /* hace que la imagen cubra todo el espacio sin desfondarce */
    background-position: center;
    background-repeat: no-repeat;
    padding: 1em;
    width: 30px;
    height: 30px;
    text-align: center;
    position: fixed;
    bottom: 10px;
    right: 10px;
    border-radius: 30%;
    animation: spin 3s linear infinite;
    will-change: transform;
}
@keyframes spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}
/*mediana*/
@media (max-width:880px){
   .menu ul{
        display: grid;
        grid-template-columns: repeat(2,1fr);
        gap: 15px;
        text-align: center;
        font-size: 5px;
   }
}

/*pequeña*/
@media (max-width:480px){
    .menu ul {
        grid-template-columns: 1fr;
    }
    #return{
        padding: 0.5rem;
    }
}