/* Box Model Hack */
* {
  box-sizing: border-box;
}
/* Clear fix hack */
.clearfix:after {
  content: ".";
  display: block;
  clear: both;
  visibility: hidden;
  line-height: 0;
  height: 0;
}
.clear {
  clear: both;
}

/******************************************
/* BASE STYLES
/*******************************************/
body {
  margin: 0;
  font-family: "Lato", sans-serif;
}
h1,
h2 {
  font-family: "Yeseva One", cursive;
}
h1 {
  font-size: 4rem;
}
h2 {
  font-size: 3rem;
  margin-top: 20px;
}

/******************************************
/* Main
/*******************************************/
main {
  background-image: url("../images/main-image.jpg"),
    linear-gradient(to top, rgba(204, 213, 219) 20%, rgba(224, 231, 237));
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  padding: 0 90px;
  padding-top: 16px;
}
nav {
  position: relative;
}
.navigation-list {
  padding: 0;
  list-style: none;
  display: flex;
  margin: 0;
  gap: 32px;
  justify-content: flex-end;
  align-content: flex-end;
}
.navigation-list li {
  cursor: pointer;
}
.drop-btn {
  display: none;
  background-color: rgb(255, 136, 0);
  color: rgb(255, 201, 155);
  padding: 16px;
  font-size: 16px;
  border: none;
}
.dropdown-content {
  position: absolute;
  background-color: #f1f1f1;
  min-width: 160px;
  box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
  z-index: 1;
  list-style: none;
  padding: 8px;
  margin: 0;
  right: 5px;
}
.dropdown-content li {
  padding: 8px;
}
.welcome {
  padding: 16px;
  display: flex;
  float: right;
  flex-direction: column;
  width: 617px;
  margin-top: 134px;
  margin-bottom: 96px;
}
.search-form {
  display: flex;
}
input {
  background: url("../images/search-outline.svg") top left no-repeat;
  background-size: 16px;
  background-position: 1% center;
  height: 40px;
  padding: 11px;
  padding-left: 25px;
  border: 1px solid rgb(224, 225, 236);
  border-radius: 8px;
  border-top-right-radius: revert;
  border-bottom-right-radius: revert;
  background-color: white;
  flex: 1;
}
::placeholder {
  color: rgb(210, 209, 210);
  font-size: 1rem;
}
.search-button {
  border: none;
  border-radius: 8px;
  border-top-left-radius: revert;
  border-bottom-left-radius: revert;
  background-color: rgb(255, 136, 0);
  color: rgb(255, 201, 155);
  padding: 8px 22px 8px 16px;
  cursor: pointer;
  position: relative;
}
.search-button i {
  color: white;
  vertical-align: middle;
  position: absolute;
  right: 7px;
}
.social-list {
  padding: 0;
  margin: 0;
  list-style: none;
  display: flex;
  gap: 45px;
  font-size: 1.3rem;
  margin-top: 32px;
}
.social-list i {
  color: rgb(255, 136, 0);
}

/******************************************
/* About Us
/*******************************************/
.about-us {
  position: relative;
  display: flex;
  height: 90vh;
  align-items: stretch;
}
.pie-background {
  flex: 1;
  background-image: url("../images/pie-fade.jpg");
  background-repeat: no-repeat;
  background-position: -560px;
  background-size: cover;
}
.oats-background {
  flex: 1;
  background-image: linear-gradient(
      to left,
      rgba(255, 255, 255, 0) 20%,
      rgba(255, 255, 255, 1)
    ),
    url("../images/oatmeal.jpg");
  background-repeat: no-repeat;
  background-position: 130px 80px;
  background-size: cover;
}
.description {
  width: 609px;
  position: absolute;
  top: 190px;
  left: 0;
  right: 0;
  margin-left: auto;
  margin-right: auto;
  padding: 16px;
}
.description span {
  color: rgb(255, 136, 0);
}
.header-highlight {
  display: block;
  text-align: center;
  color: rgb(255, 136, 0);
  font-size: 1rem;
}
/******************************************
/* Specility Section
/*******************************************/
.specility {
  background: rgb(243 246 247);
  padding-top: 48px;
}
.specility h2 {
  text-align: center;
}
.specility-list {
  padding: 0;
  margin: 0;
  display: flex;
  justify-content: center;
  list-style: none;
  margin-top: 32px;
  color: rgb(111, 112, 137);
}
.specility-list li {
  border-bottom: 3px solid rgb(224, 225, 225);
  padding: 16px;
}
li.current {
  color: rgb(251, 175, 95);
  border-bottom: 3px solid rgb(251, 175, 95);
}
.images-list {
  padding: 0;
  margin: 0;
  justify-content: center;
  list-style: none;
  display: flex;
  margin-top: 16px;
  gap: 16px;
}
.images-list li {
  min-width: 140px;
  position: relative;
  width: 16%;
}
.images-list img {
  width: 100%;
  height: 100%;
}
.img-description {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(0, 0, 0, 0.45);
  color: #fff;
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.2s, visibility 0.2s;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 16px;
  font-size: 1.2rem;
}
.images-list li:hover .img-description {
  visibility: visible;
  opacity: 1;
}
.order-btn {
  border: none;
  border-radius: 4px;
  background-color: rgb(255, 136, 0);
  color: rgb(255, 201, 155);
  padding: 8px 16px;
  cursor: pointer;
}

/******************************************
/* Media Queries
/*******************************************/
@media screen and (max-width: 800px) {
  main,
  .specility {
    padding-left: 32px;
    padding-right: 32px;
  }
  h1 {
    font-size: 2.75rem;
  }

  h2 {
    font-size: 1.75rem;
  }
  .welcome {
    float: revert;
    width: fit-content;
  }
}
@media screen and (max-width: 1000px) {
  .welcome,
  .description {
    background-color: rgb(255, 255, 255, 0.6);
  }
}
@media screen and (max-width: 750px) {
  .images-list {
    flex-direction: column;
    align-items: center;
  }

  .images-list li {
    min-width: 80%;
  }
}
@media screen and (max-width: 675px) {
  .description {
    max-width: 400px;
  }
  nav {
    padding: 32px;
  }
  .drop-btn {
    display: revert;
    margin-left: 75%;
  }

  .navigation-list {
    display: none;
  }
}
@media screen and (max-width: 510px) {
  .specility-list {
    flex-direction: column;
  }
}
@media screen and (max-width: 425px) {
  main,
  .specility {
    padding-left: 16px;
    padding-right: 16px;
  }
  h1 {
    font-size: 2rem;
  }
  .images-list li {
    min-width: 80%;
  }

  .description {
    max-width: 343px;
  }
}
