/* ============================= */
/* Security Operations Solutions */
/* Author: Chad W. Nelson        */
/* ============================= */

/* ============================= */
/* Custom CSS */
/* ============================= */

@import url("https://fonts.googleapis.com/css?family=Montserrat:300,400,500,600,700|Roboto:300,400,500,700");

/* Variables */
:root {
    --sos-shadow: 0 0.5rem 1rem rgba(0,0,0,0.15);
    --sos-shadow-sm: 0 0.125rem 0.25rem rgba(0,0,0,0.075);
    --sos-shadow-lg: 0 1rem 3rem rgba(0,0,0,0.175);
    --sos-shadow-inset: inset 0 1px 2px rgba(0,0,0,0.075);
}

/* CSS Reset */
* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

html {
    font-size: 1rem;
}

body {
    font-family: "Montserrat", sans-serif;
    -webkit-font-smoothing: antialiased;
    background-color: var(--sos-gray-10);
}

main {
    padding-bottom: 2rem;
}

p {
    margin-bottom: 1rem;
}


/* Topography */
h1 { font-size: 2rem; }
h2 { font-size: 1.8rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.2rem; }
h5 { font-size: 1rem; }
h6 { font-size: 0.82rem; }

.display-1 { font-size: 3rem; }
.display-2 { font-size: 2.8rem; }
.display-3 { font-size: 2.5rem; }
.display-4 { font-size: 2.2rem; }
.display-5 { font-size: 2rem; }
.display-6 { font-size: 1.82rem; }

/* Hero */
.hero-image {
    height: 350px;
    background-repeat: no-repeat;
    background-size: cover;
    position: relative;
}

    .hero-image-contact {
        background-image: url("../images/photos/pexels-blake-griffin-7238260.jpg");
        background-position: center;
    }

    .hero-image-services {
        background-image: url("../images/photos/iStock-1126700583.jpg");
        background-position: center -25rem;
    }

    .hero-image-training {
        background-image: url("../images/photos/iStock-1139837519.jpg");
        background-position: center -15rem;
    }

    .hero-image-about {
        background-image: url("../images/photos/pexels-christina-morillo-1181534.jpg");
        background-position: center -15rem;
    }

    .hero-image-contact {
        background-image: url("../images/photos/pexels-zoe-pappas-940829.jpg");
        background-position: center -25rem;
    }

    .hero-text-container {
        width: 100%;
        height: 50%;
        background-color: rgba(0,0,0,0.5);
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
    }

    .hero-text {
        text-align: center;
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        color: white;
    }

    .hero-text h1 {
        font-weight: 100;
    }

    .hero-text h1 .accent {
        font-weight: 900;
    }

/* Main */
main section {
    border-radius: 0.5rem;
}

    main section::after {
        padding-bottom: 2rem;
    }

    main section a {
        text-decoration: none;
        color: var(--sos-blue);
        font-weight: 700;
    }

    main section.blue a {
        text-decoration: none;
        color: var(--sos-yellow);
        font-weight: 700;
    }

    main section h1 {
        font-weight: 100;
    }

    main section h1 .accent {
        font-weight: 900;
    }

    main section.gray {
        background-color: var(--sos-gray-30);
        padding: 1.5rem;
    }

    main section.gray.border {
        border: 1px solid var(--sos-blue);
    }

    main section.blue {
        background-color: var(--sos-blue);
        padding: 1.5rem;
    }

    .main-content {
        position: relative;
        top: 450px;
        padding-bottom: 2rem;
    }

.img4 {
    position: relative;
    top: -225px
}


/* Cards */
.card-deck-row {
    margin-bottom: 1.5rem;
}

.card-deck {
    display: flex;
}

.card {
    flex: 1 0 33%;
    box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2);
    border-radius: 0.5rem;
    padding: 1rem;
    margin-right: 1rem;
    text-align: center;
}

    .card:last-child{
        margin-right: 0;
    }

    .card-btn {
        cursor: pointer;
    }

    .card .card-header {
        padding: 0.25rem;
        border-bottom: 1px solid var(--sos-gray-30);
    }

    .card .card-body {
        padding: 0.5rem;
        text-align: left;
    }

    .card ul {
        list-style: none;
        padding-left: 0;
    }

    .card ul li {
        position: relative;
        padding-left: 1.5rem;
        padding-bottom: 1rem;
    }

    .card ul li::before {
        content: "\2713";
        position: absolute;
        left: 0;
        width: 1em;
        color: var(--sos-blue);
        font-weight: 700;
        display: inline-block;
    }

    .card .center {
        text-align: center;
    }

/* Chips */
.chip-deck-row {
    margin-bottom: 1.5rem;
}

.chip-deck {
    display: flex;
}

.chip-container {
    flex: 1 0 33%;
    display: flex;
    grid-template-rows: max-content 6.25rem 1fr;
    background-color: var(--sos-gray-10);
    height: 6.25rem;
    border-radius: 0.5rem;
    padding: 0.25rem;
    margin-bottom: 1rem;
    margin-right: 1rem;
    box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2);
}

.chip-container:last-child{
    margin-right: 0;
}

.chip-container .chip {
    flex: 25%;
}

.chip-container .chip-square {
    display: flex;
    flex-flow: column;
    justify-content: center;
    border-radius: 0.5rem;
    text-align: center;
    width: 6.25rem;
    height: 5.75rem;
    background-color: var(--sos-blue);
}

.chip-container .chip-content {
    display: flex;
    flex-flow: column;
    justify-content: center;
    flex: 75%;
    text-align: center;
    padding: 1rem;
}


/* Buttons */
.btn-container {
    padding: 1rem;
}

.btn {
    display: block;
    background-color: var(--sos-blue);
    color: var(--sos-gray-10);
    border: none;
    font-size: 1rem;
    font-weight: 600;
    text-align: center;
    text-decoration: none;
    width: 100%;
    height: 2.5rem;
    border-radius: 0.5rem;
    padding: 0.25rem;
    cursor: pointer;
}

.btn:hover {
    background-color: var(--sos-blue);
    color: var(--sos-yellow);
}


/* Footer */
footer {
    position: fixed;
    display: flex;
    justify-content: space-evenly;
    text-align: center;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: var(--sos-blue);
    max-height: 1.5rem;
    overflow: auto;
    text-align: center;
    box-shadow: 1px -2px 5px 2px rgba(0,0,0,0.5);
    color: var(--sos-gray-30);
    font-size: 0.75rem;
    padding-top: 0.25rem;
}

.lg-footer-copyright {
    display: inline-block;
}

.sm-footer-copyright {
    display: none;
}

@media screen and (max-width: 500px) {

    body {
        font-size: 1rem;
    }

    main {
        margin-bottom: 1.5rem;
    }

    main section {
        padding: 1rem;
        margin-left: 1rem;
        margin-right: 1rem;
    }

    main section h1.display-1 {
        font-size: 1.75rem;
        text-align: center;
    }

    main section h2 {
        font-size: 1.5rem;
        font-weight: 500;
    }

    .main-content {
        position: relative;
        top: 250px;
        padding-bottom: 1rem;
    }

    .hero-image-contact, .hero-image-services, .hero-image-about, .hero-image-training {
        background-position: center;
    }

    .img4 {
        position: relative;
        top: 0;
    }

    .card-deck-row {
        margin-bottom: 0;
    }

    .card-deck {
        display: block;
    }

    .card {
        width: 100%;
        margin-bottom: 1.5rem;
    }

    .chip-deck-deck-row {
        margin-bottom: 0;
    }

    .chip-deck {
        display: block;
    }

    .chip-container {
        width: 100%;
        margin-bottom: 1.5rem;
    }

    .lg-footer-copyright {
        display: none;
    }
    
    .sm-footer-copyright {
        display: inline-block;
    }
}
@media screen and (min-width: 768px) {
.button-center {margin-left:16.66%; margin-right:16.66%}}