html * {
    font-family: 'Arial';
}

html, body {
    margin: 0;
    height: 100%;
}

body {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.header {
    margin: auto;
}

.header h1 {
    text-align: center;
    margin: unset;
    margin-bottom: 5%;
}

h1.egi {
    font-weight: 500;
}

/*Corner Ribbon*/
.corner-ribbon {
    width: 200px;
    background: #e43;
    position: absolute;
    top: 25px;
    left: -50px;
    text-align: center;
    line-height: 40px;
    letter-spacing: 1px;
    color: #f0f0f0;
    transform: rotate(-45deg);
    -webkit-transform: rotate(-45deg);
    z-index: 1000;
}
.corner-ribbon.red {
    background: #e43;
}

.community-logo {
    margin-top: 3rem;
}

.community-logo a {
    display: inline-block;
    padding: 10px;
}

.community-logo a:hover {
    text-decoration: none
}

.community-logo img {
    width: 180px;
}

.body-container {
    display: flex;
    flex: 1;
    align-items: center;
    justify-content: center;
    height: 50%;
    transform: translateY(-5%);
}

/* Maintenance Alert Message */

.maintenance-container {
    display: flex;
    justify-content: center; /* align horizontal */
    align-items: center; /* align vertical */
    width: 100%;
    margin: auto;
}

.footer-container {
    display: flex;
    padding: 2rem;
    overflow-y: hidden;
    height: 4rem;
    justify-content: center;
    align-items: center;
    /*Keep me at the bottom*/
    margin-top: auto;
}

.footer-container .copy {
    align-self: flex-end;
}

.item-flex {
    width: 100%;
}

.alert-icon {
    height:6rem;
    width: 6rem;
    display: flex;
    margin: auto;
}

h2 {
    font-weight: 700;
    font-size: 4rem;
    text-align: center;
    margin: 1rem auto auto;
}

.maintenance {
    position: relative;
    padding-top: 0.8rem;
    color:white;
    background-color: orange;
}

.maintenance:before {
    content: "MAINTENANCE";
    left: 0rem;
    border-bottom: solid 1px #000;
    position: absolute;
    transform: translateY(1.6rem);
    z-index: -1;
}

.subtitle {
    text-align: center;
    margin: 1rem auto auto;
}

.subtitle-msg {
    background-color: white;
    z-index: 1;
    padding: 0.5rem;
}

@media (max-width: 739px) {

    h2 {
        font-size: 3rem;
    }

    h1 {
        font-size: 1.5rem;
    }

    .community-logo img {
        width: 120px;
    }

    .alert-icon {
        height:4rem;
        width: 4rem;
    }

    .body-container {
        padding-bottom: 1rem;
    }

    footer,
    .subtitle {
        font-size: 0.8rem;
    }

    .maintenance:before {
        transform: translateY(1.53rem);
    }
}
