/*=======*/
/*GENERAL*/
/*=======*/
@import url('https://fonts.googleapis.com/css?family=Montserrat:400,700&display=swap');

body{
    margin: 0;
    font-family: "Montserrat";
    font-weight: 400;
    text-rendering: optimizeLegibility;
    background-color: #222222;
}

a{
    text-decoration: none;
    color:  #000;
}

h1{
    margin-top: 0px;
    margin-bottom: 10px;
    font-weight: 700;
}

p{
    margin-top: 0;
    margin-bottom: 35px;
}

/*======*/
/*HEADER*/
/*======*/
header{
    align-items: center;
    height: 70px;
    background-color: #222222;
    position: fixed;
    width:100%;
    top: 0;
    transition: top 0.2s ease-in-out;
    z-index: 30;
}

.header_up{
    top: -70px;
}

.logo{
    justify-self: start;
    margin-left: 5px;
}

.logo,
.logo img{
    height: 60px;
}

nav{
    justify-self: end;
}

.menu_icon{
    height: 20px;
    margin-right: 25px;
}

.close_menu img{
    height: 20px;
    padding: 10px;
}

nav ul{
    display: none;
    position: absolute;
    top: 0;
    right: 0;
    width: 100vw;
    height: 100vh;
    background-color: #fff;
    list-style-type: none;
    margin: 0;
    padding: 10px 20px;
    text-align: right;
    box-sizing: border-box;
    overflow: hidden;
}

nav li{
    padding: 5px;
}

nav a{
    display: block;
    padding: 10px;
    text-transform: uppercase;
    font-weight: 700;
    color: #4c4c4c;
}

.logo_municipality{
    display: none;
}

/*=======*/
/*ARTICLE*/
/*=======*/

article{
    margin-top: 70px;
    background-color: #fff;
    min-height: 600px;
}


article p{
    font-size: 0.85em;
    line-height: 1.6em;
}

article ul{
    margin: 0;
    padding-left: 15px;
}

article li{
    margin-bottom: 10px;
    line-height: 1.6em;
    font-size: 0.85em;
}

article h1{
    font-size: 1.05em;
    margin-top: 40px;
}

.article_container{
    padding: 20px;
    margin: 20px auto;
    max-width: 800px;
}

.article_title{
    background-color: #222222;
    padding: 40px;
    text-align: center;
}

.article_title h1{
    color: #e78839;
    font-size: 1.7em;
    margin-top: 0px;
}

.article_title p{
    color: #fff;
    font-size: 1em;
    line-height: 1.6em;
    margin: 0;
}

article a{
    color: #156af2;
}

article a:hover{
    text-decoration: underline;
}

/*====*/
/*HOME*/
/*====*/

.alert{
    text-align: center;
    padding: 40px;
    margin:20px;
    background-color: #f0d7d7;
}

.alert h1{
    color: #fc2121;
    margin-top: 0px;
}

.prenotazioni_button h3{
    background-color: yellowgreen;
    text-align: center;
    margin:auto;
    width:150px;
    padding: 20px;
    border-radius: 20px;
    text-decoration: none;
    color: black;
}

.home_container{
    display: flex;
    flex-direction: column;
    padding: 5px;
    background: linear-gradient(to top, #4c4c4c 60%, #fff 40%);
    margin-bottom: 10px;
}

.home_container img{
    width: 100%;
}

.home_container div{
    padding: 20px;
    color: #fff;
}

.home_container p{
    margin: 0;
}

.home_container b{
    color: #e78839;
}

/*====*/
/*DATE DI APERTURA*/
/*====*/

.month{
    text-align: left;
    margin-bottom: 30px;
}

.month h1{
    margin-bottom: 0px;
    text-align: left;
    color: #fc2121;
}

.night_open{
    color: #0b8743;
}

/*======*/
/*FOOTER*/
/*======*/
footer{
    background-color: #222222;
    justify-content: center;
}

footer div{
    padding: 15px;
}

footer h1{
    color: #fbde4c;
    font-size: 1.3em;
}

footer p{
    color: #fbde4c;
    font-size: 0.8em;
    margin-bottom: 10px;
}

footer a{
    color: #fff;
    font-size: 0.8em;
}

.socials img{
    height: 20px;
    padding-right: 10px;
}

.site_info{
    margin-top: 40px;
    text-align: center;
    border-top: 1px solid #fff;
}

.external_links img{
    height: 40px;
    margin-right: 10px;
    margin-top: 10px;
}

/*========================================*/
/*MEDIA QUERY 750px*/
/*========================================*/
@media only screen and (min-width: 750px){
    /*======*/
    /*HEADER*/
    /*======*/
    nav ul{
        width: 70%;
    }

    /*=======*/
    /*ARTICLE*/
    /*=======*/

    /*====*/
    /*HOME*/
    /*====*/

    /*======*/
    /*FOOTER*/
    /*======*/
}

/*========================================*/
/*MEDIA QUERY 1015px*/
/*========================================*/
@media only screen and (min-width: 1015px){
    /*======*/
    /*HEADER*/
    /*======*/

    /*=======*/
    /*ARTICLE*/
    /*=======*/

    /*====*/
    /*HOME*/
    /*====*/
    .home_container{
        padding: 40px;
    }

    /*======*/
    /*FOOTER*/
    /*======*/
}

/*========================================*/
/*MEDIA QUERY 1215px*/
/*========================================*/
@media only screen and (min-width: 1215px){
    /*======*/
    /*HEADER*/
    /*======*/
    .menu_icon,
    .close_menu{
        display: none;
    }

    nav{
        justify-self: center;
    }

    nav ul{
        position: initial;
        display: inherit !important;
        background-color: initial;
        width: initial;
        height: initial;
        padding: 0;
    }

    nav li{
        float: left;
        padding: 10px
    }

    nav a{
        line-height: 2em;
        position: relative;
        font-size: 0.8em;
        color: #fbde4c;
    }

    nav a:after{
        content: "";
        display: block;
        height: 2px;
        left: 50%;
        position: absolute;
        background: #fbde4c;
        transition: width 0.3s ease 0s, left 0.3s ease 0s;
        width: 0;
    }

    nav a:hover:after { 
        width: 100%; 
        left: 0; 
    }

    
    /*=======*/
    /*ARTICLE*/
    /*=======*/

    article p{
        font-size: 0.95em;
    }

    article h1{
        font-size: 1.6em;
    }

    article li{
        font-size: 0.95em;
    }

    .article_title h1{
        font-size: 2em;
    }

    .article_title p{
        font-size: 1.2em;
    }

    .article_container{
        padding: 40px;
    }

    /*====*/
    /*HOME*/
    /*====*/

    .home_container{
        padding: 40px;
        align-items: flex-end;
    }

    .home_container img{
        max-width: 1000px;
    }

    .align_left{
        flex-direction: row-reverse;
        left: 100px;

        padding-right: 100px;
        text-align: right;
    }

    .align_right{
        flex-direction: row;
        right: 100px;

        padding-left: 100px;
    }

    .home_container div{
        position: relative;
        width: 30%;
    }

    /*======*/
    /*FOOTER*/
    /*======*/
    
}

/*========================================*/
/*MEDIA QUERY 1415px*/
/*========================================*/
@media only screen and (min-width: 1415px){
    /*======*/
    /*HEADER*/
    /*======*/
    .logo{
        margin-left: 50px;
    }

    .logo_municipality{
        justify-self: end;
        display: initial;
        margin-right: 50px;
    }

    .logo_municipality,
    .logo_municipality img{
        height: 60px;
    }

    /*=======*/
    /*ARTICLE*/
    /*=======*/

    /*====*/
    /*HOME*/
    /*====*/
    .home_container div{
        bottom: 50px;
    }

    /*======*/
    /*FOOTER*/
    /*======*/
}