/* Start screen. */

main .welcome {
    overflow: hidden;
    position: relative;
    max-width: 800px;
    margin: 20px auto;
    padding: 40px 50px;
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 10px 30px rgba(20, 70, 110, 0.18);
}

main .tagline {
    margin: -12px 0 24px;
    text-align: center;
    color: #5b6b7a;
    font-size: 15px;
}

main .logo {
    display: inline-block;
    width: 36px;
    height: 22px;
    background-size: contain;
    background: url(../assets/icons/logo.svg) no-repeat;
}

main h1 {
    font-weight: 800;
    font-size: 48px;
    text-align: center;
    margin-top: 0;
    margin-bottom: 20px;
}

main h2 {
    font-weight: 800;
    font-size: 38px;
}

main form {
    margin-top: 20px;
}

main input[type="text"] {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    font-size: 20px;
    outline: none;
    padding: 5px;
    border-radius: 5px;
    border: none;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.24);
    transition: all 0.3s cubic-bezier(.25, .8, .25, 1);
}

main input[type="text"]:focus {
    transform: translateY(-5px);
    box-shadow: 0 14px 28px rgba(0, 0, 0, 0.25), 0 10px 10px rgba(0, 0, 0, 0.22);
}

main .activity-modes {
    font-size: 20px;
}

main .activity-modes input {
    margin-right: 10px;
}

main form .action {
    margin-top: 20px;
}

main .demo {
    margin-top: 40px;
}

main .stats {
    margin-top: 40px;
}

main em {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
    font-weight: 700;
    font-size: 14px;
    font-style: normal;
}

main .demo {
    width: 100%;
    height: 300px;
}

@media only screen and (max-width: 500px) {
    body {
        width: 100%;
        min-height: 100vh;
    }

    main .welcome {
        margin: 10px;
        padding: 24px 18px;
    }

    main h1 {
        font-size: 38px;
    }

    main .demo {
        width: 100%;
        height: 180px;
        position: static;
        margin-top: 24px;
    }
}
