*{
    padding:0px;
    margin:0px;
    /* overflow-x: hidden; */
    
    /* box-sizing: border-box; */
}
#header{
    background: linear-gradient(rgba(0,0,0,0.5),#eab764),url("https://github.com/pavankalyan-kadaru/leflon/blob/main/background.jpg");
    background-size: cover;
    background-position: center;
    height: 100vh;
    /* width:100vw; */

}
.logo{
    width:120px;
    height:80px;
    top:23%;
    left:19%;
    border-radius: 10px;
    position:absolute
}
.logo-text{
    color:white;
    text-align: center;
    padding-top:200px;
    /* position:sticky; */


}
.logo-text h1{
    font-size:140px;
    font-family: 'Poppins', sans-serif;
}
.logo-text p{
    font-size:20px;
    font-style: italic;
}
.navbar{
    /* display:flex; */
    /* justify-content: flex-end; */
    list-style-type: none;
    /* border: 1px solid blueviolet;      -----now */
    /* display: inline-block; */
} 
.navbar li{
    list-style: none;
     width:140px;
     /* border: 1px solid black;      --------now */
     display: inline-block;
     box-sizing: border-box;
     
}



.topnav{
    position:fixed; 
    display:flex;
    justify-content: flex-end;
    top:0px;
    right:0px;
    /* border:1px solid white;       --------new */
    width:100vw;
    background: linear-gradient(#eab764,rgba(0,0,0,0.5));
    height:7vh; 
    align-items: center;
    z-index:10;
    margin-left:10px;

}  
.navbar li a{
    text-decoration: none;
    color:rgb(251, 253, 253);
    font-size:20px;
    /* padding:10px; */
    margin:10px 20px; 
    display:block
}
.navbar li a:hover {
    text-decoration: underline;
    color:rgb(241, 247, 247);
    font-size:22px;
    transition: 0.5s;
} 
/* @media screen and (max-width:550){
    .logo-text h1{
        font-size:80px;
    }
    .logo{
        top:20%;
        left:30%;
    }
 } */

 @media screen and (max-width:1550px) and (min-width:1400px){
    /* .logo-text h1{
        font-size:80px;
    } */
    .logo{
        top:17%;
        left:17%;
        
    }
 }
 @media screen and (max-width:1399px) and (min-width:1250px){
    .logo{
        top:17%;
        left:14%;
    }
 }
 @media screen and (max-width:1250px){
    .logo{
        top:17%;
        left:9%;
    }
 }
 @media screen and (max-width:500px){
    .logo-text h1{
        font-size:80px;
    }
 }
/* ----------features---------- */

#features{
    width:100%;
    padding:70px 0px;
    /* border:3px solid black    -------new */
}
.text-title{
    text-align: center;
    padding-bottom:70px;
    /* border:3px solid black   ---------new */

}
.text-title p{
    margin:auto;
    font-size:20px;
    color:#e99a1b;
    font-weight:bold;
    /* border:3px solid black;    ----------new */
    position: relative;
    z-index: 1;
    display: inline-block;

}
.text-title p::after{
    content: '';
    width:50px;
    height:35px;
    background: linear-gradient(#e99a1b,#fff);
    position: absolute;
    top: -20px;
    left:0;
    z-index:-1;
    transform: rotate(10deg);
    border-top-left-radius: 35px;
    border-bottom-right-radius:35px;
}
.text-title h1{
    font-size: 50px;
}
.feature-box{
    width:80%;
    margin:auto;
    display: flex;
    flex-wrap:wrap;
    align-items: center;
    text-align: center;
    /* border:1px solid rgb(180, 25, 25);       ---------------new */
}
.features{
    flex-basis: 50%;
    /* width:500px; */
} 

.features-img{
    flex-basis: 50%;
    margin:auto;

}
.features-img img{
    width: 70%;
    border-radius: 10px;
}
.features h1{
    text-align:left ;
    margin-bottom: 10px;
    font-weight: 100;
    color:#eda025
}
.feature-desc{
    display: flex;
    align-items: center;
    margin-bottom:40px;
}
/* .feature-icon .fa{
    width:50px;
    height:50px;
    font-size:30px;
    line-height:50px;
    border-radius: 8px;
    color:#eab764;
    border:1px solid #eab764;}
     */

    @media  screen and (max-width:770px) {
        .text-title h1{
            font-size:35px;
        }
        .features{
            flex-basis: 100%;
        }
        .features-img{
            flex-basis: 100%;
        }
        .features-img img{
            width:100%;
        }
        .topnav{
            display:none;
        }
    }


/* -------------services-------- */

#services{
    width:100%;
    padding:70px 0px;
    background-color:rgb(216, 215, 215);
}
.service-box{
    width:80%;
    display:flex;
    flex-wrap:wrap;
    justify-content: space-around;
    margin:auto;
}
.each-service{
    flex-basis:48%;
    text-align: center;
    border-radius: 7px;
    margin-bottom:20px;
    color:#fff;
    position: relative;
}
.each-service img{
    width:100%;
    border-radius: 7px;

}
.each-service img{
    width:100%;
    border-radius: 7px;
    height:100%;
    
}
.overlay{
    width:100%;
    height:100%;
    position:absolute;
    top:0;
    border-radius: 7px;
    cursor: pointer;
    background: linear-gradient(rgba(0,0,0,0.5),#eab764);
    opacity: 0;
    transition: 1s;
    
}
.each-service:hover .overlay{
opacity: 1;
}
.overlay-desc{
width:80%;
position: absolute;
bottom:0%;
left:50%;
height:75%;
transform: translateX(-50%);
/* border:1px solid black;          -----------new */
overflow: auto;
visibility: hidden;
transition: 0.5s;
transition-timing-function: ease-in;

}

hr{
background: #fff;
height:2px;
border:0;
margin:15px auto;
width: 60%;
}
.overlay-desc p{
font-size:14px;
}
.each-service:hover .overlay-desc{
visibility: visible;
bottom: 10%;
}
@media  screen and (max-width:770px){
.each-service{
    flex-basis: 100%;
    margin-bottom: 30px;
}
.overlay-desc p{
    font-size: 12px;
}
hr{
    margin: 5px auto;
}
}

/* -----------testimonial---------- */
#testimonial{
    width:100%;
    padding:70px 0px;
}
.testimonial-row{
    display:flex;
    width:80%;
    margin: auto;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
}
.testimonial-col{
    flex-basis: 30%;
    padding:10px;
    margin-bottom:30px;
    border-radius: 5px;
    cursor: pointer;
    box-shadow: 0 10px 20px 3px #00968814;
    transition: 0.5s;
}
.user{
    display:flex;
    /* align-items: center; */
    margin: 20px 0;
}
.user img{
    width:40px;
    margin-right:20px;
    border-radius: 3px;
    height:45px;
}
.user-info small{
    color:#009688;
}
.testimonial-col:hover{
    transform: translateY(-10px);
}
@media screen  and (max-width:770px){
    .testimonial-col{
        flex-basis: 100%;
    }
}

/* --------footer--------- */
#footer{
    padding: 100px 0 20px;
    /* background: #efefef; */
    position: relative;
}
.footer-row{
    display: flex;
    width:80%;
    justify-content: space-between;
    flex-wrap: wrap;
    margin:0 auto;
}
.footer-left,.footer-right{
    flex-basis: 45%;
    padding:10px;
    margin-bottom: 20px;
}
/* .footer-right{
    text-align: right;
} */
.footer-row h1{
    margin: 10px 0;
}
.footer-row p{
    line-height: 35px;
}
#footer img{
    width:100%;
    opacity: 0.4;
    z-index:-3;
    position: absolute;
    height: 60vh;
}
@media screen and (max-width:600px) {
    .footer-left,.footer-right{
        flex-basis:100%;
    }   
}
