@font-face {
    font-family: "Impact";
    src: url("/font/impact.ttf");
}

:root {
    --background-height: 40vw;
}

html, body {
    margin: 0;

}

.background {
    width: 100%;
    height: 20vw;
}

.background::before {
    content: "";
    position: absolute;
    top:0;
    left: 0;
    width: 100%;
    height: calc(var(--background-height) * 2);
    background: url("/media/about/sfondo_programmazione.jpg");
    filter: brightness(0.4);
    z-index: -1;
    zoom: 0.5;
}


.center {
    display: flex;
    align-items: center;
    justify-content: center;
}

.responsive-center-scuola {
    align-items: end;
}

.row {
    display: flex;
    flex-direction: row;
}

.column {
    display: flex;
    flex-direction: column;
}

li.row::before, li.column::before {
    content: '•'; 
    position: absolute;
    margin-left: -1em;
}


b.title {
    text-align: center;
    font-size: 4vw;
    font-family: Impact;    
}

b.subtitle {
    font-size: 2vw;
    font-weight: unset;
    
    font-family: serif;
}

p.subtitle {
    text-align: center;
    width: 50%;
    
    font-family: serif;
}

h3 {
    margin:0;
    padding:0;
}

.contenuto {
    margin: auto;
    width: 70vw;
    padding: 2% 5%;
}

ul {
    margin-left: 5vw;
}

.navbar {
    position: sticky;
    top: 0;
    background: rgba(0,0,0,0.4);
    padding: 1em;
    gap: 2vw;
    
    justify-content: end;
}

.navbar a {
    font-size: larger;
    font-family: sans-serif;
    color: white;
    text-decoration: none;
}

.social {
    gap: 1vw;
}


@media only screen and (max-width: 600px) {
    .background {
        height: 30%;
    }
    
    .responsive-center-scuola {
        align-items: flex-start;    
    }
    
    .img-scuola {
        margin: 1vw 0
    }
    
    b.title {
        font-size: 10vw;
    }
    
    b.subtitle{
        font-size: x-large;
    }
    
    p.subtitle {
        width: auto;
        font-size: 0.8em;
    }
    
    .contenuto {
        max-width: 100%;
        width: auto;
    }
    
    ul {
        margin-left: 0;
        padding-left: 5vw;
    }
    
    li.row::before, li.column::before {
        content: '';
    }
    
    p, h3, h1, b {
        text-align: center;
    }
    
    .navbar {
        justify-content: center;
    }
    
    .social {
        gap: 5vw;
    }
    
    .contenuto {
        margin-top: 5%;
    }
}