/* Click case study. Navbar and footer live in css/base.css. */

/* Side spacing shared by the text sections: 50px on desktop, 16px on phones. */
.intro p,
.titleTwo h1,
.titleTwo p,
.hifi h1,
.hifi p,
.hifi button,
.future h1,
.future p {
    margin-left: clamp(16px, 4vw, 50px);
    margin-right: clamp(16px, 4vw, 50px);
    font-family: lora;
    text-align: left;
}

/* ---------- Intro ---------- */

.title h1 {
    margin: 100px 16px 50px;
    text-align: center;
    font-family: lora;
    font-size: 36px;
    font-weight: bold;
}

.intro p {
    margin-bottom: 50px;
    font-size: 18px;
}

.role h2 {
    margin: 0 16px 8px;
    font-family: lora;
    text-align: center;
    font-size: 16px;
}

.main img {
    display: block;
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 16px;
}

@media screen and (max-width: 767.98px) {
    .title h1 {
        margin-top: 50px;
        margin-bottom: 30px;
        font-size: 28px;
    }

    .intro p {
        font-size: 16px;
    }

    .role h2 {
        font-size: 14px;
    }

    .main img {
        margin-top: 20px;
    }
}

/* ---------- Research ---------- */

.titleTwo h1 {
    margin-top: 0;
    font-size: 24px;
    font-weight: bold;
}

.titleTwo p {
    margin-top: 50px;
    margin-bottom: 100px;
    font-size: 18px;
}

.grid-container {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 600px));
    justify-content: center;
    gap: 30px 40px;
    margin: 100px 0;
    padding: 50px clamp(16px, 4vw, 50px) 80px;
    background-color: #122227;
}

.grid-item h2 {
    margin: 30px 0 15px;
    font-family: lora;
    font-size: 24px;
    font-weight: bold;
    color: #C9AA8B;
}

.grid-item img {
    display: block;
    width: 100%;
    border-radius: 10px;
    transition: .8s ease;
}

@media (hover: hover) and (min-width: 768px) {
    .grid-item img:hover {
        transform: scale(1.15);
        position: relative;
        z-index: 1;
    }
}

@media screen and (max-width: 767.98px) {
    .titleTwo h1 {
        font-size: 20px;
    }

    .titleTwo p {
        margin-top: 20px;
        margin-bottom: 50px;
        font-size: 16px;
    }

    .grid-container {
        grid-template-columns: minmax(0, 1fr);
        margin: 50px 0;
        padding-top: 20px;
        padding-bottom: 40px;
    }

    .grid-item h2 {
        font-size: 18px;
    }
}

/* ---------- Wireframing / Hi-Fi prototype ---------- */

.hifi h1 {
    margin-top: 50px;
    margin-bottom: 50px;
    font-size: 24px;
    font-weight: bold;
}

.hifi p {
    margin-top: 50px;
    margin-bottom: 50px;
    font-size: 18px;
}

.hifi img {
    display: block;
    width: calc(100% - 32px);
    max-width: 1200px;
    margin: 0 auto;
    border-radius: 10px;
}

.hifi button {
    margin-bottom: 30px;
    color: #C9AA8B;
    background-color: #0C1B1D;
    font-family: oswald;
}

.hifi a button:hover {
    color: #DC4625;
}

@media screen and (max-width: 767.98px) {
    .hifi h1 {
        margin-top: 30px;
        margin-bottom: 20px;
        font-size: 20px;
    }

    .hifi p {
        margin-top: 20px;
        margin-bottom: 20px;
        font-size: 16px;
    }
}

/* ---------- Key learnings / Final thoughts ---------- */

.future {
    margin-top: 100px;
}

.future h1 {
    margin-bottom: 30px;
    font-size: 24px;
    font-weight: bold;
}

.future p {
    margin-top: 10px;
    margin-bottom: 10px;
    font-size: 18px;
}

@media screen and (max-width: 767.98px) {
    .future {
        margin-top: 50px;
    }

    .future h1 {
        font-size: 20px;
    }

    .future p {
        font-size: 16px;
    }
}

.footer {
    margin-top: 100px;
}

@media screen and (max-width: 767.98px) {
    .footer {
        margin-top: 50px;
    }
}
