* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

:root {
  --close_bg: hsl(219, 18%, 31%);
}

.grid_flex > ::-webkit-scrollbar {
  display: none;
}

.close_container {
  width: 100%;
  height: 100vh;
  background-color: var(--close_bg);
  display: none;
  color: var(--gray);
  position: fixed;
}

.npl-close-items {
  font-size: var(--fifteen);
  font-weight: var(--menuWeight);
}

.adding_close {
  /* position: fixed; */
  z-index: 10;
  display: block;
}

.close_menu {
  width: 100%;
  margin: 2.2% 1.8% 0 1.8%;
  position: absolute;
}

.close_logo {
  width: 60px;
}

.close_logo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.close_btn {
  width: 80px;
  transform: rotate(270deg);
  margin-left: 15px;
  margin-top: 20px;
  overflow: clip;
  cursor: pointer;
}

.close_click_dummy {
  position: absolute;
  top: 0;
  transform: translateY(0);
  transition: 0.2s cubic-bezier(0.7, 0, 0.33, 1);
}

.close_click_show {
  opacity: 1;
  transform: translateY(0) !important;
  transition: 0.2s cubic-bezier(0.7, 0, 0.33, 1);
}

.close_click {
  opacity: 1;
  transform: translateY(150%);
  transition: 0.25s cubic-bezier(0.7, 0, 0.33, 1);
}

@media screen and (max-width: 1024px) {
  .close_click {
    opacity: 1 !important;
    transform: translateY(0);
  }

  .close_click_dummy {
    display: none;
  }
}

.close_btn li {
  list-style: none;
  color: var(--df);
}

.npl-close-item {
  cursor: pointer;
}

.npl-close-overflow:hover .close_click_dummy {
  cursor: pointer;
  opacity: 1;
  transform: translateY(-110%);
  transition: 0.25s cubic-bezier(0.7, 0, 0.33, 1);
}

.grid_flex {
  display: flex;
  justify-content: center;
  height: 100vh;
  align-items: center;
}

.close_grids {
  display: grid;
  height: 65vh;
  grid-template-columns: repeat(8, 1fr);
  grid-template-areas:
    "first first second second third third fourth fourth"
    "fifth fifth sixth sixth seventh seventh eighth eighth";
  width: 60%;
  gap: 50px;
  position: relative;
  animation: gridAnimate 2s ease;
  padding-left: 20px;
  overflow-y: scroll;
  padding-bottom: 20px;
  color: var(--df);
}

@keyframes gridAnimate {
  0% {
    opacity: 0;
  }

  25% {
    opacity: 0;
  }

  100% {
    opacity: 1;
  }
}

.close_grids h3 {
  font-weight: 100;
  border-bottom: 1px solid white;
  height: 50px;
  font-family: Libre Baskerville, "sans-serif";
  font-style: italic;
}

.close_h3 {
  height: 50px;
}

.introduction_grid {
  grid-area: first;
}

.co_grid {
  grid-area: second;
}

.research_grid {
  grid-area: third;
}

.exhibution_grid {
  grid-area: fourth;
}

.supports_grid {
  grid-area: fifth;
}

.citizen_grid {
  grid-area: sixth;
}

.learning_grid {
  grid-area: seventh;
}

.glassPlate_grid {
  grid-area: eighth;
}

.par_line {
  border: none;
  width: 100%;
  margin-top: 10px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.par_line li {
  list-style: none;
}

.par_line li a {
  text-decoration: none;
  color: var(--gray);
}

.close_pattern {
  width: 100vw;
  height: 100vh;
  display: flex;
  position: absolute;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: -1;
  animation: patternAnimate 0.35s ease-in-out;
}

@keyframes patternAnimate {
  0% {
    transform: translateY(300px);
  }

  100% {
    transform: translateY(0);
  }
}

.close_pattern img {
  width: 85%;
  height: 90%;
  object-fit: cover;
  opacity: 0.2;
}

@media screen and (max-width: 1240px) {
  .close_grids {
    gap: 15px;
    grid-template-columns: 1fr 1fr;
    grid-template-areas:
      "first second" "third  fourth" "fifth  sixth "
      "seventh  eighth";
    padding-left: 40px;
  }
}

@media screen and (max-width: 600px) {
  .par_line {
    flex-direction: row;
    gap: 10px;
    margin: 20px 0 0 0;
    flex-wrap: wrap;
  }

  .close_grids {
    gap: 15px;
    grid-template-columns: 1fr;
    grid-template-areas:
      "first first" "second second" "third third" "fourth fourth" "fifth fifth" "sixth sixth "
      "seventh seventh" "eighth eighth";
  }

  .grid_flex {
    justify-content: start;
    margin-left: 40px;
  }
}
