/* ========= GLOBAL ========= */

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Jakarta-Sans";
    background: #ffffff;
    color: #111;
    line-height: 1.9;
    font-size: 15px;
}

img {
    display: block;
    width: 100%;
}

a {
    color: #111;
    text-decoration: none;
}

.container {
    width: 1180px;
    max-width: 92%;
    margin: auto;
}


/* ========= ABOUT ========= */

.about {
    padding: 70px 0 120px;
}

.about-wrapper {
    display: grid;
    grid-template-columns: 430px 1fr;
    gap: 70px;
    align-items: start;
}


/* ========= PROFILE IMAGE ========= */

.profile-image {
    position: sticky;
    top: 50px;
}

.profile-image img {
    width: 100%;
    aspect-ratio: 3 / 4;
    object-fit: cover;
    border-radius: 36px;
}


/* ========= PROFILE CONTENT ========= */

.profile-content {
    padding-top: 10px;
}

.profile-content h1 {
    font-size: 60px;
    line-height: 1.1;
    margin-bottom: 40px;
    font-weight: 700;
}

.profile-content p {
    font-size: 16px;
    margin-bottom: 22px;
    color: #333;
    text-align: justify;
}


/* ========= FADE ANIMATION ========= */

.fade {
    opacity: 0;
    transform: translateY(40px);
    transition: 1s;
}

.fade.show {
    opacity: 1;
    transform: none;
}


/* ========= CONTACT ========= */

.contact {
    padding: 90px 0 0;
    margin-top: 40px;
}

.contact h2 {
    font-size: 42px;
    margin-bottom: 40px;
}

.contact-wrapper {
    max-width: 420px;
}

.contact-block {
    margin-bottom: 30px;
}

.contact-block h4 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 12px;
}

.contact-block p {
    font-size: 15px;
    color: #555;
    line-height: 1.9;
}

.contact-block a {
    color: #555;
    text-decoration: none;
    transition: 0.3s;
}

.contact-block a:hover {
    color: #111;
}


/* ========= SOCIAL ========= */

.social {
    margin-top: 0;
    padding-top: 0;
    border-top: 1px solid #ececec;
}

.social h2 {
    font-size: 42px;
    margin-bottom: 40px;
}

.social-wrapper {
    display: flex;
    gap: 25px;
    flex-wrap: wrap;
}

.social-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 18px;
    border: 1px solid #ddd;
    border-radius: 999px;
    color: #111;
    transition: 0.35s;
}

.social-item:hover {
    background: #111;
    color: #fff;
}

.social-item svg {
    width: 20px;
    height: 20px;
}


/* ========= COPYRIGHT ========= */

.copyright {
    width: 1180px;
    max-width: 92%;
    margin: 70px auto 50px;
    color: #777;
    font-size: 14px;
    text-align: center;
}


/* ========= IMAGE HOVER ========= */

/* .profile-image {
    overflow: hidden;
    border-radius: 36px;
}

.profile-image img {
    transition: 0.6s ease;
} */


/* ========= PROFILE IMAGE ========= */

.profile-image {
    position: sticky;
    top: 50px;

    width: 100%;
    aspect-ratio: 3 / 4;

    overflow: hidden;

    border-radius: 28px;
}


/* ========= PROFILE IMAGE ========= */

.profile-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 0;
    transform: scale(1);
    transition: transform 0.6s ease;
}


/* ========= PROFILE IMAGE HOVER ========= */

.profile-image:hover img {
    transform: scale(1.02);
}


/* ========= LINK HOVER ========= */

a {
    transition: 0.3s;
}

a:hover {
    opacity: 0.6;
}


/* ========= SELECTION ========= */

::selection {
    background: #111;
    color: #fff;
}


/* ========= SCROLLBAR ========= */

::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 20px;
}

::-webkit-scrollbar-track {
    background: #f5f5f5;
}


/* ========= RESPONSIVE: ABOUT ========= */

@media (max-width: 991px) {

    .about-wrapper {
        grid-template-columns: 1fr;
    }

    .profile-image {
        position: relative;
        top: 0;
        max-width: 420px;
        margin: auto;
    }

    .profile-content {
        margin-top: 50px;
    }

}

@media (max-width: 768px) {

    .about {
        padding: 40px 0 70px;
    }

    .profile-content h1 {
        font-size: 42px;
    }

}


/* ========= RESPONSIVE: CONTACT ========= */

@media (max-width: 768px) {

    .contact {
        padding-top: 90px;
        padding-bottom: 30px;
    }

    .contact h2 {
        font-size: 32px;
    }

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

}


/* ========= RESPONSIVE: SOCIAL ========= */

@media (max-width: 768px) {

    .social {
        padding: 60px 0;
    }

    .social h2 {
        font-size: 34px;
    }

    .social-wrapper {
        flex-direction: column;
    }

    .social-item {
        width: 100%;
        justify-content: center;
    }

}
