/*=========================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;
}

.col-1 {
  width: 100%;
}

.col-1 h1 {
  margin-bottom: 0px;
}

.col-1 p {
  font-size: 80%;
  margin: 5px 0 15px;
}

.col-2 img {
  width: 100%;
  height: auto;
}

#contact2 {
    float: right;
    margin-bottom: 30px;
  }
/*----------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%;
  }
  #contact {
    float: right;
  }
  .col-2 {
    float: left;
    width: 30%;
    margin: 2% 1% 0 0;
    padding: 3%;
    border: 1px solid #C0C0C0;
  }
  .col-3 {
    float: left;
    width: 53%;
    margin: 3% 3%;
  }
  #contact2 {
    display: none;
  }
  /*----------footer start here----------*/
  
  footer {
    position: absolute;
    bottom: 0px;
  }
}
/*=========================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%;
  }
  .col-1 h1 {
    font-size: 180%;
  }
  #contact {
    display: none;
  }
  .col-2 {
    width: 80%;
    margin: 2% auto;
    padding: 9%;
    border: 1px solid #C0C0C0;
  }
  .col-3 {
    float: left;
    width: 100%;
    margin-top: 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: 98%;
  }
  .col-1 {
    margin-top: 2%;
  }
  .col-1 h1 {
    font-size: 150%;
  }
  .col-1 p {
    font-size: 90%;
  }
  #contact {
    display: none;
  }
  .col-2 {
    width: 95%;
    margin: 2% auto;
  }
  .col-3 {
    width: 100%;
    margin: 10px;
  }
  .col-3 li {
    margin-left: -10px;
  }
}