/* step -1 */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@100;200;300;400;500;600;700;800&display=swap');

/* step -3 */
:root {
    --orange: #feaf04;
    --shadow: 0 .5rem 1rem rgba(0, 0, 0, 0.1);
    --border: .1rem solid rgba(0, 0, 0, .1);
}

/* step-2 */
* {
    font-family: 'Poppins', sans-serif;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    outline: none;
    border: none;
    text-decoration: none;
    text-transform: capitalize;
    transition: all .2s linear;
}

/* s4 */
html {
    font-size: 62.5%;
    overflow-x: hidden;
    scroll-behavior: smooth;
}

/* s5 */
html::-webkit-scrollbar {
    width: 2rem;
}

/* s6 */
html::-webkit-scrollbar-track {
    background: #fff;
}

/* s7 */
html::-webkit-scrollbar-thumb {
    background: var(--orange);
}

/* s8 */
body {
    background: #eee;
    /* padding-right: 5rem; */
}

/* s21 */
section {
    padding: 2rem 9%;
    min-height: 100vh;
    scroll-snap-align: center;
}

/* s30 */
.heading {
    text-align: center;
    font-size: 6rem;
    padding-bottom: 2rem;
    padding-top: 4rem;
    margin-top: 1rem;
    text-transform: uppercase;
    color: #222;
}

.heading span {
    text-transform: uppercase;
    color: var(--orange);
}

/* s28 */
.btn {
    display: inline-block;
    margin-top: 1rem;
    padding: .8rem 3rem;
    background: #222;
    color: #fff;
    font-size: 1.7rem;
    cursor: pointer;
}

.btn:hover {
    background: var(--orange);
    letter-spacing: .2rem;
}

/* s9 */
header {
    position: fixed;

    display: flex;
    align-items: center;
    justify-content: center;
    background: #eee;
    /* background: transparent; */
    z-index: 1000;
    width: 100%;
    /* border-bottom: #222 .1rem solid; */
}

/* s10 */
header .navbar {
    padding: 1.5rem;
    /* margin-right: 30rem; */
}

/* s11 */
header .navbar a {
    padding: 1.5rem;
    font-size: 2rem;
    color: #222;
    font-weight: 500;
}

/* s12 */
header .navbar a:hover {
    color: var(--orange);

}

/* s13 */
#menu-bar {
    position: fixed;
    z-index: 10000;
    top: 1rem;
    right: 1rem;
    padding: 1rem 1.5rem;
    border-radius: .5rem;
    background: var(--orange);
    font-size: 3rem;
    color: #fff;
    display: none;
    cursor: pointer;
}

#social-icons {
    position: fixed;
    z-index: 10000;
    top: 0;
    left: -6.5rem;
    padding: 1rem 1.5rem;
    border-radius: .5rem;
    background: transparent;
    font-size: 3rem;
    color: #fff;
    display: block;
    cursor: pointer;
}

/* socials icons styling starts */
header .social-icons {
    margin: 0 8rem;
}

header .social-icons a {
    padding: 0 1rem;
    color: #222;
    font-size: 3rem;
}

header .social-icons a:hover {
    color: var(--orange)
}

/* socials icons styling ends */

/* s22 */
.home {
    /* to center the home content */
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

/* s23 */
.home .content {
    text-align: center;
    position: relative;
    z-index: 1;
}

/* s24 */
.home .content img {
    height: 25rem;
    width: 25rem;
    border-radius: 50%;
    object-fit: cover;
    border: 1rem solid var(--orange);
    box-shadow: 0 .5rem 1rem rgba(0, 0, 0, 0.1);
}

/* s25 */
.home .content h3 {
    font-size: 4rem;
    color: #222;
    text-transform: uppercase;
}

/* s26 */
.home .content h3 span {
    color: var(--orange);
    text-transform: uppercase;
}

/* s27 */
.home .content p {
    color: #222;
    font-size: 2.5rem;
    line-height: 2;
}

/* s28 */
/* add this after adding particle js */
.home #particles-js {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
}

/* s29 */
.home::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
}

/* about section styling  start*/

.about .row {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.about .row .image {
    flex: 1 1 25rem;
}

.about .row .image img {
    width: 30rem;
    border-radius: .5rem;
    border: .2rem solid #fff;
    box-shadow: var(--shadow);
}

.about .row .content {
    flex: 1 1 55rem;
}

.about .row .content h3 {
    color: #222;
    font-size: 4rem;
}

.about .row .content h3 span {
    color: var(--orange);
}

.about .row .content .info {
    color: #333;
    font-size: 1.7rem;
    line-height: 2;
    padding: 1rem 0;

}

.about .row .content .box-container {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    padding: 1rem 0;
}

.about .row .content .box-container .box {
    flex: 1 1 20rem;
}

.about .row .content .box-container .box p {
    font-size: 1.7rem;
    color: var(--orange);
    padding: .5rem 0;
    line-height: 2;
}

.about .row .content .box-container .box p span {
    color: #222;
}

/* about section styling  ends*/




/* skills section styling starts */
.skills .box-container {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.skills .box-container .box {
    flex: 1 1 30rem;
    border-radius: .5rem;
    background: #fff;
    box-shadow: var(--shadow);
    padding: 2rem;
    text-align: center;
    cursor: pointer;
}

.skills .box-container .box i {
    color: var(--orange);
    font-size: 5rem;
    padding: 1rem 0;
}

.skills .box-container .box h3 {
    color: #222;
    font-size: 2.5rem;
    padding-top: 1rem;
}

.skills .box-container .box p {
    color: #333;
    font-size: 1.7rem;
    padding: 1rem 0;
    line-height: 2;
}

/* skills section styling ends */


/*projects section styling starts */
.projects .box-container {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.projects .box-container .box {
    flex: 1 1 30rem;
    border-radius: .5rem;
    border: 1rem solid #fff;
    box-shadow: var(--shadow);
    position: relative;
    overflow: hidden;
    height: 25rem;
}

.projects .box-container .box img {
    height: 100%;
    width: 100%;
    object-fit: cover;
}

.projects .box-container .box .content {
    height: 100%;
    width: 100%;
    position: absolute;
    top: 0;
    left: -100%;
    background: #fff9;
    display: flex;
    align-items: center;
    justify-content: center;

}

.projects .box-container .box:hover .content {
    left: 0;
}

/*projects section styling ends */


/*blogs section styling starts*/
.blogs .box-container {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.blogs .box-container .box {
    flex: 1 1 30rem;
    border-radius: .5rem;
    background: #fff;
    box-shadow: var(--shadow);
    padding: 2rem;

}

.blogs .box-container .box img {
    height: 20rem;
    width: 100%;
    object-fit: cover;
    border-radius: .5rem;
    object-fit: cover;
}

.blogs .box-container .box h3 {
    color: var(--orange);
    font-size: 2.5rem;
    padding: .5rem 0;
}

.blogs .box-container .box p {
    color: #666;
    font-size: 1.5rem;
    padding: .5rem 0;
}

/*blogs section styling ends */


/*contact section styling starts */
.contact .row {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.contact .row .image {
    flex: 1 1 30rem;
}

.contact .row .image img {
    width: 100%;
}

.contact .row form {
    flex: 1 1 30rem;
    padding: 1rem 2rem;
    box-shadow: var(--shadow);
    background: white;
    border-radius: .5rem;
}

.contact .row form .inputBox {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;

}

.contact .row form .inputBox input,
.contact .row form .box,
.contact .row form textarea {
    width: 100%;
    border-radius: .5rem;
    font-size: 1.7rem;
    color: #333;
    padding: 1rem;
    margin: 1rem 0;
    border: var(--border);
    text-transform: none;
}

.contact .row form .inputBox input:focus,
.contact .row form .box:focus,
.contact .row form textarea:focus {
    border-color: var(--orange);
}

.contact .row form .inputBox input {
    width: 49%;
}

.contact .row form textarea {
    height: 20rem;
    resize: none;
}

.contact .row form .btn {
    margin: .5rem 0;
}

/*contact section styling ends */

/*footer section styling starts */
.footer {
    padding: 2.5rem 1rem;
    font-size: 2rem;
    color: #666;
    background: #fff;
    text-align: center;
    scroll-snap-align: start;
}


.footer a {
    color: var(--orange);
    cursor: pointer;
}

.footer a:hover {
    color: #666;
}

/*footer section styling ends */








/* s14 */
/* media queries  for tablets and medium screen devices*/
@media (max-width: 991px) {

    /* s15 */
    html {
        font-size: 55%;
    }

    /* s16 */
    body {
        padding-right: 0;
    }

    section {
        padding: 2rem;
    }

    /* s16 */
    header {
        background: #fff;
        width: 100%;
        min-height: 100vh;

        display: flex;
        align-items: center;
        justify-content: space-between;
        /* to hide the menu bar */
        right: -120%;
    }

    /* to center the navbar */
    header {
        justify-content: center;
    }

    /* make the old margin zero */
    header .navbar {
        margin-right: 0;
    }

    /* after adding classlist active toggle in js */
    header.active {
        right: 0%;
    }

    /* hide the social icons */
    header .social-icons {
        display: none;
    }

    /* s17 */
    #menu-bar {
        display: inline-block;
    }

    /* s18 */
    /* header .navbar { */
    /* writing-mode: horizontal-tb; */
    /* } */

    /* s19 */
    header .navbar a {
        display: block;
        font-size: 3rem;
    }

    /* about section bug to center img */
    .about .row .image {
        flex: none;
    }

}


/* media queries  for mobiles and small screen devices*/
@media (max-width: 450px) {

    /* s20 */
    html {
        font-size: 50%;
    }

    /* s31 */
    .heading {
        font-size: 4rem;
    }

    .contact .row form .inputBox input {
        width: 100%;
    }

}