@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    list-style: none;
    text-decoration: none;
    font-family: 'Poppins';
    scroll-behavior: smooth;
}

:root {
    --prime-color: #2fb297;
    --black-color: #000;
    --white-color: #fff;
    --text-color: #35404E;
    --pere-color: #020202;
    --background-color: #d8d8d8;
    --transition: .3s;
    --transition2: .6s;

}

body {
    overflow-x: hidden;
}

section {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 5% 12%;
}

img {
    width: 100%;
    height: 100%;
}

header {
    background-image: url('https://i.postimg.cc/1z3875VT/Whats-App-Image-2025-10-26-at-16-00-22-98460af2.jpg');
    background-repeat: no-repeat;
    background-size: center;
    background-position: right;
    background-attachment: fixed;
    width: 100%;
    height: 100vh;
    border-top-left-radius: 50% 20%;
    border-bottom-right-radius: 50% 20%;
}

nav {
    width: 100%;
    height: 100px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 12%;
}

.logo a {
    font-size: 2rem;
    color: var(--text-color);
    font-weight: 600;
}

.menu {
    display: flex;
    align-items: left;
    gap: 20px;
}

.menu li a {
    font-size: 1.2rem;
    font-weight: 500;
    color: var(--black-color);
    transition: var(--transition);
}

.menu li a:hover {
    color: var(--prime-color);
}

.social_icon {
    display: flex;
    align-items: center;
    gap: 20px;
}

.social_icon a {
    margin: 0 8px;
    font-size: 1.6rem;
    /* icon size */
    color: #222;
    /* change color as needed */
    transition: color 0.2s, transform 0.2s;
    text-decoration: none;
}

.social_icon a:hover {
    color: #0A66C2;
    /* LinkedIn brand color on hover */
    transform: scale(1.18);
}

.bars {
    display: none;
}

/*HERO CONTENT SECTION */

.hero_content {
    width: 75%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    gap: 10px;
    padding: 6% 14%;
    height: 80vh;
}

.hero_content h2 {
    color: var(--prime-color);
    font-size: 1.2rem;
    font-weight: 500;
}

.hero_content h1 {
    font-size: 4rem;
    line-height: 5rem;
    font-weight: 700;
    color: var(--text-color)
}

.hero_content h1 span {
    color: var(--prime-color);
    font-size: 600;
}

.hero_content p {
    font-size: 1.1rem;
    font-weight: 400;
    color: var(--pere-color);
}

button {
    width: 120px;
    height: 50px;
    border-radius: 20px;
    border: none;
    background-color: var(--prime-color);
    color: var(--white-color);
    font-size: 1.1rem;
    transition: var(--transition);
}

button:hover {
    box-shadow: 0 0 20px rgba(42, 42, 42, 0.439);
    cursor: pointer;
}

.hero_content button {
    margin: 20px 0;
}

/* ABOUT SECTION */

.about {
    flex-direction: column;
    gap: 40px;
    align-items: center;
    justify-content: center;
}

.about-collage {
    display: flex;
    flex-direction: row;
    gap: 24px;
    justify-content: center;
    align-items: flex-end;
    margin-bottom: 32px;
    position: relative;
}

.about-image-collage.main {
    width: 230px;
    height: 230px;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: 0 4px 24px rgba(70, 70, 70, 0.16);
    border: 6px solid #fff;
    z-index: 2;
}

.about-image-collage.secondary {
    width: 120px;
    height: 120px;
    border-radius: 20px;
    object-fit: cover;
    box-shadow: 0 2px 16px rgba(70, 70, 70, 0.18);
    border: 3px solid #fff;
    margin-left: -40px;
    margin-bottom: -30px;
    z-index: 1;
}

.about-content {
    text-align: left;
    width: 100%;
    max-width: 700px;
}

@media (max-width: 900px) {
    .about-collage {
        gap: 12px;
        margin-bottom: 24px;
    }

    .about-image-collage.main {
        width: 150px;
        height: 150px;
    }

    .about-image-collage.secondary {
        width: 70px;
        height: 70px;
        margin-left: -24px;
        margin-bottom: -20px;
    }

    .about-content {
        max-width: 95vw;
        padding: 0 10px;
    }
}
.about-text {
    width: 200%;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    gap: 5px;
}

.about-text h1 {
    font-size: 5rem;
    font-weight: 700;
    color: var(--text-color);
}

.about-text p {
    font-size: 1.1rem;
    color: var(--pere-color);
    font-weight: 400;
}

.about_text button {
    margin: 2px 0;
    width: 250px;
    background-color: var(--white-color);
    border: 1.5px solid var(--prime-color);
    color: var(--prime-color);
}

.about_text button :hover {
    background-color: var(--prime-color);
    color: var(--white-color);
}

.about_bottom {
    margin-top: 50px;
    width: 100%;
    height: 0;
    opacity: 0;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    place-content: start;
    place-items: start;
    transition: var(--transition2);
}

.show_skills {
    height: 100%;
    opacity: 1;
}

.skill_box {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: flex-start;
    gap: 20px;
}

.skill_box {
    font-size: 1.2rem;
    font-weight: 600;
}

.percent {
    width: 100%;
    height: 5px;
    border-radius: 5px;
    background-color: rgba(131, 131, 131, 0.4);
    position: relative;
}

.percent:after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 60%;
    height: 90%;
    background-color: var(--prime-color);
}

.skill_box:nth-child(2) .percent:after {
    width: 75%;
}

.skill_box:nth-child(3) .percent:after {
    width: 80%;
}

.skill_box:nth-child(4) .percent:after {
    width: 65%;
}

.skill_box:nth-child(5) .percent:after {
    width: 70%;
}

.skill_box:nth-child(6) .percent:after {
    width: 65%;
}
