* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
  font-family: 'Lexend Mega', sans-serif;
  background-color: black;
  color: #363946;
}
/*header styling*/

header {
  width: 100%;
  padding: 30px 0;
  color: #ffffff;
  font-size: 20px;
}
/* Clearfix */

header::before,
header::after {
  display: table;
  content: '';
}
header::after {
  clear: both;
}
.col-4,
.col-8 {
  float: left;
  padding-left: 1.04166666%;
  padding-right: 1.04166666%;
}
.col-4 {
  width: 33.33%
}
.col-8 {
  width: 66.67%
}
.logo {
  height: 150px;
  width: 150px;
}
header ul li {
  padding: 10px 20px;
  list-style: none;
  text-align: center;
  font-size: 25px;
  text-transform: uppercase;
  display: inline;
}
header ul {
  text-align: right;
  margin-top: 50px
}
/*Quiz start screen styling*/

.quizStart {
  display: block;
  text-align: center;
  width: 50%;
  margin-top: 150px;
}
h1 {
  text-align: center;
  margin-bottom: 20px;
  color: #ffffff;
  font-size: 2em;
  text-transform: uppercase;
  font-weight: normal;
}
button {
  padding: 20px;
  border: none;
  background-color: rgb(32, 107, 32);
  color: #ffffff;
  font-size: 18px;
  text-transform: uppercase;
  border-radius: 0;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-top: 40px
}
button:hover, button:focus {
  background-color: #363946;
  color: rgba(28, 44, 196, 0.534)
}
main div {
  margin: 0 auto;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}
label:nth-child(1) {
  background-color: rgb(46, 60, 43)
}
label:nth-child(2) {
  background-color: rgb(46, 70, 43)
}
label:nth-child(3) {
  background-color: rgb(46, 100, 43)
}
label:nth-child(4) {
  background-color: rgb(46, 130, 43)
}
label {
  min-width: 200px;
  padding: 20px;
  margin-bottom: 10px;
  display: flex;
  color: #ffffff;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.3s ease-out;
  line-height: 22px
}
label:hover, label:focus {
  background-color: #AF6438
}
fieldset {
  border: none;
  display: grid;
  grid-template-columns: repeat(2, auto);
}
input {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  border-radius: 50%;
  width: 16px;
  height: 16px;
  border: 2px solid #ffffff;
  transition: 0.2s all linear;
  outline: none;
  margin-right: 5px;
  position: relative;
  top: 2px;
}
input:checked {
  border: 8px solid #ebca52;
}
input[type=radio] {
  flex: 0 0 auto;
  margin-right: 10px;
}
h2 {
  text-align: left;
  margin-bottom: 40px;
  color: #ffffff;
  text-transform: uppercase
}
form button {
  padding: 20px;
  border: none;
  background-color: #052ace;
  color: #ffffff;
  font-size: 18px;
  text-transform: uppercase;
  border-radius: 0;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-top: 10px;
  width: 100%;
  text-align: left;
}
form button:hover, form button:focus {
  background-color: #363946;
  color: #ebca52
}
.answer {
  flex: 1 1 auto;
}
.questionAnswerForm {
  display: none;
  width: 50%;
}
.correctFeedback {
  display: block;
  margin: 0 auto;
  text-align: center;
  background: linear-gradient(to bottom, rgba(245, 255, 255, 1) 0%, rgba(124, 225, 230, 1) 100%);
  padding-top: 40px
}
.correctFeedback button {
  width: 100%
}
.correctFeedback p {
  font-size: 1.5em;
  line-height: 1.5em;
  text-transform: uppercase;
  margin-left: 20px;
  margin-right: 20px
}
.correctFeedback span {
  color: #AF6438;
}
.correctFeedback img {
  width: 150px;
  height: auto;
  display: block;
  border-radius: 50%;
  background-color: #38A9AF;
  margin: auto;
  padding: 10px;
  margin-bottom: 20px
}
h3 {
  color: #AF6438;
  font-size: 40px;
  margin-bottom: 20px;
}
.results img {
  width: 150px;
  height: auto;
}
.results p:first-of-type {
  font-size: 25px;
  margin-bottom: 10px
}
.results p {
  font-size: 18px;
  line-height: 30px;
  margin-bottom: 0
}
.restartButton {
  margin-top: 40px
}
@media screen and (max-width: 1190px) {
  .questionAnswerForm,
  .quizStart {
      width: 80%;
      margin-bottom: 100px
  }
}
@media screen and (max-width: 768px) {
  .logo {
      width: 120px;
      height: 120px;
      display: block;
      margin: auto;
  }
  header ul {
      margin: 10px;
      text-align: center
  }
  h1 {
      font-size: 1.5em
  }
  header ul li {
      padding: 10px;
      font-size: 18px
  }
  .col-4,
  .col-8 {
      width: 100%
  }
  .quizStart {
      width: 100%;
      padding: 40px;
      margin-top: 0
  }
  h2 {
      font-size: 18px
  }
  .questionAnswerForm {
      width: 100%;
      padding: 20px;
      margin-top: 0
  }
  label {
      font-size: 16px;
      padding: 15px;
  }
  .correctFeedback img {
      width: 100px;
      height: auto
  }
  .correctFeedback p {
      font-size: 16px;
      margin: 0 15px
  }
  .results p:first-of-type {
      font-size: 18px
  }
  h3 {
      font-size: 25px
  }
}