html {
  line-height: 1.15;
  -ms-text-size-adjust: 100%;
  -webkit-text-size-adjust: 100%; }

body {
  margin: 0; }

article,
aside,
footer,
header,
nav,
section {
  display: block; }

h1 {
  font-size: 2em;
  margin: 0.67em 0; }

figcaption,
figure,
main {
  display: block; }

figure {
  margin: 1em 40px; }

hr {
  -webkit-box-sizing: content-box;
  box-sizing: content-box;
  height: 0;
  overflow: visible; }

pre {
  font-family: monospace, monospace;
  font-size: 1em; }

a {
  background-color: transparent;
  -webkit-text-decoration-skip: objects; }

abbr[title] {
  border-bottom: none;
  text-decoration: underline;
  -webkit-text-decoration: underline dotted;
  text-decoration: underline dotted; }

b,
strong {
  font-weight: inherit; }

b,
strong {
  font-weight: bolder; }

code,
kbd,
samp {
  font-family: monospace, monospace;
  font-size: 1em; }

dfn {
  font-style: italic; }

mark {
  background-color: #ff0;
  color: #000; }

small {
  font-size: 80%; }

sub,
sup {
  font-size: 75%;
  line-height: 0;
  position: relative;
  vertical-align: baseline; }

sub {
  bottom: -0.25em; }

sup {
  top: -0.5em; }

audio,
video {
  display: inline-block; }

audio:not([controls]) {
  display: none;
  height: 0; }

img {
  border-style: none; }

svg:not(:root) {
  overflow: hidden; }

button,
input,
optgroup,
select,
textarea {
  font-family: sans-serif;
  font-size: 100%;
  line-height: 1.15;
  margin: 0; }

button,
input {
  overflow: visible; }

button,
select {
  text-transform: none; }

button,
html [type="button"],
[type="reset"],
[type="submit"] {
  -webkit-appearance: button; }

button::-moz-focus-inner,
[type="button"]::-moz-focus-inner,
[type="reset"]::-moz-focus-inner,
[type="submit"]::-moz-focus-inner {
  border-style: none;
  padding: 0; }

button:-moz-focusring,
[type="button"]:-moz-focusring,
[type="reset"]:-moz-focusring,
[type="submit"]:-moz-focusring {
  outline: 1px dotted ButtonText; }

fieldset {
  padding: 0.35em 0.75em 0.625em; }

legend {
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  color: inherit;
  display: table;
  max-width: 100%;
  padding: 0;
  white-space: normal; }

progress {
  display: inline-block;
  vertical-align: baseline; }

textarea {
  overflow: auto; }

[type="checkbox"],
[type="radio"] {
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  padding: 0; }

[type="number"]::-webkit-inner-spin-button,
[type="number"]::-webkit-outer-spin-button {
  height: auto; }

[type="search"] {
  -webkit-appearance: textfield;
  outline-offset: -2px; }

[type="search"]::-webkit-search-cancel-button,
[type="search"]::-webkit-search-decoration {
  -webkit-appearance: none; }

::-webkit-file-upload-button {
  -webkit-appearance: button;
  font: inherit; }

details,
menu {
  display: block; }

summary {
  display: list-item; }

canvas {
  display: inline-block; }

template {
  display: none; }

[hidden] {
  display: none; }

.clearfix:after {
  visibility: hidden;
  display: block;
  font-size: 0;
  content: "";
  clear: both;
  height: 0; }

html {
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  box-sizing: border-box; }

*,
*:before,
*:after {
  -webkit-box-sizing: inherit;
  box-sizing: inherit; }

.srOnly {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  border: 0;
  padding: 0;
  white-space: nowrap;
  -webkit-clip-path: inset(100%);
  clip-path: inset(100%);
  clip: rect(0 0 0 0);
  overflow: hidden; }

.visuallyHidden:not(:focus):not(:active) {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  border: 0;
  padding: 0;
  white-space: nowrap;
  -webkit-clip-path: inset(100%);
  clip-path: inset(100%);
  clip: rect(0 0 0);
  overflow: hidden; }

/*  to set the base font-size */
html {
  font-size: 62.5%; }

/* to style the body tag */
body {
  font-family: "Roboto", sans-serif;
  font-size: 2rem;
  color: #555555;
  line-height: 2rem;
  background-color: #55ddff; }

/* to style the wrapper classes */
.wrapper {
  max-width: 1200px;
  margin: 0 auto;
  width: 60%; }

/* to reset the margin and padding for some elements */
h1 ul,
img,
body,
p,
textarea,
form,
button {
  margin: 0;
  padding: 0; }

/* to remove the list style from any list */
ul {
  list-style: none; }

/* to style all the links */
a {
  text-decoration: none;
  color: #2e7a8d;
  font: inherit;
  display: inline-block;
  text-transform: uppercase;
  font-weight: 700; }

/* to style all the links when hover or focus  */
a:hover,
a:focus {
  color: #55ddff; }

/* to style all the images */
img {
  max-width: 100%;
  display: block;
  height: auto; }

/* to style all the buttons */
button {
  background-color: #2e7a8d;
  width: 200px;
  height: 50px;
  font: inherit;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  color: #fff; }

/* to style the buttons when hover or focus */
button:hover,
button:focus {
  background-color: #fff565;
  color: #2e7a8d;
  -webkit-box-shadow: 0 0 50px #fff565;
  box-shadow: 0 0 50px #fff565; }

/* to style heading 1 */
h1 {
  color: #2e7a8d;
  line-height: 3.5rem; }

header {
  min-height: 20vh;
  padding: 2vh 2%;
  color: white; }
  header nav {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between; }
    header nav i {
      visibility: hidden;
      font-size: 4rem;
      background-color: #55ddff;
      cursor: pointer;
      text-align: right; }
    header nav label {
      position: fixed;
      right: 5%;
      z-index: 10; }
    header nav input[type="checkbox"] {
      /*hide the input, we don't need to see it */
      display: none; }
    header nav ul {
      display: -webkit-box;
      display: -ms-flexbox;
      display: flex; }
      header nav ul li:not(:last-child) {
        margin-right: 30px; }
      header nav ul li a {
        color: inherit; }
        header nav ul li a:hover, header nav ul li a:focus {
          color: #2e7a8d; }

@-webkit-keyframes move {
  0% {
    background-position: 0 0; }
  100% {
    background-position: 100% 0; } }

@keyframes move {
  0% {
    background-position: 0 0; }
  100% {
    background-position: 100% 0; } }

section {
  min-height: 55vh;
  background-image: url("./assets/clouds.png");
  background-size: contain;
  -webkit-animation: move 20s linear infinite;
  animation: move 20s linear infinite;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  /* to style the instructions div */ }
  section .content {
    border-radius: 30px;
    border: 3px solid #2e7a8d;
    background-color: #fff;
    padding: 1vh 1%; }
    section .content .contentChild {
      display: -webkit-box;
      display: -ms-flexbox;
      display: flex;
      -webkit-box-orient: vertical;
      -webkit-box-direction: normal;
      -ms-flex-direction: column;
      flex-direction: column;
      -webkit-box-pack: space-evenly;
      -ms-flex-pack: space-evenly;
      justify-content: space-evenly;
      -webkit-box-align: center;
      -ms-flex-align: center;
      align-items: center;
      min-height: 30vh;
      margin: 5vh 2%;
      text-align: center; }
      section .content .contentChild > *:not(:last-child) {
        margin-bottom: 5vh; }
    section .content .timer {
      display: -webkit-box;
      display: -ms-flexbox;
      display: flex;
      -webkit-box-pack: space-evenly;
      -ms-flex-pack: space-evenly;
      justify-content: space-evenly;
      width: 200px; }
    section .content .home h1 {
      font-family: monospace;
      line-height: 4rem;
      font-size: 2.7rem;
      font-weight: 700; }
    section .content ul {
      display: -webkit-box;
      display: -ms-flexbox;
      display: flex;
      -ms-flex-wrap: wrap;
      flex-wrap: wrap;
      -webkit-box-pack: center;
      -ms-flex-pack: center;
      justify-content: center;
      width: 100%; }
      section .content ul li {
        margin-right: 2%;
        margin-bottom: 1vh; }
    section .content .hidden {
      display: none; }
    section .content .typingTextContainer {
      color: #757575;
      font-family: monospace;
      font-size: 3.5rem;
      line-height: 2; }
      section .content .typingTextContainer .underline {
        border-bottom: 4px solid #55ddff;
        padding-bottom: 5px; }
      section .content .typingTextContainer .correct {
        color: #0e630e;
        background-color: #e7fbd3; }
      section .content .typingTextContainer .wrong {
        color: #ff0000;
        background-color: #ffc0cb; }
    section .content form {
      display: -webkit-box;
      display: -ms-flexbox;
      display: flex;
      -webkit-box-orient: vertical;
      -webkit-box-direction: normal;
      -ms-flex-direction: column;
      flex-direction: column;
      -webkit-box-pack: space-evenly;
      -ms-flex-pack: space-evenly;
      justify-content: space-evenly;
      -webkit-box-align: center;
      -ms-flex-align: center;
      align-items: center;
      width: 100%; }
      section .content form textarea {
        width: 100%;
        height: 20vh;
        margin-bottom: 5vh;
        color: #757575;
        font-family: monospace;
        font-size: 3.5rem;
        padding: 1vh 2%;
        border: 1px solid #555555; }
        section .content form textarea:focus {
          -webkit-box-shadow: 2px 2px #888888;
          box-shadow: 2px 2px #888888; }
  section .instructionsDiv {
    display: none;
    background: rgba(0, 0, 0, 0.8);
    position: fixed;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0; }
    section .instructionsDiv div {
      display: -webkit-box;
      display: -ms-flexbox;
      display: flex;
      -webkit-box-orient: vertical;
      -webkit-box-direction: normal;
      -ms-flex-direction: column;
      flex-direction: column;
      -webkit-box-pack: space-evenly;
      -ms-flex-pack: space-evenly;
      justify-content: space-evenly;
      -webkit-box-align: center;
      -ms-flex-align: center;
      align-items: center;
      position: fixed;
      padding: 2%;
      background: #fff;
      width: 670px;
      /* width of instructions div */
      height: 415px;
      /* height of instructions div */
      left: calc(50vw - 335px);
      /* 335 is half of (670), centers x axis*/
      top: calc(50vh - 207px);
      /* 207 is half of (415), centers y axis*/ }
      section .instructionsDiv div ol {
        margin: 2% 0; }
        section .instructionsDiv div ol li {
          margin-bottom: 2%; }
      section .instructionsDiv div button {
        -ms-flex-item-align: center;
        -ms-grid-row-align: center;
        align-self: center; }

footer {
  min-height: 25vh;
  background: url("./assets/flowers.png") repeat-x center bottom;
  background-size: contain; }

@media (max-width: 850px) {
  .wrapper {
    width: 90%; } }

@media (max-width: 670px) {
  section .instructionsDiv div {
    width: 100%;
    height: 100%;
    left: 0;
    top: 0; } }

@media (max-width: 580px) {
  button {
    width: 150px; }
  h1 {
    font-size: calc(3vw + 1.6rem); }
  section .content .home h1 {
    font-size: calc(2vw + 1.6rem); }
  section .content .typingTextContainer,
  section .content form textarea {
    font-size: calc(1.5vw + 1.6rem);
    line-height: calc(1.5vw + 2rem); }
  header nav .logo {
    margin-right: 40px; }
  header nav i {
    visibility: visible; }
  header nav input[type="checkbox"]:checked ~ ul {
    right: 0;
    /*when the checkbox is checked, show the menu*/ }
  header nav ul {
    background: #555555;
    position: fixed;
    z-index: 10;
    width: 55%;
    right: -55%;
    /* to hide the ul from the screen */
    top: 10%;
    -webkit-transition: all 0.8s;
    -o-transition: all 0.8s;
    transition: all 0.8s;
    /*animation */
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column; }
    header nav ul li:not(:last-child) {
      margin-right: 0; }
    header nav ul li a {
      border-bottom: 1px solid #55ddff;
      width: 100%;
      padding: 15px;
      color: #55ddff;
      text-align: center;
      -webkit-transition: all 0.3s;
      -o-transition: all 0.3s;
      transition: all 0.3s;
      /* transition on the background color*/ }
      header nav ul li a:hover, header nav ul li aa:focus {
        color: #fff; } }
