html {
    scroll-behavior: smooth;
}

body{
    color: white;
    font-family: 'Raleway', sans-serif;
    margin:0;
    overflow: hidden;
    background-image:url(img/back.png);
    background-position: bottom;
    background-size: 400px;
    background-repeat: no-repeat;
    background-color:#e7e2e2;
}

.page.current{
    position:fixed;
    
    top:0; 
    left:0;
}
.page:not(.current){
    position:fixed;
    top:-100vh;
    z-index:-1;
}

#loading{
    text-align:center;
    padding:40vh 0;
    position:fixed;
    z-index: 9999999;
    top:0; left:0;
    width:100vw;
    height:100vh;
    background-color:white;
    color :rgb(0, 50, 92);;
}

.page{
    transition: top 0.8s;
}

.background{
    position: absolute;
    min-width: 100%;
    min-height: 100%;
    top:0;
    left:0;
    z-index:-1; 
    background-size: cover;
    width:fit-content;
    background-color:#ddd; 
}
video.blur{
    filter: blur(5px);
}
img.blur{
    filter: blur(8px);
}
.grayscale{
    filter: grayscale(1);
}

.heading.mar-btm{
    margin-bottom: 20px;
}

.page.dark::before{
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    content: '';

    background-color: rgba(0, 0, 0, 0.7);
}

.blur.grayscale{
    filter: grayscale(1) blur(5px);
}

.page{
    height:100vh;
    width:100vw;
    position:relative;
    overflow: hidden;
}

.header{
    top:0;
    position:fixed;
    width:100%;
    height:80px;
    background-color: rgba(0, 23, 41, 0.9);
    z-index: 999;
    text-align:center;
}


.menu {
    position:fixed;
    z-index: 9;
    max-width:90%;
    top:80px;
    bottom: 0px;
    width: 300px;
    left: -240px;
    background-color: rgba(34, 63, 85, 0.9);/*rgba(0, 37, 68, 0.9);*/
    background-color: transparent;
    transition: all 0.5s;
    overflow: auto;


}

.menu::-webkit-scrollbar {
    display: none;
}

.menu .menu-item{
    color: transparent;
    transition: color 1s;
}

.menu.light:not(.open) .fa{
    color: rgba(0, 37, 68, 0.9);
}

.menu.light:not(.open) .menu-item{
    border-color: rgba(0, 37, 68, 0.9);
}

.menu .fa{
    color:white;
}

.menu.open{
    background-color: rgba(0, 23, 41, 0.9);
    left:0px;
}

.menu.open .menu-item{
    color: white;
}

.header .menu-toggle{
    float:left;
    padding:20px;
    height: 40px;
    cursor: pointer;
}

.header .title{
    display: flex;
    justify-content: center;
    font-family: 'Rock Salt', cursive;
    font-family: 'Gochi Hand', cursive; 
    font-size:1.2em; 
    cursor: pointer;
}

.header .title img{
    margin-left: 30px;
    height: 80px;
}

img.portrait{
    top:-25vh;
}



.header .title span{
    display: inline-block;
    font-size: 2.0em;
    margin:18px;
    margin-left:0px;
}


h5 {
    text-decoration: underline;
}

div.mar-lft{
    margin-left: 20px;
}

.center{
    font-size: 2.0em;
    width: 60%;
    max-height: calc(100vh - 100px);
    left: calc(20% - 50px);

    margin: 0;
    position: absolute;
    top: 50%;
    -ms-transform: translateY(-45%);
    transform: translateY(-45%);    
    overflow: auto;
    font-size: 1.2em;
    padding:  0 50px;
}


a.menu-item{
    font-weight: bold;
    width:calc(100% - 40px);
    border-bottom: 1px solid white;
    padding: 20px;
    display: block;
    cursor: pointer;
    text-decoration: none;
    text-align: right;
}
a.menu-item.active{
    background-color: rgba(255, 255, 255, 0.4)
}

a.menu-item,a.menu-item:visited{
    color:white;

}

a.menu-item i{
    margin-left:10px;
}


.menu span:first-of-type{
    border-top: 1px solid white;
}
.menu-item:hover{
    background-color: rgba(255,255,255,0.2);    
    
}

a.menu-item.lista-nozze{
    text-decoration: line-through;
}

h1.bigger{
    font-size:2.5em;
}

a{
    color: rgb(22, 100, 163);
}

a:visited {
    color: rgb(22, 100, 163);
}

.dark a, .color-dark a{
    color: rgb(109, 189, 255);
}

.dark  a:visited , .color-dark a:visited{
    color: rgb(109, 189, 255);
}

.page.light{
    color: #333;
    color: rgb(0, 50, 92);
}

.page.light::before{
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    content: '';

    background-color: rgba(255,255,255,0.5);
}

.page.color::before{
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    content: '';

    background-color: rgba(224, 239, 255, 0.8);
}
.page.color{
    
    color: rgb(0, 50, 92);
}

.page.color-dark::before{
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    content: '';

    background-color: rgba(0, 35, 71, 0.75);
}

.page.color-dark{
    
    color: white;
}


.page.color-darker::before{
    background-color: rgba(0, 35, 71, 0.85);
}

.page.lighter::before{

    background-color: rgba(255,255,255,0.85);
}



.right{
    text-align:right;
}

a.menu-button,a.go-button {
    padding:20px;
    border: 0px solid white;
    cursor: pointer;
    color: white;
    border-radius: 10px;
    font-size: 1.1em;
    font-family: 'Raleway', sans-serif;
    text-decoration: none;
    display: inline-block;
    width:70%; 
    max-width: 300px;   
}

a.go-button{
    background-color:rgba(0, 23, 41, 0.9);
}

a.go-button:visited{
    color: white;
}
a.go-button:hover{
    background-color: rgba(0, 23, 41, 0.7);
    border: 1px solid white;
}

.page#home{
    text-align:center;
}

a.menu-button{
    background-color: rgba(0,0,0,0.0);
    margin-top: 5px;
    border: 2px solid rgba(0, 23, 41, 0.7);
    color: rgba(0, 23, 41, 0.7);
}
a.menu-button:hover{
    background-color: rgba(220, 241, 255, 0.315);
}

.styled-input{
    background-color: rgba(255,255,255,0.2);
    border: 1px solid white;
    border-radius: 10px;
    outline: 0px;
    padding:4px;
    margin:5px;
    width:calc(100% - 10px);
    font-size:0.9em;
    color: white;
}

textarea.styled-input{
    height:100px;
}
button.submit{
    padding:20px;
    background-color:rgba(0, 23, 41, 0.9);
    border: 0px solid white;
    color: white;
    cursor: pointer;
    border-radius: 10px;
    font-size: 1.1em;
    font-family: 'Raleway', sans-serif;
    text-decoration: none;
    margin-top: 20px;
    float: right;
    box-sizing: border-box;
}

button.submit-yes{
    background-color: rgba(234, 245, 253, 0.9);
    color:rgba(0, 23, 41, 0.9);
}
button.submit-no{

}

button.submit:hover{
    border: 1px solid white;
}

img.heading{
    float:right;
    margin-top: 0px;
    display: none;
    border-radius: 15px;
    border: 4px solid white;
    width:50%;
}

.clr{
    clear:both;
}


.metro{
    border-radius:50%;
    width: 40px;
    vertical-align: middle;
}

.metro-container{
    display: inline-block;
    background-color: white;
    padding: 10px;
    border-radius: 8px;
}

.metro-container .label{
    display: inline-block;
    margin: 0 5px;
    color:#333;
}


.light .metro-container{
    border: 1px solid rgb(160, 160, 160);
}
.dark .metro-container{
}

a.map-link{
    margin-left:20px;
    margin-bottom:10px;
    display: inline-block;
    max-width: 80%;
    width: 300px;
    position:relative;
    border-radius: 10px;
    overflow: hidden;
    padding:5px;
    background-color:white;
    text-align:center;
    color:#333;
    text-decoration: none;
}

a.map-link span{
    display:inline-block;
    padding:5px;
}

a.map-link:visited{
    color:#333;
}
.map-link img{
    width:100%;
}

.strong{
    font-weight: bold;
}

.italic{
    font-style: italic;
}
.underline{
    text-decoration: underline;
}

.programma-table{
    border: 1px solid white;
    border-collapse: collapse;
    color : white;
}

.programma-table td{
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 3px;
}

::-webkit-scrollbar {
    width: 10px;
  }
  
  /* Track */
  ::-webkit-scrollbar-track {
    border-radius: 5px;
    background: #f1f1f1;

  }
  
  /* Handle */
  ::-webkit-scrollbar-thumb {
    background: rgb(134, 134, 134);
    border-radius: 5px;
  }
  
  /* Handle on hover */
  ::-webkit-scrollbar-thumb:hover {
    background: #555;
  }



.well{
    display:inline-block;
    background-color: rgba(255,255,255,0.5);
    border: 2px solid rgb(0, 50, 92);
    border-radius: 10px;
    padding: 20px 0;
    max-width:400px;
    width:calc(100% - 4px);
    margin: 10px 0;
}

@media only screen and (max-width: 768px) {


    img.heading{
        margin-top: 0;
        margin-bottom:10px;
        display: block;
        width:calc(100% - 8px);
    }

    .menu {
        left: calc(100vw - 5px);
        background-color: transparent;
    }

    /*.menu:not(.open) a.menu-item.active{
        background-color: rgba(255, 255, 255, 0.9);
    }*/

    .header .title img{
        display: none;
    }   

    h1{
        font-size: 1.4em;
    }

    h3{
        font-size: 1.2em;
    }

    
    video.background{
        left:  calc((-8 * 100vw / 9) - 50vw  );
    }
    
    video.background.portrait{
        left:  -40vh;
    }
    
    .center{
        position:absolute;
        font-size: 1.1em;
        width: 80%;
        left:10%;
        top: 80px;
        bottom: 0vh;
        padding: 0px;
        -ms-transform: translateY(0);
        transform: translateY(0);    
        padding-bottom: 15vh;
    }
    ::-webkit-scrollbar {
        display: none;
        }

    .content{
        font-size: 1.0em;
    }


    body{
        background-size: 100%;
    }


}