
* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

/*! Generated by Font Squirrel (https://www.fontsquirrel.com) on December 4, 2023 */

@font-face {
    font-family: 'fff_tusjbold';
    src: url('../fonts/fff_tusj-webfont.woff2') format('woff2'),
         url('../fonts/fff_tusj-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'open_sansregular';
    src: url('../fonts/opensans-regular-webfont.woff2') format('woff2'),
         url('../fonts/opensans-regular-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'amaticbold';
    src: url('../fonts/amatic-bold-webfont.woff2') format('woff2'),
         url('../fonts/amatic-bold-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;

}


body {
    background-image: url("../images/ghosts.png");
    font-family:Verdana, Geneva, Tahoma, sans-serif;
   
}

div#wrapper {
    max-width:1000px;
    margin: 35px auto;
    background: rgba(248, 248, 248, 0.75);
    border: 2px solid black;
}

header {

    width: 100%;
    
}


nav {
    height: 50px;
    line-height: 50px;
    margin-bottom: 5px;
    border-bottom: 2px dotted darkgrey;
    background: rgba(255, 255, 255, .3);
}

nav li {
    list-style-type: none;
    float: left;
   width: 20%;
   text-align: center;
   font-family: 'amaticbold';
   font-size: 1.7em;
}

nav a {
    text-decoration: none;
    font-size: 1.1em;
    color: black;
    display: block;
}

nav a:hover {
    background: rgb(102, 97, 97);
    color: rgb(255, 255, 255);
}



.home nav li:nth-child(1) a,
.ghosthunting nav li:nth-child(2) a,
.hauntings nav li:nth-child(3) a,
.stories nav li:nth-child(4) a,
.community nav li:nth-child(5) a
{
    background: rgb(102, 97, 97);
    color:rgb(255, 255, 255);
} 


h2, p {
    color: rgb(39, 37, 37);
    margin-bottom: 10px;
    padding-left: 10px;
    font-family: 'open_sansregular';
    
}

h2 {
    text-align: center;
    font-size: 1.5em;
    font-weight: 900;
}

.home h1 {
    color: rgb(36, 35, 35);
    margin-top: 5px;
    margin-bottom: 10px;
    text-align: center;
    font-family: 'amaticbold';
    font-size: 3.8em; 
}

main p {
    line-height: 21px;
    
}

.home main h2 {
    margin-bottom: 10px;
}

main {
    width: 580px;
   margin-top: 5px;
    float: right;
    margin-right: 65px;
    margin-bottom: 35px;
}

.centerimg {
    display: block;
    margin: 0 auto;
    padding-bottom: 15px;
}


.right {
    float: right;
}

.haunting-right {
    float: right;
    margin-bottom: 10px;
}

.left {
    float: left;
    margin-right: 5px;
}

aside {
        width: 340px;
        float: left;
        text-align: center;
        height: 100%;
        background: none;
        margin-left: 10px;
        margin-bottom: 5px;
}

#border-background {
    background: rgba(156, 154, 156, 0.65);
        border: 2px dotted rgb(148, 148, 148);
        width: 275px;
        height:100%;
        
}

p + h2 {
    font-size: 1.6em;
}

aside h3 {
    color: rgb(24, 23, 23);
    margin-top: 20px;
    font-family: 'amaticbold';
    font-size: 2.4em;
    font-weight: 300;
    
}

.badge {
     margin-top: 20px;
     margin-bottom: 10px;
}

.asidelist li {
    padding: 15px;
    list-style-type:square;
    font-size: .85em;
    line-height: 20px;  
    margin-left: 25px;
    font-family: 'open_sansregular';
}

.bats {
    margin-top: 30px;
    padding-top: 10px;
    
}

span {
    position: relative;
     left: -15px;
}
#account {
    margin-top: 60px;
    display: block;
    margin-bottom: 35px;
}

#account li {
    list-style-type: none;
    line-height: 45px;
    font-family: 'open_sansregular';
    font-weight: 600;
    
}

#account a {
    
    color: black;
}

#account a:hover {
    color:white;
}

footer {
   height: 50px;
    line-height: 50px;
    clear:both;
    font-size: .9em;
    border-top: 2px dotted darkgrey;
}

footer li {
    float: left;
    list-style-type: none;
    text-align: center;
    width: 20%;

}

img {
    max-width: 100%;
}


#logo {
    display: inline;
    width: 100%;
}

/*famous hauntings page */

.hauntings aside  {
    height: 100%;
    margin-top: 0;
    margin-bottom: 10px;

}

.hauntings #border-background {
    height:800px;
    
}

.hauntings h1 {   
    margin-top: 5px;
    color: rgb(48, 46, 46);
    text-align: center;
    padding: 5px;
    font-family: 'amaticbold';
    font-size: 3.5em;
}

.hauntings footer {
    margin-top: 25px;
    clear: both;
}

.hauntings main h2 {
    margin-bottom: 15px;
font-size: 1.3em;
padding: 15px;
text-align: center;
line-height: 30px;
font-family: 'open_sansregular';
}

.hauntings-aside li {
    list-style-type: none;
    font-size: 1.1em;
    line-height: 35px;
    margin-top: 10px;
    
}

.hauntings-aside a {
   
    color: black;
    
    
}

.hauntings-aside a:hover {
    color: white;
    
}

#hauntings-account {
    margin-top: 10px;
    display: block;
    margin-bottom: 10px;
   
}

#hauntings-account li {
    list-style-type: none;
     padding-right: 5px;
    line-height: 45px;
    font-weight: 600;
    
}

#hauntings-account a {
   
    color: black;
}

#hauntings-account a:hover {
    color: white;
}

.hauntings aside h2 {
    margin-bottom: 25px;
    margin-top: 20px;
    font-size: 2.3em;
   
    font-family: 'amaticbold';
}

.hauntings main {
    margin-bottom: 150px;
   
    
}

/* ghost hunting page */



.ghosthunting h1 {
    color: rgb(36, 35, 35);
   font-size: 3em;
    text-align: center;
    font-family: 'amaticbold';
    font-size: 3.8em;
}

.ghosthunting h2 {
    margin-top: 10px;
   
}

.third p {
    margin-top: 10px;
    
    line-height: 22px;
    font-size: 1em;
}

.batstwo {
margin-top: 40px;
margin-bottom: 30px;
}

.row {  
    
    overflow: hidden;  
    display: block; 
    margin-left: 25px;
    margin-bottom: 50px;
    margin-top: 40px;
}

.third {
    width:300px;
    
    margin-right: 30px;
    float: left; 
   display: block;
   
   
    
}

.third:last-of-type {
    margin-right:0;
}

#swapimg, #swapimg a {
	display: block;
	line-height: 0;
}
#swapimg:hover {
	background: center no-repeat url("../images/equipmenthover.png");
}
#swapimg:hover img {
	visibility: hidden;
}

#hunterblur, #hunterblur a {
	display: block;
	line-height: 0;
}
#hunterblur:hover {
	background: center no-repeat url("../images/ghosthuntershover.png");
}
#hunterblur:hover img {
	visibility: hidden;
}

#tips, #tips a {
	display: block;
	line-height: 0;
}
#tips:hover {
	background: center no-repeat url("../images/tipshover.png");
}
#tips:hover img {
	visibility: hidden;
}

/* ghost stories page */

.stories h1 {
    color: rgb(36, 35, 35);
    text-align: center;
    font-family: 'amaticbold';
    font-size: 3.8em; 
}

.stories .centerimg {
    margin-top: 10px;
    margin-bottom: 0;
}

.stories h2 {
    margin-bottom: 20px;
}

.stories h3 {
    font-size: 2.5em;
}

.stories aside {
    height: 1050px;
}

.stories #account li {
    line-height: 60px;
}

#backtop {
    display: flex;
 
}

.back-to-top {
    color: rgb(46, 46, 46);
    margin: 0 auto;
}

.back-to-top:hover {
    
    color: rgb(255, 253, 255);
}

.end {
    display: block;
    margin: 0 auto;
}

