@import url('reset.css');
@import url('common.css');

/** Variables **/
:root {
    --yellow: #FBB000;
    --blue: #0A5096;
    --dark-blue: #001C33;
    --light-blue: #007FDE;
    --gray: #999;
    --dark-gray: #555;
    --light-gray: #AAA;
    --black: #222;
    --white: #FFF;
}

body {
    background-color: var(--black);
    background-image: url('../images/gears.jpg');
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    background-blend-mode: overlay;
    color: var(--black);
    font-family: "Open Sans", sans-serif;
}

header.main {
    align-items: center;
    background: var(--blue);
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    height: 70px;
    justify-content: space-between;
    padding: 0 10vw;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 100;
}

header.main a.logo {
    display: block;
    order: 0;
    height: 50px;
}

header.main a.logo img {
    height: 50px;
}

header.main nav.main {
    order: 1;
}

header.main nav.main ul {
    display: flex;
    list-style: none;
}

header.main nav.main ul li a {
    background: var(--blue);
    color: white;
    display: block;
    margin-left: 10px;
    padding: 5px 10px;
    text-decoration: none;
    text-shadow: rgba(0,0,0,.5) 0 -1px 0;
    transition: filter .25s ease-in-out;
}

header.main nav.main ul li a:hover {
    filter: brightness(150%);
}

.mobile-nav-icon {
    background: transparent;
    border: none;
    display: none;
    flex-direction: column;
    cursor: pointer;
    outline: none;
    padding: 0;
    z-index: 101;
}

.mobile-nav-icon span {
    width: 25px;
    height: 3px;
    background-color: var(--white);
    margin: 3px 0;
    transition: all 0.3s ease;
}

.mobile-nav-icon.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.mobile-nav-icon.active span:nth-child(2) {
    opacity: 0;
}

.mobile-nav-icon.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

main {
    display: flex;
    flex-flow: row wrap;
    margin: 100px 0 5vw;
    overflow: hidden;
}

main section {
    margin: 0 10vw;
    padding: 2vw 0;
    position: relative;
}


#tagline {
    color: var(--white);
    font-size: max(1vw + 1.25rem, 40%);
    font-weight: 400;
    line-height: 1.5;
    padding: 0 0 2vw;
}

#tagline em {
    color: var(--yellow);
    font-style: normal;
}

main #processes {
    align-items: center;
    color: var(--white);
    justify-content: stretch;
}
main #processes .process {
    align-items: center;
    display: inline-flex;
    flex-flow: column;
    flex-wrap: wrap;
    justify-content: center;
    margin-bottom: 1vw;
    padding: 1vw;
}
main #processes .process i.fa {
    color: var(--white);
    font-size: 7.5vw;
}
main #processes .process .step {
    font-size: calc(1.5vw + .5rem);
    letter-spacing: -1px;
}

main section h2 {
    font-weight: 400;
    font-size: max(1vw + 1rem, 33%);
    letter-spacing: -1px;
    margin: 0 0 1vw;
}

main section .highlight {
    border-left: 1px solid var(--dark-blue), 1px solid var(--light-blue);
    color: white;
    font-size: max(1vw - .5rem, 1rem);
    font-weight: 100;
    text-align: left;
    list-style: outside;
}
main section .highlight li {
    padding-left: .5em;
}
main section .highlight li::marker {
    content: '⚙';
    font-size: 20px;
}

main section .flex .highlight:first-child {
    border-left: none;
}
main section .flex .highlight:last-child {
    border-right: none;
}

footer.main {
    align-content: center;
    background: var(--black);
    color: white;
    display: flex;
    justify-content: center;
    padding: 2vw 10vw;
    width: 100%;
}

.blue {
    background-color: var(--blue);
}
.white {
    color: var(--white);
}
.yellow {
    color: var(--yellow);
}
ul.pills { align-content: start; justify-content: start; }
ul.pills li {
    background: linear-gradient(to right, var(--light-blue), var(--blue));
    border-radius: 10px;
    margin: 5px 10px 5px 0;
    padding: 1vw;
    width: fit-content;
}
.button {
    background: var(--white);
    color: var(--dark-blue);
    border-radius: 10px;
    font-size: 1.5em;
    padding: 10px 15px;
    text-decoration: none;
    text-shadow: none;
    width: fit-content;
}

@media (max-width: 768px) {
    .mobile-nav-icon {
        display: flex;
    }

    header.main nav.main {
        position: fixed;
        top: 70px;
        right: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background: var(--blue);
        transition: right 0.3s ease;
        overflow-y: auto;
    }

    header.main nav.main.active {
        right: 0;
    }

    header.main nav.main ul {
        flex-direction: column;
        padding: 20px;
        width: 100%;
    }

    header.main nav.main ul li {
        width: 100%;
        margin: 0;
    }

    header.main nav.main ul li a {
        width: 100%;
        margin: 0;
        padding: 15px 20px;
        text-align: left;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }
}
