/** * Eric Meyer's Reset CSS v2.0 (http://meyerweb.com/eric/tools/css/reset/) * http://cssreset.com */
html, body, div, span, applet, object, iframe,h1, h2, h3, h4, h5, h6, p, blockquote, pre,a, abbr, acronym, address, big, cite, code,del, dfn, em, img, ins, kbd, q, s, samp,small, strike, strong, sub, sup, tt, var,b, u, i, center,dl, dt, dd, ol, ul, li,fieldset, form, label, legend,table, caption, tbody, tfoot, thead, tr, th, td,article, aside, canvas, details, embed, figure, figcaption, footer, header, hgroup, menu, nav, output, ruby, section, summary,time, mark, audio, video {	
margin: 0;	
padding: 0;	
border: 0;	
font-size: 100%;	
font: inherit;	
vertical-align: baseline;}

/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section {	
display: block;}

body {	
line-height: 1.5;
}

ol, ul {	
list-style: none;
}

blockquote, q {	
quotes: none;
}

blockquote:before, blockquote:after,q:before, q:after {	
content: '';	
content: none;
}

table {	
border-collapse: collapse;	border-spacing: 0;
}	

/* END RESET */
::-webkit-scrollbar {
    width: 10px;
}

/* Track */
::-webkit-scrollbar-track {
    border-radius: 5px;
}
 
/* Handle */
::-webkit-scrollbar-thumb {
    background: gray; 
    border-radius: 10px;
}

/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
    background: lightgray; 
}


body {
    height: 100vh;
    font-family: Bentham;
    font-size: 17px;
    display: none;
}

#map {
    height: 100vh;
    position: absolute; 
    top: 0; 
    bottom: -200px; 
    left: 0; 
    right: 0; 
    z-index: 0;
}

#overlay {
    z-index: 100;
    height: 100vh;
    position: relative;
    color: rgb(0,0,0);
    background-image: url(img/jack2.png);
    background-size: 100%;
    background-repeat: no-repeat;
    pointer-events: none;
}

#modal1 {
    display: none;
    width: 47%;
    height: 80vh;
    background-color: black;
    position: fixed;
    bottom: 0;
    left: 7%;
    z-index: 100;
    border-radius: 20px 20px 0 0;
    overflow: scroll;
}

#center {
    text-align: center;
    color: white;
    margin: auto;
    font-size: 1.1em;
    display: block;
}

#modal1 p {
    color: white;
    padding: 2%;
    width: 70%;
    margin: auto;
}

h2 {
    color: white;
    font-family: 'Seaweed Script';
    padding: 3%;
    padding-bottom: 0;
    font-size: 3em;
    text-align: center;
    text-shadow: 1px 1px red;
}

#letters {
    position: fixed;
    top: -325px;
    right: 50px;
    z-index: 101;
    transform: rotate(5deg);
    filter: drop-shadow(8px 8px 8px black);
}

#letters:hover {
    filter: drop-shadow(10px 10px 10px black);
}

#container {
    width: 50%;
    position: absolute;
    top: 25%;
    left: 5.5%;
}

#boxcontent {
    padding: 5%;
    padding-top: 0;
    color: white;
    transition: opacity 2s linear;
}

h1 {
    font-family: 'Seaweed Script';
    font-size: 4.8em;
    color: #9C141C;
    text-shadow: .75px .75px black;
    padding: 5%;
    padding-bottom: 0;
}

#boxcontent span {
    font-family: Bevan;
    font-size: 1.1em;
    transform: rotate(-1deg);
    display: inline-block;
    margin: 5px;
}


@media only screen and (min-width: 1261px) and (max-width: 1660px) {
    #container {
        top: 17%;
    }
    
    h1 {
        font-size: 4em;
    }
    
    #letters {
        right: 0;
    }
    
    #boxcontent {
        font-size: .9em;
    }
}


@media only screen and (min-width: 601px) and (max-width: 1260px) {
    #container {
        top: 30%; 
        width: 70%;
    }
    
    h1 {
        font-size: 3em;
    }
    
    #boxcontent {
        color: black;
        font-size: .9em;
        background-color: rgba(220,220,220,.8);
        border-radius: 20px;
        width: 60%;
        padding: 3%;
    }
    
    #letters {
        right: 0;
        transform: scale(.8) rotate(5deg);
    }
    
    #modal1 {
        height: 100vh;
        width: 100vw;
        left: 0;
    }
}


@media only screen and (max-width: 600px) {
    #container {
        width: 100%;
        top: 17%;
        left: 0;
    }
    
    h1 {
        font-size: 2.3em;
        text-align: center; 
        text-shadow: .5px .5px white;
    }
    
    #boxcontent span {
        font-size: 1em;
    }
    
    #boxcontent {
        color: black;
        font-size: .7em;
        background-color: rgba(220,220,220,.8);
    }
    
    #letters {
        position: fixed;
        right: -200px;
        transform: scale(.5);
    }
    
    #modal1 {
        left: 0;
        height: 100vh;
        width: 100vw;
    }
}




