body {
  display: flex;
  margin: 0;
  justify-content: center;
  flex-direction: column;
  min-height: 100vh;
}

.section-title {
  font-family: "Kanit", sans-serif;
  background-color: black;
  width: 100%;
  box-sizing: border-box;
  text-align: center;
  color: white;
  margin-top: 0;
  margin-bottom: 1vw;
}

/* header */

#main-view {
  display: flex;
  flex-direction: column;
  flex: 1;
}

@media (min-width: 1920px) {
  #main-view {
    min-height: 100vh;
  }
}

#header {
  background-color: black;
  height: 50px;
  width: 100%;
  flex: 0 1 auto;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 10px 0 10px 0;
}

.title {
  font-family: "Kanit", sans-serif;
  color: white;
  font-size: 250%;
}

/* slider */

#slider {
  flex: 1 1 auto;
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  margin: 20px 0 20px 0;
}

#slider-images-section {
  display: flex;
  flex-direction: row;
  overflow: hidden;
  width: 82%;
  transition: transform 0.4s ease;
  cursor: grab;
}

@media (max-width: 976px) {
  #slider-images-section {
    width: 100%;
  }
}

.image-container {
  min-width: 25vw;
  max-width: 25vw;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 1vw;
  transition: transform 0.5s ease;
}

@media (max-width: 976px) {
  .image-container {
    min-width: 50vw;
    max-width: 50vw;
    transform: translate(-27vw, 0);
  }
}

.image-container img {
  filter: blur(2px);
  width: 65%;
  justify-content: center;
  align-items: center;
  border-radius: 10px;
  user-select: none;
}

.center-image {
  width: 100% !important;
  filter: blur(0px) !important;
}

.arrow-button {
  padding: 1vw;
  background-color: black;
  border-radius: 1vw;
  box-sizing: border-box;
  color: white;
  cursor: pointer;
  display: inline-block;
  font-family: "Kanit", sans-serif;
  text-decoration: none;
  transition: all 300ms cubic-bezier(0.23, 1, 0.32, 1);
  user-select: none;
  width: 100%;
  will-change: transform;
  font-size: 4vw;
}
@media (min-width: 976px) {
  .arrow-button {
    font-size: 2rem;
  }
}
.arrow-button:hover {
  box-shadow: rgba(0, 0, 0, 0.25) 0 8px 15px;
  transform: translateY(-2px);
}

@media (max-width: 976px) {
  .arrow-button {
    display: none;
  }
}

/* galeria */

#gallery-container {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 100%;
}

.gallery__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  cursor: pointer;
}

.gallery__img:hover {
  transform: scale(1.02);
}

.gallery {
  display: grid;
  grid-template-columns: repeat(4, 16vw);
  grid-template-rows: repeat(5, 9vw);
  grid-gap: 1vw;
  margin-bottom: 1vw;
}

.gallery__item--1 {
  grid-column-start: 1;
  grid-column-end: 2;
  grid-row-start: 1;
  grid-row-end: 3;
}

.gallery__item--2 {
  grid-column-start: 1;
  grid-column-end: 2;
  grid-row-start: 3;
  grid-row-end: 4;
}

.gallery__item--3 {
  grid-column-start: 1;
  grid-column-end: 3;
  grid-row-start: 4;
  grid-row-end: 6;
}

.gallery__item--4 {
  grid-column-start: 2;
  grid-column-end: 3;
  grid-row-start: 1;
  grid-row-end: 2;
}

.gallery__item--5 {
  grid-column-start: 2;
  grid-column-end: 3;
  grid-row-start: 2;
  grid-row-end: 4;
}

.gallery__item--6 {
  grid-column-start: 3;
  grid-column-end: 5;
  grid-row-start: 1;
  grid-row-end: 3;
}

.gallery__item--7 {
  grid-column-start: 3;
  grid-column-end: 4;
  grid-row-start: 3;
  grid-row-end: 4;
}

.gallery__item--8 {
  grid-column-start: 3;
  grid-column-end: 4;
  grid-row-start: 4;
  grid-row-end: 6;
}
.gallery__item--9 {
  grid-column-start: 4;
  grid-column-end: 5;
  grid-row-start: 3;
  grid-row-end: 5;
}
.gallery__item--10 {
  grid-column-start: 4;
  grid-column-end: 5;
  grid-row-start: 5;
  grid-row-end: 6;
}

@media (max-width: 976px) {
  .gallery {
    display: grid;
    grid-template-columns: repeat(2, 40vw);
    grid-template-rows: repeat(10, 22.5vw);
    grid-gap: 1vw;
    margin-bottom: 1vw;
  }

  .gallery__item--1 {
    grid-column-start: 1;
    grid-column-end: 2;
    grid-row-start: 1;
    grid-row-end: 3;
  }

  .gallery__item--2 {
    grid-column-start: 1;
    grid-column-end: 2;
    grid-row-start: 3;
    grid-row-end: 4;
  }

  .gallery__item--3 {
    grid-column-start: 1;
    grid-column-end: 3;
    grid-row-start: 4;
    grid-row-end: 6;
  }

  .gallery__item--4 {
    grid-column-start: 2;
    grid-column-end: 3;
    grid-row-start: 1;
    grid-row-end: 2;
  }

  .gallery__item--5 {
    grid-column-start: 2;
    grid-column-end: 3;
    grid-row-start: 2;
    grid-row-end: 4;
  }

  .gallery__item--6 {
    grid-column-start: 1;
    grid-column-end: 3;
    grid-row-start: 9;
    grid-row-end: 11;
  }

  .gallery__item--7 {
    grid-column-start: 1;
    grid-column-end: 2;
    grid-row-start: 8;
    grid-row-end: 9;
  }

  .gallery__item--8 {
    grid-column-start: 1;
    grid-column-end: 2;
    grid-row-start: 6;
    grid-row-end: 8;
  }

  .gallery__item--9 {
    grid-column-start: 2;
    grid-column-end: 3;
    grid-row-start: 7;
    grid-row-end: 9;
  }

  .gallery__item--10 {
    grid-column-start: 2;
    grid-column-end: 3;
    grid-row-start: 6;
    grid-row-end: 7;
  }
}

/* footer */

#footer {
  display: flex;
  height: 30px;
  width: 100%;
  background-color: black;
  justify-content: center;
  align-items: center;
  margin-top: auto;
}

#footer p {
  font-family: "Sofia Sans", sans-serif;
  color: white;
}

/* profile */

.profile {
  width: 50%;
  display: flex;
  flex-direction: row;
  justify-content: center;
  margin: 30px auto 30px auto;
}

.profile-image {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

.profile-image img {
  box-shadow: -50px -50px 0 -40px black, 50px 50px 0 -40px black;
  width: 150px;
  height: 150px;
  max-width: 30vw;
  max-height: 30vw;
}

.profile-description {
  width: 100%;
  flex: 1;
  font-family: "Kanit", sans-serif, monospace;
  font-size: 1rem;
}

.profile-description h2 {
  text-align: left;
}

@media (max-width: 976px) {
  .profile {
    width: 95%;
    margin-right: 5px;
    margin-left: 5px;
  }

  .profile-description {
    font-size: 0.75rem;
  }
}

/* modal */

#modal-image {
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.4);
  position: fixed;
  top: 0;
  display: none;
  z-index: 999;
}

#modal-image img {
  max-height: 80%;
  max-width: 90%;
  margin: auto;
  display: flex;
  border-radius: 10px;
  z-index: 999;
}

/* menu */

#menu {
  transition: left 0.4s, box-shadow ease 0.4s;
  z-index: 9999;
  position: fixed;
  top: 0;
  left: -250px;
  background-color: black;
  width: 250px;
  height: 100%;
}

#toggle-menu {
  transition: transform 0.4s ease;
  display: block;
  overflow: hidden;
  z-index: 9999;
  position: fixed;
  top: 10px;
  left: 10px;
  background-color: black;
  width: 50px;
  height: 50px;
  cursor: pointer;
  border-radius: 100%;
}

.menu-bar {
  transition: transform 0.4s ease-in-out;
  display: block;
  background-color: #ffffff;
  margin: 0 auto;
  margin-bottom: 6px;
  width: 20px;
  height: 2px;
}

.menu-bar-1 {
  margin-top: 5px;
}

.clicked {
  box-shadow: 0 0 5px #181818;
  transform: translate(250px, 0px);
}

.clicked .menu-bar-1 {
  transform: rotate(-45deg) translate(-6px, 6px);
}

.clicked .menu-bar-2 {
  transform: translate(100px);
}

.clicked .menu-bar-3 {
  transform: rotate(45deg) translate(-5px, -5px);
}

#menu h3 {
  text-align: center;
  font-weight: bold;
  font-size: 18px;
  font-family: "Kanit", sans-serif;
  color: white;
}

ul {
  list-style: none;
}
/* .current-image {
  animation: fadeInOut 1s ease-in-out;
}
@keyframes fadeInOut {
  15% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
} */

#menu-content {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
}

#menu-links {
  margin: 10px;
}

#menu-links ul {
  padding: 0;
}

#menu-links ul li a {
  font-size: 100%;
  color: white;
  font-family: "Kanit", sans-serif;
  text-decoration: none;
}

#menu-contact {
  color: white;
  font-family: "Kanit", sans-serif;
  margin: 10px;
}
