
/* COLORS: 

Light green: #7ed56f
Medium green: #55c57a
Dark green: #28b485 */

*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body {
    font-family:"Lato",sans-serif;
    font-weight: 400;
    font-size: 17px;
    line-height: 1.7;
    color: #777;
    padding: 30px;
}

.header {
    height: 95vh;
    background-image: linear-gradient(
        to right bottom,
        rgba(126, 213, 111, 0.8),
        rgba(40, 131, 180, 0.8)),
         url(../img/hero.jpg);
    background-size:cover;
    background-position: top;
    position: relative;
    clip-path: polygon(0 0, 100% 0, 100% 75vh, 0 100%);
}

.logo-box {
position: absolute;
top: 40px;
left: 40px;
}

.logo {
height: 35px;
}

.logo:hover { 
    animation: moveInRight 1s ease-out;
    
}

.text-box {
    position: absolute;
    top: 35%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;

}

.heading-primary {
    color: #fff;
    text-transform: uppercase;
    backface-visibility: hidden;
    margin-bottom: 60px;
    
}
.heading-primary-main {
display: block;
font-size: 60px;
font-weight: 700;
letter-spacing: 17.4px;

animation-name: moveInleft;
animation-duration: 5s;
animation-delay: 1s;
animation-iteration-count: 2;
animation-timing-function: ease-out;
}
.heading-primary-sub {
    display: block;
    font-size: 20px;
    font-weight: 400;
    letter-spacing: 17px;

animation-name: moveInRight;
animation-duration: 5s;
animation-delay: 1s;
animation-iteration-count: 2;
animation-timing-function: ease-in;
}
/* To create animation we use @keyframe*/
@keyframes moveInleft {
    0% {
        opacity: 0;
        transform: translateX(-100px) rotate(-50deg);
    }
    60% {
        transform: rotate(180deg);
    }

    80% {
transform: translateX(20px);
    }

    100% {
        opacity: 1;
        transform: translate(0);
    }

}

@keyframes moveInRight {
    0% {
        opacity: 0;
        transform: translateX(100px);
    }
    60% {
        transform: rotate(-180deg);
    }

    80% {
transform: translateX(-20px);
    }

    100% {
        opacity: 1;
        transform: translate(0);
    }

}

@keyframes moveInBottom {
    0% {
        opacity: 0;
        transform: translateX(30px);
    }
    

    100% {
        opacity: 0;
        transform: translateY(0px);
    }

}



.btn:link,
.btn:visited {
    text-transform: uppercase;
    text-decoration: none;
    padding: 15px 40px;
    display: inline-block;
    border-radius: 100px;
    transition: all .2;
    position: relative;
    
    
    
    

}

.btn:hover { 
/* we use negative value to move
 button up in CSS */
/* In CSS, animation move from 
top to bottom,
 so if u want to move it up u will 
 use negative value; */
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0,0,0,.2);
}

.btn:active {
    transform: translateY(-1px);
    box-shadow: 0 5px 10px rgba(0,0,0,.2);
}

.btn-white {
    background-color: #fff;
    color: #777;
    width: 300px;
}

.btn::after {
    content: "";
    display: inline-block;
    height: 60px;
    width: 300px;
    border-radius: 200px;
    position: absolute;
    top: 0;
    left: 0;
    z-index: -1;
    transform: all 4s;
}

.btn-white::after {
    background-color: #fff;
}

.btn:hover::after {
    transform: scaleX(1.4) scaleY(1.6);
    opacity: 1; 
    /* hjghh */
    
}

.btn-animated {
    animation: moveInBottom .5s ease-out .75s;
    animation-fill-mode: backwards;   
}