:root{
    --text-color: rgb(23, 22, 22);
    --link-color: rgb(93, 204, 184);
    --background-color: rgb(250, 250, 250);
}

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

html{
    scroll-behavior: smooth;
}

body{
    font-family: "IBM Plex Sans", sans-serif;
    background-color: var(--background-color);
}

a{
    color:var(--link-color);
    text-decoration: none;
}
nav{
    display: flex;
    justify-content: flex-end;
    align-items: center;
    padding: 0 50px;
    height: 70px;
    color: var(--text-color);
    margin: 0 20px;
    font-size: 16px;
}
nav #right {
    position:fixed;
    display: flex;
    gap: 1rem;
}
nav#right a{
    gap:0.3rem;
}
nav #right a:hover {
    color: var(--text-color);
    transition: 0.3s;
}
nav #right a:not(:last-child)::after {
    content: "/";
    margin-left: 1rem;
}

.hero-section{
    min-height: 100vh;
    display: flex;
    justify-content: space-between;
    padding: 0 50px;
    margin: 50px 0;
    margin-bottom: 100px;
    align-items:center;
    gap:40px;
}
.hero-section .text{
    flex:5;
}
.hero-section p{
    font-size: 20px;
    margin-bottom: 20px;
}
.hero-section .text h1{
    font-size: 40px;
    margin-bottom: 20px;


}
.hero-section .text .links{
    margin-top: 20px;
}
.hero-section .text .links a{
    display:inline-block;
    padding: 5px 10px;
    border: 2px solid var(--link-color);
    border-radius: 5px;
    margin-right: 10px;
    margin-bottom: 10px;
    transition:0.3s;
}
.hero-section .text .links a:hover{
    color:var(--text-color);
    border:2px solid var(--text-color);
}
.hero-section .headshot{
    flex:2;
    display:flex;
    justify-content: right;
}
.hero-section .headshot img {
    width: 350px;
    border-radius: 20%;
    aspect-ratio: 1;:
}

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

    html{
        scroll-behavior: smooth;
    }

    body{
        font-family: "IBM Plex Sans", sans-serif;
        background-color: var(--background-color);
    }

    a{
        color:var(--link-color);
        text-decoration: none;
    }
    nav{
        display: flex;
        justify-content: flex-end;
        align-items: center;
        padding: 0 50px;
        height: 70px;
        color: var(--text-color);
        margin: 0 20px;
        font-size: 16px;
    }
    nav #right {
        display: flex;
        gap:20px;
    }
    nav #right a:hover {
        color: var(--text-color);
        transition: 0.3s;
    }

    .hero-section{
        display: flex;
        justify-content: space-between;
        padding: 0 50px;
        margin-bottom: 100px;
        align-items:center;
        gap:40px;
        min-height:calc(100vh - 200px);
    }
    .hero-section .text{
        flex:5;
    }
    .hero-section .text h1{
        font-size: 45px;

    }
    .hero-section .text .links{
        margin-top: 20px;
    }
    .hero-section .text .links a{
        display:inline-block;
        padding: 5px 10px;
        border: 2px solid var(--link-color);
        border-radius: 5px;
        margin-right: 10px;
        margin-bottom: 10px;
        transition:0.3s;
    }
    .hero-section .text .links a:hover{
        color:var(--text-color);
        border:2px solid var(--text-color);
    }
    .hero-section .headshot{
        flex:2;
        display:flex;
        justify-content: right;
    }
    .hero-section .headshot img{
        width: 350px;
        border-radius: 20%;
        aspect-ratio: 1;
    }
    .skills {
        margin-top: 100px;
        padding: 0 50px;
        margin-bottom: 50px;
    }
    .skills h1 {
        text-align: left;
        font-size: 25px;
        font-weight: normal;
    }
    .skills .text {
    text-align: left;
    margin: 20px 0;
    }
    .skills .cells{
        display: flex;
        justify-content: flex-start;
        flex-wrap: wrap;
        max-width: 650px;
    }
.skills .cells .cell {
    width: 150px;
    padding: 10px 0;
    margin-right: 10px;
    margin-bottom: 10px;
    border: 1.5px solid var(--text-color);
    border-radius: 3px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.skills .cells .cell span{
    font-size:15px;
}
.about {
    padding: 150px 50px;
    margin-bottom: 20px;
}

.about h1 {
    text-align: left;
    font-size: 25px;
    font-weight: normal;
}

.about .text {
    text-align: left;
    margin: 20px 0;
    max-width: 600px;
}
.about .text p{
    font-size: 20px;
    font-weight:330;
    margin-bottom: 10px;
}
.about .text p .email{
    font-weight:bold;
    text-decoration-style:wavy;
    color: var(--link-color);
}
    @media (max-width: 850px){
        .hero-section .text h1{
            font-size: 35px;
        }
    }
    @media (max-width: 740px){
        .hero-section  {
            flex-direction: column-reverse;
        }
        .hero-section .headshot img{
            width: 300px;
        }
    }
/* === Mobile Styling === */
@media (max-width: 600px) {
    /* Hero section adjustments */
    .hero-section {
        padding: 0 20px;
        flex-direction: column-reverse;
        gap: 20px;
    }
    .hero-section .headshot img {
        width: 300px;
    }
    .hero-section .text h1 {
        font-size: 30px;
    }

    /* Skills section alignment */
    .skills {
        padding: 0 20px; /* match hero-section */
        margin-top: 50px; /* optional spacing */
    }
    .skills .cells .cell span {
        font-size: 12px; /* adjust for small screen */
    }

    /* About section alignment */
    .about {
        padding: 0 20px; /* match hero-section */
    }
    .about .text {
        max-width: 100%; /* allow full width within padding */
    }

    /* Navbar */
    nav {
        padding: 0 20px;
    }
    nav #right a {
        font-size: 22px;
    }
    nav #right a span {
        display: none;
    }
}


