body {
    padding: 0;
    margin: 0;
}

button {
    border: none;
    background: none;
    cursor: pointer;
}

a {
    cursor: pointer;
    color: black;
}

nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    box-sizing: border-box;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding: 1em 1.5em;
    min-height: 44px;
    background-color: white;
   
    button {
        font-size: 1em;
        font-weight: 600;
    }
}

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

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

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

.app-section {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    width: 70vw;
    min-height: 100vh;
    margin: 0 auto;

    .screenshots {
        display: flex;
        flex-direction: row;
        align-items: center;
    }

    .screenshot:nth-child(1) {
        width: 18.5vw;
        rotate: -30deg;
        z-index: -1;
    }

    .screenshot {
        height: auto;
        width: 20vw;
    }

    .app-desc {
        width: 40%;
        margin-left: 2em;
        line-height: 150%;

        h1 {
            line-height: 125%;
        }

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

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

            span {
                font-size: 1em;
                margin-left: 0.25em;
                font-weight: bolder;
                padding: 0.05em 0.75em;
                color: #364FB3;
                background-color: #F2F2F6;
                border-radius: 8px;
            }
        }

        .download-container {
            display: flex;
            flex-direction: row;
            align-items: center;
            justify-content: flex-end;
            padding-top: 1em;
        }

        .download {
            width: auto;
            height: 4em;
        }
    }
}

.qrcode {
    width: 70px;
    height: auto;
    margin-left: 1em;
    transition: all 300ms;
}

.qrcode:hover {
    transform: scale(1.2);
}

footer {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    font-size: 0.9em;
    color: black;
    opacity: 0.7;
    min-height: 2em;
    padding: 1em 2em;
}

@media (max-width: 1024px) {
    * {
        box-sizing: border-box;
    }

    .app-section {
        display: flex;
        flex-direction: column;
        align-items: center;
        width: 100%;
        margin: 0 auto;
        box-sizing: border-box;
        padding: 120px 0.5em 0 0.5em;

        .info {
            visibility: hidden;
        }

        .screenshot {
            height: auto;
            width: 30vw;
        }

        .screenshot:nth-child(1) {
            width: 30.5vw;
            rotate: -30deg;
            z-index: -1;
        }

        .app-desc {
            width: 100%;
            line-height: 150%;
            display: flex;
            flex-direction: column;
            align-items: center;

            .download {
                width: auto;
                height: 3.5em;
                margin: 2em 0;
            }

            .qrcode {
                display: none;
            }
        }
    }
}