@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');

:root {
    --lightBG:#fff8f3;
    --onLightBG:#201b13;
    --success:#4e6542;
    --onSuccess:#ffffff;
    --error:#ba1a1a;
    --onError:#ffffff;
    --titleBackground:rgba(228, 216, 204, .7);
}

body {
    width: 100dvw;
    overflow-x: hidden;
    overflow-y: auto;
    background-color: var(--lightBG);
    color: var(--onLightBG);
    font-family: 'Inter', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    font-size: 16px;
    font-weight: 400;
}

button {
    border-radius: 12px;
    padding: 12px 24px;
    transition: all 0.3s ease;
    border: 2px solid var(--success);
    background: transparent;
    color: var(--success);
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

button:hover {
    background-color: var(--success);
    color: var(--onSuccess);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(78, 101, 66, 0.3);
}

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(248, 250, 252, 0.95) 100%);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(78, 101, 66, 0.2);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 15px 0;

    & h1 {
        padding: 0 0 0 20px;
        color: var(--success);
        font-size: 1.8rem;
        font-weight: 700;
        letter-spacing: 1px;
        text-transform: uppercase;
        margin: 0;
    }
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
    width: 100%;
}

main {
    padding: 0;
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
    width: 100%;
}

nav {
    padding: 0 20px 0 0;
    margin: 0 20px 0 0;
    width: 30%;
    display: flex;
    flex: 0 0 auto;
    justify-content: flex-end;

    & a {
        text-decoration: none;
    }

    & ul {
        list-style-type: none;
        display: flex;
        flex-direction: column;
        justify-content: space-around;
        font-size: .8rem;
        gap: 5px;
        width: 50%;
        margin: 0;
        padding: 0;

        & li {
            transition: all .3s;
            cursor: pointer;
        }

        & li:hover {
            scale: 1.1;
        }
    }
}

#aboutMeContainer {
    margin: 0 0 50px 0;
    padding: 40px 20px;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    min-height: 100vh;

    & h2 {
        padding: 0 20px 20px 20px;
        text-align: center;
        font-size: 2.5rem;
        color: var(--onLightBG);
        margin-bottom: 30px;
        font-weight: 300;
        letter-spacing: 2px;
        text-transform: uppercase;
    }
    
    & p {
        padding: 0 20px 0 20px;
    }
}

#aboutMe {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
    max-width: 800px;
    margin: 0 auto;
    padding: 40px 20px;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);

    & p {
        width: 100%;
        text-align: center;
        font-size: 1.1rem;
        line-height: 1.6;
        color: var(--onLightBG);
        margin: 0;
    }
}

#charactersLeft {
    font-size: 0.9rem;
    font-style: italic;
    font-weight: 400;
    line-height: 1rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 5px;
    text-align: right;
}

#contactContainer {
    margin: 0;
    padding: 60px 20px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    color: white;

    & h2 {
        text-align: center;
        font-size: 2.5rem;
        color: white;
        margin-bottom: 20px;
        font-weight: 300;
        letter-spacing: 2px;
        text-transform: uppercase;
        text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    }

    & p {
        text-align: center;
        font-size: 1.2rem;
        margin-bottom: 40px;
        color: rgba(255, 255, 255, 0.9);
    }
}

#formSection {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 600px;
    margin: 0 auto;
    padding: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);

    & button {
        align-self: center;
        margin-top: 20px;
        background: rgba(255, 255, 255, 0.2);
        border: 2px solid white;
        color: white;
        font-size: 1.1rem;
        padding: 15px 30px;
    }

    & button:hover {
        background: white;
        color: #333;
    }
}

#messageError, #emailError {
    color: #ff6b6b;
    font-size: 0.9rem;
    margin-top: 5px;
    padding: 8px;
    background: rgba(255, 107, 107, 0.1);
    border-radius: 5px;
    border-left: 3px solid #ff6b6b;
}

#projectsContainer {
    margin: 0;
    padding: 60px 20px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 150vh;
    position: relative;
    overflow-x: hidden;
    width: 100%;
    box-sizing: border-box;

    & h2 {
        padding: 0 20px 40px 20px;
        text-align: center;
        font-size: 2.5rem;
        color: white;
        margin-bottom: 30px;
        font-weight: 300;
        letter-spacing: 2px;
        text-transform: uppercase;
        text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    }
}

#projectList {
    display: flex;
    width: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    gap: 25px;
    padding: 20px 20px 20px 20px;
    scroll-behavior: smooth;
    -ms-overflow-style: none;
    scrollbar-width: none;

    &::-webkit-scrollbar {
        display: none;
    }
}

#projectNavArrows {
    display: flex;
    width: 100%;
    justify-content: center;
    align-items: center;
    gap: 30px;
    margin: 30px 0;
    flex: 0 0 auto;
}

#projectSection {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    margin: 0;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 30px;
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    max-width: 100%;
        min-height: 140vh;
    overflow: visible;
}

#projectSpotlight {
    margin: 20px 0;
    width: 100%;
    max-width: 95%;
    height: 450px;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
    border: 3px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
}

#projectSpotlight:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}


#spotlightTitles {
    width: 100%;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.6) 0%, rgba(0, 0, 0, 0.4) 100%);
    padding: 25px;
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    position: absolute;
    bottom: 0;
    left: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    min-height: 40%;

    & h3 {
        margin: 0 0 12px 0;
        color: white;
        font-size: 1.6rem;
        font-weight: 600;
        text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    }

    & p {
        color: rgba(255, 255, 255, 0.9);
        font-size: 1rem;
        line-height: 1.5;
        margin: 0 0 15px 0;
    }

    & a {
        color: #64ffda;
        text-decoration: none;
        font-weight: 600;
        font-size: 1rem;
        display: inline-block;
        margin-top: 10px;
        padding: 8px 16px;
        border: 2px solid #64ffda;
        border-radius: 25px;
        transition: all 0.3s ease;
        align-self: flex-start;
    }

    & a:hover {
        background: #64ffda;
        color: #333;
        transform: translateY(-2px);
        box-shadow: 0 5px 15px rgba(100, 255, 218, 0.4);
    }
}

.active {
    opacity: 1;
}

.headshotContainer {
    width: 200px;
    height: 200px;
    margin: 0 auto;
    border-radius: 50%;
    overflow: hidden;
    border: 4px solid var(--success);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;

    & img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform 0.3s ease;
    }

    &:hover {
        transform: scale(1.05);
        
        & img {
            transform: scale(1.1);
        }
    }
}

.inactive {
    opacity: .5;
}

.arrow-right,
.arrow-left {
    width: 50px;
    height: 50px;
    cursor: pointer;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.arrow-right:hover,
.arrow-left:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.1);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.arrow-right::before {
    content: '';
    display: inline-block;
    width: 0;
    height: 0;
    border-top: 12px solid transparent;
    border-bottom: 12px solid transparent;
    border-left: 20px solid white;
    margin-left: 3px;
    filter: drop-shadow(2px 2px 4px rgba(0, 0, 0, 0.3));
}

.arrow-left::before {
    content: '';
    display: inline-block;
    width: 0;
    height: 0;
    border-top: 12px solid transparent;
    border-bottom: 12px solid transparent;
    border-right: 20px solid white;
    margin-right: 3px;
    filter: drop-shadow(2px 2px 4px rgba(0, 0, 0, 0.3));
}

.formField {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    margin: 20px 0;
    width: 100%;

    & label {       
        padding: 0 0 10px 0;
        color: white;
        font-weight: 600;
        font-size: 1.1rem;
        text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
    } 

    & input {
        width: 100%;
        padding: 15px;
        border: 2px solid rgba(255, 255, 255, 0.3);
        border-radius: 10px;
        background: rgba(255, 255, 255, 0.1);
        color: white;
        font-size: 1rem;
        transition: all 0.3s ease;
    }

    & input:focus {
        outline: none;
        border-color: white;
        background: rgba(255, 255, 255, 0.2);
        box-shadow: 0 0 15px rgba(255, 255, 255, 0.3);
    }

    & input::placeholder {
        color: rgba(255, 255, 255, 0.7);
    }

    & textarea {
        width: 100%;
        padding: 15px;
        border: 2px solid rgba(255, 255, 255, 0.3);
        border-radius: 10px;
        background: rgba(255, 255, 255, 0.1);
        color: white;
        font-size: 1rem;
        resize: vertical;
        min-height: 120px;
        transition: all 0.3s ease;
        font-family: inherit;
    }

    & textarea:focus {
        outline: none;
        border-color: white;
        background: rgba(255, 255, 255, 0.2);
        box-shadow: 0 0 15px rgba(255, 255, 255, 0.3);
    }

    & textarea::placeholder {
        color: rgba(255, 255, 255, 0.7);
    }
}

.messageContainer {
    width:300px;
}


.projectCard {
    position: relative;
    flex: 0 0 auto;
    width: 200px;
    height: 280px;
    border: none;
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.4s ease;
    cursor: pointer;
    background: rgba(255, 255, 255, 0.1);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

/* Add dark overlay to all project cards by default */
.projectCard::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    transition: all 0.4s ease;
    z-index: 1;
}

.projectCard {

    & h4 {
        width: 100%;
        background: linear-gradient(135deg, rgba(255, 255, 255, 0.9) 0%, rgba(255, 255, 255, 0.8) 100%);
        margin: 0;
        padding: 15px;
        min-height: 30%;
        color: #333;
        font-size: 1rem;
        font-weight: 600;
        text-align: center;
        position: absolute;
        bottom: 0;
        left: 0;
        transition: all 0.4s ease;
        box-sizing: border-box;
        z-index: 2;
    }

    & p {
        color: transparent;
        padding: 15px;
        font-weight: 500;
        font-size: 0.9rem;
        line-height: 1.4;
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        text-align: center;
        width: 90%;
        transition: all 0.4s ease;
        box-sizing: border-box;
        z-index: 2;
    }
}

.projectCard:hover {
    transform: translateY(-10px) scale(1.05);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);

    & h4 {
        background: linear-gradient(135deg, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0.6) 100%);
        color: white;
        text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    }

    & p {
        color: white;
        text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
        background: rgba(0, 0, 0, 0.3);
        border-radius: 10px;
        padding: 20px;
    }
}

/* Selected project card styling - remove overlay/shadow so image is visible */
.projectCard.selected {
    box-shadow: 0 8px 25px rgba(0, 150, 255, 0.4);
    border: 2px solid rgba(0, 150, 255, 0.6);
}

/* Remove the dark overlay from selected card */
.projectCard.selected::before {
    background: transparent;
}

.projectCard.selected:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 12px 30px rgba(0, 150, 255, 0.5);

    & h4 {
        background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(255, 255, 255, 0.85) 100%);
        color: #333;
        text-shadow: none;
    }

    & p {
        color: transparent;
        text-shadow: none;
        background: transparent;
        border-radius: 0;
        padding: 15px;
    }
}

/* About Me Sections Styling */
#aboutMeContainer > div {
    margin: 30px auto;
    padding: 25px;
    max-width: 800px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    border-left: 5px solid var(--success);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

#aboutMeContainer > div:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

#aboutMeContainer h3 {
    color: var(--success);
    margin-bottom: 15px;
    font-size: 1.4em;
    font-weight: 600;
    border-bottom: 2px solid var(--success);
    padding-bottom: 8px;
    display: inline-block;
}

/* Contact Information */
.contact-list {
    list-style: none;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 15px;
}

.contact-list li {
    margin: 0;
    padding: 12px 15px;
    background: rgba(78, 101, 66, 0.1);
    border-radius: 8px;
    border: 1px solid rgba(78, 101, 66, 0.2);
    transition: all 0.3s ease;
}

.contact-list li:hover {
    background: rgba(78, 101, 66, 0.15);
    transform: translateX(5px);
}

.contact-list a {
    color: var(--success);
    text-decoration: none;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 8px;
}

.contact-list a:hover {
    color: var(--onLightBG);
}

/* Education */
.education-details p {
    margin: 12px 0;
    font-size: 1.05rem;
    line-height: 1.5;
}

.education-details p:first-child {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--success);
}

.education-details ul {
    margin: 15px 0;
    padding-left: 20px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 8px;
    list-style: none;
}

.education-details li {
    margin: 0;
    padding: 8px 12px;
    background: rgba(78, 101, 66, 0.1);
    border-radius: 6px;
    border-left: 3px solid var(--success);
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.education-details li:hover {
    background: rgba(78, 101, 66, 0.15);
    transform: translateX(3px);
}

/* Certifications */
.certifications-list {
    list-style: none;
    padding: 0;
    display: grid;
    gap: 15px;
}

.certifications-list li {
    margin: 0;
    padding: 20px;
    background: linear-gradient(135deg, rgba(78, 101, 66, 0.1) 0%, rgba(78, 101, 66, 0.05) 100%);
    border-radius: 10px;
    border: 1px solid rgba(78, 101, 66, 0.2);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.certifications-list li:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(78, 101, 66, 0.2);
}

.certifications-list li::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--success);
}

.cert-title {
    font-weight: 600;
    color: var(--success);
    font-size: 1.1rem;
    margin-bottom: 5px;
}

.cert-provider {
    color: var(--onLightBG);
    font-size: 0.95rem;
}

.cert-year {
    color: #666;
    font-size: 0.9rem;
    font-style: italic;
}

/* Skills */
.skills-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin-top: 15px;
}

.skill-category {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.8) 0%, rgba(255, 255, 255, 0.6) 100%);
    padding: 20px;
    border-radius: 12px;
    border: 1px solid rgba(78, 101, 66, 0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.skill-category:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.skill-category::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--success) 0%, rgba(78, 101, 66, 0.5) 100%);
}

.skill-category h4 {
    margin: 0 0 15px 0;
    color: var(--success);
    font-size: 1.2em;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.skill-category ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.skill-category li {
    margin: 0;
    padding: 8px 12px;
    background: linear-gradient(135deg, rgba(78, 101, 66, 0.15) 0%, rgba(78, 101, 66, 0.1) 100%);
    border-radius: 20px;
    font-size: 0.9em;
    color: var(--onLightBG);
    font-weight: 500;
    border: 1px solid rgba(78, 101, 66, 0.2);
    transition: all 0.3s ease;
}

.skill-category li:hover {
    background: var(--success);
    color: white;
    transform: scale(1.05);
}

/* Experience */
.experience-container {
    margin-top: 15px;
}

.experience-item {
    margin: 20px 0;
    padding: 25px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.9) 0%, rgba(255, 255, 255, 0.7) 100%);
    border-radius: 12px;
    border-left: 5px solid var(--success);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    position: relative;
}

.experience-item:hover {
    transform: translateX(5px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
}

.experience-header {
    margin-bottom: 15px;
    color: var(--success);
    font-size: 1.2rem;
    font-weight: 600;
    border-bottom: 2px solid rgba(78, 101, 66, 0.2);
    padding-bottom: 8px;
}

.experience-item ul {
    margin: 15px 0 0 0;
    padding-left: 0;
    list-style: none;
}

.experience-item li {
    margin: 8px 0;
    padding: 8px 0 8px 20px;
    position: relative;
    color: var(--onLightBG);
    line-height: 1.5;
}

.experience-item li::before {
    content: '▸';
    position: absolute;
    left: 0;
    color: var(--success);
    font-weight: bold;
}

/* Languages */
.languages-list {
    list-style: none;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-top: 15px;
}

.languages-list li {
    padding: 20px;
    background: linear-gradient(135deg, rgba(78, 101, 66, 0.1) 0%, rgba(78, 101, 66, 0.05) 100%);
    border-radius: 12px;
    border: 1px solid rgba(78, 101, 66, 0.2);
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.languages-list li:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(78, 101, 66, 0.15);
}

.languages-list li::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--success);
}

.language-name {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--success);
    margin-bottom: 5px;
}

.language-proficiency {
    font-size: 0.95rem;
    color: var(--onLightBG);
    font-style: italic;
}

/* Responsive adjustments */
@media (width <= 768px) {
    .skills-container {
        grid-template-columns: 1fr;
    }
    
    .languages-list {
        flex-direction: column;
    }
    
    .languages-list li {
        min-width: auto;
    }

    #projectsContainer {
        padding: 40px 10px;
        overflow-x: hidden;
    }

    #projectSection {
        padding: 20px;
        margin: 0;
    }

    #projectList {
        padding: 10px;
        gap: 15px;
    }

    .projectCard {
        width: 180px;
        height: 250px;
    }

    #projectSpotlight {
        height: 350px;
        margin: 15px 0;
    }

    #spotlightTitles {
        padding: 20px;
        min-height: 35%;
        
        & h3 {
            font-size: 1.4rem;
        }
        
        & p {
            font-size: 0.95rem;
        }
    }
}

@media (width >=1024px) {
    nav {
        width: 40%;

        & ul {
            font-size: 1rem;
            flex-direction: row;
            justify-content: flex-end;
            gap: 20px;
            width: 100%;
        }
    }

    #projectNavArrows {
        flex-direction: column;
        width: 75px;
    }

    #projectSection {
        flex-direction: row;
        height: 500px;
        align-items: stretch;
    }

    #projectSpotlight {
        width: 70%;
        height: 100%;
        flex: 1;
    }

    #projectList {
        flex-direction: column;
        height: 100%;
        overflow: auto;
        padding: 0 0 0 20px;
        width: 250px;
        align-items: center;
    }

    .arrow-left {
        transform: rotate(90deg);
    }

    .arrow-right {
        transform: rotate(90deg);
    }
}

@media (width >= 768px){
    #aboutMe {
        flex-direction: row;
        align-items: flex-start;
        gap: 40px;
        text-align: left;

        & p {
            width: 65%;
            text-align: left;
            font-size: 1.1rem;
        }
    }

    .formField {
        justify-content: center;
    }

    .headshotContainer {
        width: 250px;
        height: 250px;
        flex-shrink: 0;
    }

    #aboutMeContainer {
        padding: 60px 40px;
    }

    #aboutMeContainer > div {
        padding: 30px;
        margin: 40px auto;
    }

    .skills-container {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    }

    .contact-list {
        grid-template-columns: repeat(2, 1fr);
    }

    .languages-list {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Hide scrollbar for WebKit browsers (Chrome, Safari) on mobile devices */
@media (width <=768px) {
    body::-webkit-scrollbar {
        display: none;
    }

    /* Hide scrollbar for other browsers on mobile devices */
    body {
        -ms-overflow-style: none;
        /* IE and Edge */
        /* scrollbar-width: none;   */
    }

    
}