@import url("../../../css/style.css");

/* GENERAL STUFF */

html,
body,
#site_wrapper {
    scroll-behavior: smooth;
}

h2,
h3,
h4,
p {
    margin: 0;
}

ul {
    margin: 0;
    padding-left: 1.5rem;
}

#ch1,
#ch2,
#ch3,
#ch4,
#ch5,
#takeaways {
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.line_separator {
    height: 1px;
    background-color: var(--black40);
}

.comments {
    font-size: 0.875rem;
    color: var(--black60);
    font-style: italic;
    font-weight: 300;
}

.big_text p,
.hmw p {
    font-size: 2rem;
    font-weight: 700;
    color: #E35335;
}

.big_text p {
    border-bottom: 4px solid #E35335;
}

.caption {
    text-align: center;
}

.focus {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    background-color: #D0ECF1;
    padding: 1.5rem 1rem;
    border-radius: 16px;
}

.boxes {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.box {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    background-color: white;
    padding: 1rem;
    border-radius: 16px;
}

.refine_img svg path {
    fill: #E35335;
}

.content_wrapper {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.text_wrapper {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.img_container,
.persona {
    width: 100%;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 2rem 1rem;
}

.feature img,
.refine_img img,
.refine_img video {
    box-shadow: 0px 2px 2px rgba(0, 0, 0, 5%), 0px 2px 4px rgba(0, 0, 0, 5%);
}

/* SUMMARY */

#summary {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.book_container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

.book {
    width: 50%;
    position: relative;
    left: 50%;
    margin-top: 2rem;
    transform: translateX(-50%);
    border-radius: 4px 16px 16px 4px;
    filter: drop-shadow(2px 2px 4px rgb(0 0 0 / 16%));
}

.text_wrapper h1 {
    text-align: center;
    margin-top: 0;
    margin-bottom: 2rem;
}

.time {
    display: flex;
    flex-direction: row;
    gap: 1rem;
    align-items: center;
}

.tags {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 1rem;
}

.tags p {
    background-color: var(--primary_light);
    padding: 0.5rem 1rem;
    margin: 0;
    border-radius: 24px;
}

.screens {
    margin-top: 2rem;
    border-radius: 16px;
}

/* CH 1 */

.competitors {
    width: 100%;
    overflow-x: auto;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 1rem;
}

.competitors::-webkit-scrollbar {
    display: none;
}

.comp {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    justify-content: center;
    align-items: center;
}

.competitors img {
    width: 50%;
    border: 1px solid rgb(0 0 0 / 16%);
    border-radius: 8px;
}

.comp_insights {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.point {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

/* CH 2 */

.hmw p {
    margin: 0;
}

/* CH 3 */

.user_flow {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.flow_legend {
    display: flex;
    flex-direction: row;
    gap: 0.3rem;
    justify-content: center;
    align-items: center;
}

.flow_circle {
    width: 16px;
    height: 16px;
    background-color: #F24822;
    border-radius: 50%;
}

.carousel_container {
    width: 100%;
    overflow-x: hidden;
    overflow-y: hidden;
    scroll-behavior: smooth;
}

.carousel_container::-webkit-scrollbar {
    display: none;
}

.low_fi {
    width: 100%;
    display: flex;
    transition: all 0.5s;
}

.feature {
    display: flex;
    flex: 0 0 100%;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 1.5rem;
    margin: 1rem 0;
    scroll-snap-align: start;
    scroll-snap-stop: always;
}

.feature img {
    width: 60%;
    border-radius: 16px;
}

.feat_text {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    text-align: center;
}

.carousel_nav {
    width: 100%;
}

.indicators {
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 1.5rem;
}

.indicators li {
    width: 25%;
    list-style-type: none;
}

.indicator_dot {
    width: 100%;
    height: 4px;
    padding: 0;
    background-color: white;
    border: none;
    border-radius: 24px;
    transition: all 0.5s;
}

.active {
    width: 100%;
    background-color: #E35335;
}

/* CH 4 */

.palette {
    width: 100%;
    display: flex;
    flex-direction: row;
    gap: 1rem;
}

.primary,
.sec,
.neutral,
.neutral2 {
    width: 100%;
    height: 60px;
    border: 1px solid var(--black20);
    border-radius: 4px;
}

.primary {
    background-color: #E35335;
}

.sec {
    background-color: #3583E3;
}

.neutral {
    background-color: #FAF7EE;
}

.neutral2 {
    background-color: #353839;
}

.font_container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-gap: 1rem;
}

.app_icon {
    width: 40%;
    border: 1px solid rgba(0, 0, 0, 16%);
    border-radius: 16px;
    flex-grow: 1;
    flex-basis: 0;
    aspect-ratio: 1 / 1;
}

.virtual_advisor {
    flex-direction: row;
    gap: 1rem;
    justify-content: center;
    align-items: center;
}

.virtual_advisor img {
    width: 35%;
    height: 35%;
}

/* CH 5 */

.feedback {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-gap: 1rem;
}

.quotes {
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #F6F2E6;
    padding: 4rem 1rem;
    border-radius: 16px;
    color: #E35335;
    font-weight: 700;
    text-align: center;
}

.line_separator2 {
    height: 1px;
    background-color: #E35335;
}

.refine {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin: 1rem 0;
}

.refine_img {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    grid-gap: 0.5rem;
    justify-content: center;
    align-items: center;
}

.refine_img img,
.refine_img video {
    border: 1px solid rgba(0, 0, 0, 16%);
    border-radius: 16px;
}

.refine_img video {
    cursor: pointer;
}

.prototype_container {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-gap: 1rem;
    margin: 2rem 0;
}

.prototype,
.prototype2 {
    filter: drop-shadow(2px 2px 4px rgba(0, 0, 0, 16%));
}

.prototype {
    justify-self: end;
    transform: translateY(-12px);
}

.prototype2 {
    transform: translateY(12px);
}

.sec_bttn {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background-color: #E35335;
    color: white;
    border: 2px solid #E35335;
    border-radius: 16px;
    transition: all 0.2s ease;
}

.sec_bttn:hover {
    background-color: rgba(227, 83, 53, 20%);
    color: #E35335;
}

.final_prototype .line_separator2 {
    display: none;
}

/*  READ NEXT */

#read_next {
    margin-bottom: 0;
}

.read_next_title {
    margin-bottom: 2rem;
}

.books {
    display: flex;
    flex-direction: column;
}

.book_spine {
    display: flex;
    flex-direction: row;
    gap: 1rem;
    align-items: center;
    justify-content: space-between;
    width: 95%;
    padding: 1.5rem 2rem;
    border: 1px solid var(--black40);
    border-radius: 16px;
    transition: all 0.5s;
}

.book_spine:hover {
    transform: scale(1.03);
    box-shadow: 0px 2px 4px rgba(0, 0, 0, 10%), 0px 16px 16px rgba(0, 0, 0, 5%);
}

.book_pd,
.book_fc,
.book_mg {
    transition: all 0.5s;
}

.book_pd {
    width: 90%;
    background-color: #FFE1BC;
    align-self: end;
}

.book_pd:hover {
    background-color: #FFC57D;
}

.book_fc {
    background-color: #D0EAE3;
    align-self: end;
}

.book_fc:hover {
    background-color: #AFD3CA;
}

.book_mg {
    background-color: #D8DEEB;
}

.book_mg:hover {
    background-color: #B1BDD8;
}

.spine_text p {
    font-weight: 400;
}

.book_spine svg {
    min-width: 24px;
}

footer {
    margin: 0;
}


/* MEDIA QUERIES */

@media (min-width: 992px) {

    /* GENERAL STUFF */
    #ch1,
    #ch2,
    #ch3,
    #ch4,
    #ch5,
    #takeaways {
        gap: 4rem;
    }

    .columns {
        display: grid;
        grid-template-columns: minmax(0, 25%) minmax(0, 75%);
        grid-gap: 3rem;
        margin-top: 3rem;
        align-items: start;
    }

    .left_col {
        display: flex;
        flex-direction: column;
        gap: 3rem;
        height: 100%;
        position: relative;
    }

    .right_col {
        width: 100%;
    }

    .focus {
        padding: 2rem 2rem;
    }

    .big_text p,
    .hmw p {
        font-size: 3rem;
        line-height: 1.1;
    }

    /* SECTION NAV */
    .section_nav_bttn {
        display: none;
    }

    .section_nav {
        position: unset;
        height: max-content;
        border-radius: 0;
        background-color: transparent;
        padding: 0;
    }

    .sticky {
        position: sticky;
        position: -webkit-sticky;
        top: 3rem;
    }

    .section_links {
        gap: 0.5rem;
        transition: all 0.5s;
    }

    .sec_link {
        padding: 0.5rem 1rem;
    }

    .sec_active {
        background-color: var(--accent);
        border-radius: 16px;
    }

    .closed {
        transform: none;
    }

    .close {
        display: none;
    }

    /* SUMMARY */
    #summary {
        margin-top: 0;
    }

    .book_cover {
        display: block;
        width: 100%;
    }

    .book {
        width: 100%;
        margin: 0;
    }

    .text_wrapper h1 {
        text-align: left;
    }

    .tags {
        grid-area: 2 / 2;
    }

    /* CH 1 */
    .boxes {
        flex-direction: row;
    }

    .box {
        width: 100%;
    }

    .competitors {
        overflow-x: hidden;
        gap: 4rem;
    }

    .competitors img {
        width: 80px;
    }

    .comp_insights {
        flex-direction: row;
    }

    .point {
        flex: 1 1 0;
    }

    /* CH 2 */
    .persona {
        display: grid;
        grid-template-columns: 1fr 1fr;
        grid-gap: 2rem;
    }

    /* CH 3 */
    .carousel_container {
        overflow-x: hidden;
    }

    .low_fi {
        width: 100%;
        display: grid;
        grid-template-columns: 1fr 1fr;
        grid-gap: 2rem;
        justify-content: space-between;
        flex-wrap: nowrap;
    }

    .feature {
        width: 100%;
        height: auto;
        align-self: flex-start;
        flex: 1;
    }

    .carousel_nav {
        display: none;
    }

    /* CH 4 */
    .logo_design {
        display: grid;
        grid-template-columns: 1.5fr 1fr;
        grid-gap: 2rem;
    }

    .logo_design .text_wrapper {
        align-self: center;
    }

    .img_container {
        display: grid;
        grid-template-columns: 3fr 1fr 1fr;
        grid-gap: 2rem;
        justify-content: center;
        align-items: center;
        grid-column: span 2;
    }

    .app_icon {
        width: 80%;
        justify-self: center;
        align-self: center;
    }

    .virtual_advisor {
        flex-direction: row-reverse;
        gap: 2rem;
    }

    /* CH 5 */
    .feedback {
        grid-template-columns: repeat(4, 1fr);
    }

    .refine {
        flex-direction: row;
        justify-content: center;
        align-items: center;
        gap: 2rem;
    }

    .refine .text_wrapper {
        flex: 0 0 45%;
    }

    .refine_img {
        flex: 1 0 50%;
        gap: 1rem;
    }

    .prototype,
    .prototype2 {
        width: 100%;
    }

    .sec_bttn {
        width: fit-content;
        padding: 1rem 3rem;
        align-self: center;
        border-radius: 24px;
        transition: all 0.5s;
    }
}

@media (min-width: 1200px) {

    /* CH 5 */
    .final_prototype {
        display: grid;
        grid-template-columns: 1fr auto 1fr;
        grid-gap: 2rem 3rem;
    }

    .final_prototype .big_text {
        align-self: self-end;
    }

    .final_prototype .big_text p {
        border: none;
    }

    .prototype_container {
        grid-row: span 2;
        grid-gap: 1rem;
    }

    .sec_bttn {
        align-self: self-start;
        padding: 1rem 2rem;
    }

    .final_prototype .line_separator2 {
        display: block;
        height: 100%;
        width: 1px;
        grid-row: span 2;
    }

}

@media (min-width: 1400px) {

    /* GENERAL STUFF */
    .columns {
        grid-template-columns: minmax(0, 22%) minmax(0, 78%);
    }

    .focus {
        gap: 2rem;
    }

    /* CH 1 */
    .boxes {
        gap: 2rem;
    }

    /* CH 3 */
    .low_fi {
        width: 100%;
        display: flex;
        flex-direction: row;
        gap: 2rem;
        justify-content: space-between;
        flex-wrap: nowrap;
    }

    .feature img {
        width: 100%;
    }

    /* CH 4 */
    .virtual_advisor img {
        width: 20%;
        height: 20%;
    }

    /* CH 5 */
    .feedback {
        gap: 2rem;
    }

    .quotes {
        font-size: 1.2rem;
    }

    .refine_img {
        gap: 2rem;
    }

    .refine_img svg {
        transform: scale(1.5);
    }

    .final_prototype {
        grid-template-columns: 1.5fr auto 2fr;
    }

    .prototype_container {
        grid-gap: 1.5rem;
    }

    /* READ NEXT */
    .books {
        width: 75%;
        margin: auto;
    }

    .book_spine {
        padding: 3rem;
    }
}