*{
  box-sizing: border-box;
}
header{
  height: 600px;
  width: 100%;
  background-image: url('tatte.jpg');
  background-size: 100% 100%;
  background-repeat: no-repeat;
}

nav{

}
nav a{
  text-decoration: none;
  color: white;
  font-weight: 800;
  font-size: 20px;
}

nav .listone{
  margin-left: 50px;
}
.listone li{
  display: inline-block;
  float: left;
  width: 10%;
  margin-top: 1%;
}
.hamburger{
  display: none;
}

nav .listtwo{
  margin-right: 25px;
}
.listtwo li{
  display: inline-block;
  float: right;
  width: 10%;
  margin-left: 10px;
  margin-top: 1%

}
.headpic{
  height: 150px;
  margin: 6% 40% 3% 40%;
}
nav form{
  margin: 0% 21% 0% 21%
}
nav form input{
  padding: 10px 250px 10px 10px;
  font-size: 14px;
}
.none{
  height: 20px;
}
nav .listthree{
  margin-top: 15px;
}

.listthree li:first-child{
  margin-left: 30%;
}
.listthree li{
  display: inline-block;
  text-align: center;
  width: 10%;
}

nav h3{
  height: 22px;
  margin-top: 11%;
  color: white;
  text-align: center;
}
nav h4{
  height: 18px;
  color: white;
  text-align: center;
}
.mainone{
  height: 100px;
  width: 100%;
}
.mainone h2{
  color: red;
  height: 30px;
  width: 100%;
  text-align: center;
  margin-top: 10px;
}
.mainone a{
  text-decoration: none;
  color: gray;
}
 .mainone .listfour{
  margin-top: 5px;
}
.listfour li{
  display: inline-block;
  text-align: center;
  width: 10%;
}
.listfour li:first-child{
  margin-left: 15%;
}


.maintwo{
  height: 500px;
  width: 100%;
}
.maintwo > h3{
  color: red;
  height: 25px;
  width: 100%;
  text-align: center;
  margin: 10px 0 15px 0;
}
.resturant{
  display: inline-block;
  height: 200px;
  width: 30%;
  margin-left: 25px;
}
.resturant a{
  text-decoration: none;
}
.core{
  margin-left: 40px;
}
.resturant .restpic{
  width: 100%;
}
.resturant h3{
  color: blue;
  height: 10px;
  width: 100%;
  margin-top: 15px;
}
.resturant .revpic{
  height: 15px;
}
.resturant span{
  height: 15px;
  width: 50%;
}
.resturant .type{
  height: 10px;
  width: 100%;
  margin-top: 15px;
}
.resturant .opened{
  height: 10px;
  width: 100%;
  color: red;
  margin-top: 15px;
}
.maintwo h5{
  color: blue;
  height: 20px;
  width: 100%;
  text-align: center;
  margin-top: 30px;
}

.mainthree{
  height: 300px;
  width: 100%;
  border-bottom: 3px solid black;
  background-color: rgba(245,245,245,255);
}
.mainthree h3{
  color: red;
  height: 50px;
  width: 100%;
  text-align: center;
  margin-top: 25px;
  font-size: 20px;
}
.category{
  height: 150px;
  display: inline-block;
  margin-left: 6%;
}
.category img{
}

@media (min-width: 1025px) and (max-width: 1440px) {
  .none{
    display: none;
  }
  .mainone{
    display: inline-block;
  }
  .mainthree{
    display: inline-block;
  }
}
@media (min-width: 501px) and (max-width: 1024px){
  .none{
    display: none;
  }
  .resturant{
    margin-left: 40px;
    width: 28%;
  }
  .maintwo{
    height: auto;
  }
  .headpic{
    margin: 11% 0% 3% 5%;
  }
  nav form{
    margin-left: 19%;
    margin-right: 0%;
  }
  nav form input{
    padding: 1% 22% 1% 2%;
  }
  .mainthree{
    display: inline-block;
    height: auto;
  }
  .category{
    height: auto;
    width: 44%;
    margin-left: 4%;
  }
  .category img{
    height: 230px;
  }
  .listthree{
    display: none;
  }
}





@media only screen and (max-width: 500px) {
  header{
    height: 210px;
    background-color: rgba(212,49,44,255);
  }
  .none{
    display: none;
  }

  nav .listone{
    display: none;
  }
  nav .listtwo{
    margin-right: 0%;
    display: inline-block;
  }
  .listtwo li{
    width: auto;
    margin-top: 0%;
  }

  .fa-bars:before {
    content: "\f0c9";
    font-size: 30px;
    color: white;
  }

  .resturant {
    margin-left: 0;
    width: 100%;
  }
  .maintwo {
    height: auto;
  }
  .listthree{
    display: none;
  }
  .hamburger {
  display: inline-block;
  margin: 1% 56% 0% 2%;
 }
  .headpic{
    height: 84px;
    margin: 3% 0% 5% 33%;
    display: block;
  }
  nav form{
    margin: 0% 0% 0% 10%;
  }
  nav form input{
    padding: 2% 9% 2% 2%;
    margin: auto;
  }

}
