/*  PRELANDER.PRO
    Thematize your prelander by changing the values within the :root brackets. 
*/

:root {
    /*COLOR PALETTE*/
    --primary-color-light: #00562c;
    --primary-color: #00562c;
    --secondary-color: rgb(63, 105, 255);
    --header-color: #00562c;
    --positive-color:#1e9a22;
    --negative-color:rgb(255, 46, 46);
    --strike: #bebebe;
    --button-background-1: var(--primary-color);
    --button-background-2: var(--secondary-color);
    --bg: #f4f4f4;
    --banner: url(../img/top.png);
    --alert: url(../img/alert.png);
    --checkmark: url(../img/chackmark.png);
    --checkmark-grey: url(../img/chackmarkg.png);
    --left-arrow: url(../img/arrow-left.png);
    --right-arrow: url(../img/arrow-right.png);
    --eye-img: url(../img/eyeimg.png);
    --verified: url(../img/verified.png);
    --background-color: #fff;
    --background-color-grey: #fff;

    /*FONT STYLING*/
    --font-color-light: #ffffff;
    --font-color-grey: #555;

    /*PADDING AND MARGINS*/
    --tile-padding: 30px;
    --tile-margin: 30px;

}

/*GENERAL CSS*/
.wrapper {
    width: 100%;
    margin: 0px auto;
    display: flex;
    flex-direction: column;
}

.content {
    background: var(--bg);
    background-size: cover;
    flex: 1 0 auto;
}

.tile {
    margin-top: 2rem;
    margin-bottom: 1rem;
    color: var(--font-color);
    background-color: var(--background-color);
    border-radius: 15px;
    overflow: hidden;
}

.tile .row{
    padding: 0 20px;
}

.justify-content-center {
    margin: auto;
}

/*TOP BANNER*/
.banner {
    text-align: center;
    font-weight: bold;
    color: var(--font-color-light);
    background-color: var(--primary-color);
    padding: 0.2em 0;
}
.banner p {
    font-size: 0.8em;
    margin: 0;
}

.header {
    background: var(--background-color-grey);
    text-align: center;
}

.headertop {
    background: var(--background-color-grey);
    text-align: center;
}

.sub_title {
    margin: 5px auto;
    font-size: 12px;
    font-weight: 700;
    position: relative;
}

.sub_title span {
    position: relative;
    z-index: 2;
    color: var(--strike);
    background: var(--background-color);
    padding: 0 10px;
}

.sub_title:before {
    content: '';
    background: var(--strike);
    width: 40%;
    height: 1px;
    position: absolute;
    left: 30%;
    top: 50%;
}

.logo {
    text-align: center;
    margin: 5px auto 10px auto;
}

.logo img{
    width: 40%;
    max-width: 360px;
    min-width: 120px;
}

.box {
    display: block;
    width: fit-content;
    margin: 0px auto 10px auto;
    text-align: center;
    border-radius: 50px;
    padding: 3px 5px 3px 8px;
    font-size: 12px;
    font-weight: 700;
    border: 1px solid #efefef;
    background: var(--background-color-grey);
}

.flag {
    height: 1.2em;
    vertical-align: text-top;
    margin-left: 0.4em;
}

.attent {
    border-radius: 10px;
    background: var(--alert), #e9acac;
    background-size: contain;
    background-repeat: no-repeat;
    padding: 7px 7px 7px 40px;
    font-size: 12px;
    margin: 20px auto 0 auto;
    text-align: left;
}

#prizepage .attent {
    width: fit-content;
    margin: 0;
}
.load-survey, .survey-button, .end-button {
    display: inline-block;
    font-size: 18px;
    background-color: var(--button-background-1);
    margin: 0 auto;
    margin-bottom: 5px;
    width: fit-content;
    padding: 10px 15px;
    border-radius: 12px;
    color: #fff;
    font-weight: bold;
    cursor: pointer;
    box-shadow: 0px 3px 6px #00000029;
    position: relative;
    overflow: hidden;
}

.load-survey:hover, .survey-button:hover, .end-button:hover {
    background-color: var( --button-background-2);
}

.load-survey {
    width: 60%;
    min-width: 220px;
    text-align: center;
    margin-top: 20px;
    margin: 0 auto;
    display: block;
}

.load-survey::after, .end-button::after {
    animation: shine 3s ease-in-out infinite;
    animation-fill-mode: forwards;
    content: "";
    position: absolute;
    top: -80%;
    left: -200%;
    width: 150%;
    height: 500%;
    opacity: 0;
    transform: rotate(-10deg);
    background: rgba(255,255,255,0.13);
    background: linear-gradient(to right,rgba(255,255,255,0.0) 0%,rgba(255,255,255,0.0) 30%,rgba(255,255,255,0.13) 77%,rgba(255,255,255,0.5) 92%,rgba(255,255,255,1) 92%,rgba(255,255,255,0.0) 100%);
}

.end-button {
    display: block;
    background: url(../img/add-to-cart.png), var(--secondary-color);
    background-size: auto 80%;
    background-position: right center;
    padding-right: 45px;
    background-repeat: no-repeat;
    margin: 0;
}
.product-button {
    text-decoration: none;
}

@keyframes shine {
    10% {
        opacity: 1;
        top: -30%;
        left: -200%;
        transition-property: left,top,opacity;
        transition-duration: 0.7s,0.7s,.15s;
        transition-timing-function: ease
    }

    100% {
        opacity: 0;
        top: -30%;
        left: 100%;
        transition-property: left,top,opacity
    }
}

.product {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    text-align: center;
}

.product img {
    width: 400px;
    max-width: 100%;
    margin: 0 auto;
}
.product p {
    width: 100%;
}
.stonks {
    font-weight: bold;
}

.description {
    font-size: 0.8em;
}

/*CONTENT CONTAINER*/
.content {
    background: var(--bg);
    background-size: cover;
    flex: 1 0 auto;
}

#presentation, #survey {
    padding-bottom: 10px;
}

#survey, #processing, #product, #comments, #validation, #prizepage {
    display: none;
}

/*SURVEY*/
.headerbox {
    -webkit-transition: background-color 0.2s linear;
    -ms-transition: background-color 0.2s linear;
    transition: background-color 0.2s linear;
    font-size: 16px;
    font-weight: bold;
    padding: 12px 18px;
    margin-bottom: 15px;
    color: var(--font-color-light);
    background-color: var(--header-color);
}

.question, .answer {
    text-align: center;
    margin-top: 20px;
}

.questStep {
    font-size: 0.8em;
    font-weight: bold;
    color: var(--strike);
}

/*VALIDATION*/
.validations,
.validationsanswers {
    display: none;
}

.validationsanswers {
    color: var(--positive-color);
    margin: 0;
    font-weight: bold;
}

.validations {
    margin: 10px auto 5px auto;
}

#validation {
    text-align: center;
}

#validation .row {
    min-height: 240px;
}

#validation img {
    margin-top: 40px;
    width: 14%;
}
#validation .on{
    background-color: var(--positive-color);
    
}

/*PRIZE*/
.prize {
    background: var(--background-color);
    padding-top: 15px!important;
    padding-bottom: 15px!important;
}

.disclaimer {
    margin-top: 20px;
    font-size: 0.8em;
    line-height: 1.2em;
    font-weight: bold;
    font-style: italic;
    color: var(--font-color-grey);
}

/*COMMENTS*/
#comments {
    padding-top: 1.4em;
}
#comments h4 {
    font-size: 1em;
    margin-bottom: 1em;
    text-align: center;
}

.profile {
    text-align: left;
    font-size: 12px;
    background: #F3F3F3;
    padding: 1em 1em 0em 1em;
    margin-bottom: 1em;
    border-radius: 14px;
}
.profile img {
    max-width: 100%;
}
.message {
    background: #F3F3F3;
    margin-bottom: 1em;
    display: inline-block;
}
.message h3 {
    font-size: 17px;
    font-weight: bold;
    margin-top: 1em;
}
.message p {
    font-size: 14px;
}
.profile p {
    color: #5A5A5A;
    margin-top: 2px;
}

.picture img{
    border-radius: 100%;
    width: 100%;
}

.username {
    color: #0071DC;
    font-weight: bold;
}

.username::after {
    content: 'VERIFIED';
    vertical-align: baseline;
    padding-left: 1.2em;
    height: 1em;
    margin-left: 0.3em;
    background: var(--verified);
    background-repeat: no-repeat;
    background-size: contain;
    display: inline-block;
    line-height: 1.2em;
    font-size: 0.9em;
    color: var(--positive-color);
}

/*FOOTER*/
.footer {
    -ms-flex-item-align: stretch;
    align-self: stretch;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    text-align: center;
    padding: 20px;
    color: var(--font-color-grey);
    background-color: var(--background-color);
}

.red {
    color: var(--negative-color);
}

.green {
    color: var(--positive-color);
}


.footer h4 {
    font-size: 1.2rem;
    color: var(--font-color-grey);
}

.terms {
    font-size: 0.7rem;
    opacity: 0.7;
    text-align: center;
    margin: 0.5em 0;
    color: var(--font-color-grey);
    opacity: 0.6;
}

@media screen and (max-width:720px) {

    #validation img {
        margin-top: 40px;
        width: 35%;
        max-width: 140px;
    }
    .headerbox {
        font-size: 14px;
        padding: 8px 0;
    }
    .page {
        min-height: 65vh;
    }
    .banner {
        min-height: 20px;
    }
    .tile {
        padding: 0 0 1em 0;
        text-align: center;
        margin-top: 0.5rem;
    }
    .box {
        font-size: 10px;
        padding: 6px 8px;
        right: 0;
        top: 22px;
    }
    .header h2 {
        font-size: 22px;
        margin-bottom: 2px;
    }
    .sub_title {
        font-size: 10px;
    }
    #comments h4 {
        font-size: 0.8em;
    }
    .product img {
        width: 400px;
        max-width: 180px;
    }
    .product-info {
        margin: 0;
        line-height: 0.9em;
    }
    .end-button {
        font-size: 1rem;
        margin: 0.2rem auto;
    }
    .message h3 {
        font-size: 14px;
        font-weight: bold;
    }
    .message p {
        font-size: 11px;
        margin-top: 0;
    }
    h3 {
        font-size: 1.2rem;
    }

    h4 {
        font-size: 1rem;
    }

    p {
        font-size: 0.9em;
        margin-bottom: 1rem;
        font-weight: 400;
        line-height: 1.2;
    }

    .footer p {
        font-size: 0.6rem;
        margin-bottom: 0.15rem;
    }
    .viewing {
        width: 100%;
        right: -25%;
        bottom: 21px;
        position: relative;
        font-size: 10px;
    }
    .attent {
        padding: 7px 7px 7px 55px;
    }
    #prizepage .attent {
        margin: 0 auto;
        width: fit-content;
        padding: 7px 7px 7px 40px;
    }
    .description {
        font-size: 0.7em;
    }
}