body {
  background-color: #232323;
  color: white; 
  margin: 0%;
  font-family: "Inter", serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: bold;

  
}


.mainHeader {
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0% 0% 0% 0%;
  padding: 1em;
  background-color: #003387;  
  font-family: "Inter", serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: bold;

}

.astiLogoImage {
  margin-right: 15px;
  width: 85px;
  border-radius: 100%;

}

.headerText {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;

}

.headerFixed,
.headerSecond {
  margin: 0;
  padding: 0;
}

.headerFixed {
  text-align: center;  
  font-optical-sizing: auto;
  font-weight: 900;
  font-style: bold;
  font-size: 2em;
  font-variation-settings:
    "wdth" 100;
}

.headerSecond {
  
  font-weight: bold;
  font-size: 1.5em;
}


.restaurantElement {
  font-family: "Inter", serif;
  font-optical-sizing: auto;
  font-weight: 320;
  font-style: normal;
  box-sizing: border-box;
  margin: 0em 0em 1.5em 0em;
  padding: 2em 1em 0em 1em;
  border-top: solid;
  border-color:grey;
  border-width: 1px;
}

.restaurantTextContainer {
 max-width: 100%; 
}

.TitleAndTagBox {
  border: none;
  margin: 1em 0.0em 0em 0.0em;
  padding: 0em;
  vertical-align: bottom;
  font-size: 1em;
  margin-bottom: -1em;
}

.restaurantTitle {
  border: none;
  margin: 0em 0em 0em 0em;
  display: inline-block;
  font-size: 2.4em;
  max-width:100%;
}

.ratingAndTags {
  display:flex;
}

.tagList {
  display:flex;
  box-sizing:border-box;
  margin: 0em;
  max-width: 100%;
  max-height: 5em;
  object-fit: contain;
  overflow:auto;
  float: right;
}

.tag {
  display: inline-block;
  background: green;
  margin: 0.5em;
  max-width:100%;
  font-size: 1em;
  padding: 0.5em;
  border-radius: 1em;
  vertical-align: middle;
  white-space:nowrap;
}

.ratingBox {
  display:flex;
  box-sizing:border-box;
  margin: 0.5em;
  background: #003387;
  font-size: 1em;
  padding: 0.5em 0.5em 0em 0.5em;
  border-radius: 1em;
  white-space:nowrap;
}

.rating {
  margin:0em 0em 0em 0.3em;
  font-size: 1em;
}

.restaurantDescript {
  border:none;
  vertical-align: top;
  margin: 1em 0em 0em 0em;
  padding: 0em 0em 0em 0em;
}

.restaurantImageContainer {
  display:flex;
  box-sizing:border-box;
  margin: 0%;
  max-width: 100%;
  max-height: 10em;
  object-fit: contain;
  overflow:auto;
}


.restaurantImage {
  margin: 0% 4% 0% 0%;
  border-radius: 1em;
  max-width: 100%;
  height: 9em;
  border-color: white;
  border: solid;
  
}

@media screen and (orientation:landscape) {
  .restaurantImage {
    margin: 1%;
    max-width: 40%;
  }
  .restaurantTextContainer {
    max-width: 55%;
    margin: 1%;
  }  
  .restaurantElement {
    padding: 2%;
  }
}

.filterButtonContainer {
  position:sticky;
  top:0;
  margin: -1em 0em 0em 0em;
  padding: 1em 0em 1em 0em;
  background: #232323;
  border-bottom:solid;
  border-width:1px;
  border-color:grey;
  overflow:auto;
  object-fit: contain;
  white-space:nowrap;
}

.filterButton {
  font-size: 1em;
  margin: 0em 0.75em 0em 0.75em;
  border: none;
  padding: 0.5em 0.6em 0.5em 0.6em;
  border-radius: 1em;
  background: white;
  color: black;
  font-family: "Inter", serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: bold;
}

.filterButton:hover {
  background: #3281ff;
}

.filterButtonSelected {
  font-size: 1rem;
  margin: 0em 0.75em 0em 0.75em;
  border: none;
  color: black;
  padding: 0.5em 0.6em 0.5em 0.6em;
  border-radius: 1em;
  background: #5b9dff;
  font-family: "Inter", serif;
}

.filterButtonSelected:hover {
  background: #3281ff;
}

@media (pointer:none), (pointer:coarse) {
  .filterButton:hover {
    background: white;
  }
  .filterButtonSelected:hover {
    background: #5b9dff;
  }
}

  
.restaurantPageImage {
  width: 45%;
  height: auto;
  margin: 5% 0 0 5%;
  max-width: 100%;
  height: 100%;
    
}

.restaurantPageStyle {
  display:inline-block;
  
}

.wrapper {
  display: flex;
  box-sizing: border-box;
  overflow-x: auto;        /* Enables horizontal scroll */
  scroll-behavior: smooth; /* Optional: smooth scrolling */
  gap: 2%;                 /* Space between items (instead of margin-right on items) */
  margin: 5% 5% 5% 5%;     /* Top, Right, Bottom, Left margins */
  padding-bottom: 1em;     /* Space below the items */
}

.wrapper::-webkit-scrollbar {
  height: 8px;             /* Optional: scrollbar styling */
}

.wrapper::-webkit-scrollbar-thumb {
  background-color: #f3f3f3;  /* Optional: scrollbar styling */
  border-radius: 4px;
}

.wrapper .item {
  flex: 0 0 auto;         /* Prevent shrinking, prevent growing */
  width: 300px;           /* Fixed width */
  height: 300px;          /* Fixed height */
  display: flex;          /* Flex to center content inside */
  justify-content: center;
  align-items: center;
  border-radius: 5%;
  background-color: #f5f5f5; /* Optional: background for item container */
  overflow: hidden;       /* Clips image overflow if needed */
}

/* Make sure images fill the item area */
.wrapper .item img {
  width: 100%;
  height: 100%;
  object-fit: cover;      /* Makes sure the image covers the box neatly */
}





