html,
body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

main {
  flex: 1;
  width: 90%;
  margin-left: 5%;
  background: #fafafa;
  border: 1px solid silver;
  padding: 20px 60px;
  float: left;
  position: relative;
  border-radius: 5px;
  transition: background-color 0.5s ease;
}

.grad_body_background {
  background-image: linear-gradient(to top, #000000, #226275);
}

.panel {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 20px 0;
}

.top {
  width: 100%;
}

.dim,
.show-more-info {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* .button {
  width: 100px;
  height: 50px;
  background-color: #eee;
  border: 1px solid #ccc;
  border-radius: 8px;
  position: relative;
  cursor: pointer;
  overflow: hidden;
  margin-left: 30px;
}

.button.active {
  background-color: #ddd;
}

.slider {
  width: 50%;
  height: 100%;
  background-color: #aaa;
  position: absolute;
  top: 0;
  transition: left 0.3s ease-in-out;
}

.button.active .slider {
  left: 50%;
} */


#div-arror-up {
  cursor: pointer;
  position: fixed;
  bottom: 3.5vh;
  right: 3.5vh;
  padding: 10px;
  background-color: #ccc;
  border-radius: 5px;
  z-index: 100;
}


#all-containers {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}

.searching-charts form {
  position: relative;
  min-width: 30px;
  width: 70%;
  margin: 0 auto;
  margin-top: 0px;
}

.searching-charts {
  padding: 30px 0;
  max-width: 500px;
  min-width: 40px;
  border-radius: 10px;
  background-image: linear-gradient(to bottom right, #35b5f0, #25ecfa);
  margin: 0 auto;
  margin-bottom: 10px;
}

#filter-input {
  min-width: 30px;
  border: none;
  outline: none;
  border-radius: 7px;
  font-size: 18px;
  width: 100%;
  height: 42px;
  background: #F9F0DA;
  padding-left: 15px;
}

.country__name {
  font-size: 25px;
  cursor: pointer;
}

.hidden {
  display: none;
}


/* .show-buttons {
  display: flex;
  justify-content: center;
  text-align: center;
  font-size: 20px;
  cursor: pointer;
  gap: 20px;
}

.show-buttons div {
  border-radius: 10px;
  padding: 5px 10px;
  width: fit-content;
}

#showMore {
  background-image: linear-gradient(to top right, #37c694, #226275);
}

#showEverything {
  background-image: linear-gradient(to top right, #2d52d9, #226275);
} */


.container {
  overflow: hidden;
  width: fit-content;
  height: fit-content;
}

.center {
  text-align: center;
}

.margin-to-text {
  margin-top: 10px;
}

.container a {
  color: black;
  font-size: 32px;
  border-radius: 7px;
}

.name-and-ref {
  height: 50px;
  display: flex;
  align-items: center;
}

.name-and-ref a b:hover {
  font-size: larger;
  transition: all 0.2s ease;
}

.full-block {
  padding: 5px;
  display: flex;
  align-items: stretch;
  margin-bottom: 10px;
  margin-right: 20px;
}

.block-inside {
  max-width: 380px;
  min-width: 200px;
  border-radius: 7px;
  border: 1px solid rgb(0, 0, 0);
  background-color: rgb(240, 240, 240);
  padding: 7px;
  float: left;
  display: flex;
}

.block-info {
  width: 300px;
  margin-right: 5px;
}

.country {
  padding-bottom: 2px;
}

.block-download {
  width: 28px;
  height: auto;
  flex-direction: column;
  align-items: center;
  display: flex;
  justify-content: space-evenly;
  background-color: #a4a4a4;
  border-radius: 5px;
  padding: 10px 0;
}

.block-download a img {
  width: 18px;
  height: 18px;
}

.icao-code-class {
  font-weight: bold;
}






main.dark-mode {
  background-color: black;
  border: 0;
  color: white;
}

main.dark-mode .container a {
  color: white;
}

main.dark-mode .block-inside {
  border: 1px solid silver;
  background-color: black;
}

main.dark-mode .block-inside b {
  color: white;
}





.nav {
  margin-top: 10px;
  border: #787878 solid 2px;
  border-radius: 10px;
  padding: 5px;
  font-size: 20px;
  text-align: center;
}

.nav-search {
  font-size: 24px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-evenly;
}

.nav-buttons {
  transition: color 0.2s ease;
  cursor: pointer;
  margin: 0 40px;
}

.nav-buttons:hover {
  color: rgb(190, 190, 190)
}

#map {
  color: #568cff;
}

@media (max-width: 1200px) {
  main {
    margin: 0;
    width: 100%;
    padding: 20px 20px;
  }

}

@media (max-width: 381px) {
  .container {
    width: 300px;
  }

  .full-block {
    padding: 5px;
    margin-right: 0;
  }

  .dim h1 {
    font-size: 25px;
  }

  .nav-buttons {
    margin: 0 10px;
  }
}