/* This piece of code was take from a YouTube video */
html {
  scroll-behavior: smooth;
}

/* ------------------Borders/Colours--------------- */

.main-colour {
  background-color: beige;
}

.page-divider {
  border-top: 80px solid rgb(67, 67, 170);
  margin-top: 40px;
  margin-bottom: 40px;
}

#social-mail-divider.page-divider {
  border-top: 40px solid rgb(67, 67, 170);
  margin-top: 40px;
  margin-bottom: 40px;
}

.page-divider .shop-container img {
  border-top: 5px;
  border-left: 5px;
  border-right: 5px;
  border-bottom: 5px;
  border-color: #cead70;
  border-style: solid;
}

.carousel-inner {
  border-top: 10px;
  border-left: 10px;
  border-right: 10px;
  border-bottom: 10px;
  border-color: #cead70;
  border-style: solid;
}

/* ------------------Header--------------- */

body {
  padding-top: 110px;
}

.fixed-header {
  width: 100%;
  position: fixed;
  top: 0;
  text-align: center;
  background: white;
  z-index: 9;
}

.container-header {
  width: 80%;
  margin: 0 auto;
}

.open-times {
  padding-bottom: 2px;
  border: 2px solid black;
  margin-top: 20px;
  border-radius: 10px;
}

.nav-link {
  font-weight: bold;
  color: rgb(67, 67, 170);
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 2px;
  padding: 10px;
  font-size: 14px;
}

.nav-link:hover {
  color: #8b8589;
}

/* ------------------Carousel Pictures--------------- */

.slideshow-text {
  font-family: "Noto Sans", sans-serif;
  font-weight: bold;
  text-decoration: underline;
}

.carousel {
  z-index: -1;
}

/* ------------------Page titles/subheadings/paragraph styling--------------- */

.main-title {
  color: #443e3e;
  font-weight: bold;
  font-size: 6rem;
  font-family: "Oswald", sans-serif;
  padding-bottom: 50px;
  padding-top: 50px;
  text-align: center;
  letter-spacing: 6px;
  text-decoration-line: underline;
  text-decoration-color: #cead70;
}

.page-title {
  color: #443e3e;
  font-size: 4rem;
  font-weight: bold;
  font-family: "Oswald", sans-serif;
  margin-top: 10px;
  margin-bottom: 50px;
  text-align: center;
  letter-spacing: 6px;
  text-decoration-line: underline;
  text-decoration-color: #cead70;
}

.subheading-title {
  color: #443e3e;
  text-align: center;
  font-size: 2rem;
  padding-bottom: 25px;
  font-family: "Oswald", sans-serif;
  letter-spacing: 2px;
}

.para-styling {
  font-family: "Noto Sans", sans-serif;
  font-weight: 500;
  font-size: 1.2rem;
  color: #443e3e;
}

/* ------------------Who are we--------------- */

#who-are-we {
  border: 2px solid #443e3e;
  padding: 15px;
  border-radius: 10px;
}

/* The next few bit of code was inspired from W3C schools to create the hover overlay effect */
.shop-container {
  position: relative;
}

.shop-image {
  opacity: 1;
  display: block;
  width: 100%;
  height: auto;
  transition: 0.5s ease;
  backface-visibility: hidden;
}

.shop-middle {
  transition: 0.5s ease;
  opacity: 0;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
  text-align: center;
}

.shop-container:hover .shop-image {
  opacity: 0.3;
}

.shop-container:hover .shop-middle {
  opacity: 1;
}

.shop-text {
  background-color: #443e3e;
  color: white;
  font-size: 16px;
  padding: 16px 32px;
  border-radius: 5px;
}

/* ------------------Social Icons--------------- */

.bi {
  font-size: 3rem;
  padding: 60px;
  color: #003844;
  transition: 0.3s;
}

.social-links {
  margin: 20px;
}

.bi:hover {
  color: #8b8589;
}

/* ------------------Where are we?--------------- */

.address-section {
  font-family: "Noto Sans", sans-serif;
}

.address-title {
  text-align: center;
}

.google-map {
  /* position: relative; */
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
}

#address-list {
  list-style-type: none;
  text-align: center;
  padding: 25px;
  flex-wrap: wrap;
}

#phone-number {
  text-decoration: underline;
  font-weight: bold;
}

/* ------------------Wee Review--------------- */

#review-form {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: 300px;
}

#full-name {
  margin-bottom: 10px;
}

#email-address {
  margin-bottom: 10px;
}

#submit-review {
  margin: 10px;
}

/* This fixed the bug which was mentioned in the relevant section */
#review-text {
  padding-top: 10px;
  margin: 0 auto;
  max-width: 70%;
  border: 1px solid black;
}

/* ------------------Menu--------------- */

#foodmenu-container {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  display: inline-block;
}

#foodmenu-container img {
  vertical-align: top;
}

.image-item-text {
  font-weight: bold;
  font-family: "Noto Sans", sans-serif;
  color: #103e2a;
  text-align: center;
}

/* ------------------Work with us--------------- */

#work-with-us-form {
  margin-bottom: 10px;
}

.center-form {
  padding-top: 10px;
  margin: 0 auto;
  max-width: 70%;
}

#work-with-us-intro {
  margin: 0 auto;
  max-width: 75%;
  padding-bottom: 20px;
}

.form-control {
  margin: 5px;
}

/* ------------------Media Queries--------------- */

@media (max-width: 992px) {
  .center-form {
    padding-top: 30px;
    min-height: 240px;
    margin: 0 auto;
    max-width: 75%;
  }

  .submit-button {
    background-color: #443e3e;
    color: #fff;
  }

  .bi {
    font-size: 2rem;
    padding: 20px;
  }

  .main-title {
    font-size: 4.5rem;
    padding-bottom: 40px;
    padding-top: 40px;
    letter-spacing: 5px;
  }

  .para-styling {
    font-size: 1rem;
  }

  #subheading-title {
    font-size: 2rem;
    margin-right: 20px;
    margin-left: 20px;
  }

  .page-title {
    font-size: 3rem;
  }

  .nav-link {
    letter-spacing: 1px;
    padding: 0px;
    font-size: 14px;
  }

  .open-times {
    padding-bottom: 2px;
    border: 2px solid black;
    margin-top: 5px;
    border-radius: 10px;
  }

  .page-divider {
    border-top: 65px solid rgb(67, 67, 170);
    margin-top: 30px;
    margin-bottom: 30px;
  }

  #social-mail-divider.page-divider {
    border-top: 35px solid rgb(67, 67, 170);
    margin-top: 30px;
    margin-bottom: 30px;
  }

  .shop-container {
    pointer-events: none;
  }
}

@media (max-width: 640px) {
  .bi {
    font-size: 1.3rem;
    padding: 10px;
  }

  .para-styling {
    font-size: 0.8rem;
  }

  .main-title {
    font-size: 3rem;
    padding-bottom: 20px;
    padding-top: 20px;
    letter-spacing: 3px;
  }

  #subheading-title {
    font-size: 1.3rem;
    padding-bottom: 0px;
  }

  .page-title {
    font-size: 2rem;
    margin: 10px;
  }

  .nav-link {
    font-size: 12px;
  }

  .open-times {
    padding-bottom: 2px;
    border: 1px solid black;
    margin-top: 5px;
    border-radius: 10px;
    font-size: 1rem;
  }
  .page-divider {
    border-top: 40px solid rgb(67, 67, 170);
    margin-top: 20px;
    margin-bottom: 20px;
  }

  #social-mail-divider.page-divider {
    border-top: 30px solid rgb(67, 67, 170);
    margin-top: 20px;
    margin-bottom: 20px;
  }

  .slideshow-text {
    font-size: 0.8rem;
  }

  .center-form {
    padding-top: 10px;
    min-height: 240px;
    margin: 0 auto;
    max-width: 75%;
  }
}

@media (max-width: 405px) {
  .page-title {
    font-size: 1.5rem;
    margin: 0;
    margin-bottom: 15px;
  }

  .intro {
    width: 90%;
  }

  .page-divider {
    border-top: 20px solid rgb(67, 67, 170);
    margin-top: 10px;
    margin-bottom: 10px;
  }

  #social-mail-divider.page-divider {
    border-top: 15px solid rgb(67, 67, 170);
    margin-top: 10px;
    margin-bottom: 10px;
  }

  .subheading-title {
    font-size: 0.8rem;
    padding-bottom: 0px;
  }
}
