:root {
  /* Colors */
  --Background_Dark: #393939;
  --Background_Light: #FDF7BA;
  --Button_Default: #B5B192;
  --Button_Hover: #D16AF3;
  --Shop_Butt_Background: #82BF60;
  --Shop_Butt_Bord_Hover: #58F302;
  --Shop_Butt_Back_Hover: #58F302;
  --Nav_Background: #6C6A5C;
  
  /* typography */
  --text_font_fam: 'WebTypewriter';
  --head_font_fam: 'WebTypewriter-Bold';
  --nav_font_fam: 'Silkscreen';
  
  /* Positioning */
  --topani_h: 431px;
}


@supports not (text-wrap: pretty) {
  body {
    text-wrap: normal;
  }
}


@font-face { 
  font-family: "WebTypewriter";
  font-style: normal;
  font-weight: 400;
  src: url(/11-resources/03-fonts/WebTypewriter.otf) format("opentype");
}

@font-face { 
  font-family: "WebTypewriter-Bold";
  font-style: normal;
  font-weight: 400;
  src: url(/11-resources/03-fonts/WebTypewriter-Bold.otf) format("opentype");
}

.centerme{
  text-align: center;
}

body {
  color: var(--Background_Light);
  background-color: var(--Background_Dark);
  font-family: var(--text_font_fam);
  font-size: 1em;
  font-weight: normal;
  font-style: normal;
  margin: 0px;
  padding: 0;
  text-wrap: pretty;
}

body img{
  display: block;
  margin: auto;
  width: 80%;
  
}

p {
    /*letter-spacing: 0.5em;*/
    /*word-spacing: 1em;*/
    font-weight: normal;
    font-style: normal;
    line-height: 1.5;
    margin-left: 3em;
    margin-right: 2em;
    margin-bottom: 3em;
    margin-top:1em;
    text-wrap: pretty;
}

h1 {
    font-family: var(--head_font_fam);
    font-size: 2.5rem;
    font-style: italic;
    font-weight: normal;
    text-transform: uppercase;
    letter-spacing: 0.01em;
    text-align: center;
    margin: .5em;
    margin-top:1.2em;
    padding: 0.1em;
  
}

h2 {
    font-size: 2em;
    font-weight: normal;
    /*letter-spacing: 0.5em;*/
    letter-spacing: 0.0em;
    text-align: center;
    margin-top: 0.8em;
    margin-left: 1em;
    margin-right: 1em;
    padding: 0.1em;
    
}

h3 {
  
    font-size: 2em;
    font-weight: normal;
    font-style: italic;
    /*letter-spacing: 0.5em;*/
    letter-spacing: 0.0em;
    text-align: center;
    margin-top: 0.5 em;
    padding: 0.1em;
}
  
h4 {
    font-size: 1.2rem;
    font-weight: bold;
    font-style: normal;
    line-height: 1.5;
    text-align: right;
    margin-left: 3rem;
    margin-right: 2rem;
    margin-bottom: 0em;
    margin-top:1em;
}  

h5 {
    font-family: var(--head_font_fam);
    font-size: 1.3em;
    font-style: normal;
    text-align: left;
    margin-left: 3rem;
    margin-right: 2em;
    margin-bottom: 1em;
    margin-top:2em;
}  



a {
    color: var(--Background_Light);
    text-decoration: none;
		padding-bottom: 6px;
		cursor: url(/11-resources/02-images/Cursor_Cl.png), auto;
		background: url(/11-resources/02-images/UnderlineGraphic.png) bottom repeat-x;
}

a:visited {
    /*color: #e451ff;*/
    color: rgb(228,81,255,.1);
}

a:hover {
    color: red;
}

a:active {
    color: red;
    font-weight: bold;
    font-style: italic;
}


strong {
    font-style: italic;
    text-transform: uppercase;
}

ul {
    list-style-type: disc;
    margin-left: 5rem;
    padding: 0;
    
    background-color: var(--Background_Dark);
    line-height: 1.75;
    
}


.topgraphic {
  padding: 0;
  margin:0;
  display: flex;
  min-width: 900px;
}

.topgraphic img {
width:1440px;
max-width: 1440px;

background-repeat: x;
}

.shoptopgraphic {
  padding: 0;
  margin:0;
  margin-top:-396px;
  display: flex;
  min-width: 900px;
}

.shoptopgraphic img {
width:1440px;

max-width: 1440px;

background-repeat: x;
}

.paganavborder{
      
    position: absolute;
    width: 8px;
    height: 523px;
    
    margin-left: 214px;
    padding: 0px;
    
    top: 0px;
    
    object-fit: none;
}

.paganavborder img{
  height: 100%;
  width: 100%;
  display: block;
  padding:0;
  margin:0;
}

#page {
  display: block;
  width: 1024px;
  
  position: absolute;
  
  /*bottom: 0;*/
  /*top: var(--topani_h);*/
  
  margin: 0;
  
  left: 148px;
}

.pagecontent {
    background-color: var(--Background_Dark);
    position: absolute;
   
    height: auto;
    
    width: calc(100vw - 3rem - 222px - 148px);
    max-width: 864px;
    min-width: 600px;
    
    float: left;
    top: 0;
    margin-left: 222px; /*Navbar width plus border graphic width*/
    padding-left: 0px;
    
    background: no-repeat url(/11-resources/02-images/HomePageBorderTop.png);
    background-position: top 0px right 0px;
    background-size: 100% 8px;
}

.nav {
    
    background-color: var(--Background_Dark);
    /*override background color for testing */
    /*background-color: green;*/
    
    display: inline-block;
    list-style-type: none;
    position: absolute;
    
    top: 0px;
    height: 373px;
    width: 214px;
    /*float: left;*/
    
    padding-left: 0px; /*was 148*/
    padding-right: 0px;
}

ul.nav {
    position: relative;
    top: 0px;
    list-style-type: none;
    display: flex; /* Use flexbox for vertical alignment */
    flex-direction: column; /* Stack items vertically */
    height: 51px;
    width: 214px;
    padding: 0px;
    margin: 0px;
    /*line-height: 43px;*/
    text-align: center;
    background-color: transparent;
    border: none;
    /*display:inline;*/

}

ul.nav>li {
    position: relative;
    top: 0px;
}

/* Desktop current page nav panel button */
.nav li .pagebutt {
    background-image: none;
    background: solid;
    
    box-sizing: border-box; /*Makes element size inclusive of all border and padding*/
    display: block; /*Sets background to element size (instead of just text)*/
    background-color: var(--Background_Light);
    height: 43px;
    width: 206px; /*8 pixels more than default state width */
    
    margin-top: 0px;
    margin-right: 8px;
    margin-bottom: 8px;
    margin-left: 8px;
    
    /*Border radius order: top-left, top-right, bottom-right, bottom-left */
    border-radius: 10px 0px 0px 10px;  
    
    color: var(--Background_Dark);
    font-family: var(--nav_font_fam);
    font-size: 18pt;
    font-weight: normal;
    text-decoration: none;
    line-height: 1.5;
    
    padding-top: 4px; /*font is not centered, fixes offset*/
    padding-right: 0px;
		/*Link underline*/
		/*background: url(/11-resources/02-images/UnderlineGraphic.png) bottom repeat-x;*/

    cursor: default;
    
}


.nav li .pagebutt:visited {
    background-color: var(--Button_Default);
    color: var(--Background_Dark);
    
}

.nav li .pagebutt:hover {
    background-color: var(--Background_Light);
}

.nav li .pagebutt:active {
    font-style: normal;
}

.nav li abbr{
border-bottom: none;
text-decoration: none;
}


/* Nav panel buttons */
.nav li a {
    background-image: none;
    background: solid;
    
    box-sizing: border-box; /*Makes element size inclusive of all border and padding*/
    display: block; /*Sets background to element size (instead of just text)*/
    background-color: var(--Button_Default);
    height: 43px;
    width: 198px;
    
    margin-top: 0px;
    margin-right: 8px;
    margin-bottom: 8px;
    margin-left: 8px;
    
    /*Border radius order: top-left, top-right, bottom-right, bottom-left */
    border-radius: 10px 10px 10px 10px;  
    
    color: var(--Background_Dark);
    font-family: var(--nav_font_fam);
    font-size: 18pt;
    font-weight: normal;
    text-decoration: none;
    line-height: 1.5;
    
    padding-top: 4px; /*font is not centered, fixes offset*/
	

    cursor: url(/11-resources/02-images/Cursor_Cl.png), auto;
    
}


.nav li a:visited {
    background-color: var(--Button_Default);
    color: var(--Background_Dark);
}

.nav li a:hover {
    background-color: var(--Button_Hover);
    
}

.nav li a:active {
    font-style: italic;
}

/*Shopping Button*/

.nav li .shop{  
    box-sizing: border-box;
    
    display: block;
    height: 43px;
    width: 198px;
    
    margin-top: 24px;
    margin-right: 8px;
    margin-bottom: 8px;
    margin-left: 8px;
    
    border: 8px solid var(--Button_Default);
    /*Border radius order: top-left, top-right, bottom-right, bottom-left */
    border-radius: 10px 10px 10px 10px; 
    
    background-color: var(--Shop_Butt_Background);
    
    color: var(--Background_Dark);
    font-family: var(--nav_font_fam);
    font-size: 18pt;
    font-weight: normal;
    text-decoration: none;
    line-height: 1;

    padding-top: 0px;
		
		cursor: url(/11-resources/02-images/Cursor_Cl.png), auto;
}


.nav li .shop:visited {
    background-color: var(--Shop_Butt_Background);
    color: var(--Background_Dark);
}

.nav li .shop:hover {
  /*make this flash*/
    border-color: var(--Button_Hover);
    background-color: var(--Shop_Butt_Back_Hover);
    }

.nav li .shop:active {
    font-style: italic;
}

/*Mobile Current Page Button*/

.nav li .mapage{  
  background-color: var(--Background_Dark);
  color: var(--Background_Light);
  cursor: default;
}

.nav li .mapage:visited{  
  background-color: var(--Background_Dark);
  color: var(--Background_Light);
}

.nav li .mapage:hover{  
  background-color: var(--Background_Dark);
  color: var(--Background_Light);
}

.nav li .mapage:active{  
  background-color: var(--Background_Dark);
  color: var(--Background_Light);
  font-style: normal;
}


  
  
/*HAMBUGRER DROP-DOWN MENU */
.p-nav{
 
  height: 50px;
  width: 50px;
  display: none;
   position: relative;
  bottom: 58px;
  
}

#toggle1 {
  display: none;
}

#toggle1:checked ~ .nav {
  display: inline-block;
}
.amburgaire{
  display: inline-block;
  width: 50px;
  height: 50px;
  
  background-color: transparent;
  
  background-image: url(/11-resources/02-images/HamburgerMenu.png);
  background-repeat:no-repeat;
  background-size: 100%;
}  
     
  .welcome_tit{
    /*add variables to make placement % of the image dims to make sure letters are under peak*/
    
   
    position: relative;
    
    bottom: 100px;
    left: 140px;
    font-size: 3.7em;
    font-weight: normal;
    padding: 0px;
    margin: 0px;
    
    display: inline-block;
    overflow: hidden;
    white-space: nowrap;
  }
  
  .welcome_tex{
    position: relative;
    bottom: -10px;
    left: 26px;
    margin-right: 50px;
    
  }
  
  .silkscreen-regular {
  font-family: "Silkscreen", sans-serif;
  font-weight: 400;
  font-style: normal;
}

.silkscreen-bold {
  font-family: "Silkscreen", sans-serif;
  font-weight: 700;
  font-style: normal;
}

/*Mobile drop down border cleanup graphics */
#borderfence{
position: absolute;
width: 10px;
height: 16Px;
background-color: var(--Background_Dark);
top: 0px;
right: -10px;
}

#borderfence2{
position: absolute;
width: 10px;
height: 8Px;
background-color: var(--Background_Light);
top: 16px;
right: -10px;
}

#borderfence3{
position: absolute;
width: 8px;
height: 10Px;
background-color: var(--Background_Light);
bottom: -10px;
left: 0px;
}



/* Hide nav bar and resize for smaller screens */
      @media screen and (max-width: 800px) {
        .nav {
        display: none;
        background-color: var(--Background_Dark);
        position: relative;
        margin-top: 0px;
        margin-left: 0.25rem;
       
        height: calc(373px + 31px);
        width: calc(214px + 23px);
        top: -12px;
        
        border-bottom-style: ridge;
        border-right-style: ridge;  
        /*Border radius order: top-left, top-right, bottom-right, bottom-left */
        border-radius: 0px 0px 3px 0px; 
        border-width: 10px;
        border-color: var(--Background_Light);
        }
        #page{
        left: 0px;
        width: 100vw;
        }
        .paganavborder{
          height: 400px;
          margin-left: 0.25rem;
        }
        p{
          margin-left: 1.5em;
          margin-right: 1em;
        }
        h1{
        font-size: 2rem;
        margin-top: 1em;
        }
        h2{
        font-size: 1.5em;
        margin-left:0.5em;
        margin-right: 0.5em;
        }
        h3{
        font-size: 1.5em;
        }
        h4{
        margin-left: 1em;
        margin-right: 1em;
        }
        h5{
          margin-left: 1.5rem;
          margin-right: 1em;
        }
        ul{
          margin-left: 2.5em;
          margin-right: 0.25em; 
        }
        .pagecontent{
        margin-left: 0.25rem;
        /* width = viewport - border graphic width - border graphic margin*/
        width: calc(100vw - 1rem);
        min-width: 300px;
        }
        .topgraphic img{
        width: 900px;
        margin-left: -40px;
        margin-top:-80px;
        }
        .shoptopgraphic{
        margin-top: -247.5px;
        }
        .shoptopgraphic img{
        width: 900px;
        margin-left: -40px;
        margin-top:-40px;
        }
        .p-nav{
        display: inline-block;
        }
        ul.nav>li {
          top: 8px;
        }
        .nav li a {
          margin-right: 16px;
          margin-left: 16px;
          
        }
        .nav li a:visited {
          /*background-color: var(--Background_Dark);
          color: var(--Background_Light);*/
        }
        .nav li .shop{ 
        margin-right: 16px;
        margin-left: 16px;
        margin-bottom: 16px;
        }
        
      }