@import url("https://fonts.googleapis.com/css2?family=Montserrat:wght@400;700&display=swap");

body {
  background-color: #ede3cd;
  color: white;
  font-family: "Montserrat", sans-serif;
  margin: 0;
  padding: 20px;
  text-align: center;
}

.menu-container {
  max-width: 1000px;
  margin: 0 auto;
  text-align: left;
}

.logo-container {
  text-align: center;
  margin-bottom: 20px;
}

.logo-container img {
  max-width: 300px; /* Adjust size as needed */
  height: auto;
}

.beer-list {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.beer-item {
  background-color: #222;
  padding: 15px;
  border-radius: 8px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.beer-info {
  display: flex;
  align-items: center;
  gap: 15px;
}

.beer-info img {
  width: 90px;
  height: 90px;
  border-radius: 50%;
}

.beer-info h2 {
  font-size: 20px;
  font-weight: 700;
  margin: 0;
}

.tagline {
  font-size: 14px;
  color: #ffcc00;
  font-weight: 700;
  margin: 2px 0;
}

.details {
  font-size: 14px;
  color: #bbb;
}

.abv {
  font-size: 14px;
}

.prices {
  text-align: right;
}

.prices p {
  display: flex; /* Enable flexbox for each price line */
  justify-content: space-between; /* Distribute space between size and price */
  align-items: center; /* Vertically align size and price */
  margin: 5px 0;
  font-size: 14px;
}

.prices span {
  font-weight: 700;
  margin-left: 0; /* Remove the previous left margin */
  font-size: 16px;
  color: #ffcc00;
}
/* ... (Existing CSS) ... */

/* Mobile Styles */
@media (max-width: 600px), print {
  /* Adjust breakpoint as needed */
  .beer-item {
    flex-direction: column; /* Stack elements vertically */
    align-items: stretch; /* Stretch items to container width */
    padding: 10px; /* Reduce padding */
  }

  .beer-info {
    flex-direction: column; /* Stack image and text */
    align-items: center; /* Center horizontally */
    text-align: center; /* Center text */
    margin-bottom: 10px; /* Space between info and description */
  }

  .beer-info img {
    max-width: 100px; /* Adjust image size */
    margin-right: 0; /* Remove right margin */
    margin-bottom: 10px; /* Space below image */
  }

  .beer-info h2 {
    margin-bottom: 5px; /* Space below heading */
  }

  .beer-info .tagline {
    margin-bottom: 10px; /* Space below tagline */
  }

  .beer-info .details {
    text-align: left; /* Align description text to the left */
    margin-bottom: 15px; /* Space below description */
  }

  .prices {
    margin-top: auto; /* Push prices to the bottom */
    display: flex; /* Use flexbox for prices */
    flex-wrap: nowrap; /* Allow wrapping on small screens */
    justify-content: space-around; /* Distribute space around prices */
  }

  .prices p {
    width: 15%; /* Adjust width for two columns */
    margin: 5px 0;
    text-align: center;
    box-sizing: border-box; /* Include padding in width */
  }
  .taproom-popup {
    width: 80%; /* Adjust the width as needed */
    max-width: 400px; /* Optional: Set a maximum width */
  }
}
.filter-container {
  display: flex;
  align-items: center;
  justify-content: center; /* Center horizontally */
  margin: 0 auto;
  margin-bottom: 15px;
  padding: 20px;
  background-color: #222;
  border-radius: 8px;
  max-width: 300px;
  border-bottom: 1px solid #ddd;
}

#style-filter {
  padding: 10px 15px;
  border: 1px solid #ccc;
  border-radius: 5px;
  font-size: 16px;
  margin-left: 10px;
  background-repeat: no-repeat;
  background-position: right 10px center;
  background-size: 20px;
  color: black;
}

#style-filter:focus {
  outline: none;
  box-shadow: 0 0 5px rgba(0, 123, 255, 0.5);
}

.taproom-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7); /* Semi-transparent background */
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1000; /* Ensure it's on top */
}

.taproom-popup {
  background-color: #ede3cd; /* Light background color - customize */
  padding: 30px;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.9); /* Subtle shadow */
  font-family: sans-serif; /* Simple font */
}

.taproom-popup h2 {
  font-size: 24px;
  margin-bottom: 20px;
  color: #333; /* Dark text color - customize */
}

.taproom-buttons {
  margin-top: 20px;
}

.taproom-select-btn {
  padding: 12px 24px;
  margin: 10px;
  cursor: pointer;
  border: none;
  border-radius: 6px;
  background-color: #34577e; /* Green button color - customize */
  color: white; /* White text color - customize */
  font-size: 16px;
  transition: background-color 0.3s ease; /* Smooth transition */
}

.taproom-select-btn:hover {
  background-color: #467bb9; /* Darker green on hover - customize */
}
.beer-item.hidden {
  display: none;
}
@media print {
  .beer-list {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
  }
  .beer-item {
    break-inside: avoid;
    break-inside: avoid; /* Prevent page breaks inside the element */
    background-color: white;
    width: 43%;
    border-style: solid;
    border-color: black;
  }
  .filter-container {
    display: none;
  }
  .beer-info img {
    display: none;
  }
}
