body {
    margin: 0;
    padding: 0;
    background-image: url("pattern.jpg");
    background-repeat: repeat;
}

.main {
    width: 1000px;
    display: flex;
    flex-direction: column;
    margin: auto;
    background-color: bisque;
    box-shadow: 0px 0px 36px 28px rgba(0,0,0,0.45), 25px 0px 20px -20px rgba(0,0,0,0.45), 0px 25px 20px -20px rgba(0,0,0,0.45), -25px 0px 20px -20px rgba(0,0,0,0.45);
}

.mainBanner {
    display: flex;
    flex: 1;
    margin-bottom: 50px;
}

.mainBanner img {
    width: 100%;
    object-fit: contain;
}

footer {
    background-color: rgb(28, 28, 28);
    color: gainsboro;
    margin-top: 50px;
}

footer p {
    text-align: center;
}

footer p a {
    color: gainsboro;
}

.cartoContainer {
    display: flex;
    flex-wrap: wrap;
    column-gap: 20px;
    row-gap: 10px;
    justify-content: center;
    overflow: hidden;
    margin: 8px 3%;
    padding: 2%;
    border-radius: 10px;
    background-color: white;
}

.cartomanti {
    display: flex;
    width: 200px;
    gap: 6px;
}

.cartomantiNome {
    flex: 6;
    align-content: center;
    font-weight: bold;
    font-size: 1.25rem;
}

.cartoTitle {
    font-size: 1.563rem;
    width: 90%;
    margin: auto;
    font-weight: bold;
}

.activity {
    flex: 2;
    min-width: 0;
}

.online {
    content: url(online.webp);
}

.occupato {
    content: url(occupato.webp);
}

.assente {
    content: url(assente.webp);
}

.offline {
    content: url(offline.webp);
}

.squillo {
    content: url(squillo.webp);
}

@media screen and (max-width: 1000px) {
    .main {
        width: 100%;
    }
}

@media screen and (max-width: 600px) {
    .cartoTitle {
        font-size: 1.25rem;
    }

    .cartomantiNome {
        font-size: 1rem;
    }

    .activity {
        flex: 1;
    }

    .cartomanti {
        width: 150px;
    }
}