@charset "UTF-8";
.sec-resource-list {
  padding: 12rem 0 4rem;
}
.sec-resource-list .header-ct {
  padding: 0 10px;
}
.sec-resource-list .header-title {
  color: #606060;
  margin-bottom: 1rem;
  font-size: 2.2rem;
}
.sec-resource-list .header-txt {
  margin-bottom: 1rem;
  padding: 1.5rem 5px;
  border-top: 1px solid #a4a5a6;
  border-bottom: 1px solid #a4a5a6;
  /* margin: 0 40px; */
}

.resource-ct {
  max-width: 1000px;
  margin: 0 auto;
}

.resource-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}

.resource-item-ct {
  width: 33.33%;
  padding: 10px;
}

.resource-item {
  height: 100%;
  background: white;
  padding: 15px;
  border-radius: 10px;
  /* box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08); */
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
  border: 1px solid #eee;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: left;
}
.resource-item .item-cover {
  width: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  border-radius: 5px;
  margin-bottom: 15px;
  background-color: #eee;
}
.resource-item .item-info {
  /* flex-grow: 1; */
  width: 100%;
  padding: 0 15px;
}
.resource-item .item-title {
  font-size: 18px;
  font-weight: bold;
  color: #333;
  margin-bottom: 8px;
  line-height: 1.3;
}
.resource-item .item-desc {
  color: #666;
  font-size: 14px;
  padding: 5px 0 10px;
}
.resource-item .item-desc .btn-download {
  color: #fff;
  box-shadow: 0 2px 6px 0 rgba(0, 0, 0, 0.26);
  padding: 5px 8px;
  background-color: #568e56;
}

.resource-item:hover {
  transform: translateY(-3px);
}

#pdf-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.95);
  z-index: 10001;
  overflow-y: auto;
  display: none;
  padding: 20px 0 90px;
}

#pdf-overlay.is-active {
  display: block;
}

.overlay-content {
  display: flex;
  flex-direction: row;
  align-items: center;
  width: -moz-fit-content;
  width: fit-content;
  margin: 0 auto;
  border-radius: 4px;
  position: relative;
  min-height: 100%;
  justify-content: center;
}

.close-btn {
  position: fixed;
  top: 20px;
  right: 20px;
  color: #fff;
  font-size: 35px;
  font-weight: bold;
  cursor: pointer;
  z-index: 10002;
  background: rgba(96, 96, 96, 0.5);
  width: 50px;
  height: 50px;
  line-height: 50px;
  border-radius: 50%;
  text-align: center;
}

.close-btn:hover {
  color: #ff4444;
}

.controls {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  padding: 10px 12px;
  border-radius: 50px;
  display: flex;
  z-index: 10000;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
  color: white;
  font-size: 13px;
  align-items: center;
  -webkit-backdrop-filter: blur(8px);
          backdrop-filter: blur(8px);
  background-color: rgba(0, 0, 0, 0.6);
  text-wrap-mode: nowrap;
}
.controls button {
  padding: 8px 16px;
  cursor: pointer;
  border: none;
  background-color: #007bff;
  color: white;
  border-radius: 20px;
}
.controls button:hover {
  background-color: #0056b3;
}
.controls button.disabled {
  opacity: 0.6;
  cursor: not-allowed;
  background-color: rgba(95, 95, 95, 0);
}
.controls .txt-ct {
  margin: 0 15px;
}
.controls span {
  margin: 0 5px;
}

canvas {
  display: block;
  background-color: white;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
  max-width: 100%;
  -moz-user-select: none;
       user-select: none;
  -webkit-user-select: none;
  cursor: pointer;
  transition: opacity 0.1s ease;
}

canvas:active {
  transform: scale(0.995);
}

.fade-out {
  opacity: 0.6;
}

#loading-msg {
  display: none;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: white;
  font-size: 20px;
}

/* Desktop */
@media (min-width: 1025px) {
  .resource-item-ct {
    width: 33.33%;
    padding: 10px;
  }
}
/* Desktop → Tablet */
/* Tablet */
@media (min-width: 601px) and (max-width: 1024px) {
  .sec-resource-list {
    padding: 4rem 0 2rem;
  }
  .resource-item-ct {
    width: 50%;
    padding: 10px;
  }
}
/* Tablet → Mobile */
/* Mobile */
@media (max-width: 600px) {
  .sec-resource-list {
    padding: 2rem 0 2rem;
  }
  .sec-resource-list .sec-title {
    font-size: 1.6rem;
    /* text-align: center; */
  }
  .resource-item-ct {
    width: 100%;
    padding: 10px;
  }
}/*# sourceMappingURL=resource.css.map */