/* Stili generali v2.2 */



@font-face {
    font-family: 'Montserrat';
    src: url('assets/fonts/Montserrat-VariableFont_wght.ttf') format('truetype');
    font-weight: 100 900; /* Gamma di pesi supportata */
    font-style: normal;
}

@font-face {
    font-family: 'Avant';
    src: url('assets/fonts/avant/ITCAvantGardeGothicPro-Demi.otf') format('opentype');
    font-weight: 600;
    font-style: normal;
}

@font-face {
    font-family: 'Avant';
    src: url('assets/fonts/avant/ITCAvantGardeGothicPro-Book.otf') format('opentype');
    font-weight: 500;
    font-style: normal;
}

body {
    font-family: 'Montserrat', sans-serif;
    margin: 0;
    padding: 0;
    background: linear-gradient(321deg, rgba(69, 127, 229, 1) 0%, rgba(88, 0, 220, 1) 100%);
    color: #333333; /* Testo grigio scuro */
    line-height: 1.6;
}

header {
    background-image:url('assets/bg_header.jpg');
    background-size: cover;
    background-repeat: no-repeat;
    color: #ffffff; /* Bianco */
    text-align: center;
    padding: 30px 20px 200px 20px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

header h1 {
    font-size: 3.5em;
    margin: 0;
    font-family: 'Avant';
    font-weight: 400 !important;
}

@media screen and (max-width:878px){
    header h1{
        font-size: 3em;
    }
}

header p {
    font-size: 1.2rem;
    margin: 0.5rem 0 0;
}

.brand {
    width: 200px;
    margin-bottom: 50px;
}

/*Barra*/
.bar_element {
    display: flex;
    justify-content: center;
    margin-bottom: 35px;
}

@media screen and (max-width:878px){
    .bar_element {
        flex-direction: column;
        align-items: center;
    }
}


.element {
    display: flex;
    align-items: center;
    background: linear-gradient(321deg, #4563e5, #5800dc);
    padding: 10px 20px;
    border-radius: 40px;
    position: relative;
    color: white;
    font-size: 1.2rem;
    margin-left: -20px;
    width: 150px;
    justify-content: center;
}

@media screen and (max-width:878px){
    .element {
        margin: 10px;
    }
}

.dot {
    width: 8px;
    height: 8px;
    background-color: #f5c700; /* Colore giallo del punto */
    border-radius: 50%;
    margin-right: 10px;
}

.text {
    position: relative;
}



main {
    max-width: 800px;
    margin: 2rem auto 5em;
    padding: 0 1rem;
}

h2 {
    color: #003366; /* Blu scuro */
    margin-bottom: 0;
}

/* Streaming Section */
.streaming {
    margin-bottom: 2rem;
    background: #ffffff;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    padding: 0;
    margin-top: -170px;
}

.iframe-container {
    position: relative;
    width: 100%;
    height: 0;
    padding-bottom: 56.25%; /* Aspect ratio 16:9 */
    margin-top: 1rem;
}

.iframe-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
    border-radius: 10px;
}

/* Contact Form Section */
.contact-form {
    background-color: #ffffff;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    padding: 1.5rem;
}

.contact-form p {
    margin-bottom: 1rem;
    margin-top: 0;
    color: #003366; /* Blu scuro */
}

.contact-form form {
    display: grid;
    grid-gap: 1rem;
}

.contact-form label {
    font-weight: bold;
    font-size: 1rem;
    color: #003366; /* Blu scuro */
}

.contact-form input, 
.contact-form textarea {
    width: 95%;
    padding: 0.8rem;
    font-size: 1rem;
    border: 1px solid #4f5de3;
    border-radius: 5px;
    background: #f9f9f9;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: #252270;;
    font-size: 14px;
    font-family: 'Montserrat';
}

.contact-form input:focus, 
.contact-form textarea:focus {
    outline: none;
    border-color: #0055cc; /* Blu medio */
    box-shadow: 0 0 5px rgba(0, 85, 204, 0.5);
}

.privacy-group {
    display: flex;
    align-items: center;
    gap: 8px; /* Spazio tra checkbox e etichetta */
    margin: 10px 0; /* Spaziatura sopra e sotto */
}

.privacy-group input[type="checkbox"] {
    width: 20px;
    height: 20px;
    cursor: pointer; /* Cambia il cursore su checkbox */
}

.contact-form button {
    font-weight: 400;
    background-color:#f9af00;
    color: #ffffff;
    border: none;
    padding: 0.8rem 1.2rem;
    font-size: 1rem;
    border-radius: 35px;
    cursor: pointer;
    transition: background-color 0.3s;
    width: 45%;
    font-family: 'Montserrat';
    margin: 0 auto;
}

.contact-form button:hover {
    background-color: #252270; /* Blu scuro */
}

@media screen and (max-width:878px){
    .contact-form button{
        width: 70%;
    }
}


/* Footer */
footer {
    background: #fff;
    color: #003366;
    padding: 1rem 4em;
    margin-top: 2rem;
    font-size: 0.9rem;
    display: flex;
    align-content: center;
    flex-wrap: wrap;
    align-items: center;
}

#bottom-menu {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    width: 40%;
}

#bottom-menu li {
    list-style: none;
    margin: 0 10px;
}

#bottom-menu li a {
    text-decoration: none;
    color: #003366;
}

.copyright {
    width: 40%;
}

.logo_footer {
    width: 15%;
}

@media screen and (max-width: 878px) {
    #bottom-menu{
        width: 100%;
        text-align: center;
        flex-direction: column;
    }
    .copyright {
        width: 100%;
        text-align: center;
    }
    
    .logo_footer {
        width: 100%;
        text-align: center;

    }
}

