@import url("https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap");

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  text-decoration: none;
  font-family: "Poppins", sans-serif;
  font-weight: 500;
  font-style: normal;
}

body,
html {
  background: #202124;
  overflow: hidden;
  position: fixed;
}

body.absolute,
html.absolute {
  position: absolute;
}

.screen {
  width: 100dvw;
  height: 100dvh;
}

/***************Part 1***************/

.part-1 {
  width: 100%;
  height: 100%;
  animation: fade-in 1s linear forwards;
  opacity: 0;
  animation-delay: 3s;
}

.fade-out {
  animation: fade-out 0.5s linear forwards;
}

.fade-out-2 {
  animation: part-1-fade-out 0.5s linear forwards;
}

.fade-in {
  animation: fade-in 0.5s linear forwards;
}

.explanation {
  width: 100%;
  height: 50%;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  text-align: center;
  color: #e8eaed;
  font-size: 30px;
  padding: 0 10px;
}

.human-title {
  width: 100%;
  height: 8%;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  color: #e8eaed;
  font-size: 20px;
}

.container-input {
  width: 100%;
  height: 10%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.input {
  width: 250px;
  height: 50px;
  background: #d9d9d9;
  border-radius: 5px;
  border: none;
  outline: none;
  font-size: 20px;
  padding: 20px;
}

.container-submit {
  width: 100%;
  height: 50px;
  display: flex;
  justify-content: center;
  align-items: flex-end;
}

.submit {
  width: 100px;
  height: 35px;
  color: #fff;
  background: #4972ff;
  border: none;
  border-radius: 5px;
  cursor: pointer;
}

.submit:hover {
  background: #0039fc;
  transition: 0.4s;
}

.error {
  color: red;
  width: 100%;
  height: 50px;
  display: flex;
  justify-content: center;
  align-items: center;
}

@keyframes fade-in {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

@keyframes fade-out {
  0% {
    opacity: 1;
  }
  100% {
    opacity: 0;
  }
}

@keyframes part-1-fade-out {
  0% {
    opacity: 1;
    transform: translateX(0);
  }
  100% {
    opacity: 0;
    transform: translateX(25%);
  }
}

/***************Greetings***************/

.container-greetings {
  width: 100%;
  height: 100%;
  display: none;
}

.hello {
  width: 100%;
  height: 50%;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  text-align: center;
  color: #e8eaed;
  font-size: 30px;
}

/***************Part 2 and 3***************/

.part-2,
.part-3 {
  width: 100%;
  height: 100%;
  flex-direction: column;
  justify-content: space-evenly;
  align-items: center;
  text-align: center;
  display: none;
}

.question-1,
.question-2 {
  font-size: 30px;
  background: linear-gradient(to right, #4773fc, #e1e8ff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.box-answer {
  width: 80%;
  height: 30%;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  background: #d9d9d9;
  border-radius: 30px;
  padding: 0 25px;
  cursor: pointer;
}

.answer {
  font-size: 23px;
}

.or {
  font-size: 30px;
  background: linear-gradient(to right, #4773fc, #e1e8ff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/***************Explanation***************/

.container-explanation {
  width: 100%;
  height: 100%;
  display: none;
}

.explanation-2 {
  width: 100%;
  height: 100%;
  background: linear-gradient(to right, #4773fc, #e1e8ff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: #e8eaed;
  font-size: 30px;
  padding: 0 25px;
}

/***************Images***************/

.container-images-all-parts {
  width: 100%;
  height: 100%;
  display: none;
}

.question-3 {
  width: 100%;
  height: 20%;
  background: linear-gradient(to right, #4773fc, #e1e8ff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: #e8eaed;
  font-size: 30px;
  padding: 0 25px;
}

/***************Images Part 1***************/

.containers-pictures-1,
.containers-pictures-2,
.containers-pictures-3,
.containers-pictures-4 {
  width: 100%;
  height: 80%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.container-height-images {
  max-width: 90%;
  max-height: 80%;
  display: flex;
  flex-flow: row wrap;
  justify-content: center;
  align-items: center;
  gap: 25px;
}

.image-1,
.image-2,
.image-3,
.image-4 {
  width: 250px;
  height: 250px;
  border-radius: 25px;
  cursor: pointer;
}

/***************Ending***************/

.results-section {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: #e8eaed;
  padding: 0 25px;
}

.results-heading {
  font-size: 30px;
  margin-bottom: 20px;
  background: linear-gradient(to right, #4773fc, #e1e8ff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  opacity: 0;
}

.result-description-1,
.result-description-2,
.result-description-3,
.result-description-4 {
  font-size: 20px;
  background: linear-gradient(to right, #4773fc, #e1e8ff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  opacity: 0;
  display: none;
  text-align: center;
}
/***************Shapes***************/

.circle {
  position: absolute;
  left: 85%;
  top: 20%;
  width: 150px;
  height: 150px;
  background: #44464d;
  border-radius: 50%;
  z-index: -1;
  opacity: 0;
  animation: circle-animation 1s linear forwards;
  animation-delay: 1s;
}

.square {
  position: absolute;
  left: 50%;
  top: 82%;
  width: 150px;
  height: 150px;
  background: #011143;
  transform: rotate(20deg);
  z-index: -1;
  opacity: 0;
  pointer-events: none;
  animation: square-animation 1s linear forwards;
}

.triangle {
  position: absolute;
  left: 5%;
  top: 5%;
  border-bottom: 200px solid #000000;
  border-left: 105px solid transparent;
  border-right: 105px solid transparent;
  transform: rotate(70deg);
  z-index: -1;
  animation: triangle-animation 1s linear forwards;
  animation-delay: 2s;
  opacity: 0;
}

@keyframes circle-animation {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

@keyframes square-animation {
  0% {
    transform: rotate(0deg);
    opacity: 0;
  }
  50% {
    transform: translate(0, -50%) rotate(10deg);
  }
  100% {
    transform: translate(0, 0) rotate(20deg);
    opacity: 1;
  }
}

@keyframes triangle-animation {
  0% {
    transform: rotate(0deg);
    opacity: 0;
  }

  100% {
    transform: rotate(380deg);
    opacity: 1;
  }
}

/***************Responsive iPad Pro***************/

@media only screen and (max-width: 1100px) {
  .container-height-images {
    width: 700px;
  }
  .image-1,
  .image-2,
  .image-3,
  .image-4 {
    width: 325px;
    height: 325px;
  }
}

/***************Responsive iPhone 14 Pro Max, SE, XR, 12 Pro - Pixel 7 - Samsung Galaxy S8+, S20 Ultra***************/

/***************Shapes***************/

@media only screen and (max-width: 641px) {
  .circle {
    left: 50%;
    top: 3%;
  }

  .square {
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    margin: auto;
  }

  .triangle {
    left: 10%;
    top: 71%;
  }

  /***************Images Part 1***************/

  .container-height-images {
    width: 100%;
  }

  .image-1,
  .image-2,
  .image-3,
  .image-4 {
    width: 200px;
    height: 200px;
  }
}

@media only screen and (max-width: 450px) {
  .image-1,
  .image-2,
  .image-3,
  .image-4 {
    width: 150px;
    height: 150px;
  }
}

@media only screen and (max-width: 380px) {
  .image-1,
  .image-2,
  .image-3,
  .image-4 {
    width: 125px;
    height: 125px;
  }
}
