* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  text-decoration: none;
  list-style: none;
}

h1, h2, h3, h4, p, span {
  font-family: Roboto;
}

.block {
  width: 100%;
  max-width: 696px;
  margin-inline: auto;
  padding-inline: 1rem;
}

button {
  width: 100%;
  cursor: pointer;
  background-color: #f3f3f0;
  border: none;
  border-radius: 9999rem;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  padding: 1.25rem;
  display: flex;
  position: relative;
}

button.selected {
  border: 2px solid #54ccff;
  padding-block: calc(1.25rem - 2px);
}

button span {
  pointer-events: none;
  color: #000;
  text-transform: uppercase;
  font-size: 1.063em;
  font-weight: 300;
}

button .icon {
  pointer-events: none;
  padding-right: .5rem;
  font-size: 1.5rem;
  display: none;
  position: absolute;
  top: 50%;
  left: 1rem;
  transform: translateY(-50%);
}

button.good {
  border-color: #89f17f;
  padding-block: calc(1.25rem - 2px);
}

button.good i.icon {
  color: #89f17f;
}

button.good i:nth-of-type(1) {
  display: block;
}

button.bad {
  border-color: #ea5970;
  padding-block: calc(1.25rem - 2px);
}

button.bad .icon {
  color: #ea5970;
}

button.bad i:nth-of-type(2) {
  display: block;
}

header {
  justify-content: center;
  margin-top: 2rem;
  padding-top: 1rem;
  display: flex;
  position: relative;
}

.title {
  width: 100%;
}

.title h2 {
  text-transform: uppercase;
  color: #c6c6c6;
  text-align: center;
}

.notif-popup {
  width: calc(100% - 8rem);
  max-width: 696px;
  border-radius: .5rem;
  justify-content: center;
  align-items: center;
  padding: 1rem;
  display: none;
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
}

.notif-popup.good {
  background-color: #89f17f;
  display: flex;
}

.notif-popup.good :nth-child(1) {
  display: block;
}

.notif-popup.bad {
  background-color: #ea5970;
  display: flex;
}

.notif-popup.bad :nth-child(2) {
  display: block;
}

.notif-popup span {
  text-align: center;
  color: #fff;
  display: none;
}

.close {
  cursor: pointer;
  height: 2rem;
  width: 2rem;
  background-color: #f3f3f0;
  border-radius: 9999rem;
  justify-content: center;
  align-items: center;
  display: flex;
  position: absolute;
  top: 50%;
  right: 1rem;
  transform: translateY(-25%);
}

.close i {
  color: #c6c6c6;
  padding-left: 1px;
}

main {
  width: 100%;
  margin-top: 2rem;
}

.image {
  width: 100%;
  justify-content: center;
  display: flex;
}

.image img {
  width: 150px;
  height: auto;
}

.question h1 {
  text-align: center;
  margin-top: 2rem;
  font-family: Scope One;
  font-size: 1.25rem;
  font-weight: 300;
}

.buttons {
  flex-direction: column;
  gap: 1rem;
  margin-top: 2rem;
  display: flex;
}

.submit {
  margin-top: 2rem;
}

.submit button {
  background-color: #54ccff;
  border-radius: .5rem;
}

.submit button span {
  color: #fff;
  font-weight: 700;
}

.result {
  padding-bottom: 2rem;
  display: none;
}

.result .question h1 {
  font-family: Quantico;
}

.result .buttons {
  flex-direction: column;
  align-items: center;
  margin-top: 2rem;
  display: flex;
}

.result .pointIcon{
  margin-top: 2rem;
  display: flex;
  justify-content: center;
  font-size: 2rem;
  animation: up_down 500ms infinite alternate;
}

.result .pointIcon i{
  transform: rotate(180deg);
}

.result .buttons button {
  width: 12rem;
  background-color: #89f17f;
  border-radius: .3rem;
  justify-content: center;
  align-items: center;
  gap: .5rem;
  padding: 1rem;
  display: flex;
}

.result .buttons button i {
  pointer-events: none;
  color: #000;
}

.result .buttons button span {
  pointer-events: none;
  font-family: Scope One;
  line-height: 1;
  position: relative;
  top: 1px;
}

.result .buttons button.color-2 {
  background-color: #54ccff;
}

@media (min-width: 770px) {
  button .icon {
    left: -2.5rem;
  }
}

@keyframes up_down {
  from{
    transform: translateY(25%);
  }
  to{
    transform: translateY(-25%);
  }
}
