/* Reset base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;700&display=swap');

/* Stile del body */
body {
    font-family: 'Inter', sans-serif;
    background: radial-gradient(circle, #FFF2F6, #FFFCFD);
    color: #000000;
    display: flex;
    flex-direction: column;
    gap: 48px;
    justify-content: center;
    /* Centra orizzontalmente */
    align-items: center;
    /* Centra verticalmente */
    min-height: 100vh;
}

.logo {
    width: fit-content;
}

/* Layout principale */
.container {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 24px;
    width: 100%;
    max-width: 1200px;
    padding: 24px;
}

.block {
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: 100%;
    max-width: 520px;
    justify-content: center;
}

.block-image {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 520px;
}

.title {
    font-size: 48px;
    font-weight: bold;
    color: #000;
}

.description {
    font-size: 16px;
    font-weight: normal;
    color: #7A7B83;
}

/* Media query per schermi con larghezza massima di 320px e 768px (tablet e smartphone) */
@media (max-width: 768px) {
    body {
        gap: 48px;
        box-sizing: border-box;
        padding: 24px;
        min-height: 100vh;
    }

    /* Modifica il layout del container per schermi piccoli */
    .container {
        flex-direction: column;
        padding: 0px;
        /* Cambia la direzione da orizzontale a verticale */
        /*width: 100%;*/
        /* Rende il contenitore più largo su schermi piccoli */
    }

    #bathtube {
        width: 340px;
        height: 340px;
        min-height: fit-content;
    }

}

@media (max-width: 425px) {
    body {
        gap: 48px;
        box-sizing: border-box;
        padding: 24px;
        justify-content: center;
        align-items: flex-start;
        min-height: 100vh;
    }

    /* Modifica il layout del container per schermi piccoli */
    .container {
        flex-direction: column;
        padding: 0px;
        /* Cambia la direzione da orizzontale a verticale */
        /*width: 100%;*/
        /* Rende il contenitore più largo su schermi piccoli */
    }

    #bathtube {
        width: 300px;
        height: 300px;
        min-height: fit-content;
    }

}

.app-download-buttons {
    display: flex;
    flex-direction: row;
    justify-content: start;
    gap: 20px;
    margin: 20px 0;

}

.download-button {
    width: 200px;
    height: auto;
    transition: transform 0.2s ease;
    background-color: #000000;
    border-radius: 12px;
}

.download-button:hover {
    transform: scale(1.05);
}


/* L'errore era nella sintassi della media query: mancava lo spazio tra 'screen and' e '(max-width)' */
@media screen and (max-width: 500px) {
    .app-download-buttons {
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }
}