:root {
    --copy-font-size: 1.2rem;
    --header-font-size: 2.2rem;
    
}

@media (min-width: 768px) {
    :root {
        --copy-font-size: 1.25rem;
        --header-font-size: 2.5rem;
    }
}

@media (min-width: 1400px) {
    :root {
        --copy-font-size: 1.5rem;
        --header-font-size: 3rem;
    }
}

body {
    background-color: white;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", "Liberation Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
    font-size: 16px;
    font-weight: 400;
    line-height: 1.5;
    color: #212529;
    margin: 0;
    box-sizing: border-box;
}

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


a {
    color: #696969;
}

a:hover {
    color: #333333;
}

.hero {
    position: relative;
    height: 70vh;
    background-color: #FBFBFB;
}

@media (min-width: 768px) {
    .hero {
        height: 80vh;
    }
}

.hero-content {
    position: absolute;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    top: 50%;
    left: 50%;
    padding: 1rem;
    transform: translate(-50%, -50%);
    box-shadow: 0 0 2rem 2rem #fbfbfbe9;
    width: max-content;
    border-radius: 3rem;
    background-color: #fbfbfbe9;
}

.login-link {
    color: #212529;
    font-weight: bold;
    text-decoration: none;
    padding: 1.5rem 3rem;
}
.login-link:hover {
    color: #037bea;
}
#phrases {
    visibility: hidden;
    width: 0px;
    overflow: hidden;
}

.phrase-container {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    overflow: hidden;
    perspective: 400px;
    perspective-origin: 50% 60%;
    backface-visibility: hidden;
}

.phrase-container svg {
    position: absolute;
    left: 0;
    top: 0;
    backface-visibility: hidden;
    will-change: transform, filter;
}

.kaituhi-screenshot-container {
    display: flex;
    justify-content: center;
    min-width: 50%;
    padding-bottom: 4rem;
    padding-left: 1rem;
    padding-right: 1rem;
    line-height: 0;
}


@media (min-width: 768px) {
    .kaituhi-screenshot-container {
        padding-bottom: 6rem;
        padding-top: 6rem;
    }
}

.kaituhi-screenshot {
    position: relative;
    width: 100%;
    max-width: 638px;
    height: auto;
}

.kaituhi-screenshot-frame {
    width: 100%;
    height: auto;
}

.kaituhi-screenshot-img {
    position: absolute;
    width: 100%;
    bottom: 0;
    left: 0;
    height: auto;
}

.whakatauki-container {
    padding: 3rem 1rem;
}

@media (min-width: 768px) {
    .whakatauki-container {
        padding: 6rem;
    }
}

.whakatauki-maori {
    font-size: var(--header-font-size);
    line-height: 1;
    width: 100%;
    text-align: center;
    font-style: italic;
    font-weight: 700;
    margin: 0;
}

.whakatauki-english {
    font-size: 1rem;
    width: 100%;
    text-align: center;
    font-style: italic;
    font-weight: 300;
}

.kaituhi-hero-header {
    font-size: 4rem;
    margin-top: 0;
    line-height: 1;
    margin-bottom: .85rem;
}

@media (min-width: 768px) {
    .kaituhi-hero-header {
        font-size: 7rem;
        margin-bottom: .5rem;
    }
}

.kaituhi-hero-subheader {
    font-size: 1.2rem;
    font-weight: 500;
    margin-top: 0;
    margin-bottom: 5rem;
}

@media (min-width: 768px) {
    .kaituhi-hero-subheader {
        font-size: 1.5rem;
    }
}

.page-container {
    overflow:auto;
}

.page-slice {
    display: flex;
    flex-direction: column;
}

.page-slice--reverse-column-mobile {
    flex-direction: column-reverse;
}

@media (min-width: 768px) {
    .page-slice {
        flex-direction: row;
    }
}

.page-slice--screenshot {
    flex-direction: column-reverse;
}

@media (min-width: 768px) {
    .page-slice--screenshot {
        flex-direction: row;
    }
}

.page-slice--centered {
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
}

.bg-grey {
    background-color: #FBFBFB;
}

.page-slice--kaitiakitanga {
    padding-top: 3rem;
    padding-bottom: 3rem;
}

.page-slice--kaitiakitanga .page-slice-content{
    margin: 1rem;
}

.page-slice-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    align-content: center;
    color: #474747;
    font-size: var(--copy-font-size);
    line-height: 1.6;
    font-weight: 300;
    text-align: center;
    margin: 3rem 1rem;
}

.page-slice-content.align-left {
    align-items: flex-start;
    margin: 4rem 3rem 0 4rem;
    h2, h3, p {
        text-align: left;
        margin: 0;
    }
    h2 {
        margin: 0 0 2rem;
    }
    p {
        font-size: 0.875em;
        margin: 0 0 1rem;
    }
}
@media (min-width: 768px) {
    .page-slice-content.align-left {
        margin: 4rem 3rem 1rem 4rem;
    }
}

@media (min-width: 768px) {
    .page-slice-content {
        width: 50%;
    }
}

.slice-text {
    --width: 500px;
    max-width: var(--width);
}

@media (min-width: 768px) {
    .slice-text {
        margin-left: 3rem;
        margin-right: 3rem;
        --width: 400px;
    }
}

@media (min-width: 1400px) {
    .slice-text {
        --width: 500px;
    }
}

.button {
    background-color: #037bea;
    color: white;
    font-weight: bold;
    text-decoration: none;
    display: block;
    border-radius: 3rem;
    padding: .8rem 3rem;
}

.button:hover {
    background-color: #379cfa;
    color: white;
}

.button.secondary {
    border: 2px solid #037bea;
    background-color: transparent;
    color: #037bea;
}

.button.secondary:hover {
    border: 2px solid #379cfa;
    color: #379cfa;
}

.slice-image {
    overflow: hidden;
    width: 100%;
}

@media (min-width: 768px) {
    .slice-image {
        width: 50%;
    }
}

.slice-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

@media (min-width: 768px) {
    .slice-text {
        --width: 400px;
    }
}

@media (min-width: 1400px) {
    .slice-text {
        --width: 500px;
    }
}

.text-margin {
    margin-bottom: 2rem;
}

@media (min-width: 768px) {
    .text-margin {
        margin-bottom: 5rem;
    }
}

.tags-image-container {
    display: flex;
    justify-content: end;
    align-items: center;
}

@media (min-width: 768px) {
    .tags-image-container {
        width: 50%;
    }
}

.tags-image {
    width: 100%;
    max-width: 653px;
    height: auto;
}

.slice-header {
    --horizontal-margin: 1rem;
    font-size: var(--header-font-size);
    margin-top: 0;
    margin-bottom: 1.5rem;
    margin-right: var(--horizontal-margin);
    margin-left: var(--horizontal-margin);
    line-height: 1.2;
}


@media (min-width: 1400px) {
    .slice-header {
        --horizontal-margin: 6rem;
    }
}

.slice-header.center {
    text-align: center;
    margin: 0;
    width: 100%;
}

.app-steps {
    font-size: 0.875em;
    margin: 0 0 0 2rem;
    margin: 0;
    padding: 0 1rem;
    text-align: left;
    h3 {
        margin: 0;
    }
    h3::after {
        display: inline-block;
        font: var(--fa-font-solid);
        margin: 0 0 0 0.5rem;
        text-rendering: auto;
        -webkit-font-smoothing: antialiased;
    }
    p {
        margin-top: 0;
    }
    li {
        list-style-type: none;
    }
}

.step-generate::after {
    content: "\f20a";
}
.step-edit::after {
    content: "\f304";
}
.step-export::after {
    content: "\f56e";
}

.exports-image {
    margin: 2rem 0;
}
.slice-image .languages-image {
    margin: 4rem 0;
    max-height: 29rem;
    min-width: 100%;
}
@media (min-width: 768px) {
    .slice-image .languages-image {
        margin: 8rem 0;
    }
}
@media (min-width: 1000px) {
    .slice-image .languages-image {
        height: auto;
        max-height: 100%;
        margin: 4rem 0;
    }
}
.features-list {
    display: flex;
    flex-flow: row wrap;
    margin: 0 0 3rem;
    padding: 0;
    width: auto;
    li {
        font-size: 0.875em;
        min-height: 5em;
        list-style-type: none;
        padding: 1rem 3rem;
        text-align: left;
        i {
            color: #037BEA; 
            margin: 0 0 0 -2.1rem;
            padding: 0 1rem 0 0;
        }
        span::before {
            content: '\f00c';
            font: var(--fa-font-solid);
            display: inline-block;
            text-rendering: auto;
            -webkit-font-smoothing: antialiased;
        }
    }
}
@media (min-width: 768px) {
    .app-steps {
        padding: 0 3rem;
    }
    .features-list {
        padding: 0 2rem;
        li {
            width: 50%;
        }
    }
}

.page-slice-full-width {
    width: 100%;
    margin: 3rem 0;
    .slice-text, .page-slice-content {
        --width: 100%;
        width: 100%;
        
    }
}

.kaitiakitanga-pull-quote {
    font-size: var(--header-font-size);
    max-width: 450px;
    margin: 0;
}

.pink {
    color: #E12755;
}

@keyframes text-come-on {
    from {
        transform: translateY(-15%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes waveform-go-off {
    from {
        /* transform: translateY(0); */
        opacity: 1;
    }
    to {
        /* transform: translateY(5%); */
        opacity: 0;
    }
}

@keyframes phrase-fade-off {
    from {
        opacity: 1;
    }
    to {
        opacity: 0;
    }
}

@keyframes phrase-fade-on {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.copyright {
    font-size: .75rem;
    padding-top: .5rem;
    padding-bottom: 1.25rem;
    margin-top: 0;
    margin-bottom: 0;
    opacity: .5;
    text-align: center;
}

@media (min-width: 768px) {
    .copyright {
        padding-top: .25rem;
    }
}

.footer-content {
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
    display: flex;
    flex-direction: column;
}

@media (min-width: 768px) {
    .footer-content {
        flex-direction: row;
    }
}

.logo-container {
    margin-left: auto;
    margin-right: auto;
    display: flex;
    align-items: center;
    padding-bottom: .5rem;
}

@media (min-width: 768px) {
    .logo-container {
        width: 50%;
        margin-right: none;
    }
}


.te-hiku-logo {
    margin-left: auto;
    padding-right: auto;
}

.powered-by-logo {
    padding-left: 1rem;
    margin-right: auto;
}

.powered-by-logo,
.te-hiku-logo {
    text-decoration: none;
}

.powered-by-logo img {
    width: 8rem;
}

.te-hiku-logo img {
    width: 7rem;
}

.footer-links-copyright {
    text-align: center;
    padding-left: 1rem;
    padding-right: 1rem;
}

@media (min-width: 768px) {
    .footer-links-copyright {
        width: 50%;
    }
}

.footer-link {
    line-height: 1;
    font-size: .9rem;
    margin-left: .5rem;
    margin-right: .5rem;
}