@import url('https://fonts.googleapis.com/css?family=Caveat+Brush');

textarea:focus,
input:focus,
a,
a:hover,
a:active,
a:focus,
button:focus,
button:active {
  outline: none;
}
*:focus {
  outline: none;
}
input::-moz-focus-inner {
  border: 0;
}
html {
  background-image: url(../img/abstract-bg.jpg);
  background-repeat: no-repeat;
  background-position: center;
  background-attachment: fixed;
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover;
}
html,
body {
  height: 100%;
}
body {
  display: -ms-flexbox;
  display: flex;
  color: #fff;
  background: transparent;
}
ul {
  margin: 0 auto;
}
hr {
  margin-top: 1rem;
  margin-bottom: 1rem;
  border: 0;
  border-top: 1px solid #e92a20;
}
header {
  background-color: transparent;
}
header .masthead,
header.top,
.top {
  display: flex;
  justify-content: space-around;
}
.table td,
.table th {
  padding: 0.45rem 0.75rem;
}
.nav-masthead {
  display: flex;
  justify-content: end;
  align-items: center;
}
a.nav-link,
.nav-link {
  text-decoration: none;
  font-weight: 400;
  padding: 1em;
}
a.nav-link,
.nav-link,
.navbar > a.navbar-brand {
  color: #ffffff;
}
.navbar-brand {
  transition: 0.6s;
}
.navbar > a:hover.navbar-brand {
  color: #fecd08;
  transition: 0.4s;
}
.thf {
  text-align: center;
}
.thf,
.navbar-brand {
  font-family: 'Caveat Brush', cursive;
}
.th-red,
.th-score li:first-child {
  color: #e92a20;
}
.th-blue,
.th-score li:nth-child(2) {
  color: #4dbbeb;
}
.th-yellow,
.th-score li:nth-child(4) {
  color: #f9ee3c;
}
.th-white,
.th-score li:nth-child(3) {
  color: #fff;
}
.th-yello {
  color: #fecd08;
}
.th-orange {
  color: #f99f1c;
}
.th-green,
.th-score li:nth-child(5) {
  color: #5ecc24;
}
.color-a {
  background-color: #e92a20;
}
.color-b {
  background-color: #4dbbeb;
}
.color-c {
  background-color: #ffffff;
}
.color-d {
  background-color: #f9ee3c;
}
.navbar-brand {
  text-transform: uppercase;
  display: flex;
  max-height: 5em;
  justify-content: start;
  padding: 0;
  margin: 0;
  align-items: center;
}
.img-brand {
  padding-right: 0.4em;
}
.navbar-expand-md .navbar-collapse {
  justify-content: flex-end;
}
.navbar-expand-md {
  justify-content: space-between;
}
button.navbar-toggler,
.navbar-toggler {
  border: 0;
}
.collapsed .navbar-toggler-icon {
  background-image: url(../img/toggler.svg);
}
.navbar-toggler-icon {
  background-image: url(../img/toggler-white.svg);
}
form .row-center,
footer .row-center {
  display: flex;
}
.row-center {
  -ms-flex-pack: center !important;
  justify-content: center !important;
  overflow: hidden;
}
footer {
  margin-top: auto !important;
}
footer .copyright {
  display: flex;
  justify-content: center;
  font-size: 0.9em;
  color: #b3b3b3;
  margin-bottom: 1rem;
}
.copyright a {
  color: #2c93d0;
}
.copyright a:hover {
  text-decoration: none;
  color: #0056b3;
}
.cover-container {
  max-width: 100%;
}
.quest-box,
.question-box {
  max-width: 960px;
  width: 100%;
}
ul.th-socre,
.th-score {
  list-style: none;
  margin-top: 0.5em;
  padding: 0;
  display: flex;
  justify-content: space-around;
}
.over {
  overflow: hidden !important;
}

.th-label {
  margin-top: 0.5em;
  margin-bottom: 0.5em;
}
.thq-label,
.thq-label h3,
.th-label {
  display: flex;
  justify-content: center;
  align-items: center;
}
.thq-label {
  padding: 0.5em 1em;
  color: #ffffff;
  background-image: url(../img/label-brush.svg);
}
.thq-label h1,
.thq-label h2,
.thq-label h3 {
  margin-bottom: 0;
}
.question-box ul {
  display: flex;
  position: relative;
  padding: 0;
  flex-direction: column;
}
.thq-id,
span.thq-id,
.color-score,
span.color-score {
  border-radius: 100%;
  padding: 0.5em;
  line-height: 1em;
  height: 2em;
  width: 2em;
  max-width: 2em;
  max-height: 2em;
}
.thq-id,
span.thq-id {
  background-color: #ffffff;
  color: #6ebe44;
}
.th-bottom {
  display: flow-root;
  background-color: #fff;
}
.progress {
  opacity: 0;
  -webkit-transition: all 1.2s ease-in-out;
  -moz-transition: all 1.2s ease-in-out;
  -ms-transition: all 1.2s ease-in-out;
  -o-transition: all 1.2s ease-in-out;
  transition: all 1.2s ease-in-out;
  margin-top: 0.3em;
  margin-left: 0.3em;
  margin-right: 0.3em;
}
.progress,
.progress-bar {
  border-radius: 2em;
}
.progress-bar .bg-answers,
.bg-answers {
  background-color: #6ebe44;
}
.container ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
#personality-test {
  text-align: center;
}
#personality-test ul li {
  height: 5em;
  color: #aaaaaa;
  display: block;
  position: relative;
  float: left;
  width: 100%;
}
#personality-test ul li input[type='radio'] {
  position: absolute;
  visibility: hidden;
}
#personality-test ul li label {
  display: block;
  position: relative;
  margin: 0px auto;
  z-index: 9;
  cursor: pointer;
  -webkit-transition: all 0.25s linear;
  font-weight: 400;
}
#personality-test ul li:hover label {
  color: #ffffff;
}
#personality-test ul li .check {
  display: block;
  position: absolute;
  line-height: 1.1em;
  border-radius: 100%;
  z-index: 5;
  transition: border 0.25s linear;
  -webkit-transition: border 0.25s linear;
  border-color: #aaaaaa;
  border-style: solid;
}
#personality-test ul li:hover .check {
  border-color: #fff;
  border-style: solid;
  color: #fff;
}
#personality-test ul li .check::before {
  display: block;
  position: absolute;
  content: '';
  border-radius: 100%;
  margin: auto;
  transition: background 0.25s linear;
  -webkit-transition: background 0.25s linear;
}
#personality-test input[type='radio']:checked ~ .check {
  border-color: #00ff00;
  border-style: solid;
}
#personality-test input[type='radio']:checked ~ .check::before {
  background: #00ff00;
}
#personality-test input[type='radio']:checked ~ label {
  color: #00ff00;
}
.row-center h1,
.thq-box h1 {
  margin-bottom: 1em;
}
.row-center h2,
.thq-box h2 {
  font-size: 1.2em;
  margin-top: 1em;
  margin-bottom: 1em;
}
.text-box {
  background-color: #fff;
  padding: 1.5em 1em;
  color: #000;
  font-size: 1.25rem;
  font-weight: 300;
}
.col-content {
  max-width: 1140px;
  width: 100%;
  padding-right: 15px;
  padding-left: 15px;
}
.col-widgets {
  height: 38px;
  min-height: 38px;
  margin-top: 1em;
  margin-bottom: 0.6em;
}
.timer {
  display: none;
  justify-content: flex-end;
  z-index: 99;
}
.socials {
  display: flex;
  justify-content: flex-end;
  z-index: 101;
}
.timer span {
  background-color: #fff;
  color: #b9b9b9;
}
.icon-circle,
span.icon-circle,
.timer span {
  vertical-align: middle;
  line-height: 1.44em;
  border-radius: 100%;
  font-size: 1.6em;
  height: 38px;
  width: 38px;
  margin-left: 0.1em;
  margin-right: 0.1em;
  text-align: center;
  cursor: pointer;
}
.icon-circle:hover,
span.icon-circle:hover {
  opacity: 0.7;
}
.icon-circle a {
  color: #fff;
  height: 38px;
  width: 38px;
}
.icon-fb {
  background-color: #3b5999;
}
.icon-pt {
  background-color: #bd081c;
}
.icon-tw {
  background-color: #55acee;
}
.btn-box {
  margin-top: 1em;
  margin-bottom: 1em;
}
.btn-brush,
.navbar-nav .nav-link,
.nav-item::after,
.thq-label,
button.btn-brush {
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  background-color: transparent;
}
.btn-brush,
button.btn-brush {
  display: inline-block;
  position: relative;
  padding: 0.4em 0.6em;
}
#start .btn-brush,
a#start,
button.btn-brush {
  padding: 0.4em 1.2em;
}
.btn-brush-red,
.btn-brush-yellow,
.btn-brush-yello,
.btn-brush-blue,
.btn-brush-white,
a:hover.btn-brush-red,
a:hover.btn-brush-yellow,
a:hover.btn-brush-yello,
a:hover.btn-brush-blue,
a:hover.btn-brush-white,
button:hover.btn-brush-yello {
  transition: 0.6s;
}
.btn-brush-red,
a:hover.btn-brush-white {
  background-image: url(../img/btn-red.svg);
  color: #fff;
}
.btn-brush-yellow {
  background-image: url(../img/btn-yellow.svg);
}
.btn-brush-yello {
  background-image: url(../img/btn-yello.svg);
  color: #fff;
}
.btn-brush-blue {
  background-image: url(../img/btn-blue.svg);
}
.btn-brush-white,
a:hover.btn-brush-red {
  background-image: url(../img/btn-white.svg);
  color: #e92a20 !important;
}

a.btn-brush,
button.btn-brush {
  color: #fff;
  text-transform: uppercase;
}
a.btn-brush:hover {
  text-decoration: none;
}
button.btn-brush {
  border: 0;
  cursor: pointer;
}
button:hover.btn-brush-yello {
  background-image: url(../img/btn-white.svg);
  color: #fecd08 !important;
}
.error {
  max-width: 420px;
  text-align: center;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  flex-direction: column;
  margin: auto;
  background-image: url(../img/error.png);
  background-repeat: no-repeat;
  background-position: center;
}
.error a {
  font-size: 1.2em;
  font-weight: bold;
  color: #feec3d;
}
.error p {
  cursor: default;
}
.error b {
  font-size: 4em;
}
.error p > span {
  font-size: 0.7em;
}
.error ins {
  text-decoration: none;
}

/******/

@media (max-width: 575.98px) {
  .h4,
  h4 {
    font-size: 1.25rem;
  }
  header .container {
    padding: 0;
  }
  .img-brand {
    height: 59px;
  }
  .navbar > a.navbar-brand {
    font-size: 1.5em;
  }
  .question-box ul {
    margin-right: 0em;
    margin-left: 0em;
  }
  .carousel-inner {
    margin-top: 2em;
    overflow: visible;
  }
  ul.th-score,
  .th-score {
    font-size: 1.45rem;
  }
  .thq-label h3 {
    height: 2.5em;
  }
  .th-label {
    font-size: 1.5rem;
  }
  .thq-label h3,
  .thq-label,
  .color-score,
  span.color-score {
    font-size: 1rem;
  }
  #personality-test ul li label,
  #personality-test ul li .check {
    height: 24px;
  }
  .thq-id,
  span.thq-id {
    position: absolute;
    top: -26px;
    left: 45%;
  }
  #personality-test ul li label {
    font-size: 0.9rem;
    padding: 25px 0px 25px 30px;
  }
  #personality-test ul li .check,
  #personality-test ul li:hover .check,
  #personality-test input[type='radio']:checked ~ .check {
    border-width: 3px;
  }
  #personality-test ul li .check {
    left: 0;
    width: 24px;
    top: 30px;
  }
  #personality-test ul li .check::before {
    height: 12px;
    width: 12px;
    top: 3px;
    left: 3px;
  }
  .carousel-inner {
    min-height: 438px;
  }
  .color-score,
  span.color-score {
    margin-right: 0.4em;
    padding: 1em;
  }
}

@media (max-width: 767.98px) {
  header .container {
    max-width: 100%;
  }
  h1,
  .row-center h1,
  .thq-box h1 {
    margin-top: 0.6em;
    margin-bottom: 0.6em;
    font-size: 1.8em;
  }
  h2,
  .row-center h2,
  .thq-box h2 {
    margin-top: 0.75em;
    margin-bottom: 0.75em;
    font-size: 1.2em;
  }
  .form-row {
    padding-right: 10px !important;
    padding-left: 10px !important;
    margin: 0;
  }
  .thq-label {
    margin-left: -10px;
    margin-right: -10px;
    background-size: cover;
  }
  .text-box {
    margin: 0 -15px;
    padding: 15px;
    font-size: 1em;
  }
  .col-widgets {
    margin-top: 0.6em;
    margin-bottom: -1em;
    z-index: 9;
  }
  ul.navbar-nav {
    margin-top: 0.6em;
  }
  .navbar-nav .nav-link {
    text-align: center;
    padding: 0.85em 1em;
    margin-bottom: 0.5em;
    color: #000;
  }
  a:hover.nav-link {
    color: #fecd08;
  }
  .nav-item:first-child .nav-link {
    background-image: url(../img/btn-blue.svg);
  }
  .nav-item:nth-child(2) .nav-link {
    background-image: url(../img/btn-red.svg);
  }
  .nav-item:nth-child(3) .nav-link {
    background-image: url(../img/btn-yello.svg);
  }
  .nav-item:nth-child(4) .nav-link {
    background-image: url(../img/btn-blue.svg);
  }
  .navbar-nav .nav-link:hover {
    background-image: url(../img/btn-white.svg);
  }
  a.btn-brush,
  button.btn-brush {
    font-size: 1.7em;
  }
  .thq-id,
  span.thq-id,
  .color-score,
  span.color-score {
    margin-right: 0.6em;
  }
}

@media (min-width: 576px) and (max-width: 767.98px) {
  .h4,
  h4 {
    font-size: 1.35rem;
  }
  .img-brand {
    height: 69px;
  }
  .navbar > a.navbar-brand,
  a.btn-brush,
  button.btn-brush {
    font-size: 1.7em;
  }
  .question-box ul {
    margin-right: 1em;
    margin-left: 1em;
  }
  ul.th-score,
  .th-score {
    font-size: 1.55rem;
  }
  .thq-label h3 {
    height: 2.7em;
  }
  .thq-label h3,
  .thq-label {
    font-size: 1.1rem;
  }
  .th-label {
    font-size: 1.6rem;
  }
  .color-score,
  span.color-score {
    font-size: 1.25rem;
  }
  .thq-id,
  span.thq-id,
  .color-score,
  span.color-score {
    display: inline-block;
  }
  #personality-test ul li label,
  #personality-test ul li .check {
    height: 26px;
  }
  #personality-test ul li label {
    font-size: 1rem;
    padding: 25px 25px 25px 40px;
  }
  #personality-test ul li .check,
  #personality-test ul li:hover .check,
  #personality-test input[type='radio']:checked ~ .check {
    border-width: 4px;
  }
  #personality-test ul li .check {
    width: 26px;
    top: 26px;
    left: 0;
  }
  #personality-test ul li .check::before {
    height: 12px;
    width: 12px;
    top: 3px;
    left: 3px;
  }
  .carousel-inner {
    min-height: 396px;
  }
}

@media (min-width: 768px) and (max-width: 991.98px) {
  .img-brand {
    height: 79px;
  }
  .navbar > a.navbar-brand,
  a.btn-brush,
  button.btn-brush {
    font-size: 1.8em;
  }
  .col-widgets {
    margin-top: 0.8em;
    margin-bottom: -0.5em;
    z-index: 9;
  }
  h1,
  .row-center h1,
  .thq-box h1 {
    margin-top: 0.8em;
    margin-bottom: 0.8em;
    font-size: 1.9em;
  }
  h2,
  .row-center h2,
  .thq-box h2 {
    margin-top: 0.9em;
    margin-bottom: 0.9em;
  }
  ul.th-score,
  .th-score {
    font-size: 1.65rem;
  }
  .thq-label h3 {
    height: 2.9em;
  }
  .thq-label h3,
  .thq-label {
    font-size: 1.2rem;
  }
  .color-score,
  span.color-score {
    font-size: 1.5rem;
  }
  .question-box ul {
    margin-right: 1.5em;
    margin-left: 1.5em;
  }
  .carousel-inner {
    min-height: 464px;
  }
}

@media (min-width: 768px) {
  .form-row {
    padding-right: 15px !important;
    padding-left: 15px !important;
  }
  a:hover.nav-link {
    color: #fff;
  }
  .nav-item::after {
    content: '';
    margin-top: -52px;
    display: block;
    width: 0px;
    height: 52px;
    background-image: url(../img/btn-blue.svg);
    transition: 0.2s;
  }
  .nav-item:hover::after {
    width: 100%;
  }
  .nav-link {
    transition: 0.2s;
  }
  .thq-label h3 {
    max-width: 560px;
  }
  .thq-id,
  span.thq-id,
  .color-score,
  span.color-score {
    margin-right: 1em;
    display: inline-block;
  }
  #personality-test ul li label,
  #personality-test ul li .check {
    height: 30px;
  }
  #personality-test ul li label {
    font-size: 1.15rem;
    padding: 25px 25px 25px 60px;
  }
  #personality-test ul li .check,
  #personality-test ul li:hover .check,
  #personality-test input[type='radio']:checked ~ .check {
    border-width: 5px;
  }
  #personality-test ul li .check {
    left: 10px;
    width: 30px;
    top: 30px;
  }
  #personality-test ul li .check::before {
    height: 14px;
    width: 14px;
    top: 3px;
    left: 3px;
  }
}

@media (min-width: 992px) {
  .img-brand {
    max-height: 89px;
    height: 89px;
  }
  .navbar > a.navbar-brand,
  a.btn-brush,
  button.btn-brush {
    font-size: 2em;
  }
  .col-widgets {
    margin-top: 1em;
    margin-bottom: 0.6em;
  }
  ul.th-score,
  .th-score {
    font-size: 1.75rem;
  }
  .thq-label h3 {
    height: 3.2em;
  }
  .thq-label h3 {
    font-size: 1.3rem;
  }
  .question-box ul {
    margin-right: 2em;
    margin-left: 2em;
  }
  .carousel-inner {
    min-height: 448px;
  }
}

/******/
.ink {
  display: inline;
  position: absolute;
  background-color: #6ebe44;
  border-radius: 100%;
  transform: scale(0);
}
.ink.animate {
  animation: ripple 0.45s linear;
}
@keyframes ripple {
  100% {
    opacity: 0;
    transform: scale(2.5);
  }
}
.btn-pulse:hover {
  animation: pulse 6s infinite;
  color: #fff;
}

@keyframes pulse {
  0% {
    background-image: url(../img/btn-red.svg);
    color: #fff;
  }
  25% {
    background-image: url(../img/btn-white.svg);
    color: #e92a20;
  }
  50% {
    background-image: url(../img/btn-yellow.svg);
    color: #e92a20;
  }
  75% {
    background-image: url(../img/btn-blue.svg);
    color: #fff;
  }
  100% {
    background-image: url(../img/btn-red.svg);
    color: #fff;
  }
}
