body {
  margin: 0;
  padding: 0;
  background-size: cover;
  background-image: url("images/brooke-lark-08bOYnH_r_E-unsplash.jpg");
  box-sizing: border-box;
  background-repeat: no-repeat;
  background-attachment: fixed;
  background-position: center;
  max-width: 100%;
  overflow-x: hidden;
}

.name {
  font-family: "Purple Purse", cursive;
  letter-spacing: 7px;
  font-size: 4.6vw;
  clear: both;
  display: inline-block;
  overflow: hidden;
  white-space: nowrap;
  animation-delay: 400ms;
  transition: all ease-in;
}

#box {
  min-width: 60vw;
  min-height: 77vh;
  background-color: rgba(254, 152, 93, 0.4);
  border-radius: 6px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  border: 2px solid rgba(124, 152, 133, 0.5);
  box-shadow: 1px 1px 10px rgba(124, 152, 133, 0.5);
  position: relative;
  right: 50px;
}
@media only screen and (max-width: 600px) {
  #leader-board {
    top: 0;
    right: 50%;
  }
}

#start {
  font-size: 1.5rem;
  margin-bottom: 60px;
  background-color: rgba(124, 152, 133, 0.6);
  width: 120px;
  height: 120px;
  border-radius: 50%;
  padding: 6px;
  border-radius: 100px;
  font-family: "Purple Purse", cursive;
  letter-spacing: 0.3vw;
  box-shadow: 0px 0px 10px rgba(124, 152, 133, 0.6);
  border: 1px solid bisque;
  animation-name: start;
  animation-duration: 1.5s;
  animation-iteration-count: infinite;
  transition: all ease-in-out 300ms;
}

@keyframes start {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(0.9);
  }
}
#start:focus {
  outline: none;
}

#start:hover {
  cursor: pointer;
}

#main-text {
  top: 55px;
  margin: 15px;
  text-align: center;
  position: absolute;
  font-size: 1.8vmax;
  line-height: 2.5rem;
  font-family: "Raleway", sans-serif;
  font-weight: bolder;
  letter-spacing: 2px;
}

#leader-board {
  font-family: "Purple Purse", cursive;
  text-shadow: 1px 1px 2px rgba(254, 152, 93, 0.4);
  letter-spacing: 1px;
  position: absolute;
  top: 10px;
  left: 5px;
  font-weight: bolder;
  display: inline-flex;
  flex-wrap: wrap;
  font-size: 2.5vmax;
  animation-delay: 1.5s;
  transition: all ease-in 400ms;
}
#leader-board:hover {
  cursor: pointer;
}

#timer {
  color: #f76563;
  display: block;
  flex-wrap: wrap;
  letter-spacing: 1px;
  position: absolute;
  top: 10px;
  right: 5px;
  font-family: "Purple Purse", cursive;
  font-size: 2.5vmax;
  text-shadow: 1px 1px 1px black;
  animation-delay: 1.5s;
  transition: all ease-in 400ms;
}

#quiz {
  font-family: "Raleway", sans-serif;
  position: absolute;
  top: 10vh;
  font-size: 4vmin;
  text-align: center;
  justify-content: center;
  align-items: center;
}

#choices {
  font-family: "Raleway", sans-serif;
  position: absolute;
  top: 180px;
  font-size: 1.7vmax;
  text-align: center;
  justify-content: center;
  align-items: center;
}

#A,
#B,
#C,
#D {
  background-color: rgba(124, 152, 133, 0.6);
  box-shadow: 0px 0px 5px 1px rgba(124, 152, 133, 0.6);
  border: 0.2px solid bisque;
  border-radius: 50%;
  margin: 10px;
  padding: 1px;
  width: 12vmax;
  height: 12vmax;
  display: inline-flex;
  text-align: center;
  justify-content: center;
  align-items: center;
}

#A:hover,
#B:hover,
#C:hover,
#D:hover {
  cursor: pointer;
  box-shadow: 0px 0px 1px 1px rgba(124, 152, 133, 0.5);
  background-color: rgba(124, 152, 133, 0.2);
  transform: scale(1.03);
  transition: all ease-in 150ms;
}

@media only screen and (max-width: 600px) {
  #choices {
    position: absolute;
    top: 200px;
  }
}

#progress {
  position: absolute;
  margin: 0 auto;
  font-family: "Purple Purse", cursive;
  font-size: 1.5rem;
  letter-spacing: 3px;
}

#reset {
  font-size: 1.5rem;
  margin: 200px auto;
  background-color: rgba(124, 152, 133, 0.6);
  width: 110px;
  height: 110px;
  border-radius: 50%;
  padding: 6px;
  border-radius: 100px;
  font-family: "Purple Purse", cursive;
  letter-spacing: 0.3vw;
  box-shadow: 0px 0px 10px rgba(124, 152, 133, 0.6);
  border: 1px solid bisque;
}
#reset:hover {
  cursor: pointer;
  transform: rotate(360deg);
  background-color: rgba(124, 152, 133, 1);
  transition: all ease 500ms;
}
#reset:focus {
  outline: none;
}

#save {
  font-size: 1.3rem;
  margin: 200px auto;
  background-color: rgba(124, 152, 133, 0.6);
  width: 110px;
  height: 110px;
  border-radius: 50%;
  padding: 6px;
  border-radius: 100px;
  font-family: "Purple Purse", cursive;
  letter-spacing: 0.3vw;
  box-shadow: 0px 0px 10px rgba(124, 152, 133, 0.6);
  border: 1px solid bisque;
  text-decoration-line: none;
}

#save:hover {
  background-color: rgba(124, 152, 133, 1);
  transform: scale(1.03);
  transition: all ease-in 200ms;
}

#leader:hover {
  cursor: pointer;
  transform: rotate(360deg);
  transition: all ease 500ms;
}

#is-right {
  color: #b5d0af;
  position: absolute;
  left: 10px;
  bottom: 50px;
  font-family: "Purple Purse", cursive;
  font-size: 2.8vmax;
  letter-spacing: 3px;
  text-shadow: 1px 1px 2px black;
}

#is-wrong {
  color: #f76563;
  position: absolute;
  right: 10px;
  bottom: 50px;
  font-family: "Purple Purse", cursive;
  font-size: 2.8vmax;
  letter-spacing: 1px;
  text-shadow: 1px 1px 2px black;
}

@media only screen and (max-width: 600px) {
  #is-right,
  #is-wrong {
    font-size: 4vw;
  }
}

/*leaderboard html*/
.lb-head {
  font-family: Georgia, "Times New Roman", Times, serif;
}

/* Modal box */

.modal {
  display: none;
  position: fixed;
  z-index: 1;
  left: 0;
  top: 0;
  width: 100%; /* Full width */
  height: 100%; /* Full height */
  overflow: auto; /* Enable scroll if needed */
  background-color: rgba(124, 152, 133, 0.4);
}

/* Modal Content/Box */
.modal-content {
  text-shadow: 1px 1px 2px black;
  background-color: rgba(254, 152, 93, 0.6);
  margin: 15% auto; /* 15% from the top and centered */
  padding: 20px;
  border: 1px solid #888;
  width: 80%; /* Could be more or less, depending on screen size */
  opacity: 0.9;
  color: white;
  font-size: 2rem;
  font-family: "Purple Purse", cursive;
}

.lb-modal {
  display: none;
  position: fixed;
  z-index: 1;
  left: 0;
  top: 0;
  width: 100%; /* Full width */
  height: 100%; /* Full height */
  overflow: auto; /* Enable scroll if needed */
  background-color: rgba(124, 152, 133, 0.4);
}

/* Modal Content/Box */
.leader-board-modal-content {
  text-shadow: 1px 1px 2px black;
  background-color: rgba(254, 152, 93, 0.6);
  margin: 15% auto; /* 15% from the top and centered */
  padding: 20px;
  border: 1px solid #888;
  width: 80%; /* Could be more or less, depending on screen size */
  opacity: 0.9;
  color: white;
  font-size: 2rem;
  font-family: "Purple Purse", cursive;
}

/* The Close Button */
.close {
  text-shadow: 1px 1px 2px black;
  color: whitesmoke;
  float: right;
  font-size: 5rem;
  font-weight: bold;
}

.close:hover,
.close:focus {
  color: black;
  text-decoration: none;
  cursor: pointer;
}

.lb-close {
  text-shadow: 1px 1px 2px black;
  color: whitesmoke;
  float: right;
  font-size: 5rem;
  font-weight: bold;
}

.lb-close:hover,
.lb-close:focus {
  color: black;
  text-decoration: none;
  cursor: pointer;
}

#item {
  font-family: "Raleway", sans-serif;
}
ul,
li {
  font-family: "Raleway", sans-serif;
  list-style-type: circle;
}

#clear-btn {
  font-size: 1.5rem;
  background-color: rgba(124, 152, 133, 0.6);
  width: 200px;
  border-radius: 100px;
  padding: 3px;
  font-family: "Purple Purse", cursive;
  letter-spacing: 0.3vw;
  box-shadow: 0px 0px 10px rgba(124, 152, 133, 0.9);
  border: 1px solid bisque;
}
