* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    text-decoration: none;
    list-style: none;
    scroll-behavior: smooth;
    font-family: "Syne", sans-serif;
}

:root {
    --bg-color: #121212;
    --second-bg-color: #202020;
    --text-color: #ffffff;
    --main-color: #b68362;
    --other-color: #8b8a91;
    --alt-color: #4b4b51;
    --ann-color: #c7c6d3;

    --h1-font: 6rem;
    --h2-font: 3.8rem;
    --p-font: 1.1rem;
}

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    opacity: 0;
    transition: opacity 7s;
    -webkit-animation: opacity 7s;
    -moz-animation: opacity 7s;
    -o-animation: opacity 7s;
    -ms-animation: opacity 7s;
}

.fadein {
    opacity: 0;
    transform: translate(0, 10vh);
    transition: all 1s;
}

.fadein.visible {
    opacity: 1;
    transform: translate(0, 0);
}

/* header nav menu */
header {
    position: fixed;
    top: 0;
    right: 0;
    padding: 20px 14%;
    width: 100%;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: all .6s ease;
}

.logo img {
    max-width: 80px;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.menulist a {
    display: inline-block;
    font-size: 20px;
    font-weight: 300;
    color: var(--other-color);
    margin: 0 30px;
    transition: all .6s ease;
}

.menulist a:hover {
    color: var(--text-color)
}

.menulist a.active {
    color: var(--text-color);
}

.menu-right {
    display: flex;
    align-items: center;
}

.menu-btn {
    display: inline-block;
    padding: 15px 25px;
    background: linear-gradient(135deg, #e1bac5 0%, var(--main-color) 100%);
    color: var(--bg-color);
    font-size: 20px;
    font-weight: 500;
    border-radius: 13px
}

.menu-btn:hover {
    background: linear-gradient(135deg, var(--main-color) 0%, #e1bac5 100%);
}

#menu-icon {
    z-index: 10001;
    font-size: 40px;
    margin-left: 25px;
    cursor: pointer;
    display: none;
}

/* home section */
section {
    padding: 110px 14% 90px;
}

.home {
    height: 100vh;
    width: 100%;
    background-image: url(/assets/images/black.gif);
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.home-text {
    padding-top: 30px;
}

.h-line {
    display: inline-block;
    padding: 10px;
    background: transparent;
    border: 1px solid var(--alt-color);
    font-size: var(--p-font);
    font-weight: 500;
    color: var(--ann-color);
    border-radius: 1.7rem;
}

.h-line:hover {
    color: var(--text-color);
}

.home-text h1 {
    margin: 20px 0;
    font-size: var(--h1-font);
}

.home-text h1 span {
    background: -webkit-linear-gradient(135deg, #e1bac5 0%, var(--main-color) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.home-text h4 {
    font-size: 22px;
    font-weight: 500;
    margin-bottom: 35px;
}

.social-icons a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 50px;
    width: 50px;
    background: transparent;
    border: 1px solid var(--alt-color);
    border-radius: 1.7rem;
    color: var(--ann-color);
    font-size: 18px;
    margin-right: 12px;
    margin-bottom: 40px;
    transition: all .6s ease;
}

.social-icons a:hover {
    transform: scale(1.06) rotate3d(0, 0, 1, 360deg);
    color: var(--text-color);
}

.h-btn {
    display: flex;
    align-items: center;
}

.btn1 {
    display: inline-block;
    padding: 18px 35px;
    background: transparent;
    border: 1px solid var(--alt-color);
    color: var(--text-color);
    font-size: 18px;
    font-weight: 500;
    border-radius: 17px;
    margin-right: 20px;
    transition: all .7s ease;
}

.btn1:hover {
    letter-spacing: 2px;
}

.btn2 {
    display: inline-block;
    padding: 18px 35px;
    background: linear-gradient(135deg, #e1bac5 0%, var(--main-color) 100%);
    color: var(--bg-color);
    font-size: 18px;
    font-weight: 500;
    border-radius: 17px;
    transition: all .7s ease;
}

.btn2:hover {
    transform: scale(1.07);
}

header.sticky {
    padding: 5px 14%;
    background: transparent;
    backdrop-filter: blur(25px);
}

/* tech stack section */

.about {
    background: var(--second-bg-color);
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    align-items: center;
    gap: 5rem;
}

.about-img img {
    width: 100%;
    height: 700px;
    max-width: 550px;
    border-radius: 20%;
    object-fit: cover;
    background: -webkit-linear-gradient(135deg, var(--main-color) 0%, #e1bac5 100%);
    border: 5px solid var(--main-color);
}

.about-text h2 {
    margin: 22px 0;
    font-size: var(--h2-font);
}

.about-text h2 span {
    background: -webkit-linear-gradient(135deg, #e1bac5 0%, var(--main-color) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.about-text h5 {
    font-size: 22px;
    font-weight: 500;
    font-weight: 1.7;
    margin-bottom: 30px;
}

.about-text p {
    font-size: var(--p-font);
    font-weight: 500;
    line-height: 33px;
    color: var(--ann-color);
    margin-bottom: 35px;
}


.skills-container {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
}

.skill-category {
    width: 300px;
    background: -webkit-linear-gradient(135deg, var(--main-color) 0%, #e1bac5 100%);
    color: #000;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.7s ease, box-shadow 0.3s;
    cursor: pointer;
}

.skill-category:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
}

.skill-category h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.skill-category ul {
    list-style-type: none;
    padding: 0;
    margin: 0;
}

.skill-category ul li {
    font-size: 1rem;
    margin-bottom: 5px;
}

/* services */
.services {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    align-items: center;
    gap: 1rem;
}

.services-left h2 {
    margin: 22px 0;
    font-size: var(--h2-font);
}

.services-left h2 span {
    background: -webkit-linear-gradient(135deg, #e1bac5 0%, var(--main-color) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.services-left p {
    font-size: var(--p-font);
    font-weight: 500;
    line-height: 33px;
    color: var(--ann-color);
    margin-bottom: 35px;
}

.services-right {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, auto));
    align-items: center;
    gap: 2rem;
}

.box {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    padding: 30px 60px;
    background: var(--second-bg-color);
    border-radius: 0.5rem;
    border-bottom: 2px solid transparent;
    border-image: linear-gradient(135deg, #e1bac5 0%, var(--main-color) 100%);
    border-image-slice: 1;
    transition: all .7s ease;
    cursor: pointer;
}

.box-icon i {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 60px;
    width: 60px;
    background: linear-gradient(135deg, #e1bac5 0%, var(--main-color) 100%);
    color: var(--bg-color);
    border-radius: 1.7rem;
    font-size: 22px;
    transition: all .6s ease;
}

.box-icon i:hover {
    transform: scale(1.1) translate3d(9px, 0px, 0px);
}

.box-text h5 {
    font-size: 25px;
    margin-bottom: 8px;
}

.box-text p {
    font-size: var(--p-font);
    font-weight: 500;
    line-height: 33px;
    color: var(--ann-color);
}

.box:hover {
    transform: translateY(-7px);
    border-bottom: 2px solid transparent;
    border-image: linear-gradient(135deg, var(--main-color) 0%, #e1bac5 100%);
    border-image-slice: 1;
}

/* portfolio */
.portfolio {
    background: var(--second-bg-color);
}

.mid-text h2 {
    margin-top: 22px;
    font-size: var(--h2-font);
}

.mid-text h2 span {
    background: -webkit-linear-gradient(135deg, #e1bac5 0%, var(--main-color) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.portfolio-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, auto));
    align-items: center;
    gap: 2rem;
    margin-top: 5rem;
}

.row-img {
    overflow: hidden;
    border-radius: 1.7rem;
}

.row-img img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s;
    cursor: pointer;
}

.row-img img:hover {
    transform: scale(1.1);
}

.row {
    background: var(--bg-color);
    border-radius: 1.7rem;
    padding: 0px 0px 10px 0px;
    transition: all .7s ease;
}

.row-in {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin: 25px;
}

.row-left h3 {
    font-size: 19px;
    margin-bottom: 8px;
}

.row-left h6 {
    font-size: 12px;
    color: var(--ann-color);
}

.row-right a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 50px;
    width: 50px;
    background: linear-gradient(135deg, #e1bac5 0%, var(--main-color) 100%);
    color: var(--bg-color);
    border-radius: 1.7rem;
    font-size: 22px;
    transition: all .7s ease;
}

.row-right a:hover {
    transform: scale(1.1) translate3d(11px, 0px, 0px);
}

/* contact */
.contact {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    align-items: center;
    gap: 2rem;
}

.contact-main h2 {
    margin: 32px 0;
    font-size: var(--h2-font);
}

.contact-main h2 span {
    background: -webkit-linear-gradient(135deg, #e1bac5 0%, var(--main-color) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.email {
    margin-bottom: 22px;
}

.email p {
    font-size: 15px;
    font-weight: 500;
    margin-bottom: 5px;
    color: var(--ann-color);
}

.email h6 {
    font-size: 22px;
    font-weight: 600;
}

.num {
    margin-bottom: 40px;
}

.num p {
    font-size: 15px;
    font-weight: 500;
    margin-bottom: 5px;
    color: var(--ann-color);
}

.num h6 {
    font-size: 22px;
    font-weight: 600;
}

.contact-form {
    width: 100%;
    max-width: 600px;
    display: grid;
    gap: 1.2rem;
}

.contact-form input,
.contact-form textarea {
    border: none;
    outline: none;
    padding: 17px;
    font-size: 0.9rem;
    background: var(--second-bg-color);
    color: var(--text-color);
    border-radius: 0.6rem;
}

form input::placeholder,
form textarea::placeholder {
    color: var(--ann-color);
    font-size: 15px;
}

form .submit-btn {
    display: inline-block;
    padding: 18px 25px;
    background: linear-gradient(135deg, #e1bac5 0%, var(--main-color) 100%);
    color: var(--bg-color);
    font-size: 17px;
    font-weight: 500;
    border-radius: 17px;
    width: 30%;
    cursor: pointer;
    transition: all .7s ease;
}

form .submit-btn:hover {
    transform: scale(1.1) translate3d(8px, 0px, 0px);
}

/* footer */
.footer {
    padding: 20px 14%;
    background: transparent;
    color: var(--text-color);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

.copyright p {
    font-size: 15px;
    font-weight: 400;
    color: var(--ann-color);
}

.scroll-up i {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 50px;
    width: 50px;
    background: linear-gradient(135deg, #e1bac5 0%, var(--main-color) 100%);
    color: var(--bg-color);
    border-radius: 1.7rem;
}

/* media queries */
@media(max-width: 1580px) {
    header {
        padding: 15px 6%;
    }

    header.sticky {
        padding: 3px 6%;
    }

    section {
        padding: 100px 6% 80px;
    }

    .footer {
        padding: 15px 6%;
    }
}

@media(max-width: 1300px) {
    header {
        padding: 15px 3%;
    }

    header.sticky {
        padding: 3px 3%;
    }

    section {
        padding: 100px 3% 80px;
    }

    .footer {
        padding: 15px 3%;
    }

    :root {
        --h1-font: 4.5rem;
        --h2-font: 3rem;
        --p-font: 1rem;
    }
}

@media(max-width: 1200px) {
    .about {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .about-img {
        text-align: center;
    }

    .about-img img {
        text-align: center;
        width: 100%;
        height: 580px;
        max-width: 450px;
        border-radius: 20%;
        object-fit: cover;
        margin: 0 auto;
    }

    .services {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .services-right {
        grid-template-columns: repeat(auto-fit, minmax(300px, auto));
        width: 100%;
    }

    .box {
        display: flex;
        flex-wrap: wrap;
        flex-direction: column;
    }

    .contact {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .contact-form {
        width: 100%;
        max-width: 100%;
    }
}

@media(max-width: 1000px) {
    .logo img {
        max-width: 50px;
    }

    .menulist a {
        margin: 0 20px;
        font-size: 17px;
    }

    .menu-btn {
        padding: 14px 22px;
        font-size: 15px;
    }

    .btn1 {
        padding: 14px 22px;
        font-size: 15px;
    }

    .btn2 {
        padding: 14px 22px;
        font-size: 15px;
    }
}

@media(max-width: 900px) {
    :root {
        --h1-font: 4rem;
        --h2-font: 2.8rem;
    }
}

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

    .menulist {
        position: absolute;
        width: 100%;
        height: 100vh;
        padding: 70px 50px;
        top: 0;
        right: 0;
        left: 100%;
        display: flex;
        flex-direction: column;
        background: #000;
        transition: all .6s ease-in-out;
    }

    .menulist a {
        display: block;
        padding: 0;
        margin: 0px 0px 25px 0px;
        font-size: 1.7rem;
    }

    .menulist.open {
        left: 0;
    }

    .home-text h1 {
        font-size: 35px;
    }
}

@media(max-width: 590px) {
    :root {
        --h1-font: 3.4rem;
        --h2-font: 2.5rem;
    }

    .about-img img {
        text-align: center;
        width: 100%;
        height: 500px;
        max-width: 380px;
        border-radius: 20%;
        object-fit: cover;
        margin: 0 auto;
    }

    form .submit-btn {
        padding: 13px 27px;
        width: 40%;
        font-size: 13px;
    }

    .home {
        padding-top: 200px;
    }
}

@media (max-height:900px) {
    .home {
        padding-top: 350px;
        padding-bottom: 350px;
    }
}