.modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 50;
    background: rgba(0, 0, 0, 0.6);
}

.modal {
    display: block;
    width: 550px;
    max-width: 100%;
    max-height: 100%;
    position: fixed;
    z-index: 100;
    left: 50%;
    top: 50%;

    transform: translate(-50%, -50%);

    background: white;
    box-shadow: 0 0 60px 10px rgba(0, 0, 0, 0.9);
    border: 2px solid red;
    border-radius: 8px;
    text-align: center;
}


@media only screen and (max-width: 768px) {
    .modal{
        width:100%;
    }
}

/*-------------------------------------*/

.footer_intro p {
    margin-bottom: 10px;

}
.footer_quiz {
    display: none;
}

.progress__container___13c6q,
#STEP_QUESTIONS,
#STEP_CARDS,
#STEP_NAME_FORM,
#STEP_EMAIL_FORM {
    display: none;
}



#STEP_CARDS [class^='card_text_'] {
    display: none;
    font-size: 18px;
}

#STEP_CARDS .card_container {
    margin-top: 20px;
}

#STEP_CARDS .card_container .card_deck {
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    margin-bottom: 15px;
    margin-left: 25px;
    -webkit-box-pack: center;
    -webkit-justify-content: center;
    -ms-flex-pack: center;
    justify-content: center;
}

#STEP_CARDS .card_container .card_deck .card_deck_card {
    width: 110px;
    max-height: 204px;
    margin-left: -15px;
    -webkit-transition: all 300ms ease;
    transition: all 300ms ease;
    cursor: pointer;
}

#STEP_CARDS .card_container .card_deck .card_deck_card:nth-child(2n+1) {
    margin-top: 15px;
}

#STEP_CARDS .card_container .card_deck .card_deck_card img {
    max-width: 100%;
    vertical-align: middle;
    display: inline-block;
    width: 100%;
    height: 100%;
}

#STEP_CARDS .card_container .card_deck .card_deck_card:hover {
    margin-top: -10px;
}

#STEP_CARDS .card_container .card_deck .card_deck_card.selected {

}

@media (max-width: 479px) {
    #STEP_CARDS .card_container {
        min-height: 0;
    }

    #STEP_CARDS .card_container .card_deck {
        margin-right: auto;
        margin-left: auto;
        padding-left: 25px;
        float: none;
        -webkit-box-pack: center;
        -webkit-justify-content: center;
        -ms-flex-pack: center;
        justify-content: center;
        -webkit-box-align: stretch;
        -webkit-align-items: stretch;
        -ms-flex-align: stretch;
        align-items: stretch;
        text-align: center;
    }

    #STEP_CARDS .card_container .card_deck .card_deck_card {
        display: block;
        -webkit-box-flex: 0;
        -webkit-flex: 0 auto;
        -ms-flex: 0 auto;
        flex: 0 auto;
        width: 90px;
        height: auto;
        margin-bottom: 15px;
        margin-left: -30px;
    }
    #STEP_CARDS .card_container .card_deck .card_deck_card:nth-child(2n+1),
    #STEP_CARDS .card_container .card_deck .card_deck_card:hover {
        margin-top: 0;
    }
}


#STEP_CARDS .card_hint {
    text-align: center;
    font-size: 14px;
}






.card_content_section {
    position: relative;
}

.card_deck_card {
    z-index: 10;
    perspective: 1000px;
}

.card_deck_card.animate {
    /*position: absolute;*/
    /*transform: translate(-50%);*/
}

.card_deck_card.animate .flipper {
    transform: rotateY(180deg);
}

.card_deck_card.animate,
.card_deck_card.animate img {
    width: auto;
}

.flipper {
    transition: 0.8s;
    transform-style: preserve-3d;
    position: relative;
    box-shadow: -4px 4px 9px -1px rgba(0, 0, 0, .26);
}

.front {
    opacity: 0;
}

.back {
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.back {
    z-index: 2;
    transform: rotateY(0deg);
}

.front {
    transform: rotateY(180deg);
}

.grow_card {
    background-color: #d3d3d3;
    width: auto;
    height: auto;
    position: fixed;
    top:0;
    left:0;
    margin:0;
    transition: transform 1s linear;
    z-index: 500;
    padding: 5px 0;
}
.grow_card.animate {
    transform: translate(-50%, -50%) scale(2);
}

.grow_card .card_title {
    font-size: 12px;
    white-space: pre-wrap;
    text-align: center;
}


.wrong-email,
.exists-email {
    display: none;
    margin-top: 10px;
    padding: 10px;
    background-color: #ffdede;
}

.Intro__heart___2lVPH {
    margin: 5px auto 15px;
    max-width: 100%;
    width: 250px;
    height: 250px;
    background: url("../images/heart.png") no-repeat 50%;
    background-size: contain;
    cursor: pointer;
}

.Intro__heart___2lVPH:hover {
    background: url("../images/heart_hover.png") no-repeat 50%;
    background-size: contain;
}

.w-input:focus,
.w-select:focus {
    border-color: rgba(25,25,25,.22);
    outline: 0;
}

.thankyou_sophia {
    width: 111px;
    height: 140px;
}
