.main-content {
  width: 100%;
  height: calc(100% - 100px);
  overflow: auto;
  background-image: url("../img/bg-popup.png");
  background-position: center;
  background-size: cover;
}
.content {
  padding: 40px 8%;
}
.video {
  position: relative;
}
.thumb-video {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.thumb-video-play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 1;
  object-fit: cover;
}
.list-items {
  margin-top: 40px;
  position: relative;
}
.list-items-mobile {
  display: none;
}

.item {
  cursor: pointer;
  padding: 10px;
  text-align: center;
}
.item > div {
  background-image: url("../img/gioithieu-item.png");
  background-position: center;
  background-size: cover;
  aspect-ratio: 3 / 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  box-shadow: 0px 4px 4px 0px #00000040;
  padding: 0 10px;
}
.item h3 {
  font-family: var(--font-family-bold);
  font-size: 20px;
}
.item p {
  font-size: 16px;
  line-height: 1.5;
  margin-top: 4px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}
.item button {
  font-size: 16px;
  margin-top: 10px;
  padding: 8px 20px;
  background-color: var(--color-pink);
  color: #fff;
  border-radius: 8px;
  border: none;
  outline: none;
}

.swiper-slide img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.controls {
  position: absolute;
  width: 100%;
  top: 50%;
  transform: translateY(-50%);
}
.controls #back-button {
  position: absolute;
  transform: translateX(-150%);
}
.controls #next-button {
  position: absolute;
  right: 0;
  transform: translateX(150%);
}

.pdf-viewer {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: #000000ad;
  z-index: 20;
  padding: 20px;
}
.pdf-viewer iframe {
  width: 100%;
  height: 100%;
  position: relative;
}
.pdf-viewer #pdf-viewer-close {
  position: absolute;
  top: 20px;
  right: 20px;
  background-color: #fff;
}

.show {
  display: block;
}
@media only screen and (max-width: 320px) {
  .container {
    padding: 0 10px;
  }

  .header-content .logo img {
    width: 90%;
    margin-bottom: 30px;
  }
  .header {
    height: auto;
    text-align: center;
  }
}

@media only screen and (max-width: 1080px) {
  .container {
    padding: 0 10px;
  }
  .list-items.list-items-wide {
    display: none !important;
  }
  .list-items.list-items-mobile {
    display: flex !important;
  }
  .list-items.list-items-mobile .item {
    margin-top: 20px;
  }
}

@media only screen and (max-width: 768px) {
  .content {
    padding: 0;
  }
  .main-content {
    overflow-x: hidden;
  }
}
