.gallery-section {
  padding-top: 100px;
  padding-bottom: 100px;
  position: relative;
}

.gallery-header {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: flex-start;
}

.gallery-header .dash {
  width: 50px;
  height: 5px;
  background-color: var(--colorSecondary);
  margin-right: 20px;
}

.gallery-header .header {
  font-size: 50px;
  color: var(--colorSecondary);
  font-weight: bold;
}

.gallery-section .showcase {
  width: 100%;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: flex-start;
  height: 800px;
  margin-top: 30px;
}

.gallery-section .showcase .video {
  width: 25%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.gallery-section .showcase .video .iframe {
  height: 98%;
  width: 100%;
  /* aspect-ratio: 9 / 16; */
  background-color: var(--colorPrimary);
  border-radius: 10px;
  overflow: hidden;
  /* margin: 10px; */
}

.gallery-section .showcase .images {
  width: 70%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.gallery-section .showcase .images-row {
  width: 100%;
  height: 49%;
  display: flex;
  flex-direction: row;
}

.gallery-section .showcase .images .images-row .image {
  height: 100%;
  background-color: var(--colorPrimary);
  border-radius: 10px;
  overflow: hidden;
  margin: 10px;
}

.gallery-section .showcase .images img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gallery-section .showcase .images .images-row-1 .image:nth-child(1) {
  width: 45%;
}
.gallery-section .showcase .images .images-row-1 .image:nth-child(2) {
  width: 20%;
}
.gallery-section .showcase .images .images-row-1 .image:nth-child(3) {
  width: 35%;
}

.gallery-section .showcase .images .images-row-2 .image:nth-child(1) {
  width: 20%;
}
.gallery-section .showcase .images .images-row-2 .image:nth-child(2) {
  width: 34%;
}
.gallery-section .showcase .images .images-row-2 .image:nth-child(3) {
  width: 45%;
}

.gallery-dialog {
  position: fixed;
  display: none;
  left: 0;
  top: 0;
  width: 100%;
  height: 100vh;
  z-index: 1100;
}

.gallery-dialog .bg {
  width: 100%;
  background-color: black;
  opacity: 0.5;
  z-index: 1101;
  height: 100%;
  position: fixed;
  left: 0;
  top: 0;
  width: 100%;
  height: 100vh;
}

.gallery-dialog .panel {
  z-index: 1102;
  width: 100%;
  /* max-width: 1500px; */
  margin: 100px 200px;
  border-radius: 20px;
  overflow: hidden;
  /* height: 100vh; */
  background-color: white;
  position: relative;
}

.gallery-dialog .panel .top {
  width: 100%;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  padding: 20px;
  position: absolute;
  z-index: 1110;
  top: 0;
  background-color: white;
  left: 0;
  box-shadow: rgba(99, 99, 99, 0.2) 0px 2px 8px 0px;
}

.gallery-dialog .panel .content {
  width: 100%;
  height: 100%;
  /* padding: 30px; */
  z-index: 1105;
  position: relative;
}

.gallery-dialog .panel .content img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

@media (max-width: 768px) {
  .gallery-header .header {
    font-size: 30px;
  }
  .gallery-section .showcase {
    flex-direction: column;
    justify-content: flex-start;
    height: unset;
  }

  .gallery-section .showcase .video {
    width: 100%;
    height: 500px;
  }

  .gallery-section .showcase .images {
    width: 100%;
    height: unset;
  }

  .gallery-section .showcase .images-row {
    width: 100%;
    flex-wrap: wrap;
  }

  .gallery-section .showcase .images .images-row-1 .image:nth-child(1) {
    width: 45%;
  }
  .gallery-section .showcase .images .images-row-1 .image:nth-child(2) {
    width: 45%;
  }
  .gallery-section .showcase .images .images-row-1 .image:nth-child(3) {
    width: 100%;
  }

  .gallery-section .showcase .images .images-row-2 .image:nth-child(1) {
    width: 45%;
  }
  .gallery-section .showcase .images .images-row-2 .image:nth-child(2) {
    width: 45%;
  }
  .gallery-section .showcase .images .images-row-2 .image:nth-child(3) {
    width: 100%;
  }

  .gallery-section .showcase .images .images-row .image {
    height: 300px;
    margin: 10px;
  }

  .gallery-dialog .panel {
    margin: 100px 30px;
  }
}
