#home_container {
  background: url("../images2/townlocation.jpg") no-repeat center center fixed; 
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover;
}

#about_container {
  background: url("../images2/townchopsticks.jpg") no-repeat center center fixed; 
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover;
}

#menu_container {
  background: url("../images2/townbeefsoup.jpg") no-repeat center center fixed; 
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover;
}

#events_container {
  background: url("../images2/townwineglassesontable.jpg") no-repeat center center fixed; 
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover;
}

#contact_container {
  background: url("../images2/towndimsum.jpg") no-repeat center center fixed; 
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover;
}

#clearbox_home {
  position: absolute;
  top: 50%;
  left: 50%;
  margin-top: -10rem;
  margin-left: -21rem;
  padding-bottom: 1.25rem;
  background-color: rgba(0,0,0,0.7);
  max-width: 100%;
}

.clearbox_about {
  position: absolute;
  top: 40%;
  left: 40%;
  margin-top: -18rem;
  margin-left: -17rem;
  margin-right: 17rem;
  padding-bottom: 6.2rem;
  background-color: rgba(255,255,255,0.7);
  width: 36rem;
}

.clearbox_menu {
  position: absolute;
  top: 40%;
  left: 60%;
  margin-top: -18rem;
  margin-left: -32rem;
  padding-bottom: 1.3rem;
  background-color: rgba(255,255,255,0.7);
  width: 50rem;
}

.clearbox_events {
  position: absolute;
  top: 40%;
  left: 70%;
  margin-top: -18rem;
  margin-left: -22rem;
  padding-bottom: 1rem;
  background-color: rgba(255,255,255,0.7);
  width: 36rem;
}

.clearbox_contact {
  position: absolute;
  top: 40%;
  left: 75%;
  margin-top: -18rem;
  margin-left: -20rem;
  background-color: rgba(255,255,255,0.7);
  width: 36rem;
}

.pageheadings {
  margin-top: 1.5rem;
  margin-bottom: 1.25rem;
  text-align: center;
  color: black;
  font-family: "majesti-banner-medium", serif;
  font-size: 1.125rem;
}

#contactheader {
  text-align: center;
  font-size: 1rem;
  padding-left: 0.625rem;
}

.pagecontent p {
  color: black;
  font-family: "athelas", serif;
  font-style: normal;
  font-weight: 400;
  font-size: 1.1875rem;
  line-height: 1.5rem;
  width: 20rem;
  height: 10.6rem;
  margin: 0 2rem 0 1.5rem;
  padding-top: 1.875rem;
}

.pagecontent h3 {
  text-align: center;
}

.pagecontent h4 {
  text-align: center;
  padding: 0.625rem 0rem;
}

.pagecontentevents h2 {
  text-align: left;
  padding: 1rem 0rem 0rem 4.5rem;
  font-size: 3.125rem;
}

.pagecontentevents h5 {
  padding: 0rem 0rem 4.8rem 1.625rem;
  clear: both;
  font-size: 1.375rem;
  font-family: "athelas", serif;
  font-weight: 400;
}

.pagecontentevents p {
  font-size: 1.25rem;
  font-family: "athelas", serif;
  font-weight: 400;
  padding: 3rem 3.125rem 8rem 0rem; 
}

.pagecontent img {
  width: 25%;
  float: right;
  margin: 0rem 3.5rem 3.125 2.5rem;
  padding-right: 2rem;
  padding-top: 2rem;
}

.pagecontentbottom p {
  position: relative;
  margin-left: 16rem;
  width: 50%;
  padding: 0rem;
}

.pagecontentbottom img {
  float: left;
  position: absolute;
  width: 36%;
  margin: 0rem 0rem 1.5rem 1.5rem;
  padding: 0;
}


#logo {
  padding: 1.25rem 6.25rem 0rem 6.875rem;
  width: 70%;
  height: 50%;
}

#pagecontent_home {
  text-align: center;
  padding: 1.375rem 3.5rem 1.125rem 3.875rem;
  font-family: "athelas", serif;
  color: white;
}

form {
  font-family: "athelas", serif;
  font-weight: 400;
  font-size: 1rem;
  text-align: center;
  padding: 0.375rem;
}

.inputtype {
  min-width: 80%;
  min-height: 6rem;
  padding: .3125rem;
}

.socialmedia img {
  display: inline;
  width: 7%;
  padding: 1.6rem;
  margin-right: 2.7rem;
}

h2 {
  font-size: 1.5rem;
  font-family: "athelas", serif;
  font-weight: 400;
  text-align: center;
}

h3 {
  font-family: "athelas", serif;
  margin: 1.5rem;
}

.contactfooter h3 {
  text-align: center;
  line-height: 1.5rem;
  margin: 1.6rem;
}

h4 {
  font-family: "athelas", serif;
  font-size: 1rem;
}

li {
  text-align: left;
  list-style-type: none;
  font-family: "athelas", serif;
  margin: .5rem;
  font-size: .9375rem;
}
nav {
  text-align: center;
}

nav a {
  font-family: "athelas", serif;
  background-color: rgba(0,0,0,0.7);
  text-decoration: none;
  padding: 0.625rem 3rem;
  margin: 1rem;
  color: white;
}

nav a:link {
  text-decoration: none;
}

nav a:hover {
  background-color: rgb(190,30,45);
}

.active {
  background-color: rgba(255,255,255,0.8);
  color: black;
}

.page_nav {
  margin-top: 46rem;
}

.menu_nav {
  margin-top: 46rem;
}


.home_nav {
  text-align: center;
  padding: .5rem;
}

.home_nav a {
  font-family: "athelas", serif;
  font-weight: 400;
  color: white;
  padding: 0.625rem 1.5rem;
  margin: 0.375rem;
}
  
.home_nav a:hover {
  background-color: rgb(190,30,45);
}

@font-face {
  font-family: "majesti-banner-medium";
  src: url(../majesti-banner-medium.otf);
}


@media only screen and (max-width: 479px) {
  nav a {
    display: block;
    padding: 1rem;
    font-size: 1.1rem;
    }
  
  .home_nav a {
    padding: 1rem;
    margin: 1rem;
  }
  
  #clearbox_home {
    margin: -17rem 1rem 10rem -12rem;
  }
  
  #logo {
    padding-left: 3.4rem;
    padding-top: 4rem;
  }
  
  .clearbox_about {
    width: 100%;
    margin-left: -9rem;
    padding-right: 1rem;
    padding-bottom: 1rem;
  }
  
  .pagecontent p {
    font-size: 1rem;
  }
  
  .pagecontentbottom p {
    margin-left: 12.8rem;
    padding-bottom: 2rem;
    font-size: 1rem;
  }
  
  .pagecontent img {
    width: 35%;
  }
  
  .clearbox_menu {
    margin-left: -15rem;
    padding-bottom: 0rem;
  }
  
  .page_nav {
    margin-top: 50rem;
  }
  
  .menu_nav {
    margin-top: 52rem;
    margin-right: -13rem;
    padding-bottom: 2rem;
  }
  
  .clearbox_events {
    margin-left: -18rem;
    width: 100%;
  }
  
  .pagecontentevents p {
   margin-left: 1rem;
   margin-right: 1rem;
   padding-bottom: 5rem;
   width: 16rem;
  }
  
  .pagecontentevents h2 {
   padding: 0rem 1rem 0rem 5rem;
  }
  
  .clearbox_contact {
   margin-left: -19rem;
   padding-right: 2rem;
   width: 100%;
  }
  
  .socialmedia img {
   margin-right: 3rem;
   width: 7%;
   padding: .6rem;
   margin-bottom: 1rem;
  }
  .pageheadings {
   margin-top: 6rem;
  }
  
  #home_container {
   background: url("../images2/townlocation.jpg") no-repeat center center fixed;
  }
  #menu_container {
   background: url("../images2/townbeefsoup.jpg") no-repeat center center fixed;
   width: 50%;
  }
}
 






