_front_page.scss 2.03 KB
.home-header{
    position: relative;
    height: 100%;
    overflow: hidden;
    min-height: 37.5rem;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;

    img{
        width: 100%;
        height: auto;
    }
    h1{
        color: #fff;
        margin: auto;
        text-align: center;
        display: flex;
        font-size: 2rem;
        line-height:2.25rem ;
        margin-bottom: 2.5rem;
        width: 100%;
        max-width: 1068px;
        font-weight: bold;
        @media only screen and (max-width: 48.875rem) {
            font-size: 1.125rem;
            line-height:1.375rem ;
        }
    }
   
    .content-container{
        position: absolute;
        bottom: 0rem;
        width: 100%;
        display: flex;
        flex-direction: column;
        height: 90%;
        max-height: 37.5rem;
        justify-content: center;
        .fx-style{
            display: flex;
            flex-direction: column;
            height: 100%;
        }

    }
    


}

.side-caption {
    &:hover, &:focus-within {
        bottom:0 !important;
    }
}


.side-caption {
    position: absolute;
    bottom: -100%;
    z-index: 97;
    &.hide {
        display: none;
    }
    &.ready {
        opacity: 1;
        transition: bottom 0.3s;
    }
}

.side-caption {
    max-width: 30%;
    @media screen and (max-width: 48rem) {
        max-width: 100%;
    }
}

.copy-link {
    background:url("./../img/caption.svg");
    background-repeat: no-repeat;
    display: block;
    height:2.188rem;
    width:2.188rem;
    z-index: 9;
    position: relative;
}

.image-side-caption {
    background: rgba(0,0,0,0.7);
    @media screen and (max-width: 48rem) {
        background: rgba(0,0,0,1);
    }
    display: block;
    color:white;
    padding: 1rem 2rem;
    font-size:0.875rem;
    // max-width: 30%; // need to get rid of this for job profiles
    margin-top:0;
    .cap, .copyright {
        display: block;
    }
    .copyright {
        padding-top: 0.75rem;
    }
    span {
        color:white;
    }
}