/* When the screen is less than 600 pixels wide, hide all links, except for the first one ("Home"). Show the link that contains should open and close the topnav (.icon) */
@media screen and (max-width: 600px) {
  .topnav a:not(:first-child) {display: none;}
  .topnav a.icon {
    float: right;
    display: block;
  }
}

/* The "responsive" class is added to the topnav with JavaScript when the user clicks on the icon. This class makes the topnav look good on small screens (display the links vertically instead of horizontally) */
@media screen and (max-width: 600px) {
  .topnav.responsive {position: relative;}
  .topnav.responsive a.icon {
    position: absolute;
    right: 0;
    top: 0;
  }
  .topnav.responsive a {
    float: none;
    display: block;
    text-align: left;
  }
} 
/* background images */
.bg {
  /* Full height */
  height: 100%;

  /* Center and scale the image nicely */
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}
.bg-home {
  /* The image used */
  background-image: url("/Users/huffythevampire/Desktop/codin/Kit-Huff-Portfolio/restaurant/homebg.avif");
}
.bg-about {
  background-image: url("/Users/huffythevampire/Desktop/codin/Kit-Huff-Portfolio/restaurant/aboutbg.jpeg");
}
.bg-menu {
  background-color: aliceblue;
}
.bg-contact {
  background-image: url("/Users/huffythevampire/Desktop/codin/Kit-Huff-Portfolio/restaurant/contactbg.jpeg");
}
.bg-reviews {
  background-color: aliceblue;
}
/* Add a black background color to the top navigation */
.topnav {
  background-color: #b7b3b363;
  overflow: hidden;
}

/* Style the links inside the navigation bar */
.topnav a {
  float: left;
  display: block;
  color: #0d0b0b;
  text-align: center;
  padding: 14px 16px;
  text-decoration: none;
  font-size: 2rem;
}

/* Change the color of links on hover */
.topnav a:hover {
  background-color: orange;
  color: black;
}

/* Add an active class to highlight the current page */
.topnav a.active {
  background-color: orange;
  color: rgb(10, 8, 8);
  font-family: 'Barriecito' 'Times';
}

/* Hide the link that should open and close the topnav on small screens */
.topnav .icon {
  display: none;
}

* {
  box-sizing: border-box;
}

/* sections */
section {
  margin: 5%;
  background-color: rgba(231, 248, 250, 0.407);
  border-radius: 5%;
  padding-left: 10px;
  padding-top: 3px;
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
  justify-content: center;
  text-align: center;
}

/* Style the search field */
form.example input[type=text] {
  padding: 10px;
  margin-left: 20px;
  font-size: 17px;
  border: 1px solid grey;
  border-radius: 10%;
  float: left;
  width: 40%;
  background: rgba(235, 230, 230, 0.476);
}

/* Style the submit button */
form.example button {
  float: left;
  width: 10%;
  padding: 10px;
  background: orange;
  color: rgb(10, 9, 9);
  font-size: 17px;
  border: 1px solid orange;
  border-radius: 10%;
  border-left: none; /* Prevent double borders */
  cursor: pointer;
  margin-left: 10px;
}

form.example button:hover {
  background: #ffffff;
}

/* Clear floats */
form.example::after {
  content: "";
  clear: both;
  display: table;
}

/* social media buttons */
.fasocial {
  margin: 10px;
  padding: 10px;
  font-size: 20px;
  border-radius: 10%;
  width: 40px;
  text-align: center;
  text-decoration: none;
}
/* Add a hover effect if you want */
.fa:hover {
  opacity: 0.7;
}
/* Set a specific color for each brand */

/* Facebook */
.fa-facebook {
  background: #3B5998;
  color: white;
}

/* Twitter */
.fa-twitter {
  background: #55ACEE;
  color: white;
}
/* insta */
.fa-instagram {
  background: rgb(218, 53, 167);
  color: white;
}

#discover {
  float: left;
  width: fit-content;
  padding: 10px;
  background: orange;
  color: white;
  font-size: 17px;
  text-decoration: none;
  border: 1px solid orange;
  border-radius: 10%;
  cursor: pointer;
}

/* Set height of body and the document to 100% to enable "full page tabs" */
body, html {
  height: 100%;
  margin: 0;
  font-family: Arial;
  font-size: 62.5%;
}




/* Style tab links */
.tablink {
  background-color: rgba(248, 242, 242, 0);
  color: black;
  /* float: left; */
  border: none;
  border-radius: 30%;
  outline: none;
  cursor: pointer;
  padding: 14px 10px;
  font-size: 2rem;
  width: fit-content;
  margin-left: 16px;
  text-align: center;
  font-family: 'Barriecito', 'Times New Roman', Times, serif;
}

.tablink:hover {
  background-color: #dea953;
}

/* Style the tab content (and add height:100% for full page content) */
.tabcontent {
  color: white;
  display: none;
  padding: 100px 20px;
  height: 100%;
}


/* general page decoration */
#home {
  font-family: 'Barriecito', 'Times';
  font-size: 3rem;
  row-gap: 40px;
}

#about {
  font-family: 'Barriecito', 'Times';
  font-size: 2.5rem;
}
#about p {
  font-family: 'Times';
  font-size: 2rem;
  padding: 10px;
}
#about div {
  margin-bottom: 10px;
  justify-content: center;
}
.tabbys{
  display: inline-block;
}
#menu {
  font-size: 1.5rem;
}
#menu img {
  max-width: 20%;
}
@media screen and (max-width: 600px) {
  #menu img {
    max-width: 100%;
    width: 400px;
    display: block;
  }
}
#contact {
  font-family: 'Barriecito', 'Times New Roman', Times, serif;
  font-size: 2rem;
}
#contact img {
  width: fit-content;
  border-radius: 50%;
}
#hours {
  column-count: 2;
}
#reviews {
  display: flex;
  align-items: center;
  font-size: 2rem;
}
#customer {
  border-radius: 90%;
  width: 10%;
}
#reviews h7 {
  font-size: 1rem;
  margin-bottom: 10px;
}