/* The selectors are in lexicographic order according to their specificity */

body, html {
  height: 100%;
  min-width: 300px;
}

body {
  background-color: #eee!important;
}

embed, img, object, video {
  max-width: 100%;
}

.border-silver {
  border-color: rgba(151,151,151,0.5) !important;
}

.border-stretch {
  margin-left: -30px;
  margin-right: -30px;
}

.contents {
  counter-reset: contents;
  list-style-type: none;
}

.contents__link {
  margin: 0px -30px;
  padding-left: 30px;
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
}

.contents__link:hover {
  color: #0056b3 !important;
  cursor: pointer;
}

.contents__link::before {
  counter-increment: contents;
  content: counters(contents, ".") " ";
}

.contents__link--counter::before {
  counter-increment: contents;
  content: counter(contents) ". ";
}

.container-fluid {
  background-color: rgb(255,255,255);
  min-height: 100%;
  max-width: 960px;
}

.drawer, .hamburger-menu {
  min-height: 100%;
  align-items: center;
}

.footer, .header {
  min-height: 60px;
  background-color: #fafbfc;
}

.form-play__button {
  color: #5F6368;
  background-color: #f2f2f2;
  border: 1px solid #f2f2f2;
}

.form-play__button--glass {
  background-color: #28a745;
  border: 1px solid #24963e;
  border-radius: 0 20px 20px 0;
  color: white;
  height: 44px;
  width: 44px;
  margin: 0 0 0 -1px;
}

.form-play__input {
  box-shadow: 0 2px 2px 0 rgba(0,0,0,0.16), 0 0 0 1px rgba(0,0,0,0.08);
  border-radius: 2px;
  border-style: none;
  height: 44px;
  max-width: 450px;
  outline: none;
  padding: 6px 44px 6px 12px;
}

.form-play__span--times {
  color: #28a745;
  cursor: pointer;
  display: none;
  height: 44px;
  line-height: 44px;
  pointer-events: auto;
  position: absolute;
  right: 0;
  width: 44px;
}

.img-status-code {
  width: 325px;
}

.img-results {
  border: 1px solid rgba(0,0,0,.1);
  width: 491px;
}

.label {
  padding: 1px 3px 2px;
  font-size: 9.75px;
  font-weight: bold;
  color: #ffffff;
  text-transform: uppercase;
  border-radius: 3px;
  text-decoration: none;
  float: right;
}

.label.success {
  background-color: #46a546;
}

.legal__link--no-decoration:hover {
  text-decoration: none;
}

.result-incorrect {
  color: #dc3545;
}

.result-correct {
  color: #28a745;
}

.secret-message p.new-label:hover span {
  display: none;
}


.secret-message p.new-label:hover::after {
  content: "Marius Mucenicu had something to do with this website.";
}

.table-results {
  max-width: 491px;
}

.table-results th {
  font-size: 1.75rem;
}

.table-results td {
  font-size: 1.5rem;
}


/* media queries with a single characteristic in descending order */

@media only screen and (max-width: 767px) {
  .backdrop {
    background-color: rgba(9, 30, 66, 0.54);
    bottom: 0;
    left: 0;
    opacity: 1;
    position: fixed;
    right: 0;
    top: 0;
    z-index: 1;
  }

  .contents.border-right {
    border-right: 0!important;
  }

  .drawer {
    background-color: #fafbfc;
    flex-direction: column;
    position: absolute;
    transition: transform 0.3s ease;
    transform: translate(-250px);
    width: 250px;
    z-index: 2;
  }

  .drawer-item {
    color: #343a40;
    padding: 1rem 1.5rem;
    text-align: left;
    border-bottom: 1px solid #dee2e6!important
  }

  .droopy-title {
    font-size: 5.21vw;
  }

  .footer .fab {
    margin: 0 2px;
  }

  .open {
    transform: translate(0);
  }
}

@media only screen and (max-width: 575px) {
  .btn-answer-next, .btn-answer-quit {
    margin: 0 auto;
    max-width: 491px;
  }

  .form-play__input {
    border-top-left-radius: 20px;
    border-bottom-left-radius: 20px;
    border: 1px solid #c6c6c6;
    box-shadow: none;
    flex: 1;
  }
}

@media only screen and (max-width: 360px) {
  .droopy-title {
    font-size: 1rem;
  }

  .dino-title {
    font-size: 1.1rem;
  }

  .table-results th {
    font-size: 1.25rem;
  }

  .table-results td {
    font-size: 1rem;
  }
}

@media only screen and (max-width: 300px) {
  .fluid-title {
    font-size: 1.5rem;
  }

  .fluid-subtitle {
    font-size: 1.256rem;
  }
}

@media only screen and (min-width: 768px) {
  .contents__link {
    margin-right: 0;
  }

  .drawer__link--animated-border::after {
    content: "";
    display: block;
    border-bottom: 2px solid;
    border-color: inherit;
    transform: scaleX(0);
    transition: transform 300ms ease;
  }

  .drawer__link--animated-border:hover::after {
    transform: scaleX(1);
  }

  .drawer__link--no-decoration:hover {
    text-decoration: none;
  }
}

@media only screen and (min-width: 576px) {
  .btn-answer-next {
    float: right;
    width: 230.5px;
  }

  .btn-answer-quit {
    float: left;
    width: 230.5px;
  }

  .form-play__button:hover:enabled {
    box-shadow: 0 1px 1px rgba(0,0,0,0.1);
    border: 1px solid #c6c6c6;
    background-image: linear-gradient(to top, #f5f5f5, #f1f1f1);
  }

  .form-play__button--toggle:hover:disabled {
    color: #757575;
  }

  .form-play__input:focus, .form-play__input:hover {
    box-shadow: 0 3px 8px 0 rgba(0,0,0,0.2),0 0 0 1px rgba(0,0,0,0.08);
  }

  .form-play__span--times {
    color: #757575;
  }
}


/* media queries with multiple characteristics in descending order */

@media only screen and (min-width: 501px) and (max-width: 830px) {
  .interval-data h1 {
    font-size: 4.6vw;
  }
}

@media only screen and (min-width: 361px) and (max-width: 600px) {
  .dino-title {
    font-size: 6.25vw;
  }
}

@media only screen and (min-width: 301px) and (max-width: 500px) {
  .fluid-title {
    font-size: 8vw;
  }

  .fluid-subtitle {
    font-size: 6.7vw;
  }
}

@media only screen and (min-width:361px) and (max-width: 400px) {
  .table-results th {
    font-size: 1.5rem;
  }

  .table-results td {
    font-size: 1.25rem;
  }
}
