:root {
    --debug-borders: #f00;
    --debug-borders-width: 0.0px;
    --debug-opacity: 1.0;
}

* {
    border: var(--debug-borders-width) solid var(--debug-borders);
    box-sizing: border-box;
    opacity: var(--debug-opacity);
}
body {
    --ion-safe-area-top: env(safe-area-inset-top);
    --ion-safe-area-bottom: env(safe-area-inset-bottom);
    margin: 0;
    font-family: -apple-system, BlinkMacSystemFont, sans-serif;
    background: #7F91A5;
}

.section {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: top;
    overflow: hidden;
}

.section-bg {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 1500px;
    z-index: -1;
}

.section-bg img {
    width: 100%;
    height: auto;
    display: block;
}

.container {
    padding: 0rem;
    margin: 0rem 0;
    color: #333;
    text-align: center;
    width: 960px;
    max-width: 95%;
}

.container.with-bottom {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    height: 100%;
}
.container.with-bottom .bottom-align {
    margin-top: auto;
}

/* Container for top row */
.top-row {
    max-width: 960px;
    margin: 0 auto;
    padding: 0rem 0rem;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    box-sizing: border-box;
}

/* Logo and name */
.branding {
    display: flex;
    align-items: baseline;
    gap: 0.75rem;
}

.logo {
    height: 107px;
    width: 107px;
    margin: -16px;
    transform: translateY(17px);
}

.app-name {
    font-size: 3.4rem;
    margin: 0;
    transform: translateY(-5px);
}

/* App Store badge */
.appstore-badge {
    height: 50px;
    align-self: flex-end;
    margin-bottom: 10px;
}

/* 2 collumn layout */
.two-columns {
    display: flex;
    justify-content: space-between;
    margin-top: 2rem;
    gap: 2rem;
}

.left-collumn,
.right-collumn {
    position: relative;
    width: 50%;
}

.left-collumn img,
.right-collumn img {
    display: block;
    margin-left: 0;
}

h2 {
    color: #495E72;
}

h2.dark {
    color: #222;
}

h1 {
    font-family: Futura;
    font-weight: bold;
    font-size: 2.4rem;
    color: #2C3F52;
    text-align: left;
}

.emphasis {
    color: #27313C;
}

img.background-wide {
    display: inline;
}

img.background-medium {
    display: none;
}

img.background-narrow {
    display: none;
}

.mobile-screen {
    display: none;
}

.regular-screen {
    display: inline;
}

@media (max-width: 1000px) {
    img.background-wide {
        display: none;
    }
    
    img.background-medium {
        display: inline;
    }

    img.background-narrow {
        display: none;
    }
    
    .section-bg {
        width: 1000px;
    }
    
    .container {
        width: 700px;
    }
    
    .app-name {
        font-size: 2.4rem;
        margin: 0;
        transform: translateY(0px);
    }
    
    .logo {
        height: 80px;
        width: 80px;
        margin: -16px;
        transform: translateY(16px);
    }
    
    .appstore-badge {
        height: 40px;
        transform: translateY(6px);
    }
    
    h1 {
        font-size: 2.0rem;
    }
    
    h2 {
        font-size: 1.2em;
    }
}


@media (max-width: 750px) {
    .container {
        width: 90%;
    }
    
    .logo {
        height: 60px;
        width: 60px;
        margin: -10px;
        transform: translateY(20px);
    }
    
    .app-name {
        font-size: 2.0rem;
        transform: translateY(8px);
    }
    
    .appstore-badge {
        display: none;
    }
    
    .section-bg {
        width: 750px;
    }
    
    .two-columns {
        flex-direction: column;
    }
    
    .left-collumn,
    .right-collumn {
        width: 100%; /* Make each column take full width */
    }
    
    img.background-wide {
        display: none;
    }
    
    img.background-medium {
        display: none;
    }

    img.background-narrow {
        display: inline;
    }
    
    .mobile-screen {
        display: inline;
    }
    
    .regular-screen {
        display: none;
    }
}
