:root {
    --custom-yellow: #FFEEEB;
    --custom-blue: #3D2072;
    --disabled-text: rgba(0, 0, 0, 0.6)
}

body {
    margin: 0;
    padding: 0;
    background: linear-gradient(to bottom, var(--custom-yellow), #FFFFFF);
    font-family: ui-serif, Georgia, Cambria, Times New Roman, Times, serif, system-ui, -apple-system;
    /* font-family: 'Noto Sans JP:700', system-ui, -apple-system, Courier, monospace; */
}

button {
    font-family: inherit;
}

nav {
    height: 88px;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding: 0 10%;

    .nav-app-info {
        display: flex;
        flex-direction: row;
        align-items: center;

        img {
            width: 44px;
            height: auto;
        }

        span {
            font-size: 1.2em;
            font-weight: bold;
            margin-left: 0.8em;
        }
    }

    .nav-get-started {
        color: white;
        background-color: var(--custom-blue);
        height: 48px;
        padding: 0 1.2em;
        margin-left: 1.5em;
        font-size: 1em;
        font-weight: 550;
        border-radius: 0.8em;
        cursor: pointer;
    }

    .nav-button {
        font-size: 1em;
        font-weight: 550;
        color: black;
        cursor: pointer;
        margin: 0 1em;
        min-width: 48px;
        min-height: 44px;
        transition: all 250ms;
    }

    .nav-button:hover {
        font-weight: 600;
        color: var(--custom-blue);
    }
}

.shadow-button {
    box-shadow: 0 4px 8px 2px rgba(0, 0, 0, 0.15);
    transition: all 250ms;
}

.shadow-button:hover {
    box-shadow: none;
}

a {
    text-decoration: none;
    color: black;
}

button {
    border: none;
    background-color: transparent;
}

footer {
    color: white;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;
    background-color: var(--custom-blue);
    padding: 3em 10%;

    img {
        width: 120px;

    }

    .footer-col {
        display: flex;
        flex-direction: column;
        align-items: flex-start;

        a {
            color: white;
            margin: 0.5em 0;

            span {
                font-size: 0.9em;
            }
        }

        .footer-col-title {
            font-size: 0.95em;
            font-weight: 600;
            margin-bottom: 1em;
        }

        .copyright {
            font-size: 0.75em;
            margin: 1em 0;
            color: rgba(255, 255, 255, 0.7);
            line-height: 150%;
            text-align: center;
        }
    }
}

.avatar-animation {
    position: relative;
    margin: 0 10% 40px 10%;
    min-height: 100vh;
    z-index: 10;

    .avatar {
        position: absolute;
        left: 50%;
        top: 50%;
        border: 0.25em solid white;
        border-radius: 50%;
    }

    .slogan {
        position: absolute;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        left: 50%;
        top: 50%;
        width: 100%;
        transform: translate(-50%, -50%);

        h1,span {
            font-size: 2.5em;
            font-weight: 600;
            line-height: 175%;
            color: var(--custom-blue);
            z-index: 1;
        }

        .get-started {
            color: white;
            background-color: var(--custom-blue);
            height: 48px;
            padding: 0 1.2em;
            margin-left: 1.5em;
            font-size: 1.0em;
            font-weight: 550;
            border-radius: 0.8em;
            cursor: pointer;
            margin-top: 2.5em;
            z-index: 1;
        }
    }
}

.seciton-title {
    font-size: 2em;
    font-weight: 600;
    line-height: 175%;
    color: var(--custom-blue);
}

.short-slogan {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    margin: 10em 10%;
    width: 50%;

    .short-slogan-title {
        font-size: 1.5em;
        color: black;
        line-height: 150%;

        .highlight {
            color: red;
        }
    }

    .short-slogan-desc {
        font-size: 1.1em;
        color: var(--disabled-text);
        margin-top: 0.75em;
        line-height: 150%;
    }
}

.second-short-slogan {
    margin-top: 6em;
}

.righ-align {
    display: flex;
    justify-content: flex-end;
}

.how-it-works {
    margin: 0 10% 4em 10%;

    .steps {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        margin: 1em 0 1.5em 0;

        span {
            font-size: 1em;
            line-height: 150%;
        }
    }

    .features {
        display: flex;
        flex-direction: row;
        align-items: stretch;
        justify-content: space-evenly;

        .feature-item {
            display: flex;
            flex-direction: column;
            align-items: flex-start;
            background-color: white;
            margin: 0 0.5em;
            border-radius: 0.75em;
            box-shadow: 0 0 4px 2px rgba(0, 0, 0, 0.03);
            padding: 1.25em 1.5em;
            width: 100%;
            transition: all 250ms;

            .feature-content {
                display: flex;
                flex-direction: column;
                align-items: flex-start;

                .feature-title {
                    font-size: 1.2em;
                    font-weight: 550;
                    color: var(--custom-blue);
                    line-height: 150%;
                    margin-bottom: 0.25em;
                }
    
                .feature-desc {
                    font-size: 1em;
                    line-height: 150%;
                    color: rgba(0, 0, 0, 0.75);
                }
            }

            img {
                align-self: center;
                padding: 0.5em;
                background-color: #F5F5F5;
                border-radius: 1em;
                border: solid 2px #F0F0F0;
                margin-bottom: 1.5em;
            }
        }

        .feature-item:hover {
            box-shadow: none;
        }
    }
}

.faq {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 10em 20% 10em 20%;

    .faq-item {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        margin: 1em 0;
        width: 100%;

        .faq-q {
            font-size: 1em;
            font-weight: bold;
            line-height: 150%;
        }

        .faq-a {
            font-size: 1em;
            margin-top: 0.5em;
            line-height: 150%;
        }
    }
}

@media (min-width: 1025px) {
    .hide-on-large-screen {
        display: none !important;
    }    
}

@media (max-width: 1024px) {
    .hide-on-small-screen {
        display: none !important;
    }

    nav {
        padding: 0 5%;
    }

    .avatar-animation {
        margin: 0;
        width: 100%;
        min-height: inherit;

        .avatar {
            width: 80px;
        }
    }

    .slogan {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        width: 100%;
        margin-top: 2em;

        span {
            font-size: 1.5em;
            font-weight: 600;
            line-height: 175%;
            padding: 0 2%;
            color: var(--custom-blue);
            z-index: 1;
            text-align: center;
        }

        .get-started {
            color: white;
            background-color: var(--custom-blue);
            height: 48px;
            padding: 0 1.2em;
            margin-left: 1.5em;
            font-size: 1.0em;
            font-weight: 550;
            border-radius: 0.8em;
            cursor: pointer;
            margin-top: 2.5em;
            z-index: 1;
        }
    }

    .how-it-works {
        margin: 2em 5%;

        .features {
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: space-evenly;
            padding: 0 5%;

            .feature-item {
                display: flex;
                flex-direction: row;
                background-color: white;
                align-items: center;
                margin-bottom: 1em;
                border-radius: 0.75em;
                box-shadow: 0 0 4px 2px rgba(0, 0, 0, 0.02);
                padding: 1em 1.25em;
    
                .feature-content {
                    display: flex;
                    flex-direction: column;
                    align-items: flex-start;
                    margin-left: 1.5em;

                    .feature-title {
                        font-size: 1.2em;
                        font-weight: 550;
                        color: var(--custom-blue);
                        line-height: 150%;
                        margin-bottom: 0.25em;
                    }
        
                    .feature-desc {
                        font-size: 1em;
                        line-height: 150%;
                        color: rgba(0, 0, 0, 0.75);
                    }
                }
    
                img {
                    padding: 0.5em;
                    width: 100px;
                    background-color: #F5F5F5;
                    border-radius: 1em;
                    border: solid 1px #F0F0F0;
                    margin: 0;
                }
            }
        }
    }

    .faq {
        margin: 2em 5%;   
    }

    .short-slogan {
        width: 90%;
        margin: 4em 5%;
    }

    .second-short-slogan {
        margin-top: 2em;
    }

    footer {
        padding: 2em 5%;
    }
}
  