
.cover {
  /* The image used */
  background-image: linear-gradient(90deg,rgba(0,0,0,0.57) 0%,rgba(41,196,169,0) 100%), url(../image/gfx-hero.jpg);
 /* Full height */
  height: 100vh;
  width: 100vw; 
  /* Center and scale the image nicely */
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

.cover-text {
  text-align: left;
  position: absolute;
  top: 40%;
  left: 40%;
  transform: translate(-40%, -40%);
  padding-top: 120px;/* Match navbar at the top */
  width: 80%;
}

.cover-text > h4 {
    color: var(--accent-color);
}

.cover-text > h3 {
    font-weight: 300;
    font-size: 2.8em;
    line-height: 80%;
}

.cover-text > h1 {
    font-size: 5em;
    line-height: 90%;
}


#cover-contact-us {
    padding-bottom: 4px;
}

.ccab-logo img{
  position: absolute;
  bottom: 100px;
  right: 80px;
}

.ccab-small-logo img{
    position: absolute;
    width: 220px;
    bottom: 60px;
    right: 20px;
    display: none;
    }

@media only screen and (max-width: 980px) {
    .cover-text > h1 {
        font-size: 3em;
    }
    .cover-text > h3 {
        font-size: 1.5em;
    }
    .cover-text > h4 {
        font-size: 1em;
    }
    #cover-contact-us {
        padding-bottom: 10px;
    }
    .ccab-logo img{
        display: none;
    }
    .slide-cover {
        width: 140px;
        margin: auto;
        margin-top: 80px;
    }
    
    .slide-cover  a{
        line-height: 1.8em;
    }
    
    .slide-cover:hover .overlay {
        width: 140px;
    }
    .ccab-small-logo img{
        display: unset;
        }
}
