body {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: initial;
    padding-left: 0;
    padding-right: 0;
    font-family: 'Inter', sans-serif;
    font-size: 17px;
    line-height: 150%;
    background: white;
    color: #222;
}

/* workaround so that the large flagbg does not cause horizontal scrolling */
html, body {
    position:relative;
    overflow-x:hidden;
}

body > * {
    width: 1024px;
}

.title1, .title2 {
    display: none;
}

.buttonrow {
    padding-top: 220px;
    display: flex;
    align-items: stretch;
}

.buttonrow>* {
    margin-right: 8px;
    box-sizing: border-box;
}

.icon {
    width: 48px;
    height: 48px;
    border-radius: 10.6px;
    margin-right: 10pt;
    margin-top: 10pt;
    margin-bottom: 10pt;
}

.headerpic {
    background-color: #E4EAF5;
    background-image: url("assets/bg_pattern.svg");
    padding-top: 4em;
    padding-bottom: 50px;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    border-top: 1px solid #CCCCCC;
    border-bottom: 1px solid #CCCCCC;
}

.iphone_screenshot {
    z-index: 1;
}

.headerpic .content {
    width: 1024px;
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    overflow: hidden;
}

.headerpic h1 {
    margin-top: 0;
    font-size: 180%;
    line-height: 140%;
}

.flagsbg {
    display: inline-block;
    background-image: url("assets/flags@2x.png");
    background-size: cover;
    background-repeat: no-repeat;
    width: 1412px;
    height: 160px;
    margin-top: 1em;
    position: absolute;
}

nav, nav .appname {
    display: flex;
    align-items: center;
}

nav * {
    margin-right: 16px;
}

nav .appname {
    flex-grow: 1;
}

a, a:visited, a:focus, a:link {
    color: #FF7200;
    text-decoration: none;
}

nav a, nav a:visited, nav a:focus, nav a:link {
    font-size: 14px;
    font-weight: 600;
    color: black;
    text-decoration: none;
}

nav a:hover {
    color:#FF7200;
}

nav h1 {
    display: inline-block;
    font-size: 17px;
    font-weight: 600;
    margin: 0;
}

.signup-button {
    font-size: 16px;
    font-weight: 700;
    background: rgb(255, 148, 0);
    background: linear-gradient(180deg, rgba(255, 148, 0, 1) 0%, rgba(255, 102, 0, 1) 100%);
    border-radius: 7px;
    padding-left: 16px;
    padding-right: 16px;
    padding-top: 4px;
    color: white !important;
    text-decoration: none;
    white-space: nowrap;
}

.signet {
    text-align: center;
    padding-top: 64px;
    padding-bottom: 64px;
    width: 100%;
    border-top: 1px solid #CCCCCC;
}

h2 {
    font-size: 22px;
    font-weight: 600;
    margin-top: 64px;
}

article h2 {
    text-align: left;
    font-size: 24px;
    font-weight: 600;
    color: #FF7C00;
}

article {
    max-width: 768px;
    font-size: 16px;
    line-height: 22px;
}

.team_members {
    margin-top: 32px;
    margin-bottom: 72px;
}

.team_members .member {
    font-weight: 600;
    display: flex;
    align-items: flex-start;
    margin-bottom: 24px;
    gap: 16px;
}

.team_members .member img {
    width: 64px;
    height: 64px;
    border-radius: 32px;
    flex-shrink: 0;
}

.team_members .member .info {
    flex: 1;
}

.team_members .member .name {
    line-height: 25px;
    margin-bottom: 4px;
}

.team_members .member .links {
    font-size: 14px;
    line-height: 21px;
}

a:hover {
    text-decoration: underline;
}

@media (min-width: 600px) {
    .title1 {
        display: block;
    }
}

@media (max-width: 600px) {
    .headerpic {
        padding-top: 40px;
    }

    .title2 {
        display: block;
    }

    .team_members .member {
        margin-bottom: 2em;
    }

    nav {
        flex-direction: column;
        align-items: flex-start;
        padding-bottom: 0.5em;
    }

}

@media (min-width: 1100px) {
    .iphone_screenshot {
        padding-left: 80px;
        padding-right: 15px;
    }
}

@media (max-width:1100px) {
    body {
    }

    body > * {
        width: 92%;
    }

    nav, .headerpic .content {
        margin-left: 30px;
        margin-right: 30px;
    }

    .headerpic .content {
        width: 92%;
        flex-direction: column;
    }

    .iphone_screenshot {
        padding-top: 3em;
        margin: 0 auto;
    }
}

.download-mobile {
    display: none;
}

.qrbutton {
    border: 1px solid black;
    border-radius: 10px;
    padding: 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    color: black;
    font-size: 16px;
    line-height: 22px;
    max-width: 120px;
    text-align: center;
    background-color: white;
}

a.download-mobile {
    text-decoration: none;
}

.qrbutton-title {
    font-weight: 600;
}

.qrbutton-hint {
    font-size: 13px;
    line-height: 18px;
}

.download-mobile img {
    height: 120px;
}

@media (hover: hover) {
    .download-mobile {
        display: block;
    }
    .download-desktop {
        display: none;
    }
}