@import url("https://fonts.googleapis.com/css2?family=Architects+Daughter&display=swap");

* {
  margin: 0;
  padding: 0;
}

body {
  font-family: "Architects Daughter", cursive;
  background-color: #fbeec1;
  user-select: none;
}

h1 {
  letter-spacing: 6px;
  font-size: 5em;
  text-align: center;
  color: #daad86;
}

main {
  margin: 0 2%;
}

.columz {
  display: flex;
  flex-direction: column;
}

#endscreen h3 {
  margin-bottom: 1em;
}

.rowz {
  display: flex;
  flex-direction: row;
  justify-content: space-around;
}

#sejrhold {
  font-size: 1.3em;
  position: absolute;
  bottom: 5%;
  left: 5%;
  right: 5%;
}

#color {
  text-align: center;
  color: #daad86;
  font-size: 1.5em;
}

#volume {
  position: absolute;
  top: 4%;
  right: 2%;
  font-size: 3em;
}

#volume:hover {
  cursor: pointer;
}

#volume:active {
  color: #868686;
  cursor: wait;
}

#endscreen {
  position: absolute;
  display: none;
  margin-top: 1em;
  text-align: center;
  padding: 50px;
  left: 10%;
  top: 20%;
  bottom: 20%;
  right: 10%;
  background-color: #c59d7a;
  box-shadow: 0px 0px 17px 2px rgba(0, 0, 0, 0.7);
  border-radius: 10px;
  font-size: 2em;
}

h2 {
  background-color: #daad86;
  padding: 3vw;
  border-radius: 10px;
  text-align: center;
  font-size: 2vw;
}

#wrapper {
  margin: 0 auto;
  width: 100%;
  height: 80vh;
  display: flex;
  flex-direction: row;
  justify-content: space-evenly;
  align-items: center;
  gap: 1%;
}

.column p {
  text-align: center;
  background-color: #daad86;
  padding: 1vw 0;
  border-radius: 10px;
  font-size: 2vw;
  cursor: pointer;
}

#fade1:hover,
#fade2:hover,
#fade3:hover,
#fade4:hover,
#fade5:hover,
#fade6:hover,
#fade7:hover,
#fade8:hover,
#fade9:hover,
#fade10:hover,
#fade11:hover,
#fade12:hover,
#fade13:hover,
#fade14:hover,
#fade15:hover,
#fade16:hover,
#fade17:hover,
#fade18:hover,
#fade19:hover,
#fade20:hover,
#fade21:hover,
#fade22:hover,
#fade23:hover,
#fade24:hover,
#fade25:hover,
#fade26:hover,
#fade27:hover,
#fade28:hover,
#fade29:hover,
#fade30:hover {
  background-color: #c59d7a;
}

.column {
  height: 80%;
  display: flex;
  flex-direction: column;
  gap: 3%;
}

.absolute {
  text-align: center;
  display: flex;
  position: absolute;
  margin-left: 1%;
  font-size: 1.7vw;
  background-color: #daad86;
  padding-left: 1%;
  border-bottom-left-radius: 10px;
  border-bottom-right-radius: 10px;
}

a {
  color: #daad86;
}

a:hover {
  color: #9e7e62;
}

#qztbox {
  display: none;
}

.relative {
  position: relative;
}

#questionexit {
  position: absolute;
  top: 0;
  right: 0;
  font-size: 2em;
  cursor: pointer;
}

#questionexits {
  position: absolute;
  top: 3%;
  right: 2%;
  font-size: 3em;
  cursor: pointer;
}

.absolute div {
  padding: 10px;
}

.absolute div:nth-child(-n + 2) {
  border-right: 1px solid #fbeec1;
}

.question {
  position: absolute;
  right: 2.5%;
  padding: 10px;
  background-color: #daad86;
  border-bottom-left-radius: 10px;
  border-bottom-right-radius: 10px;
}

.question:hover {
  cursor: pointer;
  padding-bottom: 20px;
  transition: all 0.2s;
}

.absolute2 p {
  margin-left: 20px;
  cursor: pointer;
  opacity: 0%;
  padding: 50px 0;
}

.fedtekst {
  color: #ffffff;
}

#questionbox {
  display: none;
  position: absolute;
  top: 30%;
  left: 10%;
  right: 10%;
  bottom: 30%;
  background-color: #9e7e62;
  text-align: center;
  padding: 50px;
  border-radius: 10px;
  box-shadow: 0px 0px 17px 2px rgba(0, 0, 0, 0.7);
  font-size: 1.2em;
}

#questionbox p {
  margin-bottom: 1em;
}

h3 {
  font-size: 2em;
  margin-top: -0.5em;
}

.absolute2 p:hover {
  opacity: 100%;
}

.add {
  cursor: pointer;
}

.add:hover {
  color: red;
}

.add:active {
  color: #000;
}

.animate {
  -webkit-animation: bgcolorchange 4s infinite; /* Chrome, Safari, Opera */
  animation: 4s infinite bgcolorchange;
}

@keyframes bgcolorchange {
  0% {
    color: #daad86;
  }
  25% {
    color: #ce7f3a;
  }
  50% {
    color: #daad86;
  }
  75% {
    color: #ce7f3a;
  }
  100% {
    color: #daad86;
  }
}

.fadeAwayButton {
  visibility: hidden;
}

.questionreal {
  position: absolute;
  background-color: #c59d7a;
  box-shadow: 0px 0px 17px 2px rgba(0, 0, 0, 0.7);
  padding: 2em;
  border-radius: 10px;
  top: 20%;
  bottom: 20%;
  left: 5%;
  right: 5%;
  text-align: center;
}

.questionrealspg {
  font-size: 3em;
  margin-bottom: 0.5em;
}

.svar {
  color: blue;
  font-size: 1.5em;
  cursor: pointer;
  margin-top: 0.5em;
}

#correctanswer {
  display: none;
  font-size: 1.5em;
}

.bottomanswer {
  position: absolute;
  bottom: 2%;
  left: 5%;
  right: 5%;
}

#questionrealtxt {
  font-size: 2em;
}

.centerquestionreal {
  position: absolute;
  top: 20%;
  left: 20%;
  right: 20%;
  bottom: 10%;
}
