@import url("https://fonts.googleapis.com/css2?family=Montserrat:wght@400;600;700&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Buenard:wght@400;700&display=swap");
*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  text-align: center;
  margin: 0 !important;
  padding: 0;
}

p, ul, ol {
  margin: 0;
}

a {
  text-decoration: none;
  color: inherit;
  width: 100%;
  display: block;
}

button {
  outline: none;
  border: none;
}

.match .background {
  position: fixed;
  z-index: -1;
  top: 0;
  left: 0;
  height: 100%;
  width: 100vw;
}
.match .background .overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  pointer-events: none;
}
.match .background .overlay.black {
  background-color: rgb(0, 0, 0);
}
.match .background .overlay.white {
  background-color: rgb(255, 255, 255);
}
.match .background.color {
  background-color: var(--bg-color);
}
.match-container {
  font-family: "Montserrat", sans-serif;
  max-width: 100%;
  min-height: 100vh;
  margin: 0 auto;
  padding: 10px 30px 30px;
  width: 100%;
}
.match-main {
  display: flex;
  flex-direction: column;
  justify-content: center;
  margin-bottom: 30px;
}
.match-main__block {
  position: relative;
  max-width: 500px;
  margin: auto;
}
.match-main__block::before {
  position: absolute;
  content: "";
  display: block;
  margin: 5px auto;
  height: 3px;
  width: 100%;
  bottom: -20px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--main-color, rgb(147, 72, 194));
}
.match-main__pic {
  display: block;
  width: 100%;
  max-width: 500px;
  max-height: 300px;
  margin: auto;
  overflow: hidden;
  border-radius: var(--image-border-radius, 30px);
}
.match-main__pic img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 300px;
  object-fit: cover;
}
.match-text {
  font-family: "TimesNewRoman", "Times New Roman", Times, sans-serif;
  color: #000;
  font-size: 28px;
  text-align: center;
  display: block;
  max-width: 600px;
  margin: 40px auto 10px;
  font-weight: 700;
}
.match-pre__header {
  font-family: "Helvetica", sans-serif;
  font-size: 24px;
  color: var(--main-color, rgb(147, 72, 194));
  text-align: center;
  margin: 30px auto;
}
.match-slider {
  max-width: 500px;
  position: relative;
  margin: 0 auto 15px;
  height: auto;
}
.match-slider__item {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  max-width: 500px;
  margin: 0 auto;
  width: 100%;
  height: auto;
  animation-name: fade;
  animation-duration: 1.5s;
}
.match-slider__item-question {
  color: #000;
  font-size: 18px;
  display: block;
  font-weight: 500;
  margin: 15px auto 8px;
  text-align: center;
}
.match-slider__item.last-slide {
  max-width: 100%;
  font-family: "Lato", sans-serif;
  position: absolute;
  top: 10vh;
}
.match-slider .answer {
  width: 100%;
  display: block;
  max-width: 450px;
  margin: 3px auto;
  cursor: pointer;
  padding: 3px 5px;
  line-height: 30px;
  border: 1px solid var(--main-color, rgb(147, 72, 194));
  border-radius: 6px;
  user-select: none;
  font-size: 18px;
  color: #000;
  transition: all 0.2s linear;
  font-weight: 300;
}
.match-slider .answer li:checked + p {
  background: var(--main-color, rgb(147, 72, 194));
  color: #fff;
}
.match-slider .answer:hover {
  background: var(--main-color, rgb(147, 72, 194));
  color: #fff;
  opacity: 0.8;
}
.match-slider .answer-items {
  max-width: 600px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  margin: 0 auto;
}
.match-slider .item__question {
  display: block;
  padding: 15px 10px;
  margin-top: 40px;
  border-radius: 20px;
  background: #fff;
  box-shadow: 0px -1px 21px 0px rgba(0, 0, 0, 0.75);
}
.match-slider .number__question {
  padding: 3px;
  background: var(--main-color, rgb(147, 72, 194));
  color: #fff;
  text-align: center;
  font-size: 20px;
  font-weight: bold;
  border-radius: 10px;
}
.match-slider .slideDescription {
  font-size: 20px;
  color: #000;
  text-align: left;
  padding: 10px 5px;
  margin-bottom: 15px;
}

@media (max-width: 1024px) {
  .match-pre__header {
    font-size: 18px;
  }
  .match-slider .answer-items {
    margin: 10px auto;
    flex-direction: column;
    align-items: center;
  }
  .match-slider .answer p {
    line-height: 18px;
    padding: 5px 10px;
  }
  .match-slider .item__question {
    margin-top: 40px;
  }
  .match-slider .item__question:last-child {
    margin-top: 50px;
  }
}
@media (max-width: 768px) {
  .match-main__pic {
    max-height: 250px;
  }
  .match-main__text {
    font-size: 22px;
  }
  .match-pre__header {
    font-size: 20px;
  }
  .match-slider__item-question {
    font-size: 16px;
  }
  .match-slider__item-question:last-child {
    height: 100%;
  }
  .match-slider .answer p {
    font-size: 16px;
  }
  .match-slider .number__question {
    font-size: 24px;
  }
}
@media screen and (max-width: 576px) {
  .match-container {
    max-width: 540px;
    display: flex;
    justify-content: center;
    flex-direction: column;
  }
  .match-slider {
    margin: 0 15px;
  }
  .match-slider .answer {
    padding: 3px 12px;
  }
  .match-slider .answer p {
    font-size: 14px;
  }
  .match-slider .number__question {
    font-size: 18px;
  }
  .match-slider .item__question {
    margin: 40px auto;
  }
  .match-slider .item__question:last-child {
    margin-top: 30px;
  }
  .match-slider__item-question {
    font-size: 14px;
    margin: 5px auto;
  }
  .match-main__pic img {
    margin-top: 0;
  }
  .match-text {
    font-size: 20px;
    margin-top: 24px;
  }
  .match-pre__header {
    font-size: 18px;
    margin: 20px auto;
  }
}
.animated-button1 {
  width: fit-content;
  background: var(--main-color, rgb(147, 72, 194));
  padding: 20px 40px;
  margin: 12px;
  display: inline-block;
  transform: translate(0%, 0%);
  overflow: hidden;
  color: #ffffff;
  font-size: 20px;
  letter-spacing: 2.5px;
  text-align: center;
  text-transform: uppercase;
  text-decoration: none;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
  cursor: pointer;
}
.animated-button1::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #ad8585;
  opacity: 0;
  -webkit-transition: 0.2s opacity ease-in-out;
  transition: 0.2s opacity ease-in-out;
}
.animated-button1:hover::before {
  opacity: 0.2;
}
.animated-button1 span {
  position: absolute;
}
.animated-button1 span:nth-child(1) {
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(to left, rgba(43, 8, 8, 0), #e8b7db);
  animation: 2s animateTop linear infinite;
}
.animated-button1 span:nth-child(2) {
  top: 0;
  right: 0;
  height: 100%;
  width: 2px;
  background: linear-gradient(to left, rgba(43, 8, 8, 0), #e8b7db);
  animation: 2s animateRight linear -1s infinite;
}
.animated-button1 span:nth-child(3) {
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(to left, rgba(43, 8, 8, 0), #e8b7db);
  animation: 2s animateBottom linear infinite;
}
.animated-button1 span:nth-child(4) {
  top: 0;
  left: 0;
  height: 100%;
  width: 2px;
  background: -webkit-gradient(linear, right top, left top, from(rgba(43, 8, 8, 0)), to(#efd2f3));
  background: linear-gradient(to left, rgba(43, 8, 8, 0), #e8b7db);
  -webkit-animation: 2s animateLeft linear -1s infinite;
  animation: 2s animateLeft linear -1s infinite;
}

@keyframes animateTop {
  0% {
    transform: translateX(100%);
  }
  100% {
    transform: translateX(-100%);
  }
}
@keyframes animateRight {
  0% {
    transform: translateY(100%);
  }
  100% {
    transform: translateY(-100%);
  }
}
@keyframes animateBottom {
  0% {
    transform: translateX(-100%);
  }
  100% {
    transform: translateX(100%);
  }
}
@keyframes animateLeft {
  0% {
    transform: translateY(-100%);
  }
  100% {
    transform: translateY(100%);
  }
}
@keyframes fromLeftToRightInfinite {
  from {
    background-position: -1000px 0;
  }
  to {
    background-position: 0 0;
  }
}
@keyframes fade {
  from {
    opacity: 0.4;
  }
  to {
    opacity: 1;
  }
}

/*# sourceMappingURL=match-quiz.css.map */
