.nav {
  display: flex;
  flex-direction: row;
  align-content: end;
  justify-content: space-between;
  align-items: center;
  padding: 10px 20px;
  background-color: #2f4f4f;
  color: #fff;
}

.navbar-logo {
  display: flex;
  font-size: 24px;
  font-weight: bold;
  flex-direction: row;
}

.nav-menu {
  display: flex;
  justify-content: end;
  align-items: center;
  list-style: none;
  margin: 0;
  padding: 0;
  flex-direction: row;
  flex-grow: 1;
}

.nav-item {
  margin-right: 20px;
  position: relative;
}

.nav-link {
  color: #fff;
  text-decoration: none;
  font-size: 18px;
  font-weight: bold;
  transition: all 0.2s ease-in-out;
  cursor: pointer;
}

@media screen and (max-width: 1450px) {
  .nav-link {
    font-size: medium;
  }
}

.school-dropdown {
  background: transparent;
  border: none;
  color: #fff;
  font-size: 18px;
  font-weight: bold;
  transition: all 0.2s ease-in-out;
}

.dropdown-toggle-container {
  position: relative;
}

.dropdown-menu {
  background-color: #2f4f4f;
  border: none;
  box-shadow: none;
  position: absolute;
  opacity: 0;
  visibility: hidden;
  margin-top: 10px;
  min-width: 160px;
  z-index: 1000;
  transition:
    opacity 0.3s ease,
    visibility 0.3s ease;
}

.dropdown-item {
  color: #fff;
  font-size: 16px;
  padding: 10px 20px;
}

.dropdown-item:hover,
.nav-link:hover {
  color: #c9c9c9;
}

.active {
  color: #3edad2;
}

.logout:hover {
  color: #ff0000;
}

.dropdown-toggle-container:focus-within .dropdown-menu {
  opacity: 1;
  visibility: visible;
}

.dropdown-toggle-container:hover .school-dropdown {
  display: block;
}

.nav-img {
  width: 110px;
  height: 60px;
  border-radius: 50%;
}

.weather {
  display: flex;
  flex-direction: row;
}

.weather-img {
  position: relative;
  width: 50px;
  height: 50px;
  top: -10%;
}
.wether-modal-content > p {
  text-wrap: nowrap;
  font-size: small;
}

.wether-detail-btn {
  color: rgb(77, 74, 74);
  transition: scale 0.5s ease-out;
  position: relative;
  height: fit-content;

  /* border: lightgreen 1px solid; */
  background: rgb(220, 203, 181);
  border-radius: 8px;
  box-shadow: 2px 2px 5px 5px rgba(0, 0, 0, 0.2);
}

.wether-detail-btn:active {
  scale: 0.9;
}

.wether-modal-content {
  width: fit-content;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 2px;
}

@media (max-width: 850px) {
  .wether-modal-content {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 950px) {
  .wether-modal-content {
    grid-template-columns: repeat(2, 1fr);
  }
}
