body {
  overflow-x: hidden;
}

.test {
  padding-top: 0;
}

.testSection {
  display: none;
  flex-direction: column;
  max-width: 900px;
  margin: 0 auto;
  gap: 32px;
}

.testSection.active {
  display: flex;
}

.testSectionInner {
  display: flex;
}

.testSectionTop {
  width: 100%;
  height: 100%;
  display: flex;
  filter: drop-shadow(0 18px 40px rgba(0, 0, 0, 0.45));
  background: var(--cyan-linear);
  
  backdrop-filter: blur(8px) saturate(1.15);
  -webkit-backdrop-filter: blur(8px) saturate(1.15);

  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.10),
    inset 0 -1px 0 rgba(0, 0, 0, 0.35),
    0 10px 30px rgba(0, 0, 0, 0.35);
  clip-path: polygon(
      8% 0,
      92% 0,
      100% 50%,
      92% 100%,
      8% 100%,
      0 50%);
}

.testSectionLeft {
  width: 10%;
}

.testSectionMiddle {
  display: flex;
  flex-direction: column;
  padding: 24px;
  width: 80%;
  gap: 16px;
}

.testSectionMiddleTop {
  display: flex;
  gap: 12px;
}

.testSectionTopP {
  font-size: 20px;
  width: 45%;
}

.svgPolygon {
  fill: var(--colorBlue4);
}

.testSectionRight {
  width: 10%;
}

.testEvaluation {
  display: none;
  align-items: center;
  gap: 16px;
  padding: 20px;
  margin: 8px auto 24px;
  max-width: calc(900px * 0.8);
  background: var(--green-linear);
  border-radius: 8px;
}

.testEvaluation.active {
  display: block;
}

.testSectionMiddleMain {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.testCard {
  display: flex;
  justify-content: space-between;
  gap: 2%;
}

.testCardLeft {
  display: flex;
  flex-direction: column;
  width: 45%;
}

.testCardNumber {
  font-size: 16px;
  font-weight: 600;
  padding: 0;
  color: var(--colorGreen2);
}

.testWordGivenP {
  font-size: 22px;
  padding: 0;
}

.testCardRight {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 2px;
  width: 53%;
}

.testCorrect {
  padding-bottom: 16px;
}

.testWordGivenImg {
  width: 80%;
  border-radius: 8px;
}

.testDefinition {
  padding-bottom: 6px;
}

.testRightAnswer {
  display: none;
  color: var(--colorBlur);
  font-weight: 400;
  font-size: 16px;
}

.testInput {
  display: flex;
  padding-bottom: 20px;
  background: var(--blue-linear);
  border: none;
  font-size: 16px;
  font-weight: 400;
  color: var(--color);
  padding: 12px;
  margin-top: 4px;
  border-bottom: 2px solid var(--BG4);
  border-radius: 8px;
  width: 100%;
}

.testInputWrite::placeholder {
  color: var(--color);
}





.testButtons {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  margin: 0 10%;
}


@media (orientation: portrait) {
  .testSectionMiddleTop {
    display: none;
  }

  .testCard {
    flex-direction: column;
  }

  .testCardLeft {
    width: 100%;
  }

  .testCardRight {
    width: 100%;
  }

  .testSectionTop {
    clip-path: unset;
    border-radius: 8px;
  }
  


  .testSectionMiddle {
    width: 100%;
    padding: 12px 12px;
    border-radius: 8px;
  }

  .testSectionMiddleMain {
    gap: 12px;
  }

  .testWordGivenP {
    font-size: 18px;
  }

  .testInput {
     padding: 8px 12px;
     font-size: 14px;
  }

  .testSectionLeft {
    display: none;
  }

  .testSectionRight {
    display: none;
  }
}