/* AppTec brand palette (from apptec360.com / emmconsole.com) */
:root {
    --primary: #2690cd;
    --primary-dark: #006da3;
    --grey: #444444;
    --grey-light: #636363;
    --border: #e4e7ea;
}

* {
    box-sizing: border-box;
}

body {
    min-height: 100vh;
    margin: 0;
    /* anchored to the top: on wide, short viewports `cover` crops vertically,
       and centring would cut off the heads in the photo */
    background: url("bg.webp") center top / cover no-repeat fixed;
    font-family: 'Roboto', -apple-system, 'Segoe UI', Helvetica, Arial, sans-serif;
    font-size: 14px;
    color: var(--grey);
    display: flex;
    flex-direction: column;
}

main {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
}

.card {
    width: min(640px, 100%);
    background: #fff;
    border-radius: 5px;
    box-shadow: 0 18px 50px rgba(0, 0, 0, .28);
    padding: 48px 48px 44px;
}

.logo {
    text-align: center;
    margin-bottom: 36px;
}

.logo img {
    width: 320px;
    max-width: 100%;
    height: auto;
}

/* AppTec signature heading: uppercase with a blue left accent bar */
.maintenanceHeader {
    display: flex;
    align-items: center;
    gap: 12px;
    border-left: 5px solid var(--primary);
    padding-left: 12px;
}

#warningImage {
    height: 26px;
    width: 26px;
    flex-shrink: 0;
}

.maintenanceTitle {
    margin: 0;
    font-size: 22px;
    font-weight: 300;
    text-transform: uppercase;
    letter-spacing: .5px;
    color: var(--primary-dark);
}

.maintenanceMessage p {
    margin: 18px 0 0;
    font-size: 17px;
    font-weight: 300;
    line-height: 1.65;
    color: var(--grey);
}

.maintenanceMessage .localTime {
    margin-top: 10px;
    font-size: 14px;
    color: var(--grey-light);
}

.footer {
    width: 100%;
    background: #fff;
    color: var(--grey-light);
    padding: 14px 20px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 12px;
    font-weight: 300;
}

.footer a {
    color: var(--primary);
    text-decoration: none;
}

.footer a:hover {
    text-decoration: underline;
}

@media (max-width: 520px) {
    .card {
        padding: 30px 24px 26px;
    }

    .logo {
        margin-bottom: 28px;
    }
}
