@import url("https://fonts.googleapis.com/css?family=Varela+Round");

:root {
  --background-color: #fff;
  --header-bg-color: #e97d35;
  --sidebar-bg-gradient: linear-gradient(180deg, #e97d35 0%, #861d1f 90%);
  --sidebar-text-color: #000;
  --sidebar-text-secondary-color: rgba(54, 54, 54, 0.5);
  --sidebar-border-color: rgba(255, 255, 255, 0.1);
  --icon-color: #000;
}

html,
body {
  overflow-x: hidden;
  height: 100%;
}

body {
  background: var(--background-color);
  padding: 0;
  margin: 0;
  font-family: "Varela Round", sans-serif;
}

.header {
  display: block;
  margin: 0 auto;
  width: 100%;
  max-width: 100%;
  box-shadow: none;
  background-color: var(--header-bg-color);
  position: fixed;
  height: 60px !important;
  overflow: hidden;
  z-index: 10;
}

#sidebarMenu {
  height: 100%;
  position: fixed;
  left: 0;
  width: 250px;
  margin-top: 60px;
  transform: translateX(-250px);
  transition: transform 250ms ease-in-out;
  background: var(--sidebar-bg-gradient);
  z-index: 1;
}

.sidebarMenuInner {
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--sidebar-border-color);
}

.sidebarMenuInner li {
  list-style: none;
  color: var(--sidebar-text-color);
  text-transform: uppercase;
  font-weight: bold;
  padding: 20px;
  cursor: pointer;
  border-bottom: 1px solid var(--sidebar-border-color);
}

/* Make hitboxes for sub-menu items consistent */
.sidebarMenuInner li.city a {
  width: 100%;
  padding: 10px 15px; /* Adjusted padding for consistency */
  font-size: 16px;
  font-weight: bold;
  color: var(--sidebar-text-secondary-color);
  display: block; /* Ensure it takes full width */
  box-sizing: border-box;
}

.sidebarMenuInner li.city {
  margin-bottom: 0; /* Remove margin from the list item */
}

.sidebarMenuInner li span {
  display: block;
  font-size: 14px;
  color: var(--sidebar-text-secondary-color);
  padding: 0 15px 10px 15px;
}

.sidebarMenuInner li a {
  color: var(--sidebar-text-color);
  text-transform: uppercase;
  font-weight: bold;
  cursor: pointer;
  text-decoration: none;
}

input[type="checkbox"]:checked ~ #sidebarMenu {
  transform: translateX(0);
}

input[type="checkbox"] {
  transition: all 0.3s;
  box-sizing: border-box;
  display: none;
}

.sidebarIconToggle {
  transition: all 0.3s;
  box-sizing: border-box;
  cursor: pointer;
  position: absolute;
  z-index: 99;
  top: 22px;
  left: 15px;
  height: 22px;
  width: 22px;
}

.spinner {
  transition: all 0.3s;
  box-sizing: border-box;
  position: absolute;
  height: 3px;
  width: 100%;
  background-color: var(--icon-color);
}

.horizontal {
  transition: all 0.3s;
  box-sizing: border-box;
  position: relative;
  float: left;
  margin-top: 3px;
}

.diagonal.part-1 {
  position: relative;
  transition: all 0.3s;
  box-sizing: border-box;
  float: left;
}

.diagonal.part-2 {
  transition: all 0.3s;
  box-sizing: border-box;
  position: relative;
  float: left;
  margin-top: 3px;
}

input[type="checkbox"]:checked ~ .sidebarIconToggle > .horizontal {
  transition: all 0.3s;
  box-sizing: border-box;
  opacity: 0;
}

input[type="checkbox"]:checked ~ .sidebarIconToggle > .diagonal.part-1 {
  transition: all 0.3s;
  box-sizing: border-box;
  transform: rotate(135deg);
  margin-top: 8px;
}

input[type="checkbox"]:checked ~ .sidebarIconToggle > .diagonal.part-2 {
  transition: all 0.3s;
  box-sizing: border-box;
  transform: rotate(-135deg);
  margin-top: -9px;
}
@media (max-width: 768px) {
  #sidebarMenu {
    left: auto;
    right: 0;
    width: 200px;
    transform: translateX(100%);
  }
  input[type="checkbox"]:checked ~ #sidebarMenu {
    transform: translateX(0);
  }
  .sidebarIconToggle {
    left: auto;
    right: 15px;
    z-index: 99;
  }
  .image-container p {
    font-size: 22px;
  }
}