body{
    margin: 0;
    padding: 0;
    width: 100vw;
    height: 100vh;
    font-family: 'Avenir';
    background: #f5f5f5;
}
#content-wrapper{
    width: 100%;
    height: 100%;
}

/* start section */
#start-wrapper{
    width: 100%;
    height: 100%;
    flex-direction: column;
}
.section-header{
    height: 16%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Avenir-Bold';
    font-size: 52px;
    letter-spacing: 2px;
    color: #fff;
    user-select: none;
    background-color: #1356A6;
    text-align: center;
    position: relative;
}
#questions-wrapper{
    width: 90%;
    height: 60%;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
}
.question-wrapper{
    width: 90%;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.question-separator{
    height: 1px;
    width: 100%;
    background: #0f335d;
}
.question-text{
    width: 80%;
    font-size: 24px;
    letter-spacing: 1px;
    user-select: none;
}
.question-button{
    background: #0f335d;
    border-radius: 10px;
    width: 140px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    user-select: none;
    cursor: pointer;
}
.question-button:active{
    background: #e00054;
}
.question-arrow{
    /* padding: 30px; */
    width: 90px;
}

/* answer section */
#answer-wrapper{
    width: 100%;
    height: 100%;
    flex-direction: column;
}
.wordcloud-slideshow{
    width: 94%;
    height: 65%;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: 1000px;
}
.wordcloud-direction-btn{
    width: 5%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}
.wordcloud-direction-icon{
    width: 100%;
    height: auto;
}
.wordcloud-wrapper{
    display: flex;
    justify-content: center;
    align-items: center;
    width: 90%;
    height: 100%;
    font-size: 48px;

    position: relative;
    overflow: hidden;
}
.slide-content, .slick-list, .slick-track{
    height: 100% !important;
}
.wordcloud-page{
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-evenly;
    align-items: center;
    width: 100%;
    height: 100%;
}
.wordcloud-element{
    /* word cloud style */
    padding: 10px 20px;
    color: #000;
    font-family: 'Avenir-Heavy';
    cursor: pointer;
    user-select: none;
    text-align: center;
    text-transform: capitalize;
}
.selected-element{
    color: #2fbf22 !important;
}
.continue-btn-wrapper{
    width: 100%;
    height: 15%;
    display: flex;
    align-items: flex-start;
    justify-content: center;
}
.continue-btn{
    background: #1356A6;
    border-radius: 10px;
    color: #fff;
    width: 295px;
    height: 86px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 28px;
    font-family: 'Avenir-Bold';
    letter-spacing: 1px;
    cursor: pointer;
    user-select: none;
    text-align: center;
    padding: 5px 20px;
    box-sizing: border-box;
    margin: 0 10px;
}

/* camera section */
#camera-wrapper{
    flex-direction: column;
    height: 100%;
}
#camera-view-wrapper{
    height: 60%;
    display: flex;
    align-items: center;
    justify-content: center;
}
#camera-view{
    width: 450px;
    height: 450px;
    background: #e1e1e1;
    border: 4px solid #bebebe;
    color: #bebebe;
    font-family: 'Avenir-Bold';
    letter-spacing: 1px;
    font-size: 28px;
    position: relative;
    overflow: hidden;
}
#camera-content{
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1;
}
#camera-content-video{
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 1;
    transform: scale(-1.25, 1.25);
    transform-origin: 50% 25%;
    object-fit: cover;
}
#camera-content-photo{
    width: 100%;
    height: 100%;
    transform: scale(-1.25, 1.25);
    transform-origin: 50% 25%;
}
#camera-timer{
    height: 100px;
    width: 100px;
    border-radius: 50px;
    background: #000;
    color: #fff;
    font-weight: bold;
    font-family: 'Avenir-Bold';
    font-size: 62px;
    position: absolute;
    bottom: 5px;
    right: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    user-select: none;
    z-index: 2;
    cursor: initial;
}
#photo-take-wrapper, #photo-choice-wrapper{
    width: 100%;
    align-items: center;
    justify-content: center;
}
.or-span{
    margin: 10px 10px;
    font-size: 32px;
    user-select: none;
}
#photo-retake-btn, #photo-continue-btn{
    width: 300px;
    box-sizing: border-box;
}
#photo-retake-btn{
    background: #000;
}

/* photo selection section */
#choose-photo-wrapper{
    flex-direction: column;
    height: 100%;
}
#ai-content-wrapper{
    height: 84%;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-evenly;
}
#ai-photos-status{
    font-size: 38px;
    font-weight: bold;
    letter-spacing: 1px;
    display: none;
}
#ai-photos-wrapper{
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-evenly;
}
.ai-photos-group{
    display: flex;
    flex-direction: column;
    align-items: center;
}
.ai-photo-content-wrapper{
    width: 400px;
    height: 400px;
    border: 2px solid;
    /* box-sizing: border-box; */
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}
.ai-photo-content{
    width: 100%;
    height: 100%;
}
.generating-spinner{
    position: absolute;
    top: 0;
    right: 0;
    z-index: 1;
    pointer-events: none;
}
.generation-wrapper{
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    position: absolute;
    bottom: 10px;
    left: 0;
}
.generation-progress-container {
    width: 200px;
    background-color: #f3f3f381;
    border-radius: 5px;
    overflow: hidden;
    height: 30px;
    /* position: absolute;
    bottom: 0;
    left: 0;
    transform: translateX(50%) translateY(-50%); */
}
.generation-progress-bar {
    width: 0;
    height: 100%;
    background-color: #2fbf22;
    text-align: center;
    line-height: 30px;
    color: white;
    border-bottom-left-radius: 5px;
    border-top-left-radius: 5px;
    border-top-right-radius: 0px;
    border-bottom-right-radius: 0px;
}
.ai-photo-regenerate-btn{
    /* width: 70px;
    height: 70px; */
    width: 86px;
    height: 86px;
    border-radius: 10px;
    background: #000;
    /* padding: 10px; */
    margin-top: 20px;
    padding: 16px;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: center;
}
.regenerate-icon{
    width: 100%;
    height: 100%;
}
.selected-ai-photo{
    border: 6px solid #2fbf22;
}
#choose-image-buttons-wrapper{
    display: flex;
    align-items: center;
    justify-content: center;
}

/* information section */
#information-wrapper{
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    color: #00002a;
}
#information-click-overlay{
    display: none;
    position:absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
}
.back-btn{
    width: auto !important;
    height: auto !important;
    padding: 4px 16px !important;
    position: absolute !important;
    top: 8px;
    left: 5px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    user-select: none;
    z-index: 3;
}
.back-btn-icon{
    width: 70px;
}
.header-back-btn{
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
}
/* .back-btn:active{
    background-color: #292929 !important;
} */
#information-header-wrapper{
    user-select: none;
}
#information-data-wrapper{
    display: flex;
    width: 90%;
    height: 74%;
    margin: 0 auto;
    justify-content: space-between;
    align-items: center;
    flex-direction: column;
}
#information-photo-wrapper{
    height: 100%;
    /* width: 45%; */
    width: 350px;
    height: 350px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    border: 2px solid #000;
    box-sizing: border-box;
    background: #fff;
}
#information-photo{
    width: 100%;
    height: 100%;
}
#information-inputs-wrapper{
    width: 66%;
    max-width: 500px;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    align-items: center;
}
#information-inputs-header{
    font-size: 22px;
    user-select: none;
    font-weight: bold;
    width: 90vw;
    text-align: center;
}
.information-input{
    width: 100%;
    height: 50px;
    border: 1px solid #aaaaaa;
    border-radius: 8px;
    font-size: 24px;
    padding: 0 20px;
    box-sizing: border-box;
    font-family: 'Avenir';
    letter-spacing: 1px;
    z-index: 3;
}
#caption-textarea{
    resize: none;
    flex-grow: 0.6;
    padding: 10px 20px;
}
.input-error{
    border: 1px solid red !important;
}
#information-disclaimer-hyperlink, #information-terms-hyperlink, #information-terms-hyperlink-initial, #information-policy-hyperlink{
    text-decoration: underline;
    cursor: pointer;
    user-select: none;
}
#terms-wrapper-initial{
    display: flex;
    align-items: center;
    justify-content: center;
    height: auto;
    margin: 10px 0;
    font-size: 18px;
    width: 100%;
    text-align: center;
}
#terms-wrapper, #newsletter-wrapper{
    display: flex;
    align-items: center;
    height: 50px;
    font-size: 16px;
    width: 100%;
}
#terms-html-wrapper{
    background-color: #0000007a;
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 5;
}
#terms-html-content{
    height: 80%;
    width: 80%;
    background: white;
    border-radius: 5px;
    padding: 20px;
    box-sizing: border-box;
    color: #000;
    position: relative;
}
#terms-html-close{
    height: 36px;
    width: 36px;
    position: absolute;
    top: -14px;
    right: -14px;
    cursor: pointer;
}
#terms-html{
    height: 100%;
}
iframe{
    border: 0;
    width: 100%;
    height: 100%;
}
#information-terms-checkbox, #information-terms-checkbox-initial, #information-newsletter-checkbox{
    width: 35px;
    height: 35px;
    border: 1px solid #aaaaaa;
    border-radius: 3px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    user-select: none;
    flex-shrink: 0;
    cursor: pointer;
}
#information-terms-checkmark, #information-terms-checkmark-initial, #information-newsletter-checkmark{
    display: none;
    user-select: none;
    width: 100%;
    height: 100%;
    padding: 5px;
    box-sizing: border-box;
}
#information-buttons-wrapper{
    height: 25%;
    display: flex;
    align-items: center;
    justify-content: center;
}
.ai-btn{
    color: #fff;
    background-color: #0f335d;
    border-radius: 20px;
    height: 80px;
    width: 80px;
    font-family: 'Avenir-bold';
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 10px;
    user-select: none;
    z-index: 3;
}
.ai-btn:active{
    background-color: #e00054 !important;
}
/* #information-submit-btn{

} */
#information-regenerate-btn{
    background-color: #e00054;
    padding: 15px;
    box-sizing: border-box;
}
.disabled-button{
    background-color: #b9b9b9 !important;
}
.disabled-button:active{
    background-color: #b9b9b9 !important;
}

/* success area */
#success-wrapper{
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    user-select: none;
}

@media (max-width: 900px) {
    #ai-photos-group-2{
        display: none;
    }
    .selected-ai-photo{
        border: 0;
    }
    .section-header{
        padding: 0 15%;
    }
}

/* Mobile styling */
@media (max-width: 600px) {
    .section-header{
        font-size: 7vw;
        height: 15% !important;
    }
    .wordcloud-slideshow{
        height: auto;
        margin: 20px auto;
    }
    .wordcloud-wrapper{
        font-size: 6.5vw;
        height: 100%;
    }
    #terms-wrapper-initial{
        width: 80%;
        margin: 10px auto;
        font-size: 15px;
        text-align: center;
    }
    #camera-view{
        width: 80vw;
        height: 80vw;
        max-width: 325px;
        max-height: 325px;
    }
    .continue-btn{
        width: auto;
        height: auto;
        padding: 15px 25px;
        font-size: 22px;
    }
    #photo-take-wrapper, #photo-choice-wrapper{
        flex-direction: column;
    }
    .or-span{
        font-size: 20px;
    }
    #camera-timer{
        width: 67px;
        height: 67px;
        font-size: 45px;
        text-align: center;
    }
    #camera-view-wrapper{
        height: 50%;
        margin: 10px 0;
    }
    .back-btn-icon{
        width: 50px;
    }
    .ai-photo-content-wrapper{
        width: 90%;
        height: auto;
        aspect-ratio: 1 / 1;
    }
    .ai-photo-content{
        object-fit: cover;
    }
    .ai-photo-regenerate-btn{
        width: 72px;
        height: 72px;
    }
    .back-header{
        padding: 0 100px;
    }
    #information-inputs-wrapper{
        width: 100%;
    }
    #information-submit-btn{
        width: auto !important;
        height: auto !important;
    }
    #information-inputs-header{
        font-size: 16px;
        width: 100%;
    }
    #information-photo-wrapper{
        width: 70vw;
        height: 70vw;
        max-width: 300px;
        max-height: 300px;
    }
    .information-input{
        width: 90%;
        height: 42px;
        font-size: 20px;
    }
    #terms-wrapper{
        width: 90%;
        height: 40px;
    }
    #information-terms-checkbox, #information-newsletter-checkbox{
        width: 30px;
        height: 30px;
    }
}