/*=========================General Style==================================*/

body {
  font-family: sans-serif;
  background: white;
  margin: 0px;
  padding: 0px;
}
/*----------logo & search bar----------*/

.top-1 {
  width: 100%;
  background-color: #FFF3E0;
}

.logobar {
  height: 100%;
  margin: auto;
}

.logobar h1 {
  position: relative;
  color: #F57C00;
  text-shadow: 1px 1px #E65100;
  float: left;
  margin: 40px 0px 0px 15px;
}
/*----------navigation bar----------*/

.top-2 {
  width: 100%;
  height: auto;
  background-color: #F57C00;
  color: white;
}

.navbar {
  margin: auto;
}

.navbar li {
  list-style-type: none;
  text-align: center;
}

.navbar a {
  color: white;
  text-decoration: none;
  border-radius: 15px 15px 0px 0px;
}

.navbar a:hover {
  background-color: #FFF3E0;
  color: #F57C00;
  -webkit-transition: 0.15s;
}
/*----------main body stuff----------*/

main {
  margin: 60px auto;
}

main li {
  margin-bottom: 10px;
  list-style-type: none;
}

h3 {
  color: #F57C00;
}

footer {
  clear: both;
  width: 100%;
  height: auto;
  background-color: #FFF3E0;
  padding: 1px 0px;
}

footer p {
  color: #757575;
  font-size: 0.8em;
  text-align: center;
  font-style: italic;
}
/*=========================Desktop Version==================================*/

@media (min-width: 981px) {
  /*----------header start here----------*/
  
  .top-1 {
    height: 85px;
  }
  .logobar {
    width: 80%;
  }
  .logobar h1 {
    font-size: 2em;
  }
  .navbar {
    width: 80%;
    height: 35px;
  }
  .navbar ul {
    margin: 15px 4px 0px 0px;
    float: right;
  }
  .navbar li {
    float: left;
    margin: 0px 5px 0px 5px;
  }
  .navbar a {
    border-left: 1px solid #FFF3E0;
    border-top: 1px solid #FFF3E0;
    padding: 5px 10px 3px 10px;
  }
  /*----------main body start here----------*/
  
  main {
    width: 70%;
  }

  footer {
    position: absolute;
    bottom: 0px;
  }
}
/*=========================Tablet Version==================================*/

@media (max-width: 980px) and (min-width:481px) {
  /*----------header start here----------*/
  
  .top-1 {
    height: 80px;
  }
  .logobar {
    width: 85%;
  }
  .logobar img {
    float: left;
    height: 100%;
    width: auto;
  }
  .logobar h1 {
    font-size: 1.8em;
  }
  .navbar {
    width: 85%;
    height: 31px;
  }
  .navbar ul {
    margin: 12px 4px 0px 0px;
    float: right;
  }
  .navbar li {
    float: left;
    margin: 0px 5px 0px 5px;
  }
  .navbar a {
    border-left: 1px solid #FFF3E0;
    border-top: 1px solid #FFF3E0;
    padding: 3px 8px 2px 8px;
  }
  /*----------main body start here----------*/
  
  main {
    width: 70%;
  }
  footer {
    position: absolute;
    bottom: 0px;
  }
}
/*=========================Mobile Version==================================*/

@media (max-width: 480px) {
  /*----------header start here----------*/
  
  .top-1 {
    height: 115px;
  }
  .logobar {
    width: 85%;
  }
  .logobar img {
    max-height: 100%;
    margin: auto 40%;
  }
  .logobar h1 {
    font-size: 1.8em;
    margin: 40px 0 0 27%;
  }
  .top-2 {
    background-color: white;
  }
  .navbar {
    width: 100%;
    height: auto;
  }
  .navbar ul {
    margin: 5px 8px 3px 5px;
    padding: 2px;
    font-size: 120%;
  }
  .navbar li {
    width: 100%;
    height: 32px;
    border-bottom: 1px solid #C0C0C0;
    margin-top: 4px;
  }
  .navbar a {
    display: block;
    width: 100%;
    background-color: #F57C00;
    border-radius: 5px;
    padding: 4px 0px 2px 0px;
  }
  /*----------main body start here----------*/
  
  main {
    width: 95%;
  }
  main li {
    margin: 0px 0px 10px -15px;
  }
  /*----------footer----------*/
  footer {
    padding: 0.5px 0px;
  }
}