.container {
  display: flex;
  justify-content: center;
  position: relative;
  width: 100%;
  background: linear-gradient(to top, rgb(7, 91, 7), rgb(42, 168, 22));
}

#myVideo {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  z-index: -1;
  background: linear-gradient(to top, rgb(7, 91, 7), rgb(42, 168, 22));
}

#myImage {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  z-index: -1;
  background: linear-gradient(to top, rgb(7, 91, 7), rgb(42, 168, 22));
  display: none;
}

#paragraph {
  display: flex;
  justify-content: center;
  flex-direction: column;
}

h1 {
  display: flex;
  justify-content: center;
  color: white;
  text-shadow: 6px 6px 8px rgb(20, 2, 44);
  letter-spacing: 3px;
  font-family: "Poppins", sans-serif;
}

#nameInput {
  display: flex;
  align-self: center;
  padding: 8px;
  border-radius: 30px;
  letter-spacing: 3px;
  width: 300px;
  margin: 5px;
  font-family: "Fredoka", sans-serif;
  font-size: 18px;
  font-weight: bold;
  text-transform: uppercase;
  text-align: center;
}

label {
  display: flex;
  justify-content: center;
  color: rgb(9, 40, 14);
  font-size: 18px;
  background-color: rgba(250, 245, 240, 0.761);
  font-weight: bold;
  padding: 10px;
  letter-spacing: 3px;
  border-radius: 30px;
  width: 60%;
  align-self: center;
  font-family: "Poppins", sans-serif;
  text-align: center;
}

p {
  display: flex;
  justify-content: center;
}
#greeting {
  font-family: "Poppins", sans-serif;
  letter-spacing: 3px;
  font-weight: bold;
  font-size: 20px;
  align-self: center;
  color: rgb(248, 130, 5);
  text-shadow: 2px 2px 3px rgb(20, 2, 44);
}
#storyTell {
  letter-spacing: 2px;
  font-family: "Poppins", sans-serif;
  font-size: 16px;
  background-color: rgba(240, 248, 255, 0.622);
  width: 300px;
  align-self: center;
  border-radius: 90px;
  padding: 10px;
  text-align: center;
  display: none;
}

#buttons {
  display: flex;
  justify-content: center;
}
#btnOne,
#btnTwo {
  padding: 8px;
  font-size: 18px;
  font-family: "Poppins", sans-serif;
  margin: 6px;
  border-radius: 20px;
  border: none;
}
#storyTell.problemSolve {
  width: 600px;
  text-align: center;
  white-space: pre-line;
  background: rgba(4, 106, 19, 0.622);
  color: white;
}

#btnOne.btnAnswer,
#btnTwo.btnAnswer {
  background: rgb(241, 235, 130);
  padding: 15px;
  width: 100px;
  font-size: 20px;
  font-weight: bold;
}

/* Screen resolution */

@media (max-width: 800px) {
  #nameInput {
    width: 250px;
    font-size: 16px;
  }

  #greeting {
    font-size: 18px;
    text-align: center;
  }

  #storyTell {
    width: 80%;
    font-size: 14px;
  }

  #btnOne,
  #btnTwo {
    font-size: 14px;
    padding: 10px;
  }
  #myImage,
  #myVideo {
    object-fit: contain;
  }
}

/* For screens max width 500px */
@media (max-width: 500px) {
  h1 {
    font-size: 20px;
    text-align: center;
  }

  #greeting {
    font-size: 18px;
    text-align: center;
  }

  #nameInput {
    width: 200px;
    font-size: 14px;
  }

  label {
    width: 80%;
    font-size: 16px;
    text-align: center;
    white-space: pre-line;
  }

  #storyTell {
    width: 90%;
    font-size: 12px;
  }
  #storyTell.problemSolve {
    width: 90%;
    font-size: 12px;
  }

  #btnOne,
  #btnTwo {
    font-size: 16px;
    padding: 8px;
  }
  #btnOne.btnAnswer,
  #btnTwo.btnAnswer {
    font-size: 12px;
    padding: 6px;
  }
  #greeting {
    font-size: 16px;
  }

  #myImage,
  #myVideo {
    object-fit: contain;
  }
}
