@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800;900&display=swap');

*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    text-decoration: none;
    border: none;
    outline: none;
    scroll-behavior: smooth;
    font-family: 'Poppins', sans-serif;
}


.container{
    width: 100%;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 100px 8%;
}


.gallery{
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    grid-gap: 30px;
}

.gallery img{
    width: 100%;
    border-radius: 10px;
    border: 3px solid var(--shadow-color);
}

.gallery img:hover{
    transform: scale(1.04)
}





:root{
    --bg-color: #fdfdfd;
    --text-color: #333;
    --main-color: #754ef9;
    --white-color: #fdfdfd;
    --shadow-color: rgba(0,0,0,0.7);
    --about-heading: #333;
    --hover: #2c00bd;
}


.darkMode{
    --bg-color: #0b061f;
    --text-color: #fdfdfd;
    --shadow-color: rgba(255, 255, 255, 0.7);
    --about-heading: #ffcc74;
    --hover: #2c00bd;
}

html{
    font-size: 62.5%;
    overflow-x: hidden;
}

body{

    background: var(--bg-color);
    color: var(--text-color);
}


.header{
    position: fixed;
    background: var(--bg-color);
    box-shadow: 0 .1rem 1rem var(--shadow-color);
    top: 0;
    left: 0;
    width: 100%;
    padding: 2rem 7%;
    display: flex;
    align-items: center;
    z-index: 100;
    transition: .5s;
}

.header.header.sticky{
    background: var(--bg-color);
    box-shadow: 0 .1rem 1rem var(--shadow-color);
}



.logo{
    font-size: 2.5rem;
    color:  var(--main-color);
    font-weight: 600;
    cursor: default;
    margin-right: auto;
}

.navbar a{
    position: relative;
    font-size: 1.7rem;
    color: var(--text-color);
    font-weight: 500;
    margin-right: 3.5rem;
}

.navbar a.active:hover{
    color: var(--hover);
}

.header.sticky .navbar a{
    color: var(--text-color);
}

.header.sticky .navbar a.active{
    color: var(--main-color);
}

.navbar a.active::before{
    content: '';
    position: absolute;
    left: 0;
    bottom: -6px;
    width: 100%;
    height: 2px;
    background: var(--main-color);
}

.navbar a:hover{
    color: var(--main-color);
}

.navbar a.active{
    color: var(--main-color);
}

.header.sticky .navbar a.active::before{
    background: var(--main-color);
    opacity: .7;
}


#darkMode-icon{
    font-size: 2.4rem;
    color: var(--text-color);
    cursor: pointer;
}

.header.sticky #darkMode-icon{
    color: var(--text-color);
    opacity: .9;
}

#menu-icon{
    font-size: 3.6rem;
    color: var(--text-color);
    display: none;
}


.about{
    width: 100%;
    height: 100vh;
    background-color: var(--bg-color);
    display: flex;
    justify-content: center;
    align-items: center;
}

.about .content img{
    height: auto;
    margin-top: 60px;
    width: 600px;
    background-size: 100% 100%;
    max-width: 100%;
    margin-right: 30px;
    border-radius: 10px;
    border: 3px solid var(--shadow-color);

}

.about .content img:hover{
    transform: scale(1.01)  
}

.about .text{
    width: 550px;
    max-width: 100%;
    padding: 0 10px;
}




.about .text h3{
    color: var(--about-heading);
    font-size: 45px;
    margin-top: 60px;
    margin-bottom: 15px;
    text-transform: capitalize;
}

.about .text h1{
    color: var(--main-color);
    font-size: 25px;
    margin-bottom: 15px;
    text-transform: capitalize;
    letter-spacing: 2px;
}

.about .text p{
    color: var(--text-color);
    font-size: 12px;
    letter-spacing: 1px;
}




@media  screen and (max-width: 1180px) {
    .about{
        width: 100%;
        height: auto;
        padding: 70px 0; 
        flex-direction: column;
    }

    
}


@media  screen and (max-width: 332px) {
    .about .text .h3{
        font-size: 30px;
    }

    
}

@media  screen and (max-width: 322px) {
    .about .text .h3{
        font-size: 10px;
    }

    
}


@media(max-width: 1216px){
    html{
        font-size: 55%;
    }
}
    
@media(max-width: 1196px){
    .services-container .services-box{
        width: 230px;
        height: 200px;
    }
}



@media(max-width: 1056px){
    .header{
        padding: 2rem 3%;
    }

    section{
        padding: 10rem 3% 2rem;
    }
}


@media(max-width: 1012px){

    .navbar a.active::before{
        background: var(--main-color);
        opacity: .7;
    }
}


@media(max-width: 715px){
    #menu-icon{
        display: block;
    }

    .darkMode-icon{
        position: absolute;
        right: 7rem;
        font-size: 2.6rem;
        /* color: var(--text-color); */
        margin-bottom: .1rem;
    }

    .navbar{
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        padding: 1rem 3%;
        background: var(--bg-color);
        border-top: .1rem solid rgba(0,0,0,0.2);
        box-shadow: 0 .5rem 1rem rgba(0,0,0,0.1);
        display: none;
    }

    .navbar.active{
        display: block;
    }
    
    .navbar a{
        display: block;
        font-size: 2rem;
        margin: 3rem 0;
        color: var(--text-color);
    }

    .navbar a:nth-child(1){
        color: var(--text-color);
    }

    .navbar a.active{
        color: var(--main-color);
    }

    .navbar a::before{
        display: none;
    }

}



@media(max-width: 450px){
    html{
        font-size: 50%;
    }

    #darkMode-icon{
        right: 6rem;
    }
}
