* {
    margin: 0px;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

body {
    background: linear-gradient(210deg, rgba(0,0,0,1) 47%, rgba(157,110,42,1) 100%);
color: white;
}


.slider-bg {
    height: 100vh;
    position: relative;
    background-image: url(img/bg-hero-image.jpg);
    height: 100vh;
    background-size: cover;
    background-position: center;
}


.background-overlay {
    background-color: #000000;
    opacity: 0.6;
    transition: background 0.3s, border-radius 0.3s, opacity 0.3s;
    height: 100%;
    width: 100%;
    top: 0;
    left: 0;
    position: absolute;
}

header {
    position: relative;
    z-index: 3;
    padding: 50px 0px;
    width: 70%;
    margin: auto;
    margin-bottom: 40px;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;

    top: 0;
}

header .header-right  {
display: flex;
flex-direction: row;
}

header .header-right a {
    margin-left: 25px;
    color: #fcecca;
    text-decoration: none;
    font-size: 18px;
}

header .header-right  .active {

    border-bottom: 1px solid;
}
header .active:before {
    position: absolute;
    top:0px;
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 100%;
    height: 2px;
    background: white;
    -webkit-transform: scale3d(0, 5, 1);
    transform: scale3d(0, 5, 1);
    -webkit-transform-origin: 0% 50%;
    transform-origin: 0% 50%;
    -webkit-transition: -webkit-transform 0.3s;
    transition: transform 0.3s;
    -webkit-transition-timing-function: cubic-bezier(1, 0.68, 0.16, 0.9);
    transition-timing-function: cubic-bezier(1, 0.68, 0.16, 0.9);

}


.about-case {
    width: 70%;
    margin: auto;
    display: flex;
    flex-direction: row;
    margin-bottom: 75px;
    justify-content: space-between;
    align-items: center;
}

.about-case .title,.team-container .title,.comment .title
 {
    font-size: 2.5rem;
    line-height: 1.25;
    font-weight: 600;
    color: #fcecca;
 }

 .about-case-left {
    width: 46%;
    display: inline-block;
    height: fit-content;
 }
 .about-case img {width: 100%;}
 .about-case-right {width: 46%;float: right;}

 .about-case .text,.team-container p {
    font-size: 18px;
    font-weight: 300;
 }
 
 .about-case span,.team-container span,.comment span  {
    width: 10%;
    background: #fcecca;
    display: block;
    margin:20px 0px;
    position: relative;
    border-top: 3px solid #fcecca;
 }

.team-container {
    width: 100%;
    margin: auto;
    background-color: #f2f2f2;
    padding: 100px 15% 100px 15%;
    text-align: center;
}

 .team-grid {
    width: 60%;
    margin: 50px auto;
    display: grid;
grid-template-columns: repeat(2, 1fr);
grid-template-rows: 1fr;
grid-column-gap: 20px;
grid-row-gap: 10px;
 }

 .team-container span,.comment span {
    margin: 25px auto;
 }

 .team-person {width: 100%;
    position: relative;
    display: flex;
    margin-bottom: 15px;
}


.team-p:hover  .team-p-btext  {
    color: #f2f2f2;
}
 .team-person img {width: 100%;}

 .team-person-cover {
    position: absolute;
    width: 100%;
    height: 100%;
    background-color: #000000b7;
    color: white;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    opacity: 0;
    display: flex;
 }

 .team-p:hover .team-person-cover {
    opacity: 1;
transition: 1.5s cubic-bezier(0.075, 0.82, 0.165, 1);
 }

 .comment {
    text-align: center;
    padding: 75px;
    padding-top: 0px;
 }

 
.testimonial-block {
    
    color: #fff;
    text-align: left;
}

    .testimonial-block .testi-overlay {
        height: 100%;
        width: 100%;
        top: 0;
        left: 0;

        opacity: 0.9;
        right: 0;
        bottom: 0;
        position: absolute; }


        .testi-container {width: 80%;
        margin: auto;
        display: flex;
        flex-direction: row;

    }

    .testi-left {width: 50%;padding: 25px;}

    .testi-left img {
        margin-right: 20px;
        
        width: 100px;
        border-radius: 50%;
        border-style: solid;
        border-color: white;
    }

    .testi-left p {
        font-size: 17px;
        
    }

    .testi-profile {display: flex;
        flex-direction: row;
        justify-content: flex-start;
        align-items: center;
        
    }

    .testi-profile p {
        font-size: 20px;
    }

    .dotted {
       
    border-style: dotted;
    border-width: 0px 0px 0px 2px;
    border-color: #afafaf;
    
    }

    .testi-left {
        width: 50%;
        display: flex;
        flex-direction: column;
        align-items: left;
        justify-content: space-around;
    }


    
    footer {
        position: relative;
        display: flex;
        flex-direction: row;
        align-items: flex-start;
        justify-content: space-between;
        background-color: #212121;
        color: white;
        padding: 50px 5%;
        width: 100%;
        margin: auto;
    }

    .footer-item {
        width: 27%;
        display: flex;
        flex-direction: column;
    }

    .footer-title {
        text-align: center;
        padding-left: 5px;
        padding-bottom: 5px;
        font-size: 25px;
        position: relative;
        width: 100%;
        border-style: solid;
        border-width: 0px 0px 1px 0px;
    }

    

    .footer-item p {
        font-size: 15px;
        padding: 10px 0px;
        font-weight: 200;
        text-align: center;
        line-height: 2;
    }

    .footer-item p b {
        font-weight: 400;
        color: #f2b100;
    }

    .footer-news {
        padding: 15px 0px;
        font-weight: 100;
    }

    .footer-project p {
        padding: 5px 0px;
        font-size: 20px;
        text-align: center;
    }

    

    .footer-bottom p {
        width: 300px;
    }

    .social-footer {
position: absolute;
        display: flex;
        align-items: flex-start;
        justify-content: right;
        flex-direction: column;
bottom: 25px;
right: 25px;
        padding-bottom: 15px;
        padding-left: 5px;
        padding-right: 5px;
        z-index: 20;
    }   

    .social-footer-2 {
        position: absolute;
                display: flex;
                align-items: flex-start;
                justify-content: right;
                flex-direction: row;
        top: 25px;
        right: 25px;
                padding-bottom: 15px;
                padding-left: 5px;
                padding-right: 5px;
                z-index: 20;
            }   

    .social-footer svg {margin-top: 25px;}
    .social-footer-2 svg {margin-left: 25px;}
    .footer-item-logo {
        width: 27%;
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    .footer-item-logo a {
        font-size: 15px;
        color: white;
        text-decoration: none;
        margin-top: 35px;
        font-weight: 200;
    }


    @media only screen and (max-width: 1300px) {
        .about-case .title, .team-container .title, .comment .title {
            font-size: 2rem;
            line-height: 1.25;
            font-weight: 600;
    }

    .about-case .text, .team-container p,.abouttext .text {
        font-size: 15px;
        font-weight: 300;
}



.about-case,header { 
    width: 80%;
}

.team-container {
    padding: 100px 10% 100px 10%;
}
    }