html,
body,
#viewDiv {
  padding: 0;
  margin: 0;
  height: 100%;
  width: 100%;
}

.outerContainer {
  height: 100%;
  width: 75%;
}

.header-text {
  text-align: center;
  left: 37%;
  position: absolute;
  /* background-color: rgba(156, 156, 156, 0.75); */
  /*white*/
  background-color: rgba(234, 198, 2, 0.75);
  /*gold*/
  width: 18%;
  border-radius: 12%;
  border-style: solid;
  top: 1%;
}

.map-title {
  margin-bottom: -3%;
  margin-top: 0%;
}

.sidePanel {
  width: 25%;
  right: 0%;
  height: 100%;
  position: absolute;
  bottom: 0%;
  z-index: 100;
  background: gray;
  border-left-style: double;
}

.sidepanel-title-container {
  display: flex;
  justify-content: center;
  /* Center content horizontally */
  align-items: center;
  /* Center content vertically */
}

.sidepanel-title {
  text-align: center;
  background: #cccccc9c;
  /* width: 28%; */
  width: fit-content;
  border-style: solid;
  border-width: 2px;
  box-shadow: 3px 8px 10px black;
  padding-left: 3%;
  padding-right: 3%;
}

.layers-container {
  /* width: 50%; */
  width: fit-content;
  box-shadow: 3px 8px 10px black;
  border: inset gray 1px;
  /* left: 12%;
  position: relative; */
}

.outer-outer {
  /* background-color: rgba(58, 199, 206, 0.43); */
}

.layers-list-outer-container {
  /* background-color: rgba(58, 199, 206, 0.43); */
  /* width: 64%; */
  /* padding-top: 2%; */
  /* padding-bottom: 2%; */
  /* left: 17%; */
  /* position: absolute; */
  padding: 2%;
  display: flex;
  flex-direction: column;
  align-content: center;
  align-items: center;
  box-sizing: border-box;
}

/* .filter-by-container {
  padding-top: 39%;
} */

.country-select {
  /* left: 38%;
  position: absolute; */
  width: 41.45%;
}


.sidepanel-select-container {
  display: flex;
  flex-direction: column;
  align-content: center;
  align-items: center;
  box-sizing: border-box;
}

.year-select {
  /* left: 38%;
  position: absolute; */
  width: 41.45%;
}

.clear-filters-button {
  padding: 1%;
  /* width: 23%; */
  width: fit-content;
  padding: 0px 4px 0px 4px;
}

.clear-filters-container {
  /* left: 38%;
  position: absolute;
  top: 35%; */
  text-align: center;

}



.sidePanel {
  display: flex;
  flex-direction: column;
  height: 100%;
  /* Full height of the viewport */
  border: 1px solid #ccc;
  overflow-y: auto;
  overflow-x: hidden;
  border-left-color: black;
  border-left-style: double;
  border-left-width: 2px;
}


.layers-outer-container {
  flex: 0 0 29%;
  /* Initial size 30% */
  background-color: rgba(58, 199, 206, .45);
  border-bottom: 2px black solid;
}

.filter-by-container {
  /* flex: 0 0 60%; */
  flex: 0 0 50%;
  /* Initial size 60% */
  background-color: #d0d0d0;
  display: flex;
  flex-direction: column;
  /* padding: 10px; */
  /* overflow-y: auto; Enable vertical scrolling if needed */
  border-bottom: 2px black solid;

}

.sidepanel-container-series {
  padding-top: 2%;
}

.sidepanel-container-country {
  padding-top: 2%;
}

.sidepanel-container-year {
  padding-top: 2%;
}

.sidepanel-logo-container {
  flex: 0 0 20%;
  display: flex;
  flex-direction: row;
}

.donate-button-container {
  flex: 0 0 1%;
  display: flex;
  flex-direction: column;
  margin-right: 6%;
  justify-content: center;
}

.logo-container {
width: 50%;
text-align: center;
}

.blue-galaxy-logo {
  padding-top: 10px;
  &:hover {
    cursor: pointer;
  }
}

/* Large Phones and Tablets landscape*/
@media (min-width: 768px) and (max-width: 1024px) and (orientation: landscape) {
  .donate-button-container {
    flex: 0 0 1%;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 4%;
    margin-left: 6%;
    margin-bottom: 4%;
  }

  #series-select-container {
    padding-bottom: 6%;
  }

  .layers-container {
    width: 92%;
  }

  .layers-list-outer-container {
    padding-bottom: 8%;
  }

  .header-text {
    width: 30%;
    left: 23%;
    height: 14%;
    font-size: 79%;
  }

  .logo-container {
    margin-left: 19%;
  }

  .sidepanel-logo-container {
    flex: 0 0 15%;
    flex-direction: column-reverse;
  }

}

/* Medium Phones and Tablets */
@media (min-width: 481px) and (max-width: 767px) and (orientation: landscape) {
  .donate-button-container {
    flex: 0 0 1%;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 4%;
    margin-left: 6%;
    margin-bottom: 4%;
  }

  #series-select-container {
    padding-bottom: 6%;
  }

  .layers-container {
    width: 92%;
  }

  .layers-list-outer-container {
    padding-bottom: 8%;
  }

  .header-text {
    width: 30%;
    left: 23%;
    height: 14%;
    font-size: 69%;
  }
  .map-title {
    margin-bottom: -1%;
    margin-top: 2%;
  }
  
.logo-container {
  margin-left: 14%;
}

  .sidepanel-logo-container {
    flex: 0 0 15%;
    flex-direction: column-reverse;
  }
}


/* Small Phones and Tablets */
@media (min-width: 320px) and (max-width: 480px) and (orientation: landscape) {

  
}

/* Small Phones and Tablets portrait*/
@media (min-width: 320px) and (max-width: 480px) and (orientation: portrait) {
  .donate-button-container {
    flex: 0 0 1%;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 4%;
    margin-left: 8%;
    margin-bottom: 4%;
  }

  #series-select-container {
    padding-bottom: 6%;
  }

  .layers-container {
    width: 92%;
  }

  .layers-list-outer-container {
    padding-bottom: 8%;
  }

  .header-text {
    width: 60%;
    left: 23%;
    height: 7%;
    font-size: 64%;
  }
  .map-title {
    margin-bottom: -1%;
    margin-top: 2%;
  }
  
.logo-container {
  margin-left: 25%;
}

  .sidepanel-logo-container {
    flex: 0 0 15%;
    flex-direction: column-reverse;
  }
  body {
    display: flex;
    flex-direction: column;
  }

  .outerContainer {
    height: 100%;
    width: 100%;
  }
  .sidePanel {
    height: 100%;
    width: 100%;
    right: unset;
    position: unset;
  }

}

/* Small Phones and Tablets portrait*/
@media (min-width: 120px) and (max-width: 376px) and (orientation: portrait) {
.header-text {
  font-size: 45%;
}
} 