#billboard::before {
    content: ' ';
    display: block;
    background-image: url('images/night3.png');
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    height: 100%;
    width: 100%;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: -10;  /* This is pretty important. */
}   

#billboard {
    height: 100vh;
    width: 100%;
}

#billboard h1 {
    position: absolute;
    text-align: center;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    z-index: 19;
    font-size: 6vw;
}

#boxes01, #boxes02 {
    font-size: 0em;
}

.boxImages {
    position: relative;
    display: inline-flex;
    height: 40vh;
    width: calc(100%/3);
    text-align: center;
    overflow: hidden;
    cursor: pointer;
    transition: filter .5s;
}

.boxImages h1 {
    text-align: center;  
    width: 100%;
    height: 100%; 
    position: absolute;
    color: var(--jonquil);    
    filter: none;
    font-size: 4vw;
    text-shadow: 0px 0px 8px gray;
}

.boxImages::before {
    content: ' ';
    display: block;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    height: 100%;
    width: 100%;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: -10;  /* This is pretty important. */
}

#roles::before {
    background-image: url('images/roles03.jpg');
    background-position-x: 75%; 
}

#team::before {
    background-image: url('images/team04.jpg'); 
}

#benefits::before {
    background-image: url('images/benefits03.png'); 
}

#ranks::before {
    background-image: url('images/ranks03.jpg'); 
}

#join::before {
    background-image: url('images/rec1.jpg');
}

#talk::before {
    background-image: url('images/talk02.jpg');
}

.spacer {
    width: 60%;
    text-align: center;
    padding: 5vh 20%;
}

#slider {
    display: block;
    height: 75vh;
    width: 100%;
    position: relative;
}

#sliderInfo {
    height: inherit;
    width: calc(100%/3);
    background: linear-gradient(0deg, rgba(0,0,0,.50), rgba(255,255,255,.50)),
                linear-gradient(0deg, rgba(255,255,255,.50), rgba(0,0,0,.50));
    position: relative;
    left: 10%;
    top: -100%;
    z-index: 3;
}

.info {
    display: none;
    transition: linear;
    text-align: center;
    font-size: 1.5vw;
    transition: cubic-bezier(0.075, 0.82, 0.165, 1);
}

.info > a, .info > img {
    display: none;
}

.info > p {
    padding: 5% 10%;
}

#sliderControl {
    position: absolute;
    width: 100%;
    bottom: 0;
    font-size: 5vw;
}

#left, #right, #count {
    position: absolute;
    bottom: 0;
    cursor: pointer;
    height: auto;
}

#left {
    left: 2vw;
    z-index: 20;
}

.imageLeft{
    transform: translateX(-2000px);
}

.imageRight{
    transform: translateX(2000px);
}
#right {
    right: 2vw;
    z-index: 20;
}

#count {
    cursor: auto;
    font-size: 2vw;
    width: 100%;
    text-align: center;
    bottom: 3vh;
}

#sliderImage {
    position: relative;
    height: inherit;
    width: 80%;
    left: 10%;
    overflow: hidden;
}

#displayImage {
    z-index: 2;
}

#nextImage {
    z-index: 1;
}

.image {
    transition: all .5s ease-in-out;
    height: 100%;
    width: auto;
    position: absolute;
}

#contactBlock {
    height: 30vh;
    width: 80%;
    margin: 0 10%;
    display: inline-flex;
}

#contactBlock>* {
    margin: auto;
}

#contactBlock>*>a>img {
    width: 5vw;
}

#buttonDiv {
    width: 100%;
    text-align: center;
}

#sliderInfo input {
    padding: 2%;
    border-radius: 10px;
    color: var(--iceberg);
    background-color: var(--jonquil);
    cursor: pointer;
    font-size: 1vw;
}

#sliderInfo input:hover {
    filter: brightness(75%);
}

#left:hover, #right:hover {
    filter: brightness(75%);
}

.testimonials {
    height: 8ex;
}

@media screen and (max-width: 1024px) and (min-width: 769px) {
    .image {
        left: -100%;
    }
}

@media screen and (max-width: 768px) {
    .boxImages h1 {
        font-size: 10vw;
    }

    #billboard {
        height: 50vh;
    }
    #billboard>h1 {
        top: 25%;
    }
    .boxImages {
        width: 100%;
    }

    #slider {
        display: block;
        height: 96.22vw;
    }

    #sliderInfo {
        left: 5%;
        width: 90%;
        height: 50%;
        top: auto;
        background: var(--iceberg);
    }

    #sliderInfo input {
        font-size: 3vw;
    }
    #sliderImage {
        left: 5%;
        width: 90%;
        height: 50%;
    }
    .image {
        width: auto;
        margin: auto;
    }
    #left {
        left: 35vw;
    }
    #right {
        right: 35vw;
    }
    #count {
        bottom: 1vh;
    }
    .info {
        font-size: 3.5vw;
    }   
    #contactBlock>*>a>img {
        width: 10vw;
    } 
    .spacer{
        width: 80%;
        padding: 5vh 10%;
    }
}