@font-face {
    font-family: 'Lexend';
    src: url(../font/Lexend-VariableFont_wght.ttf);
}

@font-face {
    font-family: 'Lemon';
    src: url(../font/Lemon-Regular.ttf);
}

.collaborazione {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 15vw;
    height: 15vw;
    border-radius: 50%;
    background-color: white;
    box-shadow: 0 0 10px #00000033;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 10px;
    z-index: 998;
}

.testo-collab {
    font-size: 0.75rem;
    font-weight: bold;
    color: #333;
    margin-bottom: 5px;
    font-family: Lexend, sans-serif;
}

.logo-collab {
    width: 60%; 
    height: auto;
    object-fit: contain;
}

body {
    background-color: #007f96;
    margin: 0;
    padding: 0;
    font-family: Lexend, sans-serif;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

.content {
    text-align: center;
    max-width: 100%;
    position: relative;
    padding: 20px;
}

.info-box {
    background-color: rgba(255, 255, 255, 0.9);
    padding: 25px 30px;
    border-radius: 10px;
    box-shadow: 0 0 10px #333;
    color: #333;
    max-width: 800px;
    width: 100%;
    box-sizing: border-box;
    margin: auto;
}

.giorno {
    font-family: Lemon, cursive;
    font-weight: normal;
    font-size: 1.6rem;
    margin-bottom: 20px;
}

.evento {
    display: flex;
    justify-content: center;
    margin-bottom: 15px;
}

.blocco-evento {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 15px;
    flex-wrap: nowrap;
    min-width: 0;
    /* previene overflow */
}

.orario {
    width: 80px;
    height: 80px;
    background-color: #007f96;
    color: white;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    font-weight: bold;
    font-size: 1rem;
    flex-shrink: 0;
}

.ore {
    font-size: 0.9rem;
}

.ora {
    font-size: 1.2rem;
}

#giovedi {
    max-height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
    border: #000000 solid 2px;
    box-shadow: 0 0 20px #ffffff66;
}

.descrizione {
    background-color: #ffffff;
    padding: 10px 15px;
    border-radius: 8px;
    font-size: 1rem;
    text-align: left;
    flex-grow: 1;
    min-width: 0;
    overflow-wrap: break-word;
    word-break: break-word;
    box-shadow: 0px 0px 15px #00272e39;
}

.sotto-testo {
    margin-top: 20px;
    font-size: 1.3rem;
    font-family: Lemon, cursive;
    color: #222;
}

.home-button {
    position: absolute;
    right: 2%;
    top: 2%;
    width: 50px;
    height: auto;
    cursor: pointer;
}

#back_home {
    background-color: rgba(58, 58, 58, 0.8);
    color: white;
    font-size: medium;
    text-align: center;
    width: 4vh;
    height: 4vh;
    padding: 15px;
    border-radius: 0 0 0 3vh;
    position: fixed;
    top: 0;
    right: 0;
    z-index: 999;
}

/* Responsive fino a 768px */
@media (max-width: 768px) {
    .info-box {
        padding: 20px;
    }

    .giorno {
        font-size: 1.3rem;
    }

    .orario {
        width: 60px;
        height: 60px;
        font-size: 0.9rem;
    }

    .ore {
        font-size: 0.8rem;
    }

    .ora {
        font-size: 1rem;
    }

    .descrizione {
        font-size: 0.95rem;
        text-align: left;
        max-width: 100%;
    }

    .sotto-testo {
        font-size: 0.95rem;
    }

    .home-button {
        width: 40px;
    }

    .collaborazione {
        width: 16.5vh;
        height: 16.5vh;
        bottom: 15px;
        right: 15px;
        padding: 8px;
    }

    .testo-collab {
        font-size: 0.65rem;
    }

    .logo-collab {
        width: 100px;
        height: auto;
    }
}