﻿/* --------------------------------------------------------------------------*\
    Home Page

    Page-specific styles for the Home Page.
\* --------------------------------------------------------------------------*/
.hero-banner video {
    height: 80vh;
    object-fit: cover;
    object-position: center center;
    width: 100%;
}

.home-articles {
    color: white;
}

    .home-articles article {
        border-radius: 5px;
        backdrop-filter: blur(5px);
        box-shadow: 0 0 30px 0px #000;
        width: 40vh;
        height: auto;
        display: inline flex;
        flex-wrap: wrap;
        align-items: stretch;
        box-sizing: content-box;
        position: relative;
        box-shadow: none;
    }

    .home-articles img {
        width: 100%;
        height: 25vh;
        object-fit: cover;
        object-position: center center;
        border: 0px;
        box-shadow: none;
    }

    .home-articles h2 {
        font-size: 1.3rem;
        border-bottom: 2px solid #1f6dad;
        margin-bottom: 0px;
    }

    .home-articles p {
        color: black;
    }


#innovation-img-bg {
    background-image: url(/Images/capabilities/innovation-2.png);
    /* Have to adjust the position of this picture to a very specific */
    background-position-x: left;
}

#experience-img-bg {
    /* This is a weird hack to maintain intrinsic sizing across different 
           screen resolutions */
    background-position-x: center;
    background-image: url(/Images/NavyPersonellAtMonitor.jfif);
}

#excellence-img-bg {
    /* This is a weird hack to maintain intrinsic sizing across different 
           screen resolutions */
    background-size: cover;
    background-image: url(/Images/ibawards-namesredacted.jpg);
    background-size: 182%;
    background-position-x: 50%;
}

#home-light-bg {
    background-color: #d7d7d7;
}

.hero-banner {
    position: absolute;
    top: 0px;
    margin-bottom: 0px;
    width: 100%;
}

.header-container {
    object-position: center center;
    object-fit: cover;
    width: 100%;
    height: 100%;
}

#award_wrapper {
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-grow: 1;
    width: 100%;
    padding: 1em;
}

    #award_wrapper p {
        color: #d7d7d7;
    }

.award-padding {
    padding: 10px;
}

.virginia-quote-home .div_wrap2 {
    justify-content: center;
}

.home-content {
    /* This is used to account for the hero-banner class being set to position 
        absolute and height: 80vh */
    margin-top: calc(80vh);
}

.wrapper img {
    height: 200px;
    width: 200px;
}

.mainContainer_heading_center {
    width: 80%;
    margin-left: auto;
    margin-right: auto;
    padding: 1rem 0rem 1rem;
    height: auto;
    left: 0px;
    right: 0px;
    font-size: 1.2rem;
    text-align: center;
    position: relative;
}

    .mainContainer_heading_center h3 {
        border: 0px;
    }

    .mainContainer_heading_center h4 {
        font-size: 1.2rem;
        margin: 20px 0px;
    }

    .mainContainer_heading_center hr {
        border-color: #22823b;
        display: block;
        height: 1px;
        border: 0;
        border-top: 1px solid #22823b;
        margin: 1em 0;
        padding: 0;
    }

.VASeal_img_wrapper {
    height: 200px;
    width: 200px;
}

.wrapper {
    width: 60%;
    margin: 0px auto;
}

.headerHQ_img_mobile_homePage {
    display: none;
}

#index_aside_wrapper {
    display: flex;
    width: 50vh;
    color: var(--aside-color);
    flex-wrap: wrap;
    justify-content: space-around;
    align-items: baseline;
}

    #index_aside_wrapper p {
        line-height: 1.75em;
    }

#index_aside_wrapper2 {
    display: flex;
    width: 50vh;
    color: var(--aside-color);
    flex-wrap: wrap;
    justify-content: space-around;
    align-items: baseline;
}

    #index_aside_wrapper2 p {
        line-height: 1.75em;
    }

.cta-button {
    width: 300px;
    height: 85px;
    font-size: 2rem;
}

#locations-map {
    position: relative;
    height: 50%;
    width: 90%;
    margin: 10vh auto;
}

    #locations-map img {
        height: 100%;
        width: 100%;
        object-fit: contain;
        object-position: center center;
    }

    #locations-map span {
        position: absolute;
        width: 15px;
        height: 15px;
        border-radius: 50px;
        top: 40%;
        left: 25%;
        background-color: var(--map-span-color);
        animation: highlight 1.5s linear infinite;
    }

        #locations-map span:nth-child(2) {
            /* Bremerton, WA for map.png */
            top: 30%;
            left: 13%;
            animation-delay: 0.2s;
        }

        #locations-map span:nth-child(3) {
            /* San Diego, CA for map.png */
            top: 38%;
            left: 15%;
            animation-delay: 1s;
        }

        #locations-map span:nth-child(4) {
            /* Chesapeake, VA for map.png */
            top: 37%;
            left: 26%;
            animation-delay: 1s;
        }

        #locations-map span:nth-child(5) {
            /* Jacksonville, FL for map.png */
            top: 40%;
            left: 25%;
            animation-delay: 0.5s;
        }

        #locations-map span:nth-child(6) {
            /* Guam */
            top: 50%;
            left: 85%;
            animation-delay: 0.8s;
        }

        #locations-map span:nth-child(7) {
            /* Japan */
            top: 35%;
            left: 83%;
            animation-delay: 0.2s;
        }

        #locations-map span:nth-child(8) {
            /* Ohio */
            top: 32%;
            left: 24%;
            animation-delay: 0.5s;
        }

        #locations-map span:nth-child(9) {
            /* Nevada */
            top: 35%;
            left: 17%;
            animation-delay: 1.5s;
        }

        #locations-map span:nth-child(10) {
            /* Tennessee */
            top: 35%;
            left: 25%;
            animation-delay: 1s;
        }

        #locations-map span:nth-child(11) {
            /* New Hampshire */
            top: 32%;
            left: 27%;
            animation-delay: 1.5s;
        }

        #locations-map span:nth-child(12) {
            /* Hawaii */
            top: 50%;
            left: 2%;
            animation-delay: 0.8s;
        }

        #locations-map span:nth-child(13) {
            /* New London, CT */
            top: 35%;
            left: 27%;
            animation-delay: 1.5s;
        }

/* LinkedIn */
.linkedin-img {
    background-image: var(--linkedin-logo-link);
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
    height: 75px;
    width: 75px;
}

#bbblink {
    display: block;
    position: relative;
    overflow: hidden;
    width: 60px;
    height: 108px;
    margin: 0px;
    padding: 0px;
}

#bbblinkimg {
    padding: 0px;
    border: none;
}

@keyframes highlight {
    100% {
        transform: scale(5);
        opacity: 0;
    }
}

@media(max-width: 768px) {
    .headerHQ_img_mobile_homePage {
        height: 100%;
        width: 100%;
        object-fit: cover;
        display: block;
    }

    .hero-banner {
        position: relative;
    }

    .hero-banner .wrapper {
        margin: 0px;
    }

    .hero-banner video {
        display: none;
    }

    .home-content {
        margin-top: 0px;
    }

    .mainContainer_heading_center {
        margin-bottom: 100px;
        width: 90%;
    }

    #aside_wrapper cite {
        font-size: 1rem;
    }

    #banner-mobile-contain {
        height: 30vh;
        width: 100%;
    }
    .scroll {
        display: none;
    }
}
.scroll{
    position: absolute;
    top: 104%;
    left: 50%;
    transform: translate(-50%, -50%);
}
    .scroll span{
        display: block;
        width: 30px;
        height: 30px;
        border-bottom: 2px solid var(--text-color);
        border-right: 2px solid var(--text-color);
        transform: rotate(45deg);
        margin: -10px;
        animation: animate 2s infinite;
    }
    
        .scroll span:nth-child(2)
        {
            animation-delay: -0.2s;
        }
        
        .scroll span:nth-child(3)
        {
            animation-delay: -0.4s;
        }
  
  @keyframes animate{
    
    0%{
      opacity: 0;
      transform: rotate(45deg) translate(-20px, -20px);
    }
    50%{
      opacity: 1;
    }
    100%{
      opacity: 0;
      transform: rotate(45deg) translate(20px, 20px);
    }
  }