@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@400;600;700&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Nunito:ital,wght@0,300;0,400;0,600;0,700;1,300;1,400&display=swap");

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    text-decoration: none;
    outline: none;
    border: none;
    text-transform: capitalize;
    transition: all 0.2s linear;
}

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

body {
    background: #dddddd;
    font-family: "Poppins", sans-serif;
}

*::selection {
    background: #fc8c05;
    color: #fff;
}

html {
    font-size: 62.5%;
    overflow-x: hidden;
}



/* Navbar Start */
header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.7rem 10%;
    height: 6.5rem;
    background-color: #fff;
    box-shadow: 0 1px 4px rgba(146, 161, 176, 0.3);
}

section {
    min-height: 100vh;
    padding: 2rem 9%;
}

.heading {
    font-size: 3.5rem;
    color: rgb(32, 32, 32);
    font-weight: 800;
    text-align: center;
    padding-top: 10rem;
}

header .logo {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.9rem;
    font-weight: 800;
    text-decoration: none;
    color: #0e2431;
}

header img {
    margin-right: 1.4rem;
    width: 32px;
}

header .logo:hover {
    color: #fc8c05;
}

header .navbar ul {
    list-style: none;
    display: flex;
    justify-content: center;
    align-items: center;
}

header .navbar li {
    margin-left: 2.5rem;
}

header .navbar ul li a {
    font-size: 1.57rem;
    color: #0e2431;
    font-weight: 600;
    text-decoration: none;
    letter-spacing: 0.04rem;
    transition: 0.2s;
}

header .navbar ul li a.active,
header .navbar ul li a:hover {
    color: #fc8c05;
    border-bottom: 0.2rem solid #fc8c05;
    padding: 0.5rem 0;
}

/* Responsive Start */
#menu {
    font-size: 3rem;
    cursor: pointer;
    color: rgb(24, 2, 63);
    display: none;
}

@media (max-width: 768px) {
    #menu {
        display: block;
    }

    header .navbar {
        position: fixed;
        top: 6.5rem;
        right: -120%;
        width: 75%;
        height: 100%;
        text-align: left;
        align-items: flex-start;
        box-shadow: -10px 0px 15px 0px rgba(0, 0, 0, 0.2);
        /* background-color: #0e0f31; */
        background-color: #d1ddf7;
    }

    header .navbar ul {
        flex-flow: column;
        padding: 1rem;
    }

    header .navbar ul li {
        text-align: center;
        width: 100%;
        margin: 1rem 0;
        border-radius: 0.5rem;
        width: 26rem;
    }

    header .navbar ul li a {
        display: block;
        padding: 1rem;
        text-align: left;
        color: #0e2431;
        font-size: 2rem;
    }

    header .navbar ul li a.active,
    header .navbar ul li a:hover {
        padding: 1rem;
        color: #0e2431;
        border-radius: 0.5rem;
        border-bottom: 0.5rem solid #fc8c05;
    }

    .fa-times {
        transform: rotate(180deg);
    }

    header .navbar.nav-toggle {
        right: 0;
    }
}
/* Responsive End */

/* Navbar End */



/* Home Section Start */
.home {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    min-height: 100vh;
    align-items: center;
}

.home::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
}

.home .content {
    flex: 1 1 40rem;
    padding-top: 1rem;
    z-index: 1;
}

.home .image {
    flex: 1 1 40rem;
    z-index: 1;
}

.home .image img {
    width: 70%;
    margin-left: 6rem;
    border-radius: 50%;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    cursor: pointer;
}

.home .image img:hover {
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
}

.home .content h2 {
    font-size: 5rem;
    font-weight: 800;
    color: #002057;
}

.home .btn {
    margin-top: 1rem;
    position: absolute;
    line-height: 0;
    padding: 1.6rem 3rem;
    border-radius: 4em;
    transition: 0.5s;
    color: #fff;
    background: #fc8c05;
    box-shadow: 0px 5px 18px #ffa333;
    font-family: "Nunito", sans-serif;
}

.home .btn span {
    font-weight: 700;
    font-size: 1.7rem;
    letter-spacing: 0.1rem;
}

.home .btn i {
    margin-left: 0.3rem;
    font-size: 1.5rem;
    transition: 0.3s;
}

.home .btn:hover {
    background: #ec8200;
}

.home .btn:hover i {
    transform: translateX(5px);
}

/* Social Media Start */
.socialmedia {
    position: relative;
    margin-top: 9rem;
}

.socialmedia .socmed-icon {
    padding-left: 0;
    margin-bottom: 0;
    list-style: none;
}

.socialmedia .socmed-icon li {
    display: inline-block;
    margin-bottom: 14px;
}

.socmed-icon a {
    font-size: 2rem;
    display: inline-block;
    line-height: 44px;
    color: #ff8c00;
    background-color: #09011b;
    width: 44px;
    height: 44px;
    text-align: center;
    margin-right: 8px;
    border-radius: 100%;
    transition: all 0.2s linear;
}

.socmed-icon a:active,
.socmed-icon a:focus,
.socmed-icon a:hover {
    color: #fff;
    /* background-color: #0685da; */
}

.socmed-icon a.github:hover {
    background-color: #0e0e0e;
}

.socmed-icon a.twitter:hover {
    background-color: #00aced;
}

.socmed-icon a.linkedin:hover {
    background-color: #007bb6;
}

.socmed-icon a.instagram:hover {
    background-image: linear-gradient(to bottom left, #515bd4, #8134af, #dd2a7b, #f58529, #feda77);;
}
/* Social Media End */

/* Responsive Start */
@media (max-width: 450px) {
    .home .btn {
        margin: 4rem 0;
    }

    .socialmedia {
        margin-top: 12rem;
    }

    .home .image img {
        text-align: center;
    }

    .home .content p {
        font-size: 2.2rem;
    }

    .home .content p span {
        font-size: 2.2rem;
    }
}
/* Responsive End */

/* Home Section End */



/* About Section Start */
.about {
    background: rgb(255, 255, 255);
}

.about .row {
    display: flex;
    flex-direction: row;
    gap: 2rem;
    flex-wrap: wrap;
    padding: 4rem;
}

.about .row .image {
    text-align: center;
    flex: 1 1 35rem;
}

.about .row .image img {
    margin: 4rem;
    width: 30rem;
    height: auto;
    border-radius: 5%;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.6);
    mix-blend-mode: luminosity;
    transition: 0.3s;
    cursor: pointer;
}

.about .row .image img:hover {
    mix-blend-mode: normal;
}

.about .row .content {
    flex: 1 1 45rem;
    padding: 3rem;
}

.about .row .content h3 {
    color: rgb(27, 27, 27);
    font-size: 2.5rem;
}

.about .row .content .tag {
    font-size: 1.4rem;
    color: #020133;
    font-weight: 600;
    margin-top: 1rem;
}

.about .row .content p {
    font-size: 1.5rem;
    margin-top: 1.5rem;
    font-family: "Nunito";
    font-weight: 600;
    text-transform: none;
}

.about .row .content .box-container {
    display: flex;
    flex-wrap: wrap;
    gap: 5rem;
    font-family: "Nunito";
    font-weight: 600;
}

.about .row .content .box-container .box p {
    text-transform: none;
}

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

.cvbtn {
    margin-top: 6rem;
}

.cvbtn .btn {
    padding: 1.7rem 3rem;
    border-radius: 0.5em;
    transition: 0.3s;
    color: #fff;
    background: #fc900d;
    box-shadow: 0px 5px 10px #ffa333;
    font-family: "Nunito", sans-serif;
}

.cvbtn .btn span {
    font-weight: 600;
    font-size: 1.8rem;
    letter-spacing: 0.1rem;
}

.cvbtn .btn i {
    margin-left: 0.3rem;
    font-size: 1.2rem;
    transition: 0.3s;
}

.cvbtn .btn:hover {
    background: #ec8200;
}

.cvbtn .btn:hover i {
    transform: translateX(5px);
}

/* Responsive Start */
@media screen and (max-width: 600px) {
    .about .row .image {
        margin-top: 2rem;
    }

    .about .row .image img {
        margin: 0 auto;
        width: 80%;
        mix-blend-mode: normal;
    }

    .about .row {
        padding: 0.5rem;
        margin-bottom: 7rem;
    }

    .about .row .content {
        padding: 1rem;
    }

    .about .row .content .box-container {
        gap: 0;
    }
}
/* Responsive End */

/* About Section End */



/* Skills Section Start */
.skills {
    min-height: 170vh;
    background: linear-gradient(to bottom right, #ff9f2a, #ffe033);
}

.skills h2 {
    color: #fff;
}

.skills .container {
    background: rgba(0, 0, 22, 0.305);
    color: #fff;
    border-radius: 1rem;
    padding: 2rem;
    width: 90%;
    margin: auto;
    margin-top: 6rem;
    margin-bottom: 10rem;
}

.skills .container .row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    flex-wrap: wrap;
    gap: 1.8rem;
}

.skills .container .bar {
    margin: 15px 5px;
    padding: 10px;
    border-radius: 1rem;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    background: rgba(90, 66, 1, 0.555);
    transition: 0.2s;
}

.skills .container .bar:hover {
    box-shadow: 0 8px 10px rgba(0, 0, 0, 0.25) !important;
    background-color: rgba(0, 0, 0, 0.4) !important;
}

.skills .container .bar .info {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    margin-top: 1rem;
}

.skills .container .bar .info img {
    width: 16rem;
}

.skills .container .bar .info span {
    font-size: 2rem;
    font-weight: 500;
    font-family: "Poppins";
    text-align: center;
}

/* Responsive Start */
@media screen and (max-width: 600px) {
    .skills .container {
        padding: 0;
        margin: 0;
    }

    .skills .container .row {
        grid-template-columns: repeat(2, 1fr);
        margin: 2rem;
        padding: 2rem 0.2rem 2rem 0.2rem;
        gap: 1.5rem;
    }
    
    .skills .container .bar {
        width: auto;
    }

    .skills .container {
        margin-top: 6rem;
        margin-bottom: 4rem;
        width: 100%;
    }
}
/* Responsive End */

/* Skills Section End */



/* Education Section Start */
.education {
    background: linear-gradient(to bottom, #000031, #00002c);
    min-height: 100vh;
}

.education h1 {
    color: #fff;
}

.education .heading span {
    color: #fc8c05;
}

.education .box-container {
    margin-top: 4rem;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.education .box-container .box {
    display: flex;
    flex-direction: row;
    width: 80%;
    border-radius: 0.5rem;
    box-shadow: 0.2rem 0.5rem 1rem rgba(0, 0, 0, 0.2);
    text-align: center;
    position: relative;
    margin-top: 2rem;
    overflow: hidden;
    transition: 0.3s;
    background: rgb(252, 252, 252);
}

.education .box-container .box:hover {
    transform: scale(1.03);
    box-shadow: 1rem 0.5rem 1.2rem rgba(128, 128, 128, 0.5);
}

.education .box-container .box .image {
    flex: 1 1 20rem;
    width: 100%;
}
.education .box-container .box img {
    object-fit: cover;
    position: relative;
    width: 100%;
    height: 100%;
}

.education .box-container .box .content {
    position: relative;
    display: flex;
    flex-direction: column;
    padding: 1rem;
    flex-wrap: wrap;
    flex: 1 1 70rem;
}

.education .box-container .box .content h3 {
    font-size: 2.5rem;
    color: #012970;
    padding: 0.5rem 0;
    font-weight: 600;
    text-align: left;
    margin-left: 1rem;
}

.education .box-container .box .content p {
    font-size: 1.5rem;
    margin-left: 1rem;
    text-align: left;
}

.education h4 {
    font-size: 2rem;
    color: rgb(34, 109, 0);
    text-align: left;
    margin: 1rem;
    font-family: "Nunito", sans-serif;
    font-weight: 700;
}

/* Responsive Start */
@media screen and (max-width: 600px) {
    .education .box-container .box {
        flex-direction: column;
        width: 100%;
    }

    .education .box-container .box .image {
        width: 100%;
        height: 25rem;
    }

    .education .box-container .box img {
        width: 100%;
    }

    .education .box-container .box .content {
        position: relative;
        display: flex;
        flex-direction: column;
        padding: 1rem;
        flex-wrap: wrap;
        flex: 0;
    }

    .education .btns {
        margin-top: 2rem;
        margin-left: 1rem;
        margin-right: 1rem;
        flex-wrap: wrap;
    }
}
/* Responsive End */

/* Education Section End */



/* Project Section Start */
.project {
    /* background: #010124; */
    background: #e5ecfb;
}

.project .box-container {
    display: flex;
    flex-wrap: wrap;
    gap: 2.5rem;
    margin: 8rem 2rem;
}

.project .box-container .box {
    flex: 1 1 50rem;
    border-radius: 0.5rem;
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.3);
    position: relative;
    overflow: hidden;
    height: 40rem;
}

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

.project .box-container .box .content {
    height: 100%;
    width: 100%;
    position: absolute;
    top: 89%;
    left: 0;
    background: rgba(255, 255, 255, 0.9);
    display: flex;
    flex-direction: column;
}

.project .box-container .box .content .tag {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    height: 4.5rem;
    width: 100%;
    padding-left: 1rem;
    background: #ffd900;
}

.project .box-container .box .content .tag h3 {
    margin-left: 0.8rem;
    font-size: 2rem;
}

.project .box-container .box:hover .content {
    top: 25%;
}

.project .desc {
    margin: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.project .desc p {
    font-size: 1.5rem;
}

.project .desc .btns {
    display: flex;
    justify-content: space-between;
    width: 100%;
    margin-top: 2rem;
}

.project .desc .btns .btn {
    line-height: 0;
    display: inline;
    padding: 1.5rem 2.5rem;
    border-radius: 0.5rem;
    font-size: 1.5rem;
    color: #fff;
    background: rgb(12, 12, 12);
    margin-right: 2rem;
}

.project .desc .btns .btn:hover {
    background: #ec8200;
    box-shadow: 0px 5px 18px #ffa333;
}

.project .desc .btns .btn:hover i.fa-eye {
    transform: translateX(-5px);
}

.project .desc .btns .btn:hover i.fa-code {
    transform: translateX(5px);
}

/* Project Section End */



/* Footer Section Start */
.footer {
    min-height: auto;
    padding-top: 0;
    background: rgb(0, 1, 43);
}

.footer .box-container {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}

.footer .box-container .box {
    flex: 1 1 25rem;
    margin: 2.5rem;
}

.footer .box-container .box h3 {
    font-size: 2.5rem;
    color: #fff;
    padding-bottom: 1rem;
    font-weight: normal;
}

.footer .box-container .box p {
    font-size: 1.5rem;
    color: #ccc;
    padding: 0.7rem 0;
    text-transform: none;
}

.footer .box-container .box p i {
    padding-right: 1rem;
    color: #ffae00;
}

.footer .box-container .box .share {
    display: flex;
    flex-wrap: wrap;
    padding: 1rem 0;
}

.footer .box-container .box .share a {
    height: 4rem;
    width: 4rem;
    padding: 1rem;
    text-align: center;
    border-radius: 5rem;
    font-size: 1.7rem;
    margin-right: 1rem;
    transition: 0.2s;
    background: rgb(230, 230, 230);
    color: #02094b;
    border: none;
}

.footer .box-container .box .share a:hover {
    background: transparent;
    transform: scale(0.98);
    border: 0.1rem solid rgb(180, 178, 178);
    color: #ffae00;
}

@media (max-width: 450px) {
    .footer .box-container .box {
        margin: 1.5rem;
    }

    .footer .box-container .box p {
        padding: 0.7rem;
    }
    
    .footer .box-container .box .share a {
        padding: 1.2rem;
    }
}
/* Footer Section End */

/* Responsive Start */
@media (max-width: 450px) {
    .heading {
        padding-top: 4rem;
    }

    html {
        font-size: 55%;
    }
    
    body {
        padding-right: 0;
    }

    section {
        padding: 2rem;
    }
}
/* Responsive End */
