@charset "utf-8";
@import "common.css";

#mainImg {
  background-image: url(../img/mainImg/Qlik_mainImg.jpg);
  background-position: top 88% center;
}

/* content */
#sec01 {
  display: flex;
  justify-content: space-around;
  margin: 100px 0;
}
#sec02 {
  display: flex;
  justify-content: space-around;
}
.learnMore {
  position: relative;
  width: 22%;
  min-height: 150px;
  padding: 20px 20px 30px;
  border: 1px solid #ccc;
}
.learnMore::after {
  content: "";
  display: block;
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 100%;
  height: 2px;
  background: var(--primary);
}
.learnMore h4 {
  color: #2e4478;
  font-size: 1.1em;
  text-decoration: underline;
  text-underline-position: under;
  position: relative;
  top: 15%;
  transform: translateY(-50%);
}
.learnMore img {
  margin-bottom: 20px;
}
.learnMore:hover {
  cursor: pointer;
}
.learnMore:hover h4 {
  text-decoration: none;
}
.morePopBg {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 150;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
}
.morePopBg:hover {
  cursor: pointer;
}
.morePop {
  display: none;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 200;
  width: 70%;
  min-height: 50%;
  height: auto;
  padding: 30px;
  background-color: #fff;
  text-align: center;
}
.popContent {
  display: flex;
  justify-content: space-around;
}
.closeBtn {
  position: absolute;
  top: 0;
  right: 0;
  transform: translate(100%, 0);
  /* padding: 8px 15px; */
  width: 30px;
  height: 30px;
  background-color: #ff7777;
  color: #fff;
  /* border-radius: 5px; */
  /* transition: 0.2s; */
  box-shadow: 2px 2px 6px #ffffff80;
}
.closeBtn:hover {
  cursor: pointer;
  color: #f5f5f5;
  background-color: #ff7777b7;
}
.closeBtn::before,
.closeBtn::after {
  content: "";
  display: block;
  position: absolute;
  top: 50%;
  left: 50%;
  width: 18px;
  height: 3px;
  /* border-radius: 10px; */
  background-color: var(--white);
  transform: translate(-50%, -50%) rotate(-45deg);
}
.closeBtn::after {
  transform: translate(-50%, -50%) rotate(45deg);
}
.popText {
  width: 35%;
  word-wrap: break-word;
  text-align: left;
}
.popText h4 {
  font-size: 1.4em;
  text-align: center;
  margin: 10px 0 25px;
}
.popText p {
  opacity: 0.8;
  font-weight: 500;
  line-height: 30px;
}
.morePop img,
.morePop video {
  width: 60%;
}

.infoShort {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  padding: 10px;
  background: #fff;
  opacity: 0;
  transition: opacity .6s;
}
.infoShort:hover {
  opacity: 1;
}
.infoShort button {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  height: 36px;
  background: var(--primary);
  color: white;
}
.infoShort button::after {
  content: "";
  display: inline-block;
  position: relative;
  top: 10%;
  margin-left: 5px;
  width: 18px;
  height: 18px;
  background: url(../img/icon/newtab.svg);
}

/* mobile */
.mobile #mainImg .wBox {
  margin: 0 10vw;
}
.mobile #mainImg .wBox h3 {
  font-size: 2rem;
}
.mobile .content .wBox {
  margin: 0;
}
.mobile .content .wBox h3 {
  margin: 0 15vw;
}
.mobile #sec01 {
  margin-bottom: 30px;
}
.mobile #sec01,
.mobile #sec02 {
  align-items: center;
  flex-direction: column;
  flex-wrap: wrap;
  gap: 30px;
}
.mobile .learnMore {
  width: 90%;
  padding: 20px;
}

.mobile .morePop {
  flex-direction: column;
  justify-content: space-between;
  align-items: flex-end;
  top: 0;
  left: 0;
  transform: translate(0,0);
  width: 100%;
  height: 100%;
  overflow-y: scroll;
}
.mobile .popContent {
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
}
.mobile iframe,
.mobile .morePop img {
  width: 80%;
  /* max-height: 30%; */
  /* aspect-ratio: 1.5/1; */
}
.mobile .popText {
  width: 100%;
}
.mobile .closeBtn {
  position: static;
  width: 100vw;
  height: 50px;
  transform: translate(30px, 30px);
}
