* {
  box-sizing: border-box;
}

body {
    height: 100%;
  margin: 0;
  color: #b4b4b4;
  background-color: whitesmoke;
}

html{
  background-color: whitesmoke;
}

main{
    margin-left: 190px;
    margin-right: 10px;
}

header {
  width: 100%;
  color: #44433c;
  margin-top: 0;
  font-size: xx-large;
  background-color: #ffffff80;
  box-shadow: 0px 0px 10px rgb(207, 207, 207);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
}

.logo {width: 70px;}

header h1 {
    margin: 0;
    padding-top: 2px;
    font-family: 'Parisienne', cursive;
    font-weight: bolder !important;
}


html {
  height: 100%;
}

#checkboxMenu {
  display: flex;
  flex-direction: column;
}

#card-name {
  display: inline-block;
  position: relative;
  text-align: center;
  background-color: #1d1d1d;
  color: white;
  border-radius: 0.8rem;
  padding: 10px;
  font-family: "Old Standard TT", serif;
  box-shadow: 0px 0px 8px rgb(14, 14, 14);
}

#footer {
  text-align: center;
  line-height: 1.8;
}

#card-content {
  text-align: center;
}

.cardTitle {
  position: relative;
  top: 25px;
  z-index: 1;
}

#website {
  text-align: center;
  overflow: hidden;
  text-overflow: ellipsis;
}

.restaurantDescription {
  cursor: pointer;
}

.restaurantContainer{
    margin: auto;
}

.card-footer {
  justify-content: center;
}

form {
    position: fixed;
    z-index: 1;
    left: 5px;
    box-shadow: 0px 0px 10px rgb(207, 207, 207);
    margin-top: 16px;
    border-radius: 5px;
    background-color: white;
}

#userLocationInput{
    width: 150px;
}

footer{
    text-align: center;
}

/* Map Styling */
.map-container {
  height: 300px;
  /* width: 500px; */
  width: 100%;
}

.map {
  width: 100%;
  height: 100%;
}

.ol-popup {
  position: absolute;
  background-color: white;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);
  padding: 15px;
  border-radius: 10px;
  border: 1px solid #cccccc;
  bottom: 12px;
  left: -50px;
  min-width: 280px;
}
.ol-popup:after,
.ol-popup:before {
  top: 100%;
  border: solid transparent;
  content: " ";
  height: 0;
  width: 0;
  position: absolute;
  pointer-events: none;
}
.ol-popup:after {
  border-top-color: white;
  border-width: 10px;
  left: 48px;
  margin-left: -10px;
}
.ol-popup:before {
  border-top-color: #cccccc;
  border-width: 11px;
  left: 48px;
  margin-left: -11px;
}
.ol-popup-closer {
  text-decoration: none;
  position: absolute;
  top: 2px;
  right: 8px;
}
.ol-popup-closer:after {
  content: "✖";
}

.ol-control button {
  background-color: #083011 !important;
}

.ol-attribution {
  visibility: hidden !important;
}


.card{
  padding: 3%;
  height: 100%;
}

.card:hover{
  box-shadow: 0px 0px 20px rgb(95, 91, 91);
  padding: 2%;
  transition: 1s all;
}

#recent-search-list{
  padding:10px 0px;
  line-height: 30px;
  font-family: "Old Standard TT", serif;
  font-size: larger;
  font-weight: bold;
  color: black;
  
}

#recent-search-list li:hover {
  background-color: rgb(228, 226, 226);
  border-radius: 3px;
  transition: all 1s;
  cursor: pointer;
}

#sortBy{
  display: none;
  align-items: center;
  margin-bottom: 10px;
}

#ratingButton, #distanceButton {
  margin: 0px 5px;
}

#aboutBAB {
  text-align: center;
  line-height: 30px;
  font-family: "Old Standard TT", serif;
  font-weight: bold;
  color: #1d1d1d;
}

/* fade animations */

.fadeIn{
  animation: fadeIn 10s ease-in;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.fadeOut{
  animation: fadeOut 1s ease-in;
}

@keyframes fadeOut {
  from {
    opacity: 1;
  }
  to {
    opacity: 0;
  }
}

@media screen and (max-width: 768px) {

  aside {
    padding: 0rem 1.5rem;
  }

  form {
    position: initial;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  #label {
    margin-bottom: 0px;
  }

  #checkboxMenu {
    display: none;
  }

  #recent-searches {
    display: none;
  }

  main {
    margin-left: auto;
    margin-right: 0px;
  }
}