@font-face {
    font-family: 'Colgate Ready italic';
    src: url('fonts/ColgateReady-Italic.woff2') format('woff2'),
        url('fonts/ColgateReady-Italic.woff') format('woff');
    font-weight: normal;
    font-style: italic;
}

@font-face {
    font-family: 'Colgate Ready bold italic';
    src: url('fonts/ColgateReady-BoldItalic.woff2') format('woff2'),
        url('fonts/ColgateReady-BoldItalic.woff') format('woff');
    font-weight: bold;
    font-style: italic;
}

@font-face {
    font-family: 'Colgate Ready bold';
    src: url('fonts/ColgateReady-Bold.woff2') format('woff2'),
        url('fonts/ColgateReady-Bold.woff') format('woff');
    font-weight: bold;
    font-style: normal;
}

@font-face {
    font-family: 'Colgate Ready light italic';
    src: url('fonts/ColgateReady-LightItalic.woff2') format('woff2'),
        url('fonts/ColgateReady-LightItalic.woff') format('woff');
    font-weight: 300;
    font-style: italic;
}

@font-face {
    font-family: 'Colgate Ready light';
    src: url('fonts/ColgateReady-Light.woff2') format('woff2'),
        url('fonts/ColgateReady-Light.woff') format('woff');
    font-weight: 300;
    font-style: normal;
}

@font-face {
    font-family: 'Colgate Ready';
    src: url('fonts/ColgateReady.woff2') format('woff2'),
        url('fonts/ColgateReady.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}


body {
  padding: 0 11%;
  font-family: 'Colgate Ready light', sans-serif;
  color: #5d5b5b;
  -webkit-font-smoothing: antialiased;
  position: relative;
}

h2 {
  font-size: 18px;
  font-weight: normal;
}

img {
  width: 100%;
  display: block;
}

label {
  display: block;
}

input,button {
  font-family: 'Colgate Ready light', sans-serif;
}

.bold {
  font-family: 'Colgate Ready bold', sans-serif;
}

.bold-italic {
  font-family: 'Colgate Ready bold italic', sans-serif;
}

.semi-bold {
  font-family: 'Colgate Ready', sans-serif;
}

.hero {
  position: relative;
  /* background: rgb(240, 43, 43); */
  background: rgb(249, 48, 26);
  padding-top: 20px;
  padding-bottom: 145px;
}

.hero img {
  width: 67%;
  margin: auto;
}

.hero h2 {
  font-family: 'Colgate Ready light italic', sans-serif;
  color: white;
  bottom: 15px;
  left: 30px;
  width: 350px;
  letter-spacing: 1px;
}

@media(min-width: 761px) {
  .hero h2 {
    position: absolute;
  }
}


.quiz__header {
  /* background-color: rgb(225, 226, 228); */
  background-image: url('myndir/bg-molecules.png');
  background-size: cover;
  margin-top: 5px;
  padding: 15px 25px;
}
.quiz__header h2 {
  width: 285px;
  margin: 0;
  font-size: 21px;
}

.quiz__questions {
  background-color: rgb(233, 233, 233);
  margin-top: 5px;
  padding: 25px 20px 0 20px;
}

.container {
  display: block;
  position: relative;
  padding-left: 44px;
  margin-bottom: 12px;
  cursor: pointer;
  /* font-size: 22px; */
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  padding-bottom: 16px;
  border-bottom: 2px solid white;
}

.container:last-child {
  border-bottom: none;
  margin-bottom: 0;
}

.container input {
  position: absolute;
  opacity: 0;
  cursor: pointer;
  height: 0;
  width: 0;
}

.checkmark {
  position: absolute;
  top: -4px;
  left: 0;
  height: 29px;
  width: 29px;
  border-radius: 5px;
  border: 1px solid #4c4c4c;
  box-shadow: 2px 2px 1px 0px rgba(0, 0, 0, 0.2);
  background: white;
  transition: all 250ms cubic-bezier(.4,.0,.23,1);
}

.container:hover input ~ .checkmark {
  background-color: #f3f3f3;
}

.container input:checked ~ .checkmark {
  /* background-color: #ccc; */
  background-color: #f3f3f3;
  animation: shrink-bounce 200ms cubic-bezier(.4,.0,.23,1);
}

.checkmark:after {
  content: "";
  position: absolute;
  display: none;
}

.container input:checked ~ .checkmark:after {
  display: block;
}

.container .checkmark:after {
  left: 11px;
  top: 5px;
  width: 5px;
  height: 12px;
  border: solid #4c4c4c;
  border-width: 0 3px 3px 0;
  -webkit-transform: rotate(45deg);
  -ms-transform: rotate(45deg);
  transform: rotate(45deg);
}

.quiz__info {
  display: flex;
  background-color: rgb(233, 233, 233);
  margin-bottom: 5px;
  padding: 18px 15px 25px 15px;
}

.quiz__info__left {
  text-align: right;
  display: block;
  width: 63%;
  margin-right: 15px;
  color: #464545
}

.quiz__info__left input {
  width: 77%;
  border-radius: 5px;
  border: none;
  height: 26px;
  margin-bottom: 5px;
  margin-left: 5px;
  padding-left: 5px;
}

.submit {
  position: relative;
  width: 165px;
}

.submit input{
  background: rgb(247, 50, 30);
  border: none;
  color: white;
  box-shadow: 3px 3px 1px 0px rgba(0, 0, 0, 0.2);
  border-radius: 17px;
  font-size: 15px;
  padding-bottom: 7px;
  height: 60px;
  cursor: pointer;
  width: 165px;
}

.submit span {
  position: absolute;
  width: 45px;
  background: white;
  height: 6px;
  display: block;
  top: 5px;
  left: 12px;
  border-radius: 5px;
}

.quiz__image {
  height: 125px;
  display: flex;
  background: rgb(169, 173, 155);
}

.quiz__image img {
  width: auto;
  height: 100%;
}

.quiz__image p {
  width: 50%;
  font-size: 18px;
  color: white;
  margin: 20px 0 20px 20px;
}

.logo-container {
  border-radius: 0px 0px 35px 35px;
  padding: 25px;
  background: rgb(249, 48, 26);
}

.logo-container img {
  width: 17%;
  margin-left: auto;
  margin-right: 5px;
}

.bottom-text {
  font-size: 10px;
  text-align: center;
}

.popup {
  position: fixed;
  font-size: 12px;
  /* width: 22%; */
  width: 315px;
  left: 0;
  right: 0;
  margin: auto;
  bottom: 25px;
  text-align: center;
  background-color: rgb(237, 239, 245);
  box-shadow: 0px 0px 3px 1.5px rgba(0, 0, 0, 0.1);
}

.popup p {
  padding: 0 10px;
}

.popup button {
  background: white;
  height: 32px;
  font-size:12px;
  border: none;
  width: 100%;
  cursor: pointer;
}

.popup button:hover {
  opacity: 0.75;
}

.quiz-submitted {
  text-align: center;
  width: 100%;
}

@media(max-width: 760px) {
  body {
    padding: 0;
  }

  .hero {
    padding-bottom: 20px;
  }

  .hero h2 {
    margin: 0;
    padding: 15px;
    margin: auto;
    max-width: 90%;
  }

  .quiz__header h2 {
    /* width: 100%; */
  }

  .quiz__info {
    display: block;
    text-align: center;
  }

  .quiz__info__left {
    width: 100%;
  }

  .submit {
    margin: auto;
    margin-top: 15px;
  }

  .quiz__image {
    display: inline-block;
    max-width: 100%;
    height: auto;
  }

  .quiz__image img {
    max-width: 100%;
    height: auto;
  }

  .quiz__image p {
    width: 90%;
  }

  .popup {
    width: 100%;
    bottom: 0;
  }
}

@media(max-width: 400px) {

  .quiz__info label {
    display: block;
    text-align: left;
  }

  .quiz__info input {
    width: 100%;
    margin-left: 0;
    padding-left: 0;
  }

  .quiz__header h2 {
    width: 100%;
  }
}
