#logo { max-width:100%;}

#header { text-align: center;  }

#header p { margin:5px 0px; }

#content { margin:0 auto;  text-align: center; }

#headline { font-family:'Oswald', sans-serif; font-size: 300%; margin-top:5px; margin-bottom:5px;}


:root {
    --app-height: 100%;
    /*overflow: hidden; */
 }

 body{
    margin: 0;
    display: flex;
    align-items: center;
    height: 100%;
 }

#content{
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    /*height: var(--app-height);
    height: auto;
    margin: 5vh auto;*/
}

.wrapper-logo{
    flex-basis: 100%;
    text-align: center;
}

#logo-img{
    max-width: 15vw;
   
}

img{
    width: 100%;
    height: auto;
}

h1{
    font-family: 'Open Sans', sans-serif;
    font-size: 4vw;
    line-height: 1;
    margin: 50px auto;
    color: #544445;
    font-weight: lighter;
    display: none;
}

p{
    font-family: 'Open Sans', sans-serif;
    font-size: 24px;
    line-height: 1;
    color: #544445;
    font-weight: normal;
}

a{
    font-family: 'Open Sans', sans-serif;
    font-size: 24px;
    line-height: 1;
    color: #544445;
    font-weight: normal;
}

.contenitore-candidati{
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    width: 100%;
    flex-basis: 100%;
    margin: 10vh auto;
    gap: 2.65%;
    justify-content: center;
}

.blocco-candidato{
    flex-basis: 23%;
}

.blocco-candidato img{
    width: 100%;
    height: auto;
}

.blocco-candidato h2{
    font-family: "Oswald", sans-serif;
    font-style: normal;
    font-size: 2vw;
    line-height: 1;
    color: #1a4789;
    font-weight: 300;
    text-transform: uppercase;
}

.come-si-vota{
    flex-basis: 100%;
    text-align: center;
}

.come-si-vota h3{
    font-family: "Oswald", sans-serif;
    font-style: normal;
    font-size: 3vw;
    line-height: 1.2;
    color: #1a4789;
    font-weight: bold;
    text-transform: uppercase;
    margin-bottom: 0;
}

.come-si-vota p{
    font-family: "Oswald", sans-serif;
    font-size: 24px;
    line-height: 1.2;
    color: #544445;
    font-weight: normal;
    margin-bottom: 50px;
}

.come-si-vota img{
    max-width: 50%;
}


@media screen  and (min-width: 1921px)  {
    #content{
        max-width: 1920px;
    }
}

@media screen  and (min-width: 481px) and (max-width: 820px),  screen and (min-device-width: 1024px) and (max-device-height: 1366px) and (-webkit-min-device-pixel-ratio: 2)  and (orientation: portrait), screen and (min-width: 834px) and (orientation: portrait) {
    .contenitore-candidati{
        gap: 50px;
        width: 100%;
        flex-basis: 100%;
        justify-content: center;
        margin: 5vh auto;
    }
    .blocco-candidato{
        flex-basis: 40%;
    }
    .blocco-candidato h2{
        font-size: 4vw;
    }
    .come-si-vota h3{
        font-size: 5vw;
    }
   
  }

@media screen and (max-width: 480px) {
    #logo-img{
        max-width: 40vw;
    }
    p{
        font-size: 18px;
    }

    a{
        font-size: 18px;
    }
    p span{
        display: none;
    }
    .contenitore-candidati{
        gap: 50px;
        width: 100%;
        flex-basis: 100%;
    }
    .blocco-candidato{
        flex-basis: 100%;
    }
    .blocco-candidato h2{
        font-size: 9vw;
    }
    .come-si-vota h3{
        font-size: 5vw;
        padding: 0 5vw;
        line-height: 1.2;
    }
    .come-si-vota img{
        max-width: 80%;
    }
  }