/*Results*/
.result-wrapper {
  display: block;
  /* display: block; */
  margin-top: 50px;
  padding-bottom: 50px;
}

.result-wrapper .result-card {
  display: block;
  width: 100%;
}

.result-wrapper .result-card.result-1-1-card {
  /* display: block; */
}

.result-wrapper .result-card.active {
  display: block;
}

.result-wrapper .result-card .desc-wrapper {
  display: block;
  background-color: #fff;
  box-shadow: 0px 0px 10px 5px rgba(126, 126, 126, 0.3);
  border-radius: 20px;
}

.result-wrapper .result-card .desc {
  background-color: #fff;
  min-height: 500px;
}

/*Card image*/
.result-card .desc .left {
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center center;
  border-radius: 20px;
}
.result-1-1-card .desc .left {
  background-image: url("../images/result/bg/desktop/card-1.png");
  /* background-position: center 40%; */
}
.result-1-2-card .desc .left {
  background-image: url("../images/result/bg/desktop/card-1.png");
  /* background-position: center 40%; */
}
.result-2-1-card .desc .left {
  background-image: url("../images/result/bg/desktop/card-2.svg");
}
.result-2-2-card .desc .left {
  background-image: url("../images/result/bg/desktop/card-2.svg");
}
.result-3-1-card .desc .left {
  background-image: url("../images/result/bg/desktop/card-3.png");
  /* background-position: center 40%; */
}
.result-3-2-card .desc .left {
  background-image: url("../images/result/bg/desktop/card-3.png");
  /* background-position: center 40%; */
}
.result-4-1-card .desc .left {
  background-image: url("../images/result/bg/desktop/card-4.png");
  /* background-position: center 20%; */
}
.result-4-2-card .desc .left {
  background-image: url("../images/result/bg/desktop/card-4.png");
  /* background-position: center 20%; */
}
.result-5-1-card .desc .left {
  background-image: url("../images/result/bg/desktop/card-5.png");
}
.result-5-2-card .desc .left {
  background-image: url("../images/result/bg/desktop/card-5.png");
}
.result-6-1-card .desc .left {
  background-image: url("../images/result/bg/desktop/card-6.png");
  /* background-position: center 45%; */
}
.result-6-2-card .desc .left {
  background-image: url("../images/result/bg/desktop/card-6.png");
  /* background-position: center 45%; */
}
.result-7-2-card .desc .left {
  background-image: url("../images/result/bg/desktop/card-7.png");
  /* background-position: center 30%; */
}

/*Result description*/
.result-card .desc {
  position: relative;
  z-index: 20;
  display: flex;
  width: 100%;
  border-radius: 20px;
}

.result-card .desc .heart-container {
  bottom: 0;
  left: 0;
  position: absolute;
  right: 0;
  top: 0;
  z-index: -10;
}

/*Heart*/
.result-card .desc .heart-1,
.result-card .desc .heart-2,
.result-card .desc .heart-3,
.result-card .desc .heart-4 {
  position: absolute;
  z-index: 2;
  display: block;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center top;
}

.result-card .desc .heart-1,
.result-card .desc .heart-2 {
  background-image: url("../images/result-heart.png");
}

.result-card .desc .heart-3,
.result-card .desc .heart-4 {
  background-image: url("../images/result-heart-2.png");
}

.result-card .desc .heart-1 {
  top: 100px;
  left: 0px;
  width: 36px;
  height: 32px;
  transform: rotate(15deg);
}

.result-card .desc .heart-2 {
  width: 122px;
  height: 117px;
}

.result-card .desc .heart-3 {
  top: 120px;
  right: -100px;
  width: 91px;
  height: 84px;
}

.result-card .desc .heart-4 {
  width: 28px;
  height: 26px;
  transform: rotate(15deg);
}

.result-card .desc .left {
  display: block;
  width: 35%;
}

.result-card .desc .right {
  display: block;
  width: 65%;
  padding: 30px 30px 60px 30px;
}

.result-card .desc .right h1 {
  display: block;
  font-size: 45px;
  color: #020966;
  font-family: "Ekachon-Bold";
  line-height: 1.3;
  padding-right: 50px;
  margin-bottom: 10px;
}

.result-card .desc .right h1 span {
  color: #fe5f20;
}

.result-card .desc .right .subtitle {
  display: block;
  width: 100%;
  font-size: 20px;
  color: #787785;
  line-height: 1.3;
  margin-bottom: 50px;
}

.result-card .desc .right .car-match {
  display: block;
  width: 100%;
}

.result-card .desc .right .car-match h3 {
  display: block;
  font-size: 20px;
  color: #020966;
  line-height: 1.3;
  margin-bottom: 10px;
}

.result-card .desc .right .car-match ul {
  list-style-type: none;
  display: flex;
  width: 100%;
  margin-bottom: 40px;
}

.result-card .desc .right .car-match ul li {
  display: flex;
  flex-direction: column;
  width: calc(33.33% - 10px);
  margin-right: 20px;
}

.result-card .desc .right .car-match ul li:last-child {
  margin-right: 0;
}

.result-card .desc .right .car-match ul li figure {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 170px;
  background-color: #f1f1f1;
  border-radius: 15px;
  margin-bottom: 10px;
}

.result-card .desc .right .car-match ul li img {
  width: auto;
  max-width: 90%;
}

.result-card .desc .right .car-match ul li h4 {
  display: block;
  font-size: 20px;
  color: #fe5f20;
  line-height: 1.3;
}

.result-card .desc .right .share {
  position: absolute;
  top: 20px;
  right: 30px;
  display: block;
  width: 53px;
  height: 56px;
  background-image: url("../images/result/btn-share.svg");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center top;
  background-color: #fd5f20;
  transition: ease-in-out 0.3s;
  border: 0;
  border-radius: 50%;
  box-shadow: 0px 0px 10px 5px rgba(126, 126, 126, 0.3);
}

.result-card .desc .right .share:hover {
  background-image: url("../images/result/btn-share-hover.svg");
}

.result-card .desc .right .share:active {
  background-image: url("../images/result/btn-share.svg");
}

.result-card .desc .right .qr-code-wrapper {
  position: absolute;
  right: 30px;
  bottom: 50px;
  width: 130px;
  height: 130px;
  cursor: pointer;
}

.result-card .desc .right .qr-code-wrapper img {
  border-radius: 20px;
}

.result-card .desc .right .qr-code-wrapper p {
  font-size: 13px;
  color: #646464;
  text-align: center;
  line-height: 1.2;
  padding-top: 5px;
}

/*Color*/
.result-card .desc .right .color h3 {
  display: block;
  font-size: 20px;
  color: #020966;
  line-height: 1.3;
  margin-bottom: 15px;
}

.result-card .desc .right .color .result-color {
  display: none;
  justify-content: left;
  list-style: none;
  margin-left: -15px;
}

.result-card .desc .right .color .result-color li {
  display: block;
  width: 50px;
  text-align: center;
  /* margin-right: 25px; */
}

.result-card .desc .right .color .result-color .name {
  display: block;
  font-size: 14px;
  color: #787785;
  line-height: 1.3;
}

.result-card .desc .right .color .result-color .shade {
  display: block;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  margin: auto;
  margin-bottom: 7px;
}
.result-card .desc .right .color .result-color .shade.blue {
  background-color: #47acff;
}
.result-card .desc .right .color .result-color .shade.orange {
  background-color: #ff5f1f;
}
.result-card .desc .right .color .result-color .shade.yellow {
  background-color: #ffbf40;
}
.result-card .desc .right .color .result-color .shade.black {
  background-color: #000;
}
.result-card .desc .right .color .result-color .shade.navy {
  background-color: #004bff;
}
.result-card .desc .right .color .result-color .shade.gold {
  background-image: linear-gradient(to bottom left, #cb983f, #faef9f, #cb983f);
}
.result-card .desc .right .color .result-color .shade.red {
  background-color: #f22020;
}
.result-card .desc .right .color .result-color .shade.pink {
  background-color: #ff73d0;
}
.result-card .desc .right .color .result-color .shade.bronze {
  background-image: linear-gradient(
    to bottom left,
    #c8c8ce,
    rgb(250, 250, 250),
    #c8c8ce
  );
}
.result-card .desc .right .color .result-color .shade.gray {
  background-color: #c8c8ce;
}
.result-card .desc .right .color .result-color .shade.brown {
  background-color: #965f39;
}
.result-card .desc .right .color .result-color .shade.white {
  background-color: #fff;
  border: 1px solid #000;
}
.result-card .desc .right .color .result-color .shade.cream {
  background-color: #ebd9c5;
}

/*Button*/
.result-wrapper .button-result-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 50px;
  padding: 20px 30px 10px 30px;
}

.result-wrapper .button-result-wrapper .restart {
  display: block;
  width: 181px;
  height: 84px;
  background-image: url("../images/result/button-restart.png");
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center top;
  background-color: transparent;
  border: 0;
  transition: ease-in-out 0.3s;
}

.result-wrapper .button-result-wrapper .restart:hover {
  background-image: url("../images/result/button-restart-hover.png");
}

.result-wrapper .more {
  display: block;
  width: 181px;
  height: 60px;
  background-image: url("../images/result/button-see-more.png");
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center top;
  background-color: transparent;
  border: 0;
  transition: ease-in-out 0.3s;
}

.result-wrapper .more:hover {
  background-image: url("../images/result/button-see-more-hover.png");
}

.result-wrapper .right .more {
  display: none;
}

.modal {
  display: none; /* Hidden by default */
  position: fixed; /* Stay in place */
  z-index: 100; /* Sit on top */
  left: 0;
  top: 0;
  width: 100%; /* Full width */
  height: 100%; /* Full height */
  overflow: auto; /* Enable scroll if needed */
  background-color: rgb(0, 0, 0); /* Fallback color */
  background-color: rgba(0, 0, 0, 0.4); /* Black w/ opacity */
}

/* Modal Content/Box */
.modal-content {
  background-color: transparent;
  width: 100%; /* Could be more or less, depending on screen size */
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* The Close Button */
.close {
  color: #aaa;
  float: right;
  font-size: 28px;
  font-weight: bold;
}

.close:hover,
.close:focus {
  color: black;
  text-decoration: none;
  cursor: pointer;
}

.qr-modal {
  position: relative;
  display: block;
  width: 30%;
}
