* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Segoe UI", Arial, sans-serif;
    background: #f0f8ff;
    color: #222;
    padding: 20px;
    position: relative; 
}


img {
    max-width: 100mm;
    height: auto;
    display: block;
    margin: 20px;
    border-radius: 5px;
}

button {
    width: 100%;
    max-width: 300px;
    display: block;
    margin: 10px auto;
    padding: 14px 20px;
    font-size: 30px;
    text-align: center;
    border: none;
    border-radius: 10px;
    background: #003366;
    color: white;
    cursor: pointer;
    transition: 0.2s ease-in-out;
    box-shadow: 0 3px 8px rgba(0,0,0,0.1);
}



.button-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;  /* centra sempre, seja 1 ou 10 botões */
}

.btn-settings {
    position: absolute;
    top: 15px;
    right: 15px;

    font-size: 32px;
    background: transparent;
    border: none;
    box-shadow: none;
    cursor: pointer;
    padding: 5px;
}

.btn-settings:hover {
    transform: scale(1.1);
}

.brand img {
    max-height: 200px;
    max-width: 150px;
    width: auto;
    display: block;
    margin: 0 auto;
    opacity: 1;
}

.brand {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
}
 

@media (max-width: 600px) {

    button {
        font-size: 16px;
        max-width: 100%;
        padding: 12px;
    }

    .button-grid {
        grid-template-columns: 1fr; 
    }

    .btn-settings {
        top: 10px;
        right: 10px;
        font-size: 28px;
    }
}
