@import url('https://fonts.googleapis.com/css?family=Roboto:400,700&amp;display=swap');
* {
    margin: 0;
    padding: 0;
    outline: 0
}
h3 {
    font-weight: normal;
}
html {
    font-size: 62.5%
}

body {
    font-family: Roboto, -apple-system, BlinkMacSystemFont, "Segoe UI", Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;
    font-size: 100%;
    margin: 0 auto;
    min-height: 100%;
    color: #1c1e21;
    background-color: #ebedf0;
}

.topnav {
    background: #4e69a2;
    background: -moz-linear-gradient(top, #4e69a2 0%, #3b5998 50%);
    background: -webkit-linear-gradient(top, #4e69a2 0%,#3b5998 50%);
    background: linear-gradient(to bottom, #4e69a2 0%,#3b5998 50%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#4e69a2', endColorstr='#3b5998',GradientType=0 );
    color: #fff;
    overflow: hidden;
    padding: 1em;
    text-align: center;
}

.topnav a {
  float: left;
  color: #f2f2f2;
  text-align: center;
  padding: 14px 16px;
  text-decoration: none;
  font-size: 2rem;
}

.logo {
    max-height: 75px;
    z-index: 12;
}

.flashy {
    color: #4e69a2;
	width: 100%;
    min-height: 20px;
    font-size: 3rem;
    font-weight: bold;
    padding: 5px 0;
    margin: 5px auto;
    text-align: center;
}

.step {
    font-size: 2rem;
    color: #1c1e21;
    display: none;
    margin: 0 auto;
    padding: 3rem 1rem 1rem 1rem;
    text-align: center
}

.step .ok {
    display: block;
    /*height: 40px;*/
    /*line-height: 40px;*/
    background: #79bc64;
    background: -moz-linear-gradient(top, #79bc64 0%, #578843 100%);
    background: -webkit-linear-gradient(top, #79bc64 0%,#578843 100%);
    background: linear-gradient(to bottom, #79bc64 0%,#578843 100%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#79bc64', endColorstr='#578843',GradientType=0 );
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.4);
    color: #fff;
    text-align: center;
    text-transform: uppercase;
    cursor: pointer;
    text-decoration: none;
    /*height: 106px;*/
    /*line-height: 106px;*/
    /*font-size: 34px;*/
    position: relative;

    font-size: 30px;
    width: 40%;
    min-width: 250px;
}


/*  HB 
    ========================================================================== */

.btn {
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
    letter-spacing: -0.5px;
    letter-spacing: -0.05em;
    position: relative;
    z-index: 1;
    -webkit-transition: -webkit-transform 0.2s ease-out;
    -moz-transition: -moz-transform 0.2s ease-out;
    -ms-transition: -ms-transform 0.2s ease-out;
    -o-transition: -o-transform 0.2s ease-out;
    transition: transform 0.2s ease-out;
}
    .btn::before {
      -webkit-border-radius: 5px;
      -moz-border-radius: 5px;
      border-radius: 5px;
      display: block;
      content: '';
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background: rgba(255,255,255,0.2);
      z-index: -1;
      opacity: 0;
      -webkit-transform: scale3d(0.9, 0.1, 1);
      transform: scale3d(0.9, 0.1, 1);
      -webkit-transition: -webkit-transform 0.4s, opacity .4s;
      transition: transform 0.4s, opacity .4s;
      -webkit-transition-timing-function: cubic-bezier(0.2, 1, 0.3, 1);
      transition-timing-function: cubic-bezier(0.2, 1, 0.3, 1);
    }
    .btn:hover::before {
      opacity: 1;
      -webkit-transform: translate3d(0, 0, 0);
      transform: translate3d(0, 0, 0);
    }
    .btn:active {
      -webkit-transition: transform 0.1s linear;
      -moz-transition: transform 0.1s linear;
      -ms-transition: transform 0.1s linear;
      -o-transition: transform 0.1s linear;
      transition: transform 0.1s linear;
        -webkit-transform: translateY(1px);
        -ms-transform: translateY(1px);
        -o-transform: translateY(1px);
        transform: translateY(1px);
    }


  .btn:hover {
    -webkit-transform: scale(1.025);
    -moz-transform: scale(1.025);
    -ms-transform: scale(1.025);
    -o-transform: scale(1.025);
    transform: scale(1.025);
  }


    
.step .ok:after {
    content: '';
    display: block;
    width: 22px;
    height: 31px;
    position: absolute;
    right: 40px;
    margin: auto;
    top: 0;
    bottom: 0;
    background: url(../assets/btnpart.png) no-repeat;
    -webkit-animation: next 1.2s infinite normal ease-out;
    -moz-animation: next 1.2s infinite normal ease-out;
    animation: next 1.2s infinite normal ease-out
}

@-webkit-keyframes next {
    0% {
        opacity: 0;
        right: 40px;
    }
    15% {
        opacity: 1;
        right: 30px;
    }
    100% {
        opacity: 0;
        right: 10px;
    }
}

@-moz-keyframes next {
    0% {
        opacity: 0;
        right: 40px;
    }
    15% {
        opacity: 1;
        right: 30px;
    }
    100% {
        opacity: 0;
        right: 10px;
    }
}

@keyframes next {
    0% {
        opacity: 0;
        right: 40px;
    }
    15% {
        opacity: 1;
        right: 30px;
    }
    100% {
        opacity: 0;
        right: 10px;
    }
}

.step:nth-child(1) {
    display: block
}

.step p {
    font-size: 2rem;
    padding: 2rem 0
}

.step.step_check .step_head {
    text-transform: none
}

.choose_answer {
    font-style: italic;
    font-size: 2rem;
    padding: 2rem 0 3rem 0;
    display: block
}

.answer_box {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    display: inline-block;
    vertical-align: top
}

.checkbox_wrap {
    margin: 0 auto;
    width: 100%;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    max-width: 600px
}

.option {
    width: 28%;
    position: relative;
    cursor: pointer;
    text-align: center;
    margin: 0.5rem 2%;
    -webkit-transition: -webkit-transform 0.25s ease-out;
    -moz-transition: -moz-transform 0.25s ease-out;
    -ms-transition: -ms-transform 0.25s ease-out;
    -o-transition: -o-transform 0.25s ease-out;
    transition: transform 0.25s ease-out;
}
.option:hover {
    -webkit-transform: scale(1.075);
    -moz-transform: scale(1.075);
    -ms-transform: scale(1.075);
    -o-transform: scale(1.075);
    transform: scale(1.075);
}

.option img {
    display: block;
    width: 100%;
    border: 3px solid #333;
    border-radius: 8px
}

.option-title {
    font-size: 2rem;
    padding-top: 5px
}

.option.checked img {
    border-color: #4e69a2
}

.option.checked .option-title {
    color: #4e69a2
}

.btn {
    color: #fff;
    display: block;
    margin: 2rem auto;
    padding: 6px 0;
    max-width: 220px;
    width: 100%;
    font-size: 2rem;
    font-weight: bold;
    text-decoration: none;
    background: #79bc64;
    background: -moz-linear-gradient(top, #79bc64 0%, #578843 100%);
    background: -webkit-linear-gradient(top, #79bc64 0%,#578843 100%);
    background: linear-gradient(to bottom, #79bc64 0%,#578843 100%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#79bc64', endColorstr='#578843',GradientType=0 );
    box-shadow: inset 0 1px 1px #a4e388;
    border: 1px solid;
    border-color: #3b6e22 #3b6e22 #2c5115;
    cursor: pointer;
    letter-spacing: 1px;
    text-shadow: 0 1px 2px rgba(0,0,0,.5);
}


@media screen and (max-width: 560px) {
    html {
        font-size: 55%
    }
    .answer_box {
        display: block;
        text-align: left
    }
    .girl {
        width: 45%;
    }
}

@media screen and (max-width: 420px) {
    html {
        font-size: 55%
    }
}

@media screen and (max-width: 350px) {
    .girl {
        width: 45%;
    }
}