@import url("https://fonts.googleapis.com/css2?family=Kanit:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap");

:root {
  --primary-green: #00833e;
  --secondary-green: #005a2b;
  --tertiary-green: #003017;
  --lime-green: #56ffa7;
  --lime-green-light: #ccffe4;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: Kanit, sans-serif;
}

.kanit-thin {
  font-family: "Kanit", sans-serif;
  font-weight: 100;
  font-style: normal;
}

html,
body {
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  background-color: #afafaf;
}

#side-bar {
  width: 25%;
  height: 100%;
  background-color: #ffffff;
  overflow-y: auto;
  z-index: 10;
  padding: 20px;
}

#side-bar #trash {
  width: 20px;
  height: auto;
}

h1 {
  font-size: 3rem;
  margin: 0;
  color: black;
  font-family: Kanit, sans-serif;
}

h1 strong {
  color: var(--primary-green);
}

h1 #small {
  color: var(--secondary-green);
}

a:hover {
  color: var(--primary-green);
  font-size: 1.5rem;
  font-family: Kanit, sans-serif;
}

a:active {
  color: var(--primary-green);
  font-size: 1.5rem;
  font-family: Kanit, sans-serif;
}

a {
  text-decoration: none;
  color: black;
  font-size: 1.5rem;
  font-family: Kanit, sans-serif;
}

#city-select {
  padding: 10px;
  border-radius: 5px;
  border: 1px solid #ccc;
  font-size: larger;
  width: 100%;
}

#city-select-container {
  padding: 20px 10px 20px 10px;
  gap: 10px;
}

label {
  font-size: 1.5rem;
  color: black;
  font-family: Kanit, sans-serif;
}

#logo {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  gap: 10px;
}

#logo img {
  width: 80px;
  height: auto;
}

article {
  position: relative;
  bottom: 0;
  background-color: #ffffff;
  width: 100%;
  height: 50vh;
  padding: 20px;
  border-radius: 10px;
  display: none;
}

#links {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
}

#side-bar h2 {
  font-size: 2rem;
  margin: 0;
  color: black;
  font-family: Kanit, sans-serif;
  display: flex;
  justify-content: start;
  align-items: center;
  color: var(--secondary-green);
  gap: 5px;
}

#search {
  width: 35px;
  height: auto;
}

.filter-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-direction: column;
  gap: 10px;
}

input[type="checkbox"] {
  width: 20px;
  height: 20px;
  accent-color: var(--primary-green);
  /* Changes the checkbox color */
}

input[type="checkbox"]:checked {
  accent-color: var(--primary-green);
}

.checkbox-container {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-left: 15px;
}

.checkbox-container label {
  font-size: 1.5rem;
  color: black;
  font-family: Kanit, sans-serif;
}

.color-circle {
  width: 15px;
  height: 15px;
  border-radius: 50%;
}

section {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: row;
}

#map-container {
  width: 75%;
  height: 100%;
  background: #709fd4;
}

#info-container {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 300px;
  background-color: white;
  padding: 10px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  border-radius: 8px;
  z-index: 1000;
  display: block;
}

#info-container h2 {
  font-size: 1.5rem;
  color: var(--primary-green);
}

.details-button {
  background-color: var(--primary-green);
  color: white;
  border: none;
  padding: 5px 10px;
  border-radius: 5px;
  cursor: pointer;
  font-size: 1.2rem;
}

#comment-form {
  display: flex;
  gap: 10px;
  align-items: center;
  justify-content: center;
}
#comment-form textarea {
  width: 75%;
  height: 50px;
  padding: 10px;
  border-radius: 5px;
  border: 1px solid #ccc;
  font-size: 1rem;
}
#comment-form button {
  background-color: var(--primary-green);
  color: white;
  border: none;
  padding: 10px 20px;
  border-radius: 5px;
  cursor: pointer;
  width: 20%;
  font-size: 1rem;
}

@media screen and (max-width: 768px) {
 
  #logo h1 {
    font-size: 2rem;
  }

  #map-container {
    width: 100%;
  }

  article {
    display: block;
  }


  #info-container {
    display: none;
  }
}
