*{
  padding: 0;
  margin: 0;
  overflow: hidden;
}
html{
  scroll-behavior: smooth;
  overflow-y: scroll;
}

.navigation{
  background: hsla(0, 0, 20, 0.1);
  position: fixed;
  top: 0px;
  left: 0px;
  width: 100%;
  height: 100px;
  z-index: 10;
  overflow: hidden;
}
.navigation img{
  height: 80px;
  padding: 10px;
}
.dropdownmenu{
  position: absolute;
  right: 0px;
  width: 100px;
  height: 100px;
}
.navigation button{
  position: absolute;
  background: rgba(255, 255, 255, 0);
  border: none;
  height: 100px;
  width: 250px;
  font-family: Merriweather, serif;
  font-weight: 300;
  font-size: 2em;
  transition-duration: 0.5s;
  -moz-transition-duration: 0.5s;
  -o-transition-duration: 0.5s;
  -webkit-transition-duration: 0.5s;
}
.navigation button:hover{
  cursor: pointer;
  background: rgba(0, 0, 0, 0.115);
}
.orderbutton { right: 0px; top: 0px; }
.aboutbutton { right: 250px; top: 0px; }
.homebutton { right: 500px; top: 0px; }

/* Top of the Page */
.toppage{
  position: relative;
  top: 0px;
  left: 0px;
  background: url(./images/front.jpg);
  background-size: 100% 750px;
  width: 100%;
  height: 750px;
}
.title{
  position: absolute;
  top: 300px;
  left: 10px;
  background: rgba(255, 52, 52, 0.444);
  padding: 10px;
  font-family: 'Slabo 27px', serif;
  font-size: 3.75em;
  color: white;
}
.topwords{
  position: absolute;
  top: 400px;
  left: 10px;
  background: rgba(255, 52, 52, 0.444);
  padding: 10px;
  font-family: 'Times New Roman', Times, serif;
  color: white;
}

/* Content */
.content{
  position: relative;
  overflow-y: hidden;
  width: 100%;
}


.aboutus{
  position: relative;
  top: 50px;
  width: 100%;
  padding: 20px;
}
.aboutus h2{
  position: relative;
  height: 100px;
  line-height: 100px;
  font-family: 'Slabo 27px', serif;
  font-size: 3em;
  text-align: center;
}
.aboutus p{
  position: relative;
  margin: 0 auto;
  top: 25px;
  font-family: 'Segoe UI', Times, serif;
  font-size: 1.375em;
  line-height: 32px;
  max-width: 70%;
  color: rgb(65, 65, 65);
  text-align: center;
  padding: 10px;
}
.contactus{
  position: relative;
  top: 150px;
  width: 100%;
  height: 400px;
  background: url(./images/pizza3.jpg);
  background-size: 100%;
  background-position: 0px -340px;
}
.contactus h3{
  position: absolute;
  top: 80px;
  margin: 0 auto;
  color: rgb(255, 255, 255);
  background: rgba(0, 0, 0, 0.6);
  padding: 10px;
  font-family: 'Slabo 27px', serif;
  font-size: 4em;
  text-shadow: 1px 1px 4px grey;
}
.socialmedia{
  position: absolute;
  left: 0px;
  top: 240px;
  height: 96px;
  padding: 8px;
  background: rgba(0, 0, 0, 0.6);
}
.socialmedia img{
  margin: 8px 20px;
  width: 80px;
  height: 80px;
  border-radius: 16px;
  transition-duration: 0.5s;
}
.socialmedia img:hover{
  cursor: pointer;
  box-shadow: 0px 0px 8px rgb(25, 25, 25);
}
.company{
  position: relative;
  width: 100%;
  height: 400px;
  padding: 10px;
  top: 200px;
  display: flex;
  align-content: center;
  justify-content: space-around;
}
.company img{
  width: 300px;
  height: 300px;
}
.companytext{
  width: 50%;
  height: 400px;
}
.companytext p{
  position: relative;
  top: 30px;
  height: 340px;
  font-family: 'Slabo 27px', serif;
  font-size: 1.5em;
  color: rgb(39, 39, 39);
}
.footer{
  position: relative;
  background: black;
  border-top: 2px solid rgb(103, 0, 0);
  width: 100%;
  height: 150px;
  top: 100px;
}

/* Responsiveness */
.mobilebuttons{
  display: none;
  position: fixed;
  top: 100px;
  left: 0px;
  width: 100%;
  height: 100px;
  background: black;
  border-bottom-left-radius: 8px;
  border-bottom-right-radius: 8px;
  z-index: 11;
}
.mobilebuttons button{
  position: absolute;
  background: rgba(255, 255, 255, 0);
  border: none;
  height: 100px;
  width: 33vw;
  font-family: Merriweather, serif;
  font-weight: 300;
  font-size: 2em;
  transition-duration: 0.5s;
  -moz-transition-duration: 0.5s;
  -o-transition-duration: 0.5s;
  -webkit-transition-duration: 0.5s;
  color: white;
}
.mhomebutton{ left: 0vw }
.maboutbutton{ left: 33vw }
.morderbutton{ left: 66vw }

@media screen and (max-width: 1160px){
  .toppage{ background-size: 1160px 750px }

  .buttons{ display: none }
  .navigation{ background: white; border-bottom: 2px solid black; }
  .aboutus p{ max-width: 85% }
}
@media screen and (max-width: 900px){
  .toppage{ background-size: 900px 750px }

  .title{ font-size: 42px }
  .company{
    flex-direction: column;
    -ms-flex-direction: column;
    align-content: center;
    justify-content: space-around;
    height: auto;
  }
  .company *{
    margin: 0 auto;
  }
  .companytext{
    text-align: center;
    overflow-y: hidden;
    border-bottom: 2px solid black;
    height: auto;
    width: 80%;
  }
  .companytext h3{ font-size: 28px }
  .company img{
    width: 200px;
    height: 200px;
  }
  .aboutus h2{ font-size: 36px }
}
@media screen and (max-width: 610px){
  .toppage{ background-size: 610px 750px }

  .title{ font-size: 32px }
  .companytext{
    margin: 0 auto;
    max-width: 80%;
  }
}
@media screen and (max-width: 510px){
  .toppage{ background-size: 600px 750px }
  .navigation{ height: 80px }
  .navigation img{ height: 40px }
  .mobilebuttons{ top: 80px }
  .mobilebuttons button{ font-size: 22px }

  .title{ text-align: center }
  .topwords{ text-align: center; top: 450px }
}