@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,300;0,400;0,500;0,600;0,700;1,200&display=swap');

:root{
    --main-color: #e8b007;
    --green: #27ae60;
    --black: #444;
    --light-color:#777;
    --bg-color: #e6e6e6;
    --border:.1rem solid rgba(0,0,0,.2);
    --box-shadow:.4rem .4rem 1rem #ccc,
                -.4rem -.4rem 1rem #fff;
    ---box-shadow-inset:.4rem .4rem 1rem #ccc inset,
                -.4rem -.4rem 1rem #fff inset;
}


*{
    font-family: 'Poppins', sans-serif;
    margin:0;
    padding: 0;
    box-sizing: border-box;
    outline: none;
    border: none;
    text-decoration: none;
    text-transform: capitalize;
    transition: .3s linear;
}

html{
    max-width: 100%;
    font-size: 62.5%;
    overflow-x: hidden;
    scroll-behavior: smooth;
}

body{
    max-width: 100%;
    overflow-x: hidden;
    background: var(--bg-color);
    padding-left: 30rem;
}

body.active{
    --black: #fff;
    --light-color:#ddd;
    --bg-color: #222;
    --border:.1rem solid rgba(0,0,0,.4);
    --box-shadow:.4rem .4rem 1rem #111,
                -.4rem -.4rem 1rem #333;
    ---box-shadow-inset:.4rem .4rem 1rem #111 inset,
                -.4rem -.4rem 1rem #333 inset;
}


section{
    min-height: 100vh;
    padding: 2rem;
}

.btn{
    margin-top: 1rem;
    display: inline-block;
    padding: 1rem 3.5rem;
    border-radius: 0.5rem;
    font-size: 1.7rem;
    cursor: pointer;
    background: none;
    color: var(--black);
    box-shadow: var(--box-shadow);
}

.btn:hover{
    box-shadow: var(--box-shadow-inset);
    color: var(--main-color);
}

.heading{
    text-align: center;
    font-size: 4rem;
    color: var(--black);
    text-transform: uppercase;
    padding-bottom: 2rem;
}
.heading span{
    color: var(--main-color);
    text-transform: uppercase;
}

.header{
    position: fixed;
    top: 0;
    left: 0;
    z-index: 999;
    background: var(--bg-color);
    width: 30rem;
    border-right: var(--border);
    height: 100%;
    padding: 2rem;
    text-align: center;
}
.header .user img{
    margin:1rem 0;
    border: 1rem solid transparent;
    border-radius: 50%;
    height: 20rem;
    width: 20rem;
    box-shadow: var(--box-shadow);
}
.header .user h3{
    color: var(--black);
    font-size: 2.5rem;
}

.header .user p{
    color: var(--main-color);
    font-size: 1.5rem;
}

.header .navbar{
    padding-top: 1rem;
}
.header .navbar a{
    display: block;
    margin: 1.5rem 0;
    padding:.7rem;
    border-radius: 5rem;
    font-size: 2rem;
    box-shadow: var(--box-shadow);
    color: var(--black);
}
.header .navbar a:hover{
    box-shadow: var(--box-shadow-inset);
}
#menu-btn{
    position: fixed;
    top: 1.5rem;
    left: 2rem;
    z-index: 1000; 
    height: 5rem;
    width: 5rem;
    line-height: 5rem;
    border-radius: 50%;
    font-size: 2rem;
    cursor: pointer;
    box-shadow: var(--box-shadow);
    text-align: center;
    color: var(--black);
    display: none;  
    background: var(--bg-color);
}
#menu-btn:hover{
    color: var(--main-color);
    box-shadow: var(--box-shadow-inset);
}

#theme-toggler{
    position: fixed;
    top: 1.5rem;
    right: 2rem;
    z-index: 1000; 
    height: 5rem;
    width: 5rem;
    line-height: 5rem;
    border-radius: 50%;
    font-size: 2rem;
    cursor: pointer;
    box-shadow: var(--box-shadow);
    text-align: center;
    color: var(--black);
    background: var(--bg-color);
}
#theme-toggler:hover{
    color: var(--main-color);
    box-shadow: var(--box-shadow-inset);
}
.color-switcher{
    position: fixed;
    top: 9rem;
    right: 2rem;
    z-index: 1000; 
    height: 5rem;
    width: 5rem;
    line-height: 5rem;
    border-radius: 50%;
    font-size: 2rem;
    cursor: pointer;
    box-shadow: var(--box-shadow);
    text-align: center;
    color: var(--black);
    background: var(--bg-color);
}

.color-switcher:hover{
    color: var(--main-color);
    box-shadow: var(--box-shadow-inset);
}
.color-switcher.active{
    right: 9rem;
}


.color-switcher .switcher-btn i{
    animation: rotate 2s linear infinite;
}
@keyframes rotate{
    100%{
        transform: rotate(360deg);
    }
}

.color-switcher .theme-buttons-container{
    position: flex;
    flex-wrap: wrap;
    justify-content: center;
}
.color-switcher .theme-buttons-container .theme-buttons{
    display: block;
    height: 50px;
    width: 50px;
    border-radius: 50%;
    margin-top: 0.5rem;
    margin-bottom: 0.5rem;
    margin-left: 7rem;
    cursor: pointer;
}


.home{
    display: flex;
    flex-flow: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}
.home .content h3{
    font-size: 7rem;
    color: var(--black);
    line-height: 1.1;
    text-transform: uppercase;
}
.home .content .text{
    font-size: 5rem;
    color: var(--light-color);
    padding-bottom: 0.5rem;
}
.home .content .text span{
    font-size: 5rem;
    color: var(--main-color);
    padding-bottom: 0.5rem;
}

.home .content p{
    font-size: 2rem;
    color: var(--main-color);
    padding-bottom: 0.5rem;
}
.home .content .option{
    margin-left: 15px;
    height: 90px;
    line-height: 90px;
    overflow: hidden;
    padding-bottom: 0.5rem;
}
.home .content .option li{
    list-style: none;
    color: var(--main-color);
    font-size: 60px;
    font-weight: 400;
    position: relative;
    top: 0;
    animation: slide 12s steps(4) infinite;
}
@keyframes slide
{
    100%
    {
        top: -360px;
    }
}
.home .content .option li span{
    position: relative;
    margin: 5px 0;
    line-height: 90px;
}
.home .content .option li span:after{
    content: '';
    position: absolute;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--bg-color);
    border-left: 5px solid var(--main-color);
    animation: typing 3s steps(10) infinite;
}
@keyframes typing
{
    40%, 60%
    {
        Left: calc(100% + 30px);
    }
    100%
    {
        Left: 0;
    }
}


.home .share{
    position: relative;
    top: 10rem;
    border-radius: 0.5rem;
    box-shadow: var(--box-shadow);
    padding: 1rem;
}

.home .share a{
    height: 5rem;
    width: 5rem;
    line-height: 5rem;
    box-shadow: var(--box-shadow);
    margin: 0.5rem;
    font-size: 2rem;
    color: var(--black);
    border-radius: 0.5rem;
}
.home .share a:hover{
    box-shadow: var(--box-shadow-inset);
    color: var(--main-color);

}
.home .share h1{
    text-align: center;
    font-size: 2.5rem;
    color: var(--black);
    text-transform: uppercase;
    padding-bottom: 0.2rem;
}
.home .share h1 span{
    font-size: 2.5rem;
    color: var(--main-color);
    text-transform: uppercase;
}

.home .share .scroll-down{
    height: 60px;
    width: 30px;
    border: 2px solid var(--main-color);
    position: absolute;
    left: 47%;
    top: 14rem;
    border-radius: 50px;
    cursor: pointer;
    z-index: 500;
}
@media screen and (max-height: 700px){
    .home .share .scroll-down{
        height: 40px;
        width: 25px;
        top: -8rem;
    }
    .home .share .scroll-down::before,
.home .share .scroll-down::after{
    height: 0.5px;
    width: 0.1px;
    border: 0.1px;
}
}
.home .share .scroll-down::before,
.home .share .scroll-down::after{
    content: '';
    position: absolute;
    top: 10%;
    left: 50%;
    border: 2px solid var(--main-color);
    height: 10px;
    width: 10px;
    transform: translate(-50%, -100%) rotate(45deg);
    border-top: transparent;
    border-left: transparent;
    cursor: pointer;
    animation: scroll-down 1s ease-in-out infinite;
}
.home .share .scroll-down::after{
    top: 20%;
    animation-delay: .3s;
}
@keyframes scroll-down{
    0%{
        opacity: 0;
    }
    30%{
        opacity: 1;
    }
    60%{
        opacity: 1;
    }
    100%{
        opacity: 0;
        top: 90%;
    }
}

.about .row{
    display: flex;
    align-items: center;
    flex-wrap: wrap-reverse;
    gap: 2rem;
}
.about .row .content{
    flex:1 1 40rem;
}
.about .row .content h3{
    font-size: 2.5rem;
    color: var(--black);
    line-height: 1.8;
}
.about .row .content h3 span{
    color: var(--main-color);
}

.about .row .content p{
    font-size: 1.5rem;
    color: var(--light-color);
    line-height: 1.8;
    padding: 1rem 0;
}
.about .row:nth-child(3){
    padding-top: 2rem;
}
.about .row .images{
    width: 50%;
    height: 50%;
    position: relative;
    flex:1 1 60rem;
}
.about .row .images img{
    height: 100%;
    position: relative;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    transition: bottom 1s, left 1s;
}
.about .row .images .boy{
    height: 50rem;
    position: relative;
    padding-bottom: 3rem;
    align-items: center;
    left: 10%;
}
.about .row .images .shape{
    height: 40rem;
    position: relative;
    left: 56%;
    padding-bottom: 3rem;
}
.about .row .images:hover .shape{
    bottom: 40px;
}
.about .row .images:hover .boy{
    left: 15%;
}
@media screen and (max-width: 385px) {
    .about .row .images{
        width: 50%;
        height: 50%;
        position: relative;
        right: 15%; 
        flex:1 1 60rem;
    }
    .about .row .images .boy{
        height: 30rem;
        position: relative;
        padding-bottom: 3rem;
        align-items: center;
        left: 15%;
    }
    .about .row .images .shape{
        height: 26rem;
        position: relative;
        left: 63%;
        padding-bottom: 3rem;
    }
    .about .row .images:hover .shape{
        bottom: 20px;
    }
    .about .row .images:hover .boy{
        left: 20%;
    }

}

@media screen and (max-width: 550px) and (min-width: 380px) {
    .about .row .images{
        width: 50%;
        height: 50%;
        position: relative;
        right: 15%; 
        flex:1 1 60rem;
    }
    .about .row .images .boy{
        height: 30rem;
        position: relative;
        padding-bottom: 3rem;
        align-items: center;
        left: 15%;
    }
    .about .row .images .shape{
        height: 30rem;
        position: relative;
        left: 63%;
        padding-bottom: 3rem;
    }
    .about .row .images:hover .shape{
        bottom: 20px;
    }
    .about .row .images:hover .boy{
        left: 20%;
    }

}
.about .row .technology{
    display: block;
    width: 400px;
    height: auto;
    margin: 0 auto;
    min-width: 50px;
    flex: 1 1 40rem;
}

.about .row .progress{
    flex: 1 1 40rem;
}
.about .row .progress h3{
    color: var(--black);
    font-weight: normal;
    font-size: 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;

}
.about .row .progress .bar{
    box-shadow: var(--box-shadow);
    border-radius: 0.5rem;
    height: 2rem;
    padding: 0.5rem;
    margin: 1rem 0;
}
.about .row .progress .bar span{
    display: block;
    height: 100%;
    background: var(--main-color);
    border-radius: 5rem;
    transform: scaleX(0);
    transform-origin: left;
    animation: animate 2s cubic-bezier(1,0,0.5,1) forwards; 
}
@keyframes animate{
    100%{
        transform: scaleX(1);
    }
}

.about .row .progress .bar-1-1 span{
    width: 80%;
}
.about .row .progress .bar-1-2 span{
    width: 70%;
}
.about .row .progress .bar-1-3 span{
    width: 62%;
}
.about .row .progress .bar-1-4 span{
    width: 75%;
}

.about .row .progress .bar-2-1 span{
    width: 90%;
}
.about .row .progress .bar-2-2 span{
    width: 85%;
}
.about .row .progress .bar-2-3 span{
    width: 80%;
}
.about .row .progress .bar-2-4 span{
    width: 60%;
}

.services .box-container{
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(27rem, 1fr));
    gap: 2rem;
}
.services .box-container .box{
    padding: 2rem;
    border-radius: 0.5rem;
    box-shadow: var(--box-shadow);
    position: relative;
    z-index: 0;
    overflow: hidden;
}
.services .box-container .box i{
    font-size: 4rem;
    padding-bottom: 5rem;
    color: #fff;
}
.services .box-container .box h3{
    font-size: 2rem;
    padding-bottom: 1rem;
    color: var(--black);
}
.services .box-container .box p{
    font-size: 1.4rem;
    line-height: 1.8;
    color: var(--light-color);
}
.services .box-container .box::before{
    content: '';
    position: absolute;
    top: 0; left: 0;
    height: 100%;
    width: 100%;
    background: var(--main-color);
    z-index: -1;
    clip-path: circle(9rem at 0% 5%);
    transition: .3s linear;
}
.services .box-container .box:hover::before{
    clip-path: circle(100%);
}
.services .box-container .box:hover > *{
    color: #fff;
}
.services .box-container1{
    flex:1 1 40rem;
}
.services .box-container1 .box{
    flex: 1 1 18rem;
    text-align: center;
    padding: 2rem;
    border-radius: 0.5rem;
    box-shadow: var(--box-shadow);
}
.services .box-container1 .box:hover{
    box-shadow: var(--box-shadow-inset);
    background-color: var(--main-color);
}
.services .box-container1 .box h3{
    font-size: 5rem;
    color: var(--black);
    line-height: 1.1; 
}
.services .box-container1 .box p{
    font-size: 1.5rem;
    color: var(--light-color);
    padding: 0.5rem 0;

}

.services .box-contain{
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(27rem, 1fr));
    gap: 2rem;
}
.services .box-contain .box1{
    height: 25rem;
    border-radius: 0.5rem;
    overflow: hidden;
    box-shadow: var(--box-shadow);
    position: relative;
    border: 1rem solid transparent;
}
.services .box-contain .box1 img{
    height: 100%;
    width: 100%;
    object-fit: cover;
}
.services .box-contain .box1 .content{
    position: absolute;
    top: 0; left: 0;
    height: 100%;
    width: 100%;
    background: var(--bg-color);
    display: grid;
    place-items: center;
    transform: scale(0);
}
.services .box-contain .box1:hover .content{
    transform: scale(1);
}

.services .box-contain .box1 .content h3{
    font-size: 2.5rem;
    column-rule-color: var(--black);
    text-transform: uppercase;
    transform: translateY(-5rem);
    opacity: 0;
    transition-delay: .3s;
    text-align: center;
}

.services .box-contain .box1:hover .content h3{
    transform: translateY(0rem);
    opacity: 1;
    color: var(--main-color);
}






.contact form{
    margin: 1rem auto;
    max-width: 70rem;
    border-radius: 0.5rem;
    box-shadow: var(--box-shadow);
    padding: 2rem;

}
.contact form .box{
    padding: 1rem 1.5rem;
    width: 100%;
    background: none;
    color: var(--black);
    font-size: 1.6rem;
    text-transform: none;
    margin: 0.7rem 0;
    box-shadow: var(--box-shadow);
    border-radius: 0.5rem;

}

.contact form textarea{
    height: 20rem;
    resize: none;
}
.contact form .box:focus{
    box-shadow: var(---box-shadow-inset);
}

.credits{
    font-size: 2rem;
    text-align: center;
    padding: 2.5rem 1rem;
    margin-top: 1rem;
    border-top: var(--border);
    color: var(--black);
}
.credits span{
    color: var(--main-color);
}




/* media quries */
@media (max-width:991px){
    html{
        font-size: 55%;
    }
    body{
        padding-left: 0;
    }

    .header{
        left: -110%;
    }
    .header.active{
    left: 0%;
    transition: 0.4s linear;
    }

    #menu-btn{
        display: initial;
    }
}

@media (max-width:450px){
    html{
        font-size: 50%;
    }
    .header{
        width: 100%;
        border-right: 0;
    }
}
#preloader{
    background: #000 url(../image/pre_loader.gif) no-repeat center center;
    height: 100vh;
    background-size: 40%;
    width: 100%;
    top: 0;
    left: 0;
    position: fixed;
    z-index: 999999;
}
