html {
  height: 100%;
}
body {
  height: 100%;
  margin: 0;
  text-align: center;
  color: #020202;
  background: repeating-linear-gradient(
    -55deg,
    #f2f5fa,
    #f2f5fa 70px,
    #eaeef5 70px,
    #eaeef5 80px
  );
}

* {
  box-sizing: border-box;
}

.gifypet {
  margin-top: 25px;
  font-family: "Comic Sans MS", "Comic Sans", sans-serif;
  font-size: 10px
}

a {
  color: #3a6ee8;
}

h1 {
	font-family: "Comic Sans MS", "Comic Sans", sans-serif;
	letter-spacing: 2px;
	text-transform: uppercase;
	font-size: 3em;
  color: #1547b8;
}

.headerimg {
  margin-left: auto;
  margin-right: auto;
  max-width: 100%;
}

hr {
  border: none;
  height: 2px;
  width: 100vw;
  margin-left: calc(-50vw + 50%);
}

.lildivider {
  border-top: 3px dashed #8292b7;
}

#quiz {
  font-family: "Comic Sans MS", "Comic Sans", sans-serif;
  width: 100%;
  max-width: 800px;
  margin: 0 auto;
  padding: 0 20px;
}

#questions {
  font-size: clamp(1.2em, 4vw, 1.6em);
  margin: 20px 10px;
}

#answers {
  list-style-type: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 15px;
}

#answers li {
  flex: 0 1 calc(50% - 15px);
  min-width: 150px;
  max-width: 200px;
  min-height: 50px;
  position: relative;
}

#answers label, #answers input {
	display: block;
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
}

#answers input[type="radio"] {
	opacity: 0.011;
	z-index: 100;
}

#answers input[type="radio"]:checked + label {
	opacity: 1;
}

#answers label {
  padding: 10px;
  border: 2px solid #020202;
  cursor: pointer;
  z-index: 90;
  opacity: 0.7;
  transition: opacity 0.2s linear;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  width: 100%;
  height: 100%;
  word-wrap: break-word;
  overflow-wrap: break-word;
  margin:auto;
}

#answers label:hover {
	opacity: 1;
}

.button {
  margin: 30px auto 0 auto;
  font-family: "Comic Sans MS", "Comic Sans", sans-serif;
  font-size: clamp(1em, 2vw, 2em);
  font-weight: bold;
  border-radius: 50px;
  display: block;
  background-color: #1547b8;
  text-transform: uppercase;
  padding: 15px 40px;
  color: #fff;
  width: auto;
  min-width: 150px;
}

.button:hover {
	cursor: pointer;
}

#results {
	display: none;
  font-family: "Comic Sans MS", "Comic Sans", sans-serif;
}
#error {
	display: none;	
	}

@media screen and (max-width: 600px) {
  #answers li {
    flex: 0 1 100%;
    max-width: 100%;
  }
  
  #questions {
    margin: 15px 5px;
  }
  
  .headerimg {
    width: 100%;
    height: auto;
  }
}
