/* 
GREEN #28a745
GREY #393939
*/

body {
    font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,"Noto Sans",sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji";
    font-size: 18px;
}

/* body:before {
    content: "";
    display: block;
    height: 85%;
    width: 100%;
    background-color: #c8e8e1;
    position: absolute;
    z-index: -1;
    background-image: url(../images/bg.png);
    background-position: 100% 80%;
    background-repeat-x: repeat;
    background-repeat-y: no-repeat;
    background-size: 20%;
} */

h1 {
    color: #28a745;
    font-size: 6rem;
    text-align: center;
    margin: 0 0 20px;
    font-weight: 900;
    text-shadow: 3px 3px #ffffff, 6px 6px #000;
    font-style: italic;
}
.startscreen p {
    text-align: center;
    padding-bottom: 20px;
}

.d-none {
    display: none !important;
}

#startquiz:hover { background: #28a745;}

#startquiz {
    display: block;
    padding: 6px 40px 6px !important;
    background: #28a745;
    border-radius: 60px;
    border: none;
    margin: 30px auto 0;
    max-width: 290px;
    font-size: 22px;
    color: #ffffff;
    font-weight: 900;
    text-align: center;
}

a:hover {
    text-decoration: none !important
}

 input[type="button"] {
    display: block;
    width: 100%;
    background: #333;
    border: none;
    color: #fff;
    border-radius: 30px;
    padding: 15px;
    text-transform: uppercase;
    margin: 2rem ;
    max-width: 200px;
    float: right;
}

form section a {
    display: block;
    color: #ccc;
    margin-bottom: 15px;
    margin-top: -15px;
}


form section p {
    margin: 0 0 10px;
    font-size: 28px;
    font-weight: 400;
    color: #ffffff;
    padding: 1rem;
    text-shadow: 0 2px 3px black;
    background: #000000ad;
}

form section {
    padding: 0;
    text-align: center;
    margin: auto;
    border-radius: 5px;
    position: relative;
    height: 100%;
    overflow: hidden;
    display: none;
    min-height: 70vh;
    flex-direction: column;
    border-radius: 28px;
    justify-content: space-around;
}

p.sentence {
    font-size: 16px;
    background: #0006;
    padding: 1rem;
}

form section.active {
    display: flex;
}

input.question-input {
    width: 25px;
    margin-top: 8px;
    display: none;
    float: left;
    margin-right: 0px;

}

.startscreen {
    padding: 30px;
}

.startscreen img {
    width: 100%;
    border-radius: 30px;
}


.pc-wrap {
    max-width: 980px;
    margin: 40px auto 0;
    border-radius: 20px;
    position: relative;
    /* margin-bottom: 120px; */
}

.pc-screen {
    height: 100%;
    box-shadow: 0 0 40px rgba(255, 255, 255, 0.2);
    border: 2px dashed #000;
    border-radius: 30px;
}



span.num {
    background: #28a745;
    height: 80px;
    width: 80px;
    display: block;
    margin: 20px auto 10px;
    line-height: 78px;
    color: #fff;
    font-size: 40px;
    border: 2px solid #fff;
    border-radius: 50%;
    font-weight: 800;
}

.wrap-q {
    padding-bottom: 1rem;
}

a#startover {
    padding: 10px 30px;
    background: #fff;
    border-radius: 30px;
    box-shadow: 5px 10px 20px rgba(51, 51, 51, 0.3);
    margin: 50px auto;
    display: block;
    color: #000;
    max-width: 200px;
    text-align: center;

}



.pager { margin: 0;}
.pager a {
    padding: 12px 30px;
    background: #28a745;
    border-radius: 30px;
    box-shadow: 0px 5px 20px rgba(51, 51, 51, 0.2);
    color: #fff;
    font-size: 22px;
}

.pager .prev:hover {
    opacity: 0.6;
}

.pager .prev {
    float: left;
    transition: 0.2s;
    text-decoration: none !important;
}

.pager .next:hover {
    opacity: 0.6;
}

.pager .next {
    float: right;
    transition: 0.2s;
    text-decoration: none !important;
    margin: 2rem 3rem;
}
.wrap-q.disable{ pointer-events: none;    transition: 0.5s linear 0.2s;
    opacity: 0.6;}

label {
    display: inline-block;
    padding: 10px 20px 10px;
    background: #28a745;
    border-radius: 60px;
    font-size: 22px;
    transition: 0.2s;
    margin: 0 1rem 15px;
    cursor: pointer;
    font-weight: 500;
    color: #fff;
    transition: 0.2s;
}

label:hover {
    background: #28a745;
    cursor: pointer;
    opacity: 0.6;
}

label.active {
    background: #393939;
    cursor: pointer;
    color: #fff;
}

div#results {
    text-align: center;
    max-width: 100%;
    margin: 0;
    border-radius: 5px;
    font-size: 34px;
}

div#results span {
    font-size: 60px;
    font-weight: 900;
}

a.logo-link {
    display: block;
    margin: 10px auto;
    max-width: 320px;
    text-align: center;
    padding: 3rem;
    border-radius: 50px;
}

.resultswrap {
    margin-top: 60px;
    color: #28a745;
    font-size: 30px;
    padding: 0 40px;
}

.resultswrap small {
    font-size: 26px;
    display: block;
    color: #1e333a;
}


.resultswrap p {
    margin: 20px 40px 40px;
    font-size: 24px;
}

.q-message {
    padding: 3rem;
    position: absolute;
    margin: auto;
    left: 0;
    bottom: 0;
    right: 0;
    z-index: -1;
    color: #28a745;
    font-size: 26px;
    font-weight: 500;
    border-radius: 30px;
}


.thumb {
    overflow: hidden;
    height: 250px;
    border-radius: 20px;
    display: flex;
    text-align: center;
    justify-content: center;
    margin: 1%;
    flex: 1 0 40%;
    opacity: 0.2;
    transition: 0.3s;
    position: relative;
    max-width: 30%;
    cursor: pointer;
}

.thumb.active span {
    position: absolute;
    bottom: 0;
    top: 0;
    margin: auto;
    max-height: 80px;
    font-size: 14px !important;
    color: #fff !important;
    display: inline-table;
    background: #28a745;
    padding: 10px 20px;
    border-radius: 10px;
}

.thumb.active span::before {
    content: "";
    height: 30px;
    width: 30px;
    background: url(../images/check.svg);
    display: block;
    bottom: -26px;
    position: absolute;
    background-size: contain;
    left: 0;
    right: 0;
    margin: auto;
    border-radius: 50%;
    box-shadow: 0 0 30px #0000008f;
    border: 2px #fff solid;
}

.thumb span {
    position: absolute;
    bottom: -100%;
    font-size: 16px !important;
    color: #fff !important;
    display: block;
    background: #28a745;
    padding: 10px 20px;
    border-radius: 10px;
    transition: 0.2s;
}

.thumb:hover {
    opacity: 1;
}

.thumb:hover span {
    position: absolute;
    bottom: 0;
    top: 0;
    margin: auto;
    max-height: 40px;
    font-size: 14px !important;
    color: #fff !important;
    display: inline-table;
    background: #28a745;
    padding: 10px 20px;
    border-radius: 10px;
}

.thumb.active {
    opacity: 1;
}

.thumb img {
    height: 100%;
}

.thumb p {
    position: absolute;
    top: 0;
    font-size: 14px !important;
    color: #fff !important;
    display: block;
    background: rgba(0, 0, 0, 0.5);
    padding: 10px 15px;
    transition: 0.2s;
}

.fv-wrap {
    padding: 30px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}


a.logo-link img {
    width: 100%;
}

.share-links {
    text-align: center;
}


.share-link a {
    display: inline-block;
    padding: 8px 30px 8px !important;
    background: #28a745;
    border-radius: 60px;
    border: none;
    margin-bottom: 30px;
    width: 150px;
    margin: 0px 3px 30px;
}

.share-link a:hover, .share-link a:active, span.share-link a:focus{
    background: #28a745 !important;

}

.img-wrap {
    width: 100%;
    height: 100%;
    margin: 30px auto;
    border-radius: 18px;
    display: flex;
    justify-content: center;
    align-items: center;
    position: absolute;
    z-index: -1;
    opacity: 0.7;
    overflow: hidden;
    align-content: center;

}

.img-wrap img {
    width: auto;
    height: 100%;
    filter: blur(4px);
    transform: scale(1.05);
}

a.source {
    font-size: 16px;
    width: fit-content;
    background: #0000008c;
    padding: 1rem 2rem;
    border-radius: 20px;
    margin: 0 auto;
    color: #fff;
}

.startscreen .img-wrap {
    border-radius: 30px;
    width: 100%;
    height: auto;
    margin: 0px auto 20px;
    position: relative;
    opacity: 1;
}
.startscreen .img-wrap img{
filter: none; 
}

.fv-wrap p {
    font-size: 18px;
    display: block;
    text-align: center;
    width: 100%;
    margin-bottom: 20px;
    font-weight: 600;
}


/* Macbook */
@media screen and (max-width: 1400px) {}

/* Laptop */
@media screen and (max-width: 1366px) {}

/* Tab - Landscape */
@media screen and (max-width: 1024px) {
    .pc-wrap:after {
        display: none;
    }

    .thumb {
        overflow: hidden;
        height: 240px;
        display: flex;
        text-align: center;
        justify-content: center;
        margin: 1%;
        flex: 1 0 50%;
        opacity: 0.4;
        max-width: 47%;
    }
}

/* Tab - Portait */
@media screen and (max-width: 768px) {

    .resultswrap:before {
        top: 120px;
    }
    .resultswrap:after {
        top: 120px;
    }
    form section p:before, form section p:after {
        top: 60px;
        width: 120px;
    }
    label {
        display: block;
    }

.resultswrap {
    margin-top: 30px;
    padding: 0 20px;
    color: #28a745;
}
div#results {
    font-size: 28px;
}

.q-message {
    position: static !important;
    margin-top: 1rem;
    padding: 1rem !important;
    border-radius: 0px;
}


}

/* Mobi */
@media screen and (max-width: 520px) {
  

    .pc-wrap {
        max-width: 800px;
        margin: 40px auto 20px;

        border-radius: 20px;
        /* padding: 20px 12px 40px; */
        /* height: 600px; */
        position: relative;
        /* margin-bottom: 100px; */
    }

    .pc-wrap:after {
        content: "";
        display: block;
        border-radius: 50%;
        height: 25px;
        width: 25px;
        border: #fff solid 1px;
        bottom: 8px;
    }



    label {
        display: block;
        padding: 10px 20px 10px;
        border-radius: 60px;
        font-size: 18px;
        transition: 0.2s;
        margin: 8px 35px;
        /* max-width: 260px; */
    }



    .thumb {
        overflow: hidden;
        height: 180px;
        flex: 1 0 100%;
        max-width: 100%;
        opacity: 1;
    }

    h1 {
        font-size: 30px;
    }
    #startquiz{
        font-size: 18px;
    }
    .startscreen img {
        width: 80%;
        border-radius: 30px;
    }

    .resultswrap:before {
        content: "";
        display: block;
        height: 100px;
        position: absolute;
        left: 25px;
        top: 140px;
        width: 70px;
    }

    .resultswrap:after {
        content: "";
        display: block;
        height: 100px;
        position: absolute;
        right: 25px;
        top: 140px;
        width: 70px;
    }

    .thumb span {
        bottom: -100%
    }

    .thumb.active span,
    .thumb:hover span {
        position: absolute;
        bottom: 0;
        top: auto;
        margin: auto;
        max-height: 100%;
        font-size: 16px !important;
        color: #fff !important;
        display: inline-block;
        background: rgb(133, 189, 38);
        padding: 16px;
        border-radius: 0;
        left: 0;
        line-height: 19px;
        height: auto;
        right: 0;
    }

    .thumb.active span::before {
        content: "";
        height: 20px;
        width: 20px;
        top: 20px;
        text-align: left;
        margin: -32px auto;
    }


    .resultswrap {
        font-size: 38px;
    }


    .resultswrap p {
        margin: 20px 10px 30px;
        font-size: 22px;
        font-weight: 400;
    }
 
    input[type="button"] {
        margin: 2rem auto;
        float: none;
    }

}

@media screen and (max-width: 475px ){
    .resultswrap:before ,.resultswrap:after{
      display: none;
    }
    form section p:before, form section p:after {
        display: none;
    }
}