@import url('https://fonts.googleapis.com/css2?family=Lato:wght@400;700&display=swap');
button {
  display: inline-block;
  outline: none;
  border: none;
  padding: 10px 25px;
  transition: 300ms ease-in;
  margin: 0;
}

#show-calculator-button,
.together>button {
  background-color: skyblue;
  color: white;
  border-radius: 10px;
}

#show-calculator-button {
  background-color: #f05577;
}

small {
  font-size: 0.5px;
}

.section {
  display: flex;
  justify-content: center;
  align-content: center;
  flex-wrap: wrap;
  align-items: center;
}

.main {
  margin-top: 30px;
}

.sec2,
.sec3,
.sec4,
.sec5 {
  display: none;
}

.sec1 {
  margin-bottom: 0;
}

.sec1 p {
  margin-bottom: 30px;
}

.sec1,
.sec2 {
  background: #fff;
  text-align: center;
}

.sec4 {
  margin-top: 30px;
}

.sec5 {
  margin-top: 20px;
  padding-bottom: 30px;
}

.sec2,
.sec5,
.sec4,
.explanation-content {
  flex-direction: column;
  justify-content: center;
  align-content: center;
  flex-wrap: wrap;
}

.back-btn {
  align-self: center;
  width: 70%;
  margin-bottom: 20px;
}

.explanation-content>div {
  align-self: center;
  width: 90%;
}

.sec2 p {
  font-size: 19px;
  font-weight: 500;
  margin-bottom: 30px;
}

.input {
  outline: none;
  border: 2px solid #f2d533;
  width: 90%;
  margin-left: 0;
  padding: 10px;
  font-size: 16px;
  margin-bottom: 25px;
  border-radius: 5px;
}

.sec1 h3 {
  margin-top: -25px;
  margin-bottom: 10px;
  color: #f2d533;
  font-size: 24px;
  padding: 0 5px;
}

.sec3 {
  width: 100%;
  background: linear-gradient(252deg, rgba(69, 69, 69, 0.03) 0%, rgba(69, 69, 69, 0.03) 50%, rgba(47, 47, 47, 0.03) 50%, rgba(47, 47, 47, 0.03) 100%), linear-gradient(335deg, rgba(66, 66, 66, 0.09) 0%, rgba(66, 66, 66, 0.09) 50%, rgba(188, 188, 188, 0.09) 50%, rgba(188, 188, 188, 0.09) 100%), linear-gradient(223deg, rgba(194, 194, 194, 0.08) 0%, rgba(194, 194, 194, 0.08) 50%, rgba(0, 0, 0, 0.08) 50%, rgba(0, 0, 0, 0.08) 100%), linear-gradient(82deg, rgba(27, 27, 27, 0.01) 0%, rgba(27, 27, 27, 0.01) 50%, rgba(197, 197, 197, 0.01) 50%, rgba(197, 197, 197, 0.01) 100%), linear-gradient(281deg, rgba(3, 3, 3, 0.09) 0%, rgba(3, 3, 3, 0.09) 50%, rgba(198, 198, 198, 0.09) 50%, rgba(198, 198, 198, 0.09) 100%), linear-gradient(319deg, rgba(47, 47, 47, 0.01) 0%, rgba(47, 47, 47, 0.01) 50%, rgba(89, 89, 89, 0.01) 50%, rgba(89, 89, 89, 0.01) 100%), linear-gradient(278deg, rgba(243, 243, 243, 0.06) 0%, rgba(243, 243, 243, 0.06) 50%, rgba(63, 63, 63, 0.06) 50%, rgba(63, 63, 63, 0.06) 100%), linear-gradient(38deg, rgba(81, 81, 81, 0.09) 0%, rgba(81, 81, 81, 0.09) 50%, rgba(201, 201, 201, 0.09) 50%, rgba(201, 201, 201, 0.09) 100%), linear-gradient(33deg, rgba(168, 168, 168, 0.08) 0%, rgba(168, 168, 168, 0.08) 50%, rgba(129, 129, 129, 0.08) 50%, rgba(129, 129, 129, 0.08) 100%), linear-gradient(0deg, #1b9efe, #46f3e7);
  justify-content: center;
  align-items: center;
}

#course-select::-ms-expand {
  display: none;
}


#course-select {
  padding: 10px;
  border: 1px solid #f2d533;
  box-shadow: 0px 4px 8px rgba(17, 17, 17, 0.2);
  border-radius: 20px;
  margin: 10px 0;
}

.subject-select,
.course-select {
  align-self: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-content: center;
  flex-wrap: wrap;
}

.subject-select {
  margin: 20px 0;
}

#subject-select {
  align-self: center;
  width: 50%;
  height: max-content;
  text-align: center;
  background-color: white;
  box-shadow: 0px 4px 8px rgba(17, 17, 17, 0.2);
  border: 1px solid #f2d533;
  border-radius: 5px;
  margin-top: 10px;
  padding: 10px;
  padding-bottom: 40px;
}

#subject-select:focus,
#course-select:focus,
#show-calculator-button:focus,
.show-explanations:focus {
  border: none;
  outline: none;
}

#subject-select>option {
  padding: 10px 5px;
  margin: 5px 0;
}

.box {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 10px;
  width: 100%;
  font-family: 'Lato', sans-serif;
  background: whitesmoke;
  border-radius: 10px;
  margin-top: 50px;
  text-align: center;
  box-shadow: 0px 4px 8px rgba(17, 17, 17, 0.2);
}

.box__header {
  display: flex;
  justify-content: space-between;
  margin-bottom: 50px;
  font-size: 14px;
  color: #555;
  font-weight: bold;
}

.box__header div {
  padding: 5px 0;
}

.question {
  margin-bottom: 30px;
}

.ul {
  list-style: none;
}

.quiz {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-content: center;
  flex-wrap: wrap;
  text-align: center;
  padding-left: 0;
}

.quiz li {
  padding: 15px;
  margin-bottom: 12px;
  margin-left: 0;
  border-radius: 8px;
  color: black;
  background: white;
  box-shadow: 0 0 2px rgba(0, 0, 0, 0.2);
  transition: 300ms ease-in;
  list-style: none;
}

.quiz li.select {
  background: #68c9c6;
  color: #fff;
  animation: zoomOut 300ms ease;
}

.together {
  align-self: center;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  margin-bottom: 20px;
  width: 80%;
}

.together>button:first-child {
  align-self: flex-start;
}

@keyframes zoomOut {
  0%,
  100% {
    transform: scale(1);
  }

  50% {
    transform: scale(0.8);
  }
}

.submit {
  align-self: center;
  max-width: 100%;
  padding: 15px 90px;
  margin-bottom: 12px;
  border-radius: 8px;
  color: #fff;
  background: #f05577;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.submit:focus,
.together>button:focus,
.btn:focus {
  outline: none;
}

.certificate {
  position: relative;
  height: 220px;
  background: url("/images/images (68).jpeg");
  background-size: cover;
  background-position: center center;
  margin: 20px 0;
  padding: 20px;
  text-align: center;
  color: #555;
}

.ff {
  text-decoration: none;
}

.certificate h5 {
  margin-top: 36px;
  color: orangered;
  margin-bottom: 8px;
  margin-left: 20px;
}

#date {
  position: absolute;
  left: 40px;
  bottom: 25px;
  font-size: 12px;
  color: gold;
}

#score {

  color: orangered;
}

#name {

  color: orangered;
}

.sin {
  position: absolute;
  right: 40px;
  bottom: 25px;
  font-family: cursive;
  text-decoration: underline;
  color: red;
}

.btn {
  padding: 10px 20px;
  border-radius: 2px;
  color: #fff;
  background: #f05577;
  text-transform: uppercase;
}

button:hover {
  opacity: 0.9;
  animation: zoomOut 300ms ease;
}

button:focus {
  outline: none;
}

.red {
  color: #f00;
}

.green {
  color: #00ff04;
}

.ans-list {
  margin: 20px 0;
}

.ans-list li {
  padding: 15px;
  margin-bottom: 15px;
  border-radius: 2px;
  color: #666;
  background: #fff;
  box-shadow: 0 0 2px rgba(0, 0, 0, 0.2);
  line-height: 1.4;
}

.flex {
  display: flex;
  justify-content: center;
  font-size: 16px;
  margin-bottom: 15px;
}

.box__header .toast {
  display: inline-block;
  background: #f05577;
  padding: 5px 15px;
  border-radius: 20px;
  color: #fff;
  opacity: 0.7;
  display: none;
}

.btn1 {
  background: #f2d533;
  color: white;
  font-weight: bold !important;
  border-radius: 20px;
  padding: 10px 24px !important;
  align-self: center;
  margin-bottom: 20px;
}

.btn1:focus {
  outline: none;
}

.des {
  margin: 15px 0;
  text-align: left;
}

.mb-3 {
  margin-bottom: 1rem;
}

.sc {
  margin-left: 10px;
}

h3.mb-3 {
  color: #f05577;
  margin-left: 20px;
  text-transform: capitalize;
  border-bottom: 1px solid #999;
  padding-bottom: 5px;
  display: inline-block;
  font-size: 20px;
}

#id {
  color: red;
  margin-top: 50px;
}

.hiya {
  margin-left: 20px;
}

.great {
  text-align: center;
  font-size: 2rem;
  color: red;
  opacity: 0.7;
}

.certificate {
  user-select: none;
}

.imageCaptureContainer {
  position: relative;
  height: 220px;
  background: url("/images/again.jpeg");
  background-size: cover;
  background-position: center center;
  margin: 20px 0;
  padding: 20px;
  text-align: center;
  color: #555;
}

.ff {
  text-decoration: none;
}

.imageCaptureContainer h4 {
  margin-top: 36px;
  color: white;
  margin-bottom: 8px;
  margin-left: 20px;
}

.bg>img {
  width: 80%;
}

.ol {
  margin-bottom: 30px;
}

@media screen and (min-width: 600px) {
  .sec1,
  .sec2 {
    width: 100%;
    height: 100%;
    font-size: 30px;
  }

  .sec1 h3 {
    font-size: 40px;
    margin-top: 10px;
  }

  .btn1 {
    font-weight: bolder;
    width: 30%;
    font-size: 45px;
    padding: 14px 28px;
  }

  .ol {
    font-size: 20px;
  }

  .certificate {
    height: 400px;
    background-repeat: no-repeat;
  }
  .explanation-content>div {
    width: 70%;
  }
}

@media screen and (min-width: 768px) {
  .submit {
    padding: 15px 150px;
  }
  .sec2 p {
    align-self: center;
    text-align: center;
    width: 80%;
    margin-top: 30px;
  }

  .input {
    align-self: center;
    max-width: 50%;
    margin-bottom: 30px;
  }

  #course-select {
    padding: 12px 24px;
  }

  .subject-select,
  .course-select {
    margin: 30px 0;
  }

  .btn1 {
    margin-bottom: 40px;
  }

  .sec3 {
    width: 100%;
    height: 100%;
    padding: 30px;
  }

  .box {
    max-width: 70%;
  }

  .together {
    width: 60%;
  }

  .ol {
    font-size: 28px;
  }
}

@media screen and (min-width: 1024px) {
  .input {
    max-width: 35%;
  }

  .together {
    width: 40%;
  }

  .back-btn {
    width: 40%;
  }

  .btn1 {
    padding: 14px 24px !important;
    font-size: 20px !important;
  }

  .bg {
    align-self: center;
    width: fit-content;
    height: fit-content;
  }

  .bg>img {
    width: 45%;
  }

  .bg-diff>img {
    width: 60%;
  }
}

@media screen and (min-width: 1280px) {
  .subject-select,
  .course-select {
    margin: 40px 0;
  }

  .btn1 {
    margin-top: 30px;
    margin-bottom: 50px;
  }

  .together {
    width: 30%;
  }

  .bg-diff>img {
    width: 70%;
  }
}