* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

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

body {
    background-color: white;
    font-family: "Poppins", sans-serif;
    position: relative;
}

.container {
    max-width: 107rem;
    margin: 0 auto;
    padding: 0 4rem;
}

/* Firefox */
* {
    scrollbar-width: thin;
    scrollbar-color: #8e8e8e #ffffff;
}

/* Chrome, Edge and Safari */
*::-webkit-scrollbar {
    width: 8px;
    width: 8px;
}

*::-webkit-scrollbar-track {
    border-radius: 20px;
    background-color: #ffffff;
}

*::-webkit-scrollbar-track:hover {
    background-color: #ffffff;
}

*::-webkit-scrollbar-track:active {
    background-color: #ffffff;
}

*::-webkit-scrollbar-thumb {
    border-radius: 20px;
    background-color: #8e8e8e;
}

*::-webkit-scrollbar-thumb:hover {
    background-color: #878787;
}

*::-webkit-scrollbar-thumb:active {
    background-color: #8e8e8e;
}

.mobile-menu {
    font-size: 2.3rem;
    cursor: pointer;
    display: none;
}

.mobile-menu:hover {
    color: #147efb;
    transition: all 0.3s;
}



.closed-menu {
    left: -100% !important;
}

.open-menu {
    left: 0 !important;
}

.mobile-nav {
    display: flex;
    width: 100%;
    height: 100vh;
    z-index: 300;
    background-color: white;
    position: fixed;
    top: 0;
    left: 0;
    text-align: center;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease-in-out;
}

.mobile-nav span {
    font-size: 3.3rem;
    position: absolute;
    top: 2rem;
    right: 4rem;
    cursor: pointer;
}

.mobile-nav span:hover {
    color: #147efb;
    transition: all 0.3s;
}

.mobile-nav ul {
    display: flex;
    flex-direction: column;
    gap: 4rem;
    font-size: 2.3rem;
    list-style: none;
}

.mobile-nav ul a,
nav a {
    color: black;
    text-decoration: none;
    font-weight: 500;
}

.mobile-nav ul a:hover {
    color: #147efb;
    transition: all 0.3s;
}

nav {
    font-size: 1.7rem;
    width: 100%;
    height: auto;
    padding: 25px 40px 25px 50px;
    display: flex;
    justify-content: space-between;
    position: fixed;
    background-color: white;
    top: 0;
    left: 0;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.09);
    z-index: 200;
    align-items: center;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 2rem;
}

nav ul a {
    color: #2d2e32;
    text-decoration: none;
    transition: all 0.23s;
    font-weight: 600;
}

nav ul a:hover {
    color: #147efb;
}

.logo {
    cursor: pointer;
    color: #2d2e32;
}

.hero {
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 100vh;
    background-color: #f9f9f9;
    position: relative;
}


.hero-main {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10rem;
    position: relative;
}

.content {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 65rem;
    gap: 10rem;
    position: relative;
}

.project {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 179rem;
    gap: 2;
    position: relative;
}

.hero-text {
    display: flex;
    flex-direction: column;
    max-width: 50rem;
    position: relative;
}

.hero-text h1 {
    font-size: 5.5rem;
    line-height: 1.2;
    color: #2d2e32;
    margin-bottom: 2rem;
    margin-top: 2rem;
}

.hero-text p {
    font-size: 1.8rem;
    font-weight: 500;
    color: #555555;
    font-family: "Mulish", sans-serif;
    line-height: 1.6;
}

.hero-text span {
    display: flex;
    gap: 1.3rem;
    margin: 2.5rem 0;
    cursor: pointer;
}

.hero-text span a {
    font-size: 3rem;
    color: #2d2e32;
}

.hero-text span a {
    transition: all 0.2s;
}

.hero-text span a:hover {
    color: #147efb;
}

.hero-text img {
    position: absolute;
    width: 6rem;
    height: 6rem;
    top: 8.7rem;
    right: 13rem;
}

.techstack {
    display: flex;
    justify-items: center;
    flex-wrap: wrap;
    gap: 6px;
}

.technology {
    padding: 8px;
    border-radius: 1rem;
    background-color: #8B008B;
    color: white;
    font-weight: 500;
    font-size: 11px;
}

.hero-img {
    background-image: url("/assets/profileImage1.png");
    width: 35rem;
    height: 35rem;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    position: relative;
    transition: all 1s ease-in-out;
}

.project-main {
    display: flex;
    justify-content: center;
    margin-bottom: 6rem;
    gap: 3rem;
    position: relative;
}

.project-details {
    display: flex;
    flex-direction: column;
    max-width: 35rem;
    justify-content: space-evenly;
    align-items: center;
}

.projectImage {
    width: 100%;
    height: 47rem;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    position: relative;
    transition: all 1s ease-in-out;
    box-shadow: 4px 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
    border-radius: 1.2rem;
}

.project-main p {
    font-size: 1.5rem;
    font-family: "Mulish", sans-serif;
    color: #767676;
    font-weight: 400;
    line-height: 1.5;
}

.project span {
    display: flex;
    gap: 1.3rem;
    cursor: pointer;
}

.project span a {
    font-size: 10px;
    color: #2d2e32;
}

.project-link {
    display: flex;
    align-items: center;
    text-decoration: none;
    gap: 4px;
    font-size: 1.3rem;
    font-weight: 500;
}

.project-primary-links {
    display: flex;
    gap: 4rem;
}


.btn-container {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

.btn {
    font-weight: 600;
    transition: all 300ms ease;
    padding: 1rem;
    width: 12rem;
    border-radius: 2rem;
}


.btn-color-2 {
    border: rgb(53, 53, 53) 0.1rem solid;
}

.btn-color-2:hover {
    cursor: pointer;
}


.btn-color-2:hover {
    background: rgb(53, 53, 53);
    color: white;
}

.btn-color-2 {
    background: none;
}

.btn-color-2:hover {
    border: rgb(255, 255, 255) 0.1rem solid;
}

@keyframes morph {
    0% {
        border-radius: 60% 40% 30% 70%/60% 30% 70% 40%;
    }

    50% {
        border-radius: 30% 60% 70% 40%/50% 60% 30% 60%;
    }

    100% {
        border-radius: 60% 40% 30% 70%/60% 30% 70% 40%;
    }
}

.skills {
    display: flex;
    font-size: 1.7rem;
    color: #767676;
    align-items: center;
    position: absolute;
    bottom: 0;
    left: 0;
}


.skills p {
    margin-right: 7rem;
    padding-right: 2rem;
    border-right: 2px solid rgba(45, 46, 50, 0.5);
    font-family: "Mulish", sans-serif;
    font-weight: 600;
    color: #2d2e32;
}

.skills ul {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 1.2rem;
}

.skills ul li {
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 4px;
}

.skills ul li {
    padding: 8px;
    background-color: #555555;
    border-radius: 10px;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}

.skills ul li h3 {
    font-size: 1.6rem;
    color: #ffffff;
}

.skills ul li img {
    width: 2.6rem;
    height: 2.6rem;
    transition: all ease-in-out 0.3s;
}

.skills ul li img:hover {
    transform: translateY(-1rem);
}

.about {
    background-color: white;
    padding: 15rem 0;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    justify-content: center;
    align-items: center;
}

.text-side {
    padding-right: 1.5rem;
}

.text-side span {
    -webkit-text-decoration: underline #147efb;
    text-decoration: underline #147efb;
}

.text-side h3 {
    font-size: 1.7rem;
    color: #147efb;
    text-transform: uppercase;
    font-weight: 700;
    margin-bottom: 1rem;
}

.text-side h4 {
    font-size: 2.5rem;
    font-family: "Poppins", sans-serif;
    line-height: 1.4;
    margin-bottom: 2rem;
    color: #2d2e32;
}

.text-side p {
    font-size: 1.7rem;
    font-family: "Mulish", sans-serif;
    color: #767676;
    font-weight: 500;
    line-height: 1.5;
}

.img-side {
    position: relative;
}

.img-side span {
    width: 19rem;
    height: 19rem;
    position: absolute;
    background-color: white;
    bottom: -33px;
    right: 33px;
    border-radius: 50%;
}

.img-side span img {
    width: 19rem;
    animation: rotate 9s linear infinite;
}


@keyframes rotate {
    to {
        transform: rotate(360deg);
    }
}

.img-side__main-img {
    width: 41rem;
    height: 35rem;
    border-radius: 1.7rem;
}


.work-emoji {
    position: absolute;
    z-index: 10;
    width: 6rem !important;
    bottom: 35px;
    right: 98px;
}


.project-content {
    display: flex;
    flex-direction: column;
}


.project {
    background-color: #f9f9f9;
    padding: 15rem 0;
}


.project-content p {
    color: #147efb;
    font-size: 1.7rem;
    text-transform: uppercase;
    font-weight: 700;
    margin-bottom: 1rem;
}

.project-content h3 {
    font-size: 2.5rem;
    color: #2d2e32;
    margin-bottom: 6rem;
}

.projects-grid {
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: auto auto;
    width: 100%;
    height: auto;
    gap: 5rem;
}

.projects-grid .pro {
    display: flex;
    background-color: white;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1);
    border-radius: 1.7rem;
}

.projects-grid .pro__1 {
    height: 40rem;
    flex-direction: row;
    padding: 2rem;
    gap: 8rem;
}


.projects-grid .pro__img {
    width: 53rem;
    height: auto;
    border-radius: 1.7rem;
    background-color: rgba(118, 118, 118, 0.2);
    overflow: hidden;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1);
}


.projects-grid .pro__img img {
    width: 100%;
    height: auto;
}

.projects-grid .pro__text {
    display: flex;
    width: 30rem;
    height: auto;
    flex-direction: column;
    text-align: center;
    justify-content: center;
}


.projects-grid .pro__text img {
    width: 7rem;
    position: absolute;
    top: -2px;
    right: -19px;
}

.projects-grid .pro__text h3 {
    font-size: 1.7rem;
    text-transform: uppercase;
    color: #2d2e32;
    margin-bottom: 2rem;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.2rem;
}

.projects-grid .pro__text p {
    font-size: 1.7rem;
    color: #767676;
    text-align: center;
    text-transform: none;
    font-weight: 500;
}

.stack {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 1rem;
}

.stack p {
    color: black !important;
    font-weight: 600 !important;
    background-color: white;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1);
    padding: 1rem 1.3rem;
    font-family: "Mulish", sans-serif !important;
}

.links {
    display: flex;
    justify-content: space-evenly;
    margin-top: 3rem;
    gap: 1rem;
    align-items: center;
}

.links a {
    font-size: 1.7rem;
    color: #2d2e32;
    font-weight: 500;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 5px;
}

.links a i {
    font-size: 2.8rem;
}

.links a .link-icon {
    font-size: 2rem !important;
}

.links a img {
    width: 3.5rem;
}

.links a:hover,
.project a:hover {
    color: #147efb;
    transition: all 0.3s;
}

.reversed-proj {
    flex-direction: row-reverse !important;
}

.new-projects {
    font-size: 2.6rem;
    text-align: center;
    color: #2d2e32;
}

.date-class {
    font-size: 1.4rem;
    color: rgba(22, 20, 20, 0.7725490196);
    margin-left: 0.2rem;
}

.contact {
    background-color: white;
    padding: 11rem 0;
}


.contact__content {
    display: flex;
    flex-direction: column;
}



.contact__title p {
    color: #147efb;
    text-transform: uppercase;
    font-weight: 700;
    font-size: 1.7rem;
    margin-bottom: 1rem;
}

.contact__title h3 {
    color: #2d2e32;
    font-size: 2.5rem;
}

.contact__icons {
    display: flex;
    gap: 8rem;
    flex-wrap: wrap;
    margin-top: 6rem;
}



.contact__icon-box {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}



.contact__icon-box span {
    background-color: white;
    width: 5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 5rem;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1);
    border-radius: 50%;
    color: #147efb;
}

.contact__info {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.contact__info h3 {
    font-size: 1.7rem;
    color: #2d2e32;
}

.contact__info a,
.contact__info p {
    font-size: 1.7rem;
    color: #767676;
    text-decoration: none;
    cursor: pointer;
}

.contact__info a:hover,
.contact__info p:hover {
    color: #147efb;
    transition: all 0.3s;
}

footer {
    background-color: #2d2e32;
    padding: 5rem 0;
    width: 100%;
}

footer h3 {
    font-size: 1.7rem;
    color: white;
}

.footerc {
    display: flex;
    justify-content: space-between;
    align-items: center;
}



.footerc__socials {
    display: flex;
    gap: 2rem;
    align-items: center;
    justify-content: center;
    margin-top: 1rem;
}

.footerc__socials a {
    font-size: 2.3rem;
    color: white;
}

.footerc__socials a:hover {
    transform: scale(1.2);
    transition: all 0.2s ease-in-out;
}

.skills-container {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.skill-box {
    display: flex;
    align-items: center;
    gap: 4px;
}

.skill-box h3 {
    font-size: 20px;
}

.skill-box img {
    width: 40px;
    height: 40px;
}

.project-details h1 {
    font-size: 2.2rem;
}

 .project-main:nth-child(even) {
     flex-direction: row-reverse;
 }
@media (max-width: 550px) {
    .footerc {
        flex-wrap: wrap;
        justify-content: center;
        gap: 2rem;
        text-align: center;
    }
}


@media (max-width: 400px) {
    .projects-grid .pro__1 {
        width: 100%;
    }

    .projects-grid .pro__text {
        width: 100%;
    }

    .hero-text img {
        right: 3rem;
    }

    nav {
        padding: 25px 30px 25px 30px;
    }

    .text-side {
        padding-right: 0;
    }
}

@media (max-width: 600px) {
    .project-content {
        text-align: center;
    }
}

@media (max-width: 750px) {
    .contact__icon-box {
        flex-direction: column;
    }

    .contact__icons {
        flex-direction: column;
        gap: 5rem;
        justify-content: center;
        text-align: center;
    }

    .contact__title {
        text-align: center;
    }

    .work-emoji {
        display: none;
    }

    .img-side span {
        display: none;
    }

    .project-main {
        flex-direction: column !important;
    }

    .project {
        padding: 8rem 0;
        height: 199rem !important;
    }
}

@media (max-width: 880px) {
    .work-emoji {
        bottom: 57px;
        right: 156px;
    }

    .img-side span {
        bottom: -3px;
        right: 100px;
    }
}

@media (max-width: 900px) {
    .hero {
        height: auto;
        padding: 11rem 0;
    }

    .hero-main {
        flex-direction: column-reverse;
        text-align: center;
        height: auto;
        gap: 3rem;
    }

    .hero-text p {
        margin-bottom: 5rem;
    }

    .skills ul {
        justify-content: center;
    }

    .skills p {
        margin-right: 0;
        margin-bottom: 3rem;
        border-bottom: 2px solid rgba(45, 46, 50, 0.5);
        border-right: none;
        padding-right: 0;
        padding-bottom: 1rem;
    }

    .skills {
        position: initial;
        flex-direction: column;
    }

    .hero-text img {
        right: 3rem;
    }

    .hero-text span {
        justify-content: center;
        margin-top: -2rem;
        margin-bottom: 4rem;
        gap: 1.6rem;
    }

    .hero-text .btn-container {
        justify-content: center;
        margin-top: -2.4rem;
        margin-bottom: 4rem;
        gap: 1.6rem;
    }

    nav ul a {
        display: none;
    }

    .mobile-menu {
        display: flex;
    }

    .content {
        flex-direction: column;
        text-align: center;
        height: auto;
        gap: 3rem;
    }
}

@media (max-width: 1020px) {
    .work-emoji {
        bottom: 25px;
        right: 245px;
    }

    .project {
        padding: 8rem 0;
        height: 79rem;
    }

    .projects-grid .pro__1 {
        height: 75rem;
        flex-direction: column !important;
        gap: 3rem;
        width: -moz-fit-content;
        width: fit-content;
        margin: 0 auto;
    }

    .projects-grid .pro__text {
        margin: 0 auto;
    }

    .contact {
        padding: 8rem 0;
    }

    .about {
        padding: 8rem 0;
    }

    .about-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .project-main {
        align-items: center;
    }

    /* .project{
        height: 100%;
    } */

    .project-details {
        gap: 10px;
    }

    .projectImage {
        height: 30rem;
    }


    .text-side {
        max-width: 54rem;
        margin: 0 auto;
    }

    .img-side span {
        width: 17rem;
        height: 17rem;
        bottom: -3px;
        right: 190px;
    }

    .img-side span img {
        width: 17rem;
    }

    .img-side__main-img {
        margin-bottom: 3.5rem;
    }
}

@media (max-width: 650px) {
    .projects-grid .pro__img {
        width: 100%;
    }
}

@media (max-width: 460px) {
    .container {
        padding: 0 1.7rem;
    }

    .img-side__main-img {
        width: 90%;
        height: auto;
    }
}

@media (max-width: 500px) {
    .hero-text img {
        top: 6.4rem;
        right: 4rem;
        width: 4.5rem;
        height: 4.5rem;
    }
}

@media (max-width: 380px) {
    .hero-text img {
        right: 3rem;
    }
}

@media (max-width: 375px) {
    .hero-text img {
        right: 1.7rem;
    }
}

@media (max-width: 500px) {
    .hero-img {
        width: 20rem;
        height: 20rem;
    }
}

@media (max-width: 1040px) {
    .hero-main {
        gap: 7;
    }

    .hero-img {
        width: 28rem;
        height: 28rem;
    }

    @media (max-width: 500px) {
        .hero-img {
            width: 28rem;
            height: 28rem;
        }
    }

    @media (max-width: 500px) {
        .hero-text h1 {
            font-size: 4rem;
        }
    }


    @media (min-width: 1600px) {
        .content {
            margin-top: 6rem;
        }
    }

    @media (min-width: 1900px) {
        .content {
            margin-top: 10rem;
        }
    }
}