@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap');
body {
    background: linear-gradient(to bottom, #f70000, #8f0000);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed; /* This will keep the background fixed while scrolling */
    font-family: "Montserrat", sans-serif;
    margin: 0;
    padding: 0;
    font-size: 16px;
    display: flex;
    align-items: center;
    flex-direction: column;
    scroll-behavior: smooth;
}

#logoResto{
    margin:70px 0 10px 0 ;
    width: 40%;
    height: auto;
    align-items: center;
}
#title{
    text-align: center;
    font-family: "Montserrat", serif;
    font-size: 1.5em;
    font-weight: 700;
    color: white;
    line-height: 50px;
}

#titleBig{
    text-align: center;
    margin: 0 0 10px 0;
    font-family: "Montserrat", serif;
    font-size: 3em;
    font-weight: 700;
    color: white;
    line-height: 50px;
}

#titleButton{
    font-family: "Montserrat", serif;
    font-family: 1.6em;
    padding: 10px 15px 10px 15px;
    background-color: white;
    color: #9E0101;
    border-radius: 20px;
}

#buttonImgHead{
    width: 330px;
    margin: 30px 0 10px 0;
}

#buttonLink{
    text-decoration: none;
}

#buttonImg{
    width: 180px;
}

#buttons {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 10px;
    max-width: 90%; /* Make it responsive to screen width */
    margin: auto;
}

/* Tablets (iPads) */
@media (min-width: 768px) {
    #buttons {
        max-width: 600px; /* Limit width for larger screens */
    }
}

/* Phones (iPhones) */
@media (max-width: 400px) {
    #buttons {
        grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); /* Adjust button size */
        gap: 5px; /* Reduce spacing */
    }
}

#imgPowered{
    width: 220px;
    margin:  30px 10px 10px 10px ;
}

#home-button-container {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
}

#home-button {
    padding: 10px 20px;
    background-color: #e03131;
    color: white;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    cursor: pointer;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

#home-button:hover {
    background-color: #c62d2d;
}
