@keyframes scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-100%)
    }
}

main.homepage {
    width: 100%;
    margin: 0 auto;

    .section-container {
        width: 100%;
        max-width: 1200px;
        height: 100%;
        margin: 0 auto;
        padding: 25px 10px;
        box-sizing: border-box;
        background-repeat: no-repeat;
        background-size: cover;
        background-position: center;
    }

    h2 {
        font-size: 40px;
        font-weight: 400;
        text-align: center;
        text-transform: capitalize;

        @media (max-width: 768px) {
            font-size: 32px;
        }
    }

    h3 {
        font-size: 30px;
        font-weight: 400;

        @media (max-width: 768px) {
            font-size: 24px;
        }
    }

    h4 {
        font-size: 24px;
        font-weight: 500;
    }

    p {
        font-size: 20px;
        line-height: 26px;
    }

    #hero {
        max-height: 1200px;
        padding-top: 50px;
        overflow: hidden;
        text-align: center;
        background-color: var(--primary-white);
        background-size: cover;
        background-repeat: no-repeat;
        background-position: center;

        .logo-container {
            img {
                max-width: 250px;
                margin-top: 40px;
            }
        }

        h1 {
            margin-bottom: 0;
            font-size: 60px;

            span {
                color: red;
            }

            @media (max-width: 768px) {
                font-size: 42px;
            }
        }

        .appstore-link-container {
            margin-block: 50px;
            text-align: center;

            a {
                max-width: 200px;
                display: inline-block;

                img {
                    width: 100%;
                }
            }
        }

        .mockups-container {
            width: 80%;
            max-width: 1200px;
            margin-bottom: -30px;

            @media (max-width: 768px) {
                width: 100%;
            }
        }
    }

    #founders-note {
        color: var(--primary-white);
        background-color: #000103;

        .section-container {
            background-image: url('/img/olive-branch-background.png');
            background-size: 55%;
            background-repeat: no-repeat;
            background-position: top right;

            @media (max-width: 768px) {
                background-size: auto;
                background-position: top center;
            }

            p {
                max-width: 900px;
                margin-left: 2em;
                font-style: italic;

                span {
                    font-family: serif;
                    font-size: 35px;
                }
            }

            h5 {
                text-align: right;
                font-size: 20px;
                font-weight: 500;
                line-height: 26px;
            }
        }
    }

    #tech {
        background-color: #F0E4CD;

        .section-container {
            background-image: url('/img/olive-branch-tech-background.png');
            background-size: 85%;
            background-repeat: no-repeat;

            @media (max-width: 768px) {
                background-size: cover;
            }

            .highlight-container {
                display: flex;
                flex-wrap: wrap;
                align-items: flex-start;
                justify-content: space-around;

                .highlight {
                    max-width: 400px;
                    margin: 0.5em 2em;
                    text-align: center;

                    h3 {
                        font-size: 30px;
                        font-weight: 400;
                    }
                }
            }
        }
    }

    #features {
        color: var(--primary-white);
        background-color: black;

        .section-container {
            .feature-container {
                background-image: url('/img/olives-cut-rotated.png');
                background-size: 45%;
                background-repeat: no-repeat;
                background-position: center;
                display: flex;
                flex-wrap: wrap;
                align-items: flex-start;
                justify-content: space-around;

                @media (max-width: 768px) {
                    background-size: auto;
                }

                .feature {
                    width: 500px;
                    height: 180px;
                    margin: 0.5em 2em;
                    text-align: center;

                    h3 {
                        font-size: 30px;
                        font-weight: 400;
                    }
                }
            }
        }
    }

    #faq {
        background-color: var(--primary-white);

        .section-container {
            ul {
                list-style-type: none;
                margin: 0;
                padding: 0;

                li {
                    border: solid 2px;
                    border-radius: 35px;
                    display: block;
                    margin: 25px auto;
                    cursor: pointer;

                    h4 {
                        padding-inline: 1em;
                    }

                    div {
                        max-height: 1000px;
                        color: var(--primary-white);
                        border-radius: 25px;
                        background-image: url(/img/conciliated-dark-background.png);
                        background-size: cover;
                        background-repeat: no-repeat;
                        overflow: hidden;
                        transition: max-height 1s ease-out;

                        &.hidden {
                            max-height: 0;
                            transition: max-height 0.5s ease-in;
                        }

                        p {
                            padding: 20px;
                            font-size: 18px;
                            font-weight: 300;

                            a {
                                color: var(--primary-white);
                            }
                        }
                    }
                }
            }

        }
    }
}
