/* GENERAL PAGE STYLES */

*,
*::before,
*::after {
    box-sizing: border-box;
}

html,
body {
    overflow-x: hidden;
    width: 100%;
}

body {
    font-family: "Hanken Grotesk", sans-serif;
    color: #202A40;
    margin: 0;
}

.page {
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
}

button {
    cursor: pointer;
}

section {
    padding-top: 200px;
    width: 100%;
}

.section-text {
    max-width: 600px;
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin: 0 auto;
}

h2 {
    margin: 0;
}

.section-description {
    font-size: 20px;
    font-style: normal;
    font-weight: 400;
    line-height: 150%;
    margin: 0;
    /* 30px */
}

.bold-text {
    font-weight: 700;
}

/* OTHER STYLES */


/* TOP BAR HEADER */
.topbar {
    margin: 0;
    padding-top: 24px;
    width: 100%;
    position: fixed;
    z-index: 100;
}

.back-btn {
    border-radius: 100px;
    border: 3px solid #CCC;
    background: #FFF;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 48px;
    height: 48px;
    cursor: pointer;
    text-decoration: none;
    margin-left: 24px;
}

.back-btn i {
    font-size: 20px;
    color: #808080;
}

/* Hover (mouse) */
.back-btn:hover {
    box-shadow: 0 4px 8px 0 rgba(48, 48, 48, 0.10);
    border: 3px solid white;
    transform: translateY(-2px);
}

.back-btn:hover i {
    color: #202A40;
}

/* Focus (keyboard only) */
.back-btn:focus-visible {
    box-shadow: 0 4px 8px rgba(48, 48, 48, 0.10);
    border: 3px solid white;
    transform: translateY(-2px);
    outline: none;
    /* remove default browser outline */
}

/* Click feedback */
.back-btn:active {
    transform: translateY(0) scale(0.97);
}

.back-btn {
    transition: transform 250ms cubic-bezier(.22, 1, .36, 1),
        background-color 250ms ease,
        border-color 250ms ease,
        box-shadow 250ms ease;
    will-change: transform;
}

.back-btn i {
    transition: transform 250ms cubic-bezier(.22, 1, .36, 1),
        color 250ms ease,
        opacity 250ms ease;
}

.back-btn {
    transition: transform 250ms cubic-bezier(.22, 1, .36, 1),
        box-shadow 250ms ease,
        border-color 250ms ease;
}


/* HERO SECTION */

.stm-hero {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;

    background-color: #EDF2F7;
    width: 100%;
    margin: 0;
    padding: 0;
    padding-bottom: 100px;
}

.header-contents {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 140px 24px 0 24px;
    gap: 100px;
    width: 100%;
}

.header-text {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 32px;
    max-width: 620px;
    width: 100%;
    padding: 0 16px;
}

.stm-title {
    color: #202A40;
    text-align: center;
    font-family: "Hanken Grotesk";
    font-size: 60px;
    font-style: normal;
    font-weight: 700;
    line-height: 64px;
    /* 106.667% */
    margin: 0;
}

.stm-description {
    color: #202A40;
    text-align: center;
    font-family: "Hanken Grotesk";
    font-size: 24px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    margin: 0;
}

.stm-hero img {
    width: 100%;
    max-width: 1100px;
    border-radius: 10px;
    border: 1px solid rgba(0, 0, 0, 0.10);
    box-shadow: 0 7.559px 37.793px 0 rgba(32, 42, 64, 0.05);
    display: block;
}

/* TEAM SECTION */

.team {
    width: 100%;
}

.section-contents {
    max-width: 1100px;
    width: 100%;
    margin: 0 auto;
    padding: 0 clamp(24px, 5vw, 80px);
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 24px;
}

.section-contents img {
    max-width: 100%;
    height: auto;
}

.section-title {
    color: #202A40;
    font-family: "Hanken Grotesk";
    font-size: 40px;
    font-style: normal;
    font-weight: 700;
    line-height: 52px;
    letter-spacing: -1px;
    margin: 0;
}

/* CONTEXT */

.context {
    width: 100%;
}

.section-contents-row {
    display: flex;
    flex-direction: row;
    gap: clamp(40px, 5vw, 100px);
    align-items: flex-start;
    max-width: 1100px;
    width: 100%;
    margin: 0 auto;
    padding: 0 clamp(24px, 5vw, 80px);
    box-sizing: border-box;
}

.context .section-text {
    max-width: 550px;
}

.section-contents-row img {
    padding-top: 24px;
    max-width: 45%;
    height: auto;
}

/* PROBLEM */

.problem {
    width: 100%;
}

.problem .section-contents-row {
    align-items: flex-end;
}

.problem img {
    max-width: 40%;
    height: auto;
}

/* STANDARD TASK */

.standard-task {
    max-width: 1100px;
    width: 100%;
    margin: 0 auto;
    padding: 200px clamp(24px, 5vw, 80px) 0 clamp(24px, 5vw, 80px);
    display: flex;
    flex-direction: column;
    gap: 40px;
    box-sizing: border-box;
}

.standard-task p {
    max-width: 650px;
    margin: 0 auto;
}

.standard-task-image {
    max-width: 750px;
    width: 100%;
    height: auto;
    margin: 0 auto;
    display: block;
}

/* FULL SCREEN IMAGE */

.big-image {
    max-width: 1100px;
    width: 100%;
    margin: 0 auto;
    padding: 150px clamp(24px, 5vw, 80px) 0 clamp(24px, 5vw, 80px);
    display: flex;
    flex-direction: column;
    gap: 8px;
    box-sizing: border-box;
}

.img-description {
    color: #202A40;
    font-family: "Caveat", cursive;
    font-weight: 400;
    font-size: 20px;
    font-style: normal;
    font-weight: 100;
    line-height: 150%;
    margin: 0;
    /* 30px */
}

.big-image img {
    border-radius: 10px;
    border: 1px solid rgba(0, 0, 0, 0.10);
    box-shadow: 0 4px 20px 0 rgba(32, 42, 64, 0.05);
}


/* FIRST DRAFT */

.first-draft {
    padding: 0;
}

.first-draft .big-image {
    padding-top: 100px;
}

/* DESIGN CHALLENGE / HELP ICON / LIVE PREVIEW */

img.help-icon-img,
img.placeholder-text-img {
    /* border: 1px solid rgba(0, 0, 0, 0.10); */
    padding: 0;
    border-radius: 10px;
    box-shadow: 0 4px 20px 0 rgba(32, 42, 64, 0.05);
}

section.help-icon,
section.help-icon .big-image,
section.live-preview,
section.live-preview .big-image,
section.final-design-image-section .big-image {
    padding-top: 100px;
}

.additional-p {
    padding-top: 100px;
}

/* DESIGN CHALLENGE SOLUTION */

.solution-image-section {
    padding-top: 0px;
}

.solution-image-section .big-image {
    padding-top: 100px;
}

.final-design-image-section {
    padding: 0;
    padding-bottom: 100px;
}




/* RESPONSIVE BREAKPOINTS */

@media (max-width: 768px) {
    .stm-title {
        font-size: 40px;
        line-height: 48px;
    }

    .stm-description {
        font-size: 18px;
    }

    .header-contents {
        padding: 80px 24px 0 24px;
        gap: 60px;
    }

    section {
        padding-top: 150px;
        width: 100%;
    }

    .standard-task {
        padding-top: 150px;
    }

    .section-title {
        font-size: 30px;
        line-height: 40px;
    }

    .section-description {
        font-size: 17px;
    }

    .section-contents-row {
        flex-direction: column;
        align-items: center;
        gap: 40px;
    }

    .section-contents-row img,
    .problem img {
        max-width: 100%;
        padding-top: 0;
    }

    .problem .section-contents-row {
        flex-direction: column-reverse;
        align-items: center;
        gap: 40px;
    }

    section.help-icon,
    section.help-icon .big-image,
    section.live-preview,
    section.live-preview .big-image,
    section.placeholder-text-idea,
    section.final-design-image-section .big-image,
    .first-draft .big-image,
    .big-image {
        padding-top: 64px;
    }

    .additional-p {
        padding-top: 64px;
    }
}

@media (max-width: 480px) {
    .stm-title {
        font-size: 32px;
        line-height: 40px;
    }

    .header-contents {
        padding: 60px 16px 0 16px;
        gap: 40px;
    }

    section {
        padding-top: 80px;
    }
}