body,
html {
    padding: 0;
    margin: 0;
}

.navbar-brand-img {
    width: 150px;
    padding: 0;
    margin: 0.2em 0;

}

h1,
h2,
h3 {
    font-family: Impact, Haettenschweiler, 'Arial Narrow Bold', sans-serif;
}

p,
a {
    font-family: "Abel", sans-serif;
}


.banner-video {
    opacity: 50%;
    width: 100%;
    margin: 0;
    padding: 0;
}


.aboutus-header {
    font-size: 4em;
    text-transform: uppercase;
    animation: about-header-anim;
    animation-fill-mode: forwards;
    animation-duration: 0.7s;
    animation-timing-function: ease-out;
}

@keyframes about-header-anim {
    from {opacity:0; translate: 0 100px;}
    to {opacity: 1;}
}

.aboutus-content {
    color: lightgray;
    margin-bottom: calc(100% * 0.15);
    opacity: 0;
    animation: about-content-anim;
    animation-fill-mode: forwards;
    animation-duration: 0.7s;
    animation-timing-function: ease-out;
    animation-delay: 0.2s;

}
@keyframes about-content-anim {
    from {opacity:0; translate: 0 100px;}
    to {opacity: 1;}
}


.work-header-img {
    position: absolute;
    top: 0;
    transform: translateY(calc(-100% * 0.3));
}



.works-videos-container {
    margin: 0;
    margin-top: calc(100% * 0.45);
    margin-bottom: calc(100% * 0.25);
}

.works-card {
    padding: 1em 0 0 0;
    margin: 0;
    position: relative;
    /* background-color: black; */
    position: relative;
    cursor: pointer;
    
    &:hover .works-card-info {
        height: 35%;
    }

    &:hover .works-card-thumbnail {
        opacity: 1;
    }
   
}



.works-card-thumbnail{
    opacity: 0.35;
    width: 100%;
    margin: 0;
    padding: 0;
    outline: none;
    transition: all 0.5s;

}

.works-card-info{
    display: flex;
    flex-direction: column;
    text-align: start;
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 0%;
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    padding: 0 1em;
    margin: 0;
    transition: all 0.5s;
}

.works-card-info h1 {
    font-weight: bolder;
    font-size: 1.2em;
    padding: 0.5em 0 0 0;
    margin: 0;
}

.works-card-info p {
    font-size: 0.8em;
    margin-top: 0.5em;
}


.services-header-img {
    display: flex;
    position: absolute;
    top: 0;
    transform: translateY(calc(-100% * 0.535));
  
}



.services-container {
    margin: 0;
    margin-top: calc(100% * 0.25);
    padding-bottom: calc(100% * 0.2);
    color: white;
}

.service-card {
    padding: 2em;
    cursor: pointer;
    box-shadow: 0 0 0 black;
    border-radius: 1em;
    transition: 0.7s;
    height: 100%;

    &:hover {
        background-color: white;
        color: #333;
        box-shadow: 20px 20px 20px black;
    }

    &:hover > .services-icon {
        scale: 1.2;
    }
}




.services-container h1 {
    text-transform: uppercase;
    margin-top: 0.6em;
}


.services-icon {
    max-width: 200px;
    scale: 0.9;
    transition: 0.7s;
}




.contact-container {
    background-color: lightgray;
    text-align: center;
    align-items: center;
    justify-content: center;
}


.contact-header-img {
    display: flex;
    max-height: 400px;
    position: absolute;
    top: -200px;
}

.contact-information-container {
    padding-top: 250px;
    padding-bottom: 150px;
    text-align: center;
    justify-content: center;
    align-items: center;
}

.contact-information-container .footer-logo {
    max-width: 300px;
}

.text-contact-container {
    width: 350px;
    margin: 8em auto 1em auto;
    padding: 0;
    justify-content: center;
    line-height: 1em;
}

.address{
    display: block;
    text-align: center;
    text-decoration: none;
    line-height: 2em;
    color: grey;
    width: 100%;
    border-bottom: 1px solid grey;
    cursor: pointer;
    transition: all 0.5s;
    margin-bottom: 0.5em;

}

.mobile {
    text-decoration: none;
    color: grey;
    float: left;
    cursor: pointer;
    transition: all 0.5s;
    line-height: 1em;
}

.email {
    text-decoration: none;
    color: grey;
    float: right;
    cursor: pointer;
    transition: all 0.5s;

}

.address:hover, .mobile:hover, .email:hover {
    color: black;
}




.video-player-container {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    background-color: black;
}

#close-btn {
    color: gray;
    text-decoration: none;
    display: block;
    position: absolute;
    padding: 0.5em;
    font-size: 2em;
    top: 0;
    right: 0.5em;
    transition: all 0.5s;
    &:hover {
        color: white;
    }
    z-index: 100000;
    
}



.contact-header-img {
        max-width: 200px;
        left: calc(100% / 2 - 100px);
        top: -75px;
        animation: index-up-loop alternate-reverse;
        animation-duration: 1s ;
        animation-iteration-count: infinite;
        
     }
     @keyframes index-up-loop {
        to {translate: 0 20px;}
        
     }


     .nav-link::after {
        display: block;
        content: '';
        transition: 0.5s;
        transform: scaleX(0);
        border-bottom: 1px solid white;
        
     }

     .nav-link:hover::after {
        transform: scaleX(1);
     }



@media (prefers-reduced-motion: no-preference) {
    .banner-video {
        scale: 1 1;
        animation: open-tv;
        animation-duration: 0.5s;
        animation-fill-mode: forwards;
    }
    @keyframes open-tv {
        to {scale: 1 1}
    }
}


@media (max-width: 575.98px) {

    .works-card-info {
        display: none;
    }

    .contact-header-img {
        max-width: 200px;
        left: calc(100% / 2 - 100px);
        top: -75px;
     }

    .contact-information-container {
        padding-top: 150px;
        padding-bottom: 75px;
    }
    .address-mobile-container {
        width: 300px;
        margin: 4em auto 1em auto;
    }
}

