
.topnav {
  background-color: #333;
  overflow: hidden;
}

/* Style links */
.topnav a {
  float: left;
  display: block;
  color: #f2f2f2;
  text-align: center;
  padding: 14px 16px;
  text-decoration: none;
  font-size: 17px;
  font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
  font-weight: thin;
}

/*color of hover */
.topnav a:hover {
  background-color: #ddd;
  color: black;
}

/* Add class to highlight the page */
.topnav a.active {
  background-color: #aa0404;
  color: white;
}

/* Hide the link */
.topnav .icon {
  display: none;
}

.logo {
  float: left;
  size: 50px;
  justify-content: space-between;

}

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

body, html {
  height: 100%;
}

/* The hero image */
.hero-image {
/* Use "linear-gradient" to add a darken background effect to the image (photographer.jpg). This will make the text easier to read */
background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url("Img/PizzaHead.jpg");

/* Set a specific height */
height: 50%;

/* Position and center the image to scale nicely on all screens */
background-position: center;
background-repeat: no-repeat;
background-size: cover;
position: relative;
}

/* Place text in the middle of the image */
.hero-text {
text-align: center;
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
color: white;
}

body {
  background-color: #4d4d4d;
  margin: 0px;
}

footer {
  margin: 0;
  padding-left: 16px;
  background-color: #333;
  display: flex;
  justify-content: left;
  color: #f2f2f2;
}

button {
  margin: 0;
  Padding: 6px 12px;
  background-color: #aa0404;
  color: #f2f2f2;
  cursor: pointer;
  border: #333;
  border-radius: 2px;
}

.headButton {
  margin: 0;
  Padding: 10px 20px;
  background-color: #aa0404;
  color: #f2f2f2;
  cursor: pointer;
  border: #333;
  border-radius: 2px;
}

.headButton:hover {
  background-color: #7e0101;
}

h1 {
  font-family: Arial, Helvetica, sans-serif;
  font-weight: bold;
  font-size: 32;
  color: #ffffff;
}

h3 {
  font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
  font-weight: thin;
  font-size: 20;
  color: #f2f2f2;

}

.menuPage {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  border: 10px;
  border-color: #aa0404;
  margin: 24px;
  padding:8px;
  background-color: #4d4d4d;
  color: white;
}

.menuPage button {
  justify-content: center;
  flex-direction: column;
  margin: 20px;
  padding: 20px;
  max-width: 250px;
  border-radius: 6px;
}

button:hover {
  background-color: #7e0101;
}

.menuPage img {
  max-width: 100%;
  height: auto;
}

.orderPage img {
  max-width: 100%;
  height: auto;
}


.orderPage {
  display: flex;
  flex-direction: column;
  justify-content: center;
  margin: 24px;
  padding:8px;
  align-items: center;
  border: 10px;
  border-color: #aa0404;
  background-color: #333;
  color: white;
}

.orderPage button {
  justify-content: center;
  flex-direction: column;
  margin: 20px;
  padding: 20px;
  max-width: 250px;
  border-radius: 6px;
}

.eventPage img {
  max-width: 100%;
  height: auto;
}


.eventPage {
  display: flex;
  flex-direction: column;
  justify-content: center;
  margin: 24px;
  padding:8px;
  align-items: center;
  border: 10px;
  border-color: #aa0404;
  background-color: #4d4d4d;
  color: white;
}

.eventPage button {
  justify-content: center;
  flex-direction: column;
  margin: 20px;
  padding: 20px;
  max-width: 250px;
  border-radius: 6px;
}

.eventPage img {
  max-width: 100%;
  height: auto;
}