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

.test {
    border: 2px solid red;
}

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

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

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

* {
    scrollbar-color: #8e8e8e #fff;
    scrollbar-width: thin
}

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

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

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

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

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

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


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



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


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

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

.hero-text h1 p {
    color: #2d2e32;
    font-family: poppins;
    font-size: 4rem;
    font-weight: 700;
    line-height: 0.8;
    margin-bottom: 2rem;
    margin-top: 2rem
}

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

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

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

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

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

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



.hero-img {
    -webkit-animation: morph 8s ease-in-out infinite;
    /* animation: morph 8s ease-in-out infinite; */
    animation: morph 8s ease-in-out infinite, scaler 2s ease;
    background-image: url("/img/profile-pic.png");
    background-position: 50%;
    background-repeat: no-repeat;
    background-size: cover;
    border: 3px solid #2d2e32;
    border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
    height: 35rem;
    position: relative;
    transition: all 1s ease-in-out;
    width: 35rem;
}



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

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

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



.skills ul li {
    cursor: pointer
}

.skills ul li img {
    height: 5rem;
    transition: all .3s ease-in-out;
    width: 11rem
}

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

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


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

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


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

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

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

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

.img-side {
    position: relative
}

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



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


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


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

.resume-btn {
    margin-top: 18px;
}

.resume-btn a {
    color: #383838;
    text-decoration: none;
}

/* projects sections */

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

.slide-btn-container {
    display: flex;
    justify-content: space-between;
}

.slide-btns {
    display: flex;
    gap: 1.8rem;
}

.slide-btns svg {
    background-color: white;
    color: #383838;
    box-shadow: 4px 4px 8px grey;
    height: 3rem;
    width: 4rem;
    cursor: pointer;
    transition: all .5s;
}

.slide-btns svg:hover {
    color: #147efb;
    transition: all .5s;
    box-shadow: 4px 4px 8px #147efb;
}


.new-projects {
    color: #147efb;
    font-size: 1.7rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-transform: uppercase;
    /* margin-inline: auto; */

}

.flex {
    display: flex;
}

.project-link {
    text-decoration: none;
}

.projectDivSize {
    border: 2px solid #383838;
    padding: 20px;
    border-radius: 10px;
    width: 40%;
    flex: 0 0 auto;
    transition: 0.4s;
    cursor: pointer;
}

.projectDivSize:hover {
    transition: 0.4s;
    border: 2px solid #147efb;
    box-shadow: 2px 2px 8px #147efb;
    transform: translateY(-5px);
    background-color: hsla(0, 0%, 50%, 0.1);
}

.projectImg {
    width: 100%;
    height: auto;
    object-fit: cover;
}

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

.projectSet {
    margin-top: 20px;
    display: flex;
    overflow-x: auto;
    scroll-behavior: smooth;
    width: 100%;
    padding: 20px 0;
    gap: 2.5rem;
}

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

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

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



/* contact section */

.contact {
    background-color: #fff;
    padding: 15rem 0
}

/*all good*/

.contact__content {
    display: flex;
    justify-content: space-between;
}

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

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

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


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


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

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

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

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

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


/* form box section */

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

.formBoxLength {
    min-width: 400px;
    height: 38px;
    padding: 4px;
    font-weight: 200;
}

#message {
    height: 75px;
    resize: vertical;
    font-weight: 200;
    font-family: Arial, Helvetica, sans-serif;
}

.inputDesign {
    border-radius: 7px;
}

.formbtn {
    padding: 2% 5%;
    border-radius: 7px;
    border: 1px solid grey;
    height: 36px;
    font-weight: 600;
    color: #383838;
}

.formbtn:hover {
    color: #147efb;
    transition: all .5s;
    border: 1px solid #147efb;
}

/* footer Section */

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

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

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



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

.footerc__socials a {
    color: #fff;
    font-size: 2.3rem;
    transition: all .2s ease-in-out
}

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

.line {
    height: 5px;
    width: 100%;
    background: rgb(255, 22, 22);
    background: linear-gradient(90deg, rgba(255, 22, 22, 1) 0%, rgba(10, 213, 23, 1) 46%, rgba(46, 64, 255, 1) 100%);
}