/* Custom style sheet for Daphnes_Restaurant/site/
    > index.html
    > menu/lunch-menu.html
    > menu/dinner-menu.html
    > menu/set-menu.html
    > contact.html
    > terms-and-conditions.html

    Author: Haruka Ichinose
    Date of creation: 25/08/2020
*/

/* --Start of index.html styles--------------------- */
body {
  font-family: 'Montserrat', sans-serif;
}

.dummy-block {
  height: 68px;
}

.container-fluid {
  padding-left: 5%;
  padding-right: 5%;
}

.container-fluid.main-start {
  padding-top: 2%;
}

nav.navbar {
  background-color: rgba(157, 0, 0, 0.9);
  padding-top: 6px;
  padding-bottom: 6px;
}

nav.navbar .row {
  width: 100%;
  margin-left: 0;
  margin-right: 0;
}

nav #logo {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 57px;
  width: 130px;
}

nav #menuBarToggler {
  display: flex;
  align-items: center;
  padding-left: 0;
  padding-right: 0;
}

#menuBarToggler .navbar-toggler {
  border: none;
}

button.hamburger-menu:focus, button.hamburger-menu:hover {
  outline: none;
}
/* Animated icon styling from https://mdbootstrap.com/docs/jquery/navigation/hamburger-menu/ */
.animated-icon {
width: 30px;
height: 20px;
position: relative;
margin: 0px;
-webkit-transform: rotate(0deg);
-moz-transform: rotate(0deg);
-o-transform: rotate(0deg);
transform: rotate(0deg);
-webkit-transition: .5s ease-in-out;
-moz-transition: .5s ease-in-out;
-o-transition: .5s ease-in-out;
transition: .5s ease-in-out;
cursor: pointer;
}

.animated-icon span {
display: block;
position: absolute;
height: 3px;
width: 100%;
border-radius: 9px;
opacity: 1;
left: 0;
-webkit-transform: rotate(0deg);
-moz-transform: rotate(0deg);
-o-transform: rotate(0deg);
transform: rotate(0deg);
-webkit-transition: .25s ease-in-out;
-moz-transition: .25s ease-in-out;
-o-transition: .25s ease-in-out;
transition: .25s ease-in-out;
}

.animated-icon span {
background: #f3e5f5;
}

.animated-icon span:nth-child(1) {
top: 0px;
-webkit-transform-origin: left center;
-moz-transform-origin: left center;
-o-transform-origin: left center;
transform-origin: left center;
}

.animated-icon span:nth-child(2) {
top: 10px;
-webkit-transform-origin: left center;
-moz-transform-origin: left center;
-o-transform-origin: left center;
transform-origin: left center;
}

.animated-icon span:nth-child(3) {
top: 20px;
-webkit-transform-origin: left center;
-moz-transform-origin: left center;
-o-transform-origin: left center;
transform-origin: left center;
}

.animated-icon.show span:nth-child(1) {
-webkit-transform: rotate(45deg);
-moz-transform: rotate(45deg);
-o-transform: rotate(45deg);
transform: rotate(45deg);
top: 0px;
left: 8px;
}

.animated-icon.show span:nth-child(2) {
width: 0%;
opacity: 0;
}

.animated-icon.show span:nth-child(3) {
-webkit-transform: rotate(-45deg);
-moz-transform: rotate(-45deg);
-o-transform: rotate(-45deg);
transform: rotate(-45deg);
top: 21px;
left: 8px;
} /*End of animated icon styling*/


nav #phoneIcon {
  display: flex;
  align-items: center;
  padding-left: 0;
  padding-right: 0;
}

#phoneIcon a {
  border: none;
  color: #f3e5f5;
}

#phoneIcon i.icon-phone-1 {
  font-size: 25px;
  line-height: 0;
}

#navbarButtons .navbar-nav, #copy h1 {
  white-space: nowrap;
}

#navbarButtons {
  text-align: center;
  font-size: 24px;
}

#navbarButtons ul {
  height: 100vh;
  color: #f3e5f5;
}

.nav-item hr {
  border-top: 3px solid #f3e5f5;
}

.nav-item .dropdown-menu {
  padding: 0px;
  text-align: center;
  font-size: 22px;
}

#menuDropdown > a:focus {
  outline: none;
}

#navOrderButton {
  font-size: 24px;
}

#navOrderButton:focus {
  outline: none;
}

#hero {
  background-color: #212529;
  margin-bottom: 15px;
  padding-bottom: 2%;
}

.carousel-inner {
  position: relative;
  height: 0;
  padding-top: calc(491/700*100%);
}

.carousel-item {
  position: absolute;
  top: 0;
  left: 0;
}
.carousel-indicators li {
  background-color: #212529;
}

.carousel-control-prev i, .carousel-control-next i {
  color: #212529;
}

#copy {
  text-align: center;
  margin: auto 0px;
}

#copy h1 {
  font-size: 22px;
  color: #8B7A53;
  font-weight: bold;
  margin-bottom: 1.5rem;
}

#heroButton {
  margin-top: 2%;
  white-space: nowrap;
}

#heroButton a {   /* Buttons on the Jumbotron */
  color: white;
  background-color: #8B7A53;
  border: none;
  font-size: 14px;
}

#heroButton a:hover {
  background-color: #695F40;
}

#homeInfo {
  padding-bottom: 15px;
}

#custormerReview {
  position: relative;
}

#homeInfo h2 {
  font-size: 23px;
  font-weight: bold;
}

#custormerReview i {
  color: #8B7A53;
  opacity: 0.5;
}

#custormerReview .icon-quote-left {
  position: absolute;
  top: 10%;
  left: 0;
}
#custormerReview .icon-quote-right {
  position: absolute;
  right: 0;
  bottom: 10%;
}

#custormerReview p {
  font-size: 18px;
  font-style: italic;
}

.open-hours ul {
  list-style-type: none;
  padding-left: 0px;
  font-size: 18px;
}

.open-hours li span {
  font-size: 15px;
}

#aboutUs {
  background: url('../image/aboutUsBG_sm.jpg') no-repeat center;
  background-size: cover;
  padding-top: 30px;
  padding-bottom: 30px;
}

#aboutUs .about-us-content {
  border-radius: 5px;
  background-color: rgba(0, 0, 0, 0.6);
  color: white;
  padding: 5%;
}

#aboutUs h3 {
  font-size: 23px;
  font-weight: bold;
}

#aboutUs p {
  font-size: 18px;
}

#missionStatement {
  padding-top: 20px;
  padding-bottom: 10px;
  font-size: 18px;
  text-align: center;
  font-style: italic;
  background-color: #8B7A53;
  color: white;
}

.social-media-links a {
  color: #f3e5f5;
  font-size: 1.8rem;
}

.social-media-links a:active, .social-media-links a:hover {
  color: #212529;
}

.MIT-license {
  font-size: 10px;
  background-color: #8B7A53;
  color: white;
  text-align: center;
}

.MIT-license a {
  color: white;
  text-decoration: underline;
}

footer {
  font-size: 11px;
  text-align: center;
  background-color: black;
  padding: 10px 5%;
  color: white;
}

footer span, footer a {
  color: grey;
}

footer a:hover, footer a:active {
  color: white;
  text-decoration: none;
}


/* --End of index.html styles----------------- */

/* --Start of dinner-menu.html and lunch-menu.html styles---- */
.container-fluid.main-start.menu-container {
  padding-left: 0;
  padding-right: 5px;
  max-width: 940px;
}

.menu-container .row {
  margin-left: 0;
  margin-right: 0;
}

#verticalMenuNav {
  padding-left: 0;
  padding-right: 0;
}

#verticalMenuNav h1 {
  font-size: 20px;
  font-weight: bold;
  padding-right: 8px;
  padding-left: 8px;
}

#verticalMenuNav h1, #switchMenu {
  text-align: center;
}

#v-pills-tab {
  border: 2px solid #343A40;
}

#v-pills-tab .nav-link {
  width: 100%;
  font-size: 11px;
  background-color: white;
  color: #343A40;
  border-radius: 0;
  padding: 4% 5%;
}

#v-pills-tab .nav-link:hover {
  background-color: grey;
}
#v-pills-tab .nav-link.active {
  background-color: #343A40;
  color: white;
}

#switchMenu {
  padding-left: 4px;
  padding-right: 4px;
  font-size: 12px;
}

#switchMenu a {
  color: #8C6500;
}

#v-pills-tabContent {
  padding-left: 0;
  padding-right: 0;
}

#v-pills-tabContent div {
  border: 2px solid grey;
}

#v-pills-tabContent .tab-pane img {
  width: 100%;
}

#goToTop a {
  color: #8C6500;
  text-decoration: underline;
  font-size: 12px;
}

footer.menu-footer {
  text-align: left;
  font-size: 11px;
  position: fixed;
  bottom: 0;
  width: 100vw;
}

#menuDownload {
  font-size: 12px;
}
/* --End of menu.html styles----------- */

/* --Start of contact.html styles-------- */
.contact-container h5 {
  font-weight: bold;
  font-size: 23px;
}

#contactDetailsList, #location p {
  font-size: 18px;
}

#contactDetailsList {
  list-style-type: none;
  padding-left: 0;
}

#contactDetailsList a {
  color: #212529;
  text-decoration: underline;
  cursor: pointer;
}

footer.contact-footer {
  font-size: 11px;
  position: fixed;
  bottom: 0;
  width: 100vw;
}

/* --End of contact.html styles----------------- */

/* --Start of terms-and-conditions.html styles------ */
.legal-statement.container-fluid {
  max-width: 935px;
}

h5 {
  font-weight: bold;
}
/* --End of terms-and-conditions.html styles---------*/


/* --Media query----------------------------------- */
/* Small devices (landscape phones, 576px and up) */
@media (min-width: 576px) {
  #heroButton a {
  font-size: 23px
  }
  #verticalMenuNav h1 {
  font-size: 22px;
  }
  #switchMenu {
  font-size: 12px;
  }
  #v-pills-tab .nav-link, #menuDownload {
  font-size: 14px;
  }
  #goToTop a {
    font-size: 16px;
  }
}

/* Medium devices (tablets, 768px and up) */
@media (min-width: 768px) {
  #navbarButtons, #navPhoneButton, #navOrderButton {
    font-size: 17px;
  }
  #navbarButtons ul {
    height: inherit;
  }
  .nav-item .dropdown-menu {
    font-size: 14px;
  }
  #heroButton a {
    font-size: 16px;
  }
  #homeInfo h2, #aboutUs h3 {
    font-size: 18px;
  }
  #aboutUs {
  background: url('../image/aboutUsBG.jpg') no-repeat center;
  }
  .open-hours-home li, #custormerReview p, #aboutUs p {
    font-size: 15px
  }
  .open-hours-home li span {
  font-size: 12px;
  }
  #verticalMenuNav h1 {
  font-size: 28px;
  }
  #switchMenu {
  font-size: 14px;
  }
  #v-pills-tab .nav-link, #menuDownload {
  font-size: 16px;
  }
  #goToTop a {
    font-size: 20px;
  }
  .contact-container h5 {
  font-size: 18px;
  }
}

/* Large devices (desktops, 992px and up) */
@media (min-width: 992px) {
  #copy h1 {
    font-size: 27px;
  }
  #heroButton a, #homeInfo h2, #aboutUs h3 {
    font-size: 22px;
  }
  .open-hours-home li, #custormerReview p, #aboutUs p {
    font-size: 19px
  }
  .open-hours li span {
  font-size: 16px;
  }
  #verticalMenuNav h2 {
  font-size: 1.5rem;
  }
  #v-pills-tab .nav-link {
    font-size: 20px;
  }
  #verticalMenuNav h1 {
  font-size: 30px;
  }
  #switchMenu {
  font-size: 18px;
  }
  #menuDownload {
  font-size: 18px;
  }
  #goToTop a {
    font-size: 24px;
  }
  .contact-container h5 {
  font-size: 22px;
  }
  #contactDetailsList, #location p {
  font-size: 19px;
  }
}

/* Extra large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {

  #copy h1 {
    font-size: 35px;
  }
  #heroButton a, #homeInfo h2, #aboutUs h3 {
    font-size: 27px;
  }
  .contact-container h5 {
  font-size: 27px;
  }
}

/* Landscape mode */
@media (min-aspect-ratio: 3/4) {
  #menuDownload br {
    display: none;
  }
}

/* Extra small and Small device with large height */
@media (min-height: 700px) and (max-width: 767px) {
  #navbarButtons .nav-item {
  padding-top: .5rem;
  padding-bottom: .5rem;
  }
}
