/* CSS Reset */
*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Altro CSS */
.homepage-btn{
    background-color: #0f0;
    cursor: pointer;
    border: 1px solid #333;
    border-radius: 20px;
    padding: 5px;
    position: absolute;
    left: 2%;
    top: 2%;
}
.avviso-width{
    display: none;
    color: #000;
    background-color: red;
    font-weight: bold;
    padding: 5px;
}
body {
    background-color: #000;
    color: lime;
    padding: 100px 10px 5px 5px;
}
footer{
    background-color: #333;
    color: lime;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: auto;
    padding: 5px;
}
a{
    text-decoration: none;
    color: rgb(0,210,0);
}
.titolo{
    text-align: center;
    font-weight: bold;
    font-size: 40px;
}
.programmi{
    color: #0f0;
    border-bottom: #777 solid 3px;
    font-size: 20px;
    margin: 0 auto;
    margin-top: 50px;
    max-width: 1000px;
}
.programma{
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    border-top: #777 solid 3px;
    cursor: pointer;
    width: 100%;
    padding: 5px 0;
}
.programma:hover{
    color: #000;
    background-color: rgb(100, 255, 100);
}
.nome-programma{
    font-weight: bold;
}

/* Informativa */
#overlay{
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}
#informativa-frame{
    background-color: #333;
    border-radius: 20px;
    font-size: 20px;
    width: 600px;
    height: 300px;
    max-width: 90%;
    max-height: 80%;
    padding: 20px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.25);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    text-align: center;
    overflow: auto;
}
#informativa-frame p{
    flex-grow: 1;
}
#informativa-frame label{
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 20px 0;
}
#informativa-frame button{
    padding: 10px 20px;
    font-size: 16px;
    cursor: pointer;
    background-color: #007BFF;
    color: #fff;
    border: none;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}
#informativa-frame button:disabled{
    background-color: #ccc;
    cursor: not-allowed;
}
#informativa-frame button:hover{
    background-color: #0056b3;
}

/* Ridimensionamenti width */
@media only screen and (max-width: 550px){
    #informativa-frame{
        height: 50%;
    }
}
@media only screen and (max-width: 500px){
    #informativa-frame{
        scale: 0.8;
    }
    .titolo{
        font-size: 35px;
    }
    .copy{
        display: none;
    }
}
@media only screen and (max-width: 420px){
    #informativa-frame{
        width: 100%;
    }
}
@media only screen and (max-width: 350px){
    #overlay, .titolo, .programmi, #in_arrivo, footer{
        display: none;
    }
    .avviso-width{
        display: block;
    }
}
