body {
    background-color: rgb(52, 153, 248);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    margin: 0;
    padding: 20px;
    box-sizing: border-box;
}

.pollos {
    z-index: 1;
    width: 100%;
    max-width: 300px;
    height: auto;
    margin: 0 auto;
}

.main-menu {
    display: flex;
    flex-direction: column;
    z-index: 1000;
    position: relative; /* Mudado de absolute para relativo para fluir bem no mobile */
    background-color: antiquewhite;
    padding: 30px;
    border-radius: 10px;
    border: 7px double rgb(160, 13, 13);
    animation: brilho 1s infinite alternate;
    width: 90%;
    max-width: 450px;
    margin-top: 20px;
    align-items: center;
}

.bim, .bim2 {
    background-color: rgb(255, 226, 61);
    border: 2px solid rgb(160, 13, 13);
    padding: 10px;
    font-size: clamp(1.2rem, 4vw, 1.5rem); /* Font-size responsivo */
    box-shadow: 0px 0px 0px rgb(160, 13, 13);
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.2s ease;
    width: 100%;
    max-width: 250px;
}

ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px; /* Substitui as margens fixas para dar espaçamento fluido */
    padding: 0;
    margin: 20px 0 0 0;
    width: 100%;
}

a {
    text-decoration: none;
    width: 100%;
    display: flex;
    justify-content: center;
}

h1 {
    font-size: clamp(2rem, 8vw, 3rem); /* Tamanho do H1 adapta-se à tela */
    color: rgb(52, 153, 248);
    text-align: center;
    margin: 0 0 20px 0;
}

button:hover {
    box-shadow: 2px 5px 0 0 rgb(160, 13, 13);
    transform: translateY(-4px) translateX(-2px);
}

button:active {
    box-shadow: none;
    transform: translateY(4px) translateX(2px);
}

@keyframes brilho {
    from { box-shadow: 0px 0px 20px rgb(255, 255, 255); }
    to { box-shadow: 0px 0px 15px rgb(255, 217, 0); }
}
