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

html {
    overflow-x: hidden;
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
    -ms-text-size-adjust: 100%;
}

body {
    font-family: system-ui;
    background-color: #171818;
}


a {
    color: inherit;
    text-decoration: none;
}

li {
    list-style: none;

}

.section {
    margin: 0;
    padding: 0;
}

.section-title {
    text-align: center;
    color: #ffffff;
    font-size: 2rem;
    border-radius: 25px;
}

.section-title span {
    color: #38ffd7;
}

/* Header */

.header {
    width: 100%;
    padding: 1em 0;
    position: fixed;
    top: 0;
    z-index: 199;
    background-color: #292929;
    box-shadow: 0 0 10px 0 #0c0c0c;
}

nav {
    max-width: 72rem;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    align-items: center;
    font-size: 20px;
    justify-content: space-between;
}

nav .logo {
    font-size: 2rem;
    font-family: 'Courier New', Courier, monospace;
    font-weight: bold;
}

nav .logo a {
    color: #34fcd4;
}

nav .menu-list {
    display: flex;
    gap: 3em;
    align-items: center;
}

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

nav .menu-list a {
    text-decoration: none;
    color: #f2f7f6;
    font-size: 1rem;
    font-weight: 600;
    font-family: system-ui;
    transition: all 0.2s ease-in-out;
}

nav .menu-list a:hover {
    color: #34fcd4;
}

.menu .line-1,
.menu .line-2,
.menu .line-3 {
    width: 25px;
    height: 3px;
    background: #f0efef;
}

.menu div {
    transition: all 0.3s ease-in-out;
}

.menu div:hover {
    color: #38ffd7;
}

.menu {
    display: none;
    cursor: pointer;
}


@media (max-width:600px) {

    nav {
        position: static;
        top: 0;
    }

    nav .menu-list {
        flex-direction: column;
        position: fixed;
        width: 50%;
        right: 0;
        top: 0;
        height: 100vh;
        justify-content: center;
        box-shadow: 0 0 20px 0 #0c0c0c;
        transition: 0.2s ease-in-out;
        transform: translateX(100%);
        z-index: 200;
        background-color: #292929;
    }

    nav .menu-list a {
        text-decoration: none;
        color: #f2f7f6;
        font-size: 1.5rem;
    }

    nav .menu-list.show {
        transform: translateX(0);
    }

    nav li {
        display: block;
        padding: 10px 0px;
    }

    nav ul {
        text-align: center;
        padding: 0px;
        display: none;
        background-color: #171818;
    }

    .logo {
        align-self: flex-start;
        margin-top: 6px;
    }

    .menu {
        display: grid;
        position: absolute;
        right: 30px;
        top: 30px;
        gap: 5px;
        z-index: 201;
    }

    .menu.show {
        display: grid;
        position: fixed;
        gap: 5px;

    }

    .menu.show .line-1 {
        transform: rotate(-45deg) translate(-5px, 6px);
    }

    .menu.show .line-2 {
        opacity: 0;
    }

    .menu.show .line-3 {
        transform: rotate(45deg) translate(-5px, -6px);
    }


}

/* Hero Section */
.hero-section {
    width: 100%;
    padding: 10rem 0 10rem;
    background-color: #292929;
}

.hero-section .hero-container {
    margin: 0 auto;
    max-width: 72rem;
    padding: 0 3rem;
    display: flex;
    width: 100%;
    align-items: center;
    justify-content: center;
    gap: 10rem;
    transition: all 0.5s ease-in-out;

    @media (max-width:1200px) {
        gap: 4rem;

    }
}

.hero-section .hero-items {
    padding: 4% 0;
    display: grid;
    flex-wrap: wrap;
}

.hero-section .hero-img {
    background-image: url("img/fp.png");
    width: 350px;
    height: 350px;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    border: 3px solid #38ffd7;
    border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
    position: relative;
    animation: morph 8s infinite;
    transition: all 1s ease-in-out;
    box-shadow: 0 0 40px 0 #38ffd7;

    @media (max-width:500px) {
        width: 250px;
        height: 250px;
    }
}

@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%;
    }
}

.hero-section .hero-items h1 {
    font-size: 3rem;
    color: #38ffd7;
}

.hero-section .hero-items h2 {
    color: #ffffff;
}

.hero-section .hero-items p {
    font-size: 1.4rem;
    text-align: start;
    color: aliceblue;
}

.hero-section .hero-items .button {
    display: flex;
    margin-top: 2em;
    gap: 1em;
}

.hero-section .hero-items .button a,
.interested .main-container .container .interest-btn {
    background-color: #ffffff00;
    padding: 0.6em 1em;
    color: #34fcd4;
    border: 2px solid #53cfb7;
    border-radius: 10px;
    transition: all ease 0.2s;
    cursor: pointer;
    font-weight: 500;
    text-align: center;
}

.hero-section .hero-items .button a:hover,
.interested .main-container .container .interest-btn:hover {
    background-color: #53cfb7;
    color: #ffffff;
    box-shadow: 0 0 10px 0 #38ffd7;
}

.hero-section .hero-items .sosmed {
    display: flex;
    margin-top: 1em;
    padding-left: 2%;
    gap: 1.5em;
}

.hero-section .hero-items .sosmed i {
    color: #ffffff;
    font-size: 1.5rem;
    transition: all ease 0.2s;
}

.hero-section .hero-items .sosmed i:hover {
    color: #38ffd7;
}

@media (max-width: 1070px) {
    .hero-section .hero-img img {
        height: 300px;
    }
}

@media (max-width: 748px) {

    .hero-section .hero-container {
        flex-direction: column-reverse;
        align-items: center;
        gap: 1rem;
    }
}

@media (max-width: 600px) {



    .hero-section .hero-items {
        margin-top: 2rem;
        padding: 0 0;
    }

    .hero-section .hero-img img {
        height: 300px;
    }
}

/*  About & Skill Section */
#about {
    color: #ababab;
    padding-top: 7rem;
}
#about .main-container{
    max-width: 900px;
}
#about .row {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
}

@media (max-width:800px) {
    #about .row {
        flex-direction: column;
        gap: 2rem;
    }

    .about-col-1 {
        text-align: center;
    }

    .tab-titles .tab-links {
        font-size: 1rem;
    }
}

@media (max-width:400px) {
    .about-col-2 .tab-titles {
        flex-direction: column;
        gap: 1rem;
    }

    .tab-titles .tab-links {
        text-align: center;

        padding: 0.5rem;
        background-color: #ababab3b;
        border-radius: 5px 5px 0 0;
    }
    .tab-titles .tab-links.active-link::after {
        width: 100%;
    }
    .tab-titles .tab-links::after {
        bottom: -2px;
    }
}

.about-col-1 {
    flex: 35%;
}

.about-col-2 {
    flex: 60%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.about-col-1 img {
    height: 300px;
    height: 300px;
    border-radius: 15px;
}

.about-col-2 span {
    color: white;
}
.about-col-2 p{
    font-size: 1.2rem;
}
.about-col-2 h2 {
    margin-bottom: 1rem;
    color: #ffffff;
}

.section-title {
    font-size: 2rem;
    color: #fff;
}

.section-title span {
    color: #38ffd7;
    text-shadow: 0 0 20px #38ffd7;
}

.work img {
    height: 550px;
    width: 650px;
}

.tab-titles {
    display: flex;
    margin: 20px 0 40px;
    gap: 2rem;
}

.tab-links {
    font-size: 1.5rem;
    font-weight: 500;
    cursor: pointer;
    position: relative;
    color: #ffffff;
}

.tab-links::after {
    content: '';
    width: 0;
    height: 3px;
    background: #34fcd4;
    position: absolute;
    left: 0;
    bottom: -8px;
    transition: 0.5s;
}

.tab-links.active-link::after {
    width: 50%;
}

.tab-contents ul li {
    list-style: none;
    margin: 10px 0;
    font-size: 18px;
}

.tab-contents ul li span {
    color: #ff004f;
    font-size: 22px;
}

.tab-contents {
    display: none;
}

.tab-contents.active-tab {
    display: block;
}

.skill{
    padding: 5em 0 7em;
    width: 100%;
    align-items: center;
}

.main-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 3em;
}


.skill .skill-row {
    display: flex;
    width: 100%;
    margin-top: 3em;
    gap: 3em;
    justify-content: space-between;
}

@media (max-width: 900px) {
    .skill .skill-row {
        flex-wrap: wrap;
        margin-top: 2em;
    }

    .skill-row .col {
        background-color: #292929;
        padding: 2.5em;
        display: flex;
        flex-direction: column;
        border-radius: 1em;
        gap: 1rem;
        flex: 46%;
    }
}

.skill-row .col {
    background-color: #292929;
    padding: 2em 1.5em;
    display: flex;
    flex-direction: column;
    border-radius: 1em;
    box-shadow: 0 0 10px 0 #0c0c0c;
    gap: 1rem;
    width: 100%;
    text-align: center;
    align-items: center;
    transition: all 0.2s ease-in-out;
}

.skill-row .col:hover {
    box-shadow: 0 0 20px 0 #38ffd7;
}

.skill-row .col i {
    text-align: center;
    font-size: 2rem;
    color: #dbdbdb;
    background-color: #8b8b8b2f;
    max-width: min-content;
    padding: 0.5em;
    border-radius: 5px;
}

.skill-row .col h3 {
    text-align: center;
    font-size: 1.2rem;
    color: #34fcd4;
}

.skill-row .col p {
    text-align: center;
    font-size: 1rem;
    color: #dbdbdb;
}

.skill-row .col li.head {
    font-size: 1rem;
    font-weight: 600;
    color: #34fcd4;

}

.skill-row .col li {
    font-size: 1rem;
    color: #dbdbdb;

}

/* Portfolio */

.portfolio {
    padding: 7em 0 7em;
    width: 100%;
    background: rgb(244, 244, 244);
    background: linear-gradient(180deg, rgba(244, 244, 244, 0.08167016806722693) 25%, rgba(223, 223,223,0)100%);
}

.portfolio .main-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 3em;
    gap: 5rem;
    display: flex;
    flex-direction: column;
}

.main-container .porto-col {
    display: flex;
    gap: 1rem;
    width: 100%;
    justify-content: center;
}

.porto-col .project-img img {
    height: 250px;
    width: 350px;
    object-fit: cover;
    border-radius: 10px;
}

.porto-col .project-text {
    width: auto;
    text-align: center;
    display: flex;
    justify-content: start;
}

.porto-col .project-text .pro-text {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    width: 350px;
    padding: 1rem;
}
@media (max-width:400px) {
    .porto-col .project-text .pro-text {
        width: auto;
    }
}
.porto-col .project-img {
    width: auto;
    text-align: end;
}

.porto-col .skill-label {
    margin-top: 0.6rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.porto-col .skill-label p {
    font-weight: 500;
    color: #ffffff;
    padding: 5px 20px;
    background-color: #dbdbdb2d;
    border-radius: 25px;
}

.porto-col h3 {
    color: #38ffd7;
}

.porto-col p {
    color: #dbdbdb;
}

.porto-col span {
    color: #38ffd7;
    font-weight: 500;
    margin-top: 0.5em;
}

.porto-col span i {
    margin-left: 0.5rem;
}

@media (max-width:1070px) {
    .porto-col .project-img img {
        height: 180px;
        width: 300px;
    }

}


/* INTERESTED BTN */

.interested {
    padding: 4em 0;
    width: 100%;
}

.interested .main-container {
    max-width: 60rem;
    margin: 0 auto;
    padding: 0 3em;
}

.interested .main-container .container {
    display: flex;
    align-items: center;
    justify-content: space-around;
    gap: 2em;
    background-color: #dbdbdb2d;
    padding: 2em;
    border-radius: 10px;
}

.interested .main-container .container h3 {
    color: #dbdbdb;
    font-size: 1.4em;
    font-weight: 500;

}

.interested .main-container .container p {
    color: #dbdbdb;
}

.interested .main-container .container h3 span {
    color: #38ffd7;
}

@media (max-width: 840px) {

    .interested .main-container .container {
        flex-direction: column;
    }

    .interested .main-container .container .interest-text {
        text-align: center;
    }
}

/* footer */

.footer {
    background-color: #dbdbdb2d;
    padding: 4em 0 2em;

}

.footer .main-container {
    margin: 0 auto;
    padding: 0 3em;
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 0.5em;
    font-size: 1.2em;
    align-items: center;
}

.footer h3 {
    color: #38ffd7;
}

.footer #layer {
    font-size: 1.8em;
    color: #dbdbdb;
}

.footer p {
    color: #dbdbdb;
}

.footer .chat-btn {
    font-size: 0.8em;
    border: 3px solid #53cfb7;
    max-width: max-content;
    padding: 0.6em 1.2em;
    border-radius: 10px;
    color: #38ffd7;
    font-weight: 500;
    margin-top: 1em;
    transition: all ease 0.2s;
}

.footer .chat-btn:hover {
    color: #ffffff;
    background-color: #53cfb7;
    box-shadow: 0 0 10px 0 #38ffd7;
}

.footer a #chat {
    margin-right: 10px;
}

.footer .sosmed a:hover {
    color: #38ffd7;
}

.copyright .sosmed {
    margin-top: 0.5em;
    display: flex;
    gap: 1.5em;
    color: #dbdbdb;
    justify-content: center;
}

.copyright .sosmed a {
    color: #dbdbdb;
    transition: all ease 0.5s;
}

.copyright .sosmed a:hover {
    color: #38ffd7;
}

.copyright {
    padding: 1em 0 2em;
    background-color: #dbdbdb2d;
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.copyright span {
    margin: 0 auto;
    color: #dbdbdb;
}