html, body {
    height: 100%;
}

body {
    font-family: 'Montserrat', sans-serif;
    /* background: rgba(2,15,44,1); */
    background: #0C1B39;
    color: #fff;
    display: flex;
    flex-direction: column;
    text-align: center;
}

.navBar {
    /* background: rgba(2,15,44,1); */
    background: #0C1B39;
    height: 60px;
    padding: 0 1em;
    text-transform: uppercase;

    display: grid;
    align-items: center;
    grid-template-columns: 1fr auto 1fr;
}

.navBar > :first-child    { text-align: left;  }
.navBar > :last-child     { text-align: right; }

.navBar a {
    text-decoration: none;
    color: #fff;
}

.navBar nav a {
    padding: 0.2em 0.5em;
    transition: color, 0.25s;
}

.navBar nav a:hover {
    color: rgb(112, 131, 219);
}

main {
    /* background: rgba(44,57,112,1); */
    background: #0C1B39;
    width: 100%;
    flex-grow: 1;
    overflow: hidden;
    position: relative;
}

main > section {
    width: 100%;
    height: 100%;
    display: flex;
    position: absolute;
    top: 100%;
    transition: all 0.5s;
}

main > section.active {
    top: 0;
}

main > section.new {
    z-index: 999;
    position: absolute;
}

main > section.hidden {
    display: none;
}

main #logo {
    align-items: center;
    justify-content: center;
    flex-direction: column;
    /* background: rgba(44,57,112,1); */
    background: #0C1B39;
}

main #logo img {
    max-width: 250px;
    margin-bottom: 1em;
}

main #logo h1 {
    text-transform: uppercase;
}

main #logo h1 span {
    display: none;
}

main #about {
    background: #f00;
}

main #contact {
    background: #0f0;
}

@media (max-width: 480px) {
    body {
        flex-direction: column-reverse;
    }
    .nomobile {
        display: none;
    }
    .navBar {
        grid-template-columns: 1fr;
    }
    /* .navBar > :last-child     { display: none; } */
    .navBar a {
        padding: 0.2em 1em;
        /* margin: 0 0.5em; */
    }
}