@import url('https://fonts.googleapis.com/css2?family=Cormorant+Unicase:wght@500&display=swap');
@font-face {
    font-family: 'Cormorant Unicase';
    font-style: normal;
    font-weight: 500;
    font-display: swap;
    src: url(../font/cormorant-unicase-medium.woff2) format('woff2');
    unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
  }
body {
    margin: 0; 
    padding: 0; 
    overflow: hidden;
    font-family: "Noto Sans", sans-serif; 
}
#list-container h2 {
    font-family:'Cormorant Unicase';
    text-align: center;
    font-size: 2.4em;
    font-weight: 500;
}
h3 {
    font-family: "Noto Sans Condensed", sans-serif;
    font-weight: bold;
    font-size: 1.25em;
}

#map { position: absolute; top: 0; bottom: 0; width: 100%; }
header {
    z-index: 100;
    position: relative;
    font-family:'Cormorant Unicase';
    font-weight: 500;
}

#field-logo {
    left:0;
    position: absolute; top: 3em;
}
#field-nav a {
    display: inline-block;
    font-size: 2em;
    text-decoration: none;
    color: #222;
}
#field-nav {position: absolute;position: absolute; top: 3em; right: 0;}
#field-logo, #field-nav a {    
    background: #fff;
    box-shadow: 0 4px 4px rgba(0,0,0,0.25);
    border-bottom: 3px solid #222;
}
a#link-map {
    padding: 0.3em 1em 0.3em 4em;
    margin-right: 0.4em;
}
a#link-list {
    padding: 0.3em 4em 0.3em 1em;
}
a#link-map img {
    position: absolute;
    left: 20px;
    top: -10px;
}
a#link-list img {
    position: absolute;
    right: 20px;
    top: -10px;
}
#field-logo h1 {
    padding: 0.3em 1em 0.3em 5em;
    margin: 0;
    color: #222;
    font-weight: 500;
}
#field-logo #logo {
    width: 96px;
    display: inline;
    position: absolute;
    left: 2em;
    top: -1em;
}

.active {
    opacity: 1;
    transform: scale(1);
    transition: 0.3s;
}
.inactive {
    opacity: 0.8;
    transform: scale(0.8);
    transition: 0.3s;
}

#slider {
    position: absolute;
    bottom: 5em;
    width: 80%;
    margin: 0 auto;
    left: 0;
    right: 0;
    border-radius: 10px;
    background: #FAE2C0;
    border: 3px solid #fff;
    box-shadow: 0px 4px 7px #00000054;
    z-index: 101;
}
.noUi-connect {
    background: #fff;
}
.noUi-horizontal .noUi-handle {
    width: 30px;
    height: 30px;
    right: -17px;
    top: -9px;
    border-radius: 20px;
    background: #FF932F;
    border: 4px solid #fff;
    box-shadow:none;
}
.noUi-horizontal .noUi-tooltip {
    -webkit-transform: translate(-85%,0);
    transform: translate(-85%,0);
    left: 50%;
    bottom: -2.5em;
    border-radius: 1em;
    box-shadow: 0 3px 5px #00000055;
}
.noUi-horizontal .noUi-tooltip.tooltip-2 {
    left: 4.4em;
}
.noUi-handle:after, .noUi-handle:before {
    display: none;
}
#list-container {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #f1f1e4;
    background-image: url(../img/paper-texture.jpg);
    overflow-y: scroll;
    z-index: 99;
    transition: 0.3s;
    transition-timing-function: cubic-bezier(0.075, 0.82, 0.165, 1);
    transition-duration: 0.3s;
    box-shadow: 0 -50px 60px #00000078 inset, 0 0 30px #00000099;
}
#list-container h2 {text-align: center;}
ul#event-list {
    list-style: none;
    margin: 0 auto;
    padding: 1em;
    max-width: 80em;
}
#event-list li {
    padding: 1em;
    margin-bottom: 1em;
    background: #fff;
    box-shadow: 0 3px 5px rgba(0,0,0,25%);
}
#event-list li:last-child {
    margin-bottom: 10em;
}   
#event-list h3 {
    margin: 0;
}
#event-list p {
    margin: 0.3em 0;
}
div#texture {
    position: fixed;
    z-index: 98;
    width: 100%;
    height: 100%;
    background-image: url(../img/paper-texture.jpg);
    background-blend-mode: multiply;
    background-size: 10em;
    mix-blend-mode: multiply;
    pointer-events: none;
    opacity: 1;
}

/* Media Queries */

@media screen and (max-width: 800px) {
    #list-container h2 {
        margin: 3.4em 0 0;
    }
    #slider {
        bottom: 4em;
        width: 60%;
    }
    #field-logo {
        left: 0;
        position: absolute;
        top: 0;
        width: 100%;
    }
    #field-logo h1 {
        padding: 0.3em 1em 0.3em 3em;
        margin: 0;
        color: #222;
        font-weight: 500;
        font-size: 1.6em;
    }
    #field-logo #logo {
        width: 52px;
        left: 1em;
        top: 0.3em;
    }
    #field-nav {
        position: relative;
        top: 4em;
        right: auto;
    }
    #field-nav a {
        font-size: 1.2em;
    }
    #field-nav nav {
        text-align: center;
    }
    a#link-map img {
        left: 10px;
        top: -20px;
        transform: scale(0.75);
    }
    a#link-list img {
        right: 10px;
        top: -20px;
        transform: scale(0.75);
    }

}