/* CSS Stylesheet */
/* Text CSS */
body {
    padding: 0;
    margin: 0;
    z-index: 0;
}
html, body, #map {
    height: 100%;
    width: 100%;
    margin: 0;
    padding: 0;
    font-family: sans-serif;
    z-index: 0;
}

h1, h2, h3 {
  font-family: sans-serif;
  z-index: 0;
}

/* Hamburger Menu CSS */
nav {
  padding: 1.5rem 2rem;
  background-color: #222831;
  color: #fff;
  position: sticky;
  top: 0;
  z-index: 1;
  font-family: sans-serif;
}

/* Map CSS */
#viewDiv {
  position: relative;
  z-index: 2;
  width: 80%;
  height: 90%;
  float: right;
}
#optionsDiv {
  background-color: white;
  color: black;
  padding: 6px;
  max-width: 400px;
  padding-top: 300px;
}

.map {
  position: relative;
  z-index: 2;
  width: 80%;
  height: 100%;
  float: right;
}

#distanceSlider {
  width: 100%;
}

/* Hamburger Menu CSS */
.checkbtn {
 font-size: 1.5rem;
 color: white;
 cursor: pointer;
}

.hidden-checkbox{
display: none;
}

.hidden-checkbox:checked ~ .hamburger-icon {
opacity: 20%;
}

.nav-mobile {
 display: none;
}

#check:checked ~ .nav-mobile {
 display: block;
}

.nav-mobile {
 position: absolute;
 top: 4.5rem;
 left: 0;
 background: #222831;
 z-index: 1;
 width: 200px;
}
.nav-mobile a {
 color: #fff;
 padding: 1rem 1.5rem;
 display: block;
}

@media only screen and (max-width: 992px) {
 .checkbtn {
 display: block;
 font-size: 5rem;
 position: absolute;
 top: 30px;
 left: 40px;
 }
.nav-mobile {
 top: 160px;
 width: 100%;
 }
.nav-mobile a {
 font-size: 2rem;
 padding: 2rem 3rem;
 }
}

/* Footer Element */
.footer {
  position: fixed;
  left: 0;
  bottom: 0;
  width: 100%;
  text-align: center;
  font-size: 10px;
}

/* Review Elements */
.container {
    max-width: 600px;
    margin: auto;
    background: white;
    padding: 20px;
    border-radius: 5px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

form {
    display: flex;
    flex-direction: column;
}

label {
    margin: 10px 0 5px;
}

input[type="text"], textarea {
    padding: 10px;
    margin-bottom: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
}

button {
    padding: 10px;
    background-color: #5cb85c;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

button:hover {
    background-color: #4cae4c;
}

.reviews {
    margin-top: 20px;
}
