/*=========================General Style==================================*/
body {
  font-family: sans-serif;
  background: white;
  margin: 0px;
  padding: 0px;
}

.buttons {
  background-color: #F57C00;
  color: white;
  border-radius: 10px;
  padding: 5px 10px;
}

.buttons:hover {
  background-color: orange;
  -webkit-transition: 0.15s;
}
/*----------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: 20px auto;
}

main a {
  color: black;
}

.filter select {
  padding: 6px 0.6%;
  border-radius: 5px;
}

.item {
  max-width: 95%;
  margin: 2% 0%;
  padding: 3%;
  border: 1px solid #C0C0C0;
}

.item:hover {
  background: #FFCC80;
  -webkit-transition: 0.3s;
}

.item img {
  width: 100%;
  height: auto;
}
/*----------footer----------*/

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

footer a {
  color: #757575;
}

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

@media (min-width: 981px) {
  /*----------header start here----------*/
  
  .top-1 {
    height: 85px;
  }
  .logobar {
    width: 80%;
  }
  .logobar img {
    float: left;
    height: 100%;
    width: auto;
  }
  .logobar h1 {
    font-size: 2em;
  }
  .logobar form {
    position: relative;
    float: right;
    margin: 48px 8px 0px 0px;
  }
  .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 {
    max-width: 80%;
  }
  .filter {
    width: 100%;
    float: left;
  }
  .filter select {
    margin: 10px 1% 15px 0%;
    font-size: 90%;
  }
  .filter form {
    display: inline;
  }
  .filter form input {
    background-color: white;
    color: black;
  }
  .col-1 {
    float: left;
    width: 32%;
    margin-right: 1%;
  }
  .col-2 {
    float: left;
    width: 32%;
    margin-right: 1%;
  }
  .col-3 {
    float: left;
    width: 32%;
    margin-right: 1%;
  }
  .item {
    margin: 3% 1% 3% 1%;
  }
}
/*=========================Tablet Version Specification==================================*/

@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;
  }
  .logobar form {
    position: relative;
    float: right;
    margin: 44px 8px 0px 0px;
  }
  .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 {
    max-width: 85%;
  }
  .filter {
    width: 100%;
    float: left;
  }
  .filter select {
    margin: 0.8% 0.8% 1% 0%;
    font-size: 90%;
  }
  .filter form {
    display: inline;
  }
  .filter form input {
    background-color: white;
    color: black;
  }
  .col-1 {
    float: left;
    width: 47.5%;
    margin-right: 2%;
  }
  .col-2 {
    float: left;
    width: 47.5%;
    margin-right: 2%;
  }
  .col-3 {
    float: left;
    width: 47.5%;
    margin-bottom: 2%;
  }
}
/*=========================Mobile Version Specification==================================*/

@media (max-width: 480px) {
  /*----------header start here----------*/
  
  .top-1 {
    height: 115px;
  }
  .logobar {
    width: 85%;
  }
  .logobar img {
    max-height: 100%;
    margin: auto 40%;
  }
  .logobar h1 {
    display: none;
  }
  .logobar form {
    position: relative;
    margin: auto 28%;
  }
  .logobar .buttons {
    display: none;
  }
  .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;
    padding: 4px 0px 2px 0px;
    border-radius: 5px;
  }
  /*----------main body start here----------*/
  
  main {
    width: 100%;
  }
  .filter {
    margin-top: 10px;
    width: 95%;
  }
  .filter select {
    width: 100%;
    margin: 0 0 10px 2%;
    font-size: 95%;
  }
  .filter form {
    float: left;
    width: 48%;
    margin: 5px 0px 25px 0px;
  }
  .filter input {
    width: 100%;
    height: 50px;
    margin: 0px 10px;
    font-size: 110%;
  }
  .col-1 {
    clear: both;
    width: 95%;
    margin: 2% auto;
  }
  .col-2 {
    width: 95%;
    margin: 2% auto;
  }
  .col-3 {
    width: 95%;
    margin: 2% auto;
  }
}