:root {
    --primary-yellow: #f8d13e;
    --text-dark: #333;
    --text-light-grey: #666;
    --border-grey: #e0e0e0;
    --background-light: #f5f5f5;
    --font-heading: 'Montserrat', sans-serif;
    --font-body: 'Open Sans', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-body);
    line-height: 1.6;
    color: var(--text-dark);
    background-color: black;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--text-dark);
}

.container {
    display: flex;
    min-height: 100vh;
}

.menuToggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    z-index: 1001;
    position: fixed;
    top: 20px;
    left: 20px;
}

.menuToggle .bar {
    background: rgb(255, 255, 255);
    height: 3px;
    width: 25px;
    margin: 3px 0;
    transition: all 0.3s ease-in-out;
}

.menuToggle.active .bar:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
}

.menuToggle.active .bar:nth-child(2) {
    opacity: 0;
}

.menuToggle.active .bar:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
}

.sidebar {
    width: 250px;
    background-color: var(--text-dark);
    color: #fff;
    position: sticky;
    top: 0;
    height: 100vh;
    padding: 30px 0;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    border-right: 1px solid var(--text-dark);
    transition: transform 0.3s ease-in-out;
    z-index: 1000;
}

.profilesmall {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    overflow: hidden;
    margin-bottom: 20px;
    border: 3px solid var(--text-dark);
}

.profilesmall img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.sidebar-nav ul {
    list-style: none;
    width: 100%;
}

.sidebar-nav li {
    margin-bottom: 10px;
}

.sidebar-nav a {
    display: flex;
    align-items: center;
    padding: 12px 25px;
    color: #fff;
    font-weight: 600;
    transition: background-color 0.3s ease, color 0.3s ease;
    border-left: 5px solid transparent;
}

.sidebar-nav a i {
    margin-right: 15px;
    font-size: 1.1em;
    color: var(--primary-yellow);
}

.sidebar-nav a:hover,
.sidebar-nav a.active {
    background-color: var(--text-dark);
    color: var(--primary-yellow);
    border-left-color: #fff;
}

.sidebar-nav a.active i {
    color: var(--primary-yellow);
}

.firstcontent {
    flex-grow: 1;
    background-color: #000000;
    box-shadow: 0 0 15px rgba(0,0,0,0.05);
    margin: 20px;
    border-radius: 8px;
    border: 1px solid var(--border-grey);
    overflow: hidden;
}

.contentsection {
    padding: 40px;
    width: 100%;
    height: 100%;
    overflow-y: auto;
}

.sectioheader {
    display: flex;
    align-items: center;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border-grey);
}

.profilelarge {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
    margin-right: 30px;
    border: 5px solid var(--primary-yellow);
}

.profilelarge img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.text h2 {
    font-size: 2.5em;
    margin-bottom: 5px;
    color: var(--primary-yellow);
}

.text p {
    font-size: 1.1em;
    color: var(--text-light-grey);
}

.resumecontent {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.resumecolumn h3 {
    font-size: 1.8em;
    color: var(--primary-yellow);
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 10px;
}

.resumecolumn h3::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 60px;
    height: 3px;
    background-color: var(--primary-yellow);
}

.resumeitem {
    background-color: var(--background-light);
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 20px;
    border: 1px solid var(--border-grey);
    box-shadow: 0 2px 5px rgba(0,0,0,0.03);
}

.resumeitem:last-child {
    margin-bottom: 0;
}

.resumeitem h4 {
    font-size: 1.2em;
    color: var(--text-dark);
    margin-bottom: 5px;
}

.year {
    color: var(--text-light-grey);
    font-size: 0.9em;
    font-weight: 400;
}

.title {
    font-size: 1em;
    color: var(--primary-yellow);
    margin-bottom: 10px;
    font-weight: 600;
}

.description {
    font-size: 0.95em;
    color: var(--text-light-grey);
}

.content {
    display: flex;
    gap: 40px;
}

.info {
    flex: 1;
    background-color: var(--background-light);
    padding: 30px;
    border-radius: 8px;
    border: 1px solid var(--border-grey);
    box-shadow: 0 4px 8px rgba(0,0,0,0.05);
}

.info h3 {
    font-size: 1.8em;
    color: var(--primary-yellow);
    margin-bottom: 25px;
}

.info p {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
    font-size: 1em;
    color: var(--text-light-grey);
}

.info p i {
    color: var(--primary-yellow);
    font-size: 1.2em;
}

.links {
    margin-top: 30px;
    display: flex;
    gap: 15px;
}

.links a {
    width: 40px;
    height: 40px;
    background-color: var(--border-grey);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--text-dark);
    font-size: 1.2em;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.links a:hover {
    background-color: var(--primary-yellow);
    color: #fff;
}

.contactcontainer {
    flex: 2;
    background-color: var(--background-light);
    padding: 30px;
    border-radius: 8px;
    border: 1px solid var(--border-grey);
    box-shadow: 0 4px 8px rgba(0,0,0,0.05);
}

.contactcontainer h3 {
    font-size: 1.8em;
    color: var(--primary-yellow);
    margin-bottom: 25px;
}

.form .form-group {
    margin-bottom: 20px;
}

.form input,
.form textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid var(--border-grey);
    border-radius: 5px;
    font-family: var(--font-body);
    font-size: 1em;
    color: var(--text-dark);
    background-color: #fff;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form input:focus,
.form textarea:focus {
    outline: none;
    border-color: var(--primary-yellow);
    box-shadow: 0 0 0 3px rgba(248, 209, 62, 0.2);
}

.form textarea {
    resize: vertical;
}

.cta-submit {
    background-color: var(--primary-yellow);
    color: var(--text-dark);
    border: none;
    padding: 12px 25px;
    border-radius: 5px;
    cursor: pointer;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1em;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.cta-submit:hover {
    background-color: #e6c138;
    transform: translateY(-2px);
}

@media (max-width: 1024px) {
    .firstcontent {
        padding: 30px;
        margin: 15px;
    }

    .sectioheader {
        margin-bottom: 25px;
        padding-bottom: 15px;
    }

    .profilelarge {
        width: 120px;
        height: 120px;
        margin-right: 20px;
    }

    .text h2 {
        font-size: 2em;
    }

    .text p {
        font-size: 1em;
    }

    .resumecontent {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .resumecolumn h3 {
        text-align: center;
        margin-bottom: 20px;
        padding-bottom: 5px;
    }

    .resumecolumn h3::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .content {
        flex-direction: column;
        gap: 30px;
    }
}

@media (max-width: 768px) {
    .container {
        flex-direction: column;
    }

    .menuToggle {
        display: flex;
    }

    .sidebar {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        z-index: 1000;
        background-color: #000000ea;
        padding-top: 70px;
        transform: translateX(-100%);
        transition: transform 0.3s ease-in-out;
    }

    .sidebar.active {
        transform: translateX(0);
    }

    .sidebar-nav ul {
        flex-direction: column;
        align-items: center;
        gap: 50px;
        padding-top: 20px;
        margin-bottom: 20px;
    }

    .sidebar-nav ul li a {
        font-size: 1.3em;
    }

    .profilelarge {
        margin: 0 auto 20px auto;
        width: 100px;
        height: 100px;
    }

    .text h2 {
        font-size: 1.8em;
    }

    .text p {
        font-size: 0.9em;
    }

    .resumeitem {
        padding: 15px;
    }

    .resumeitem h4 {
        font-size: 1.1em;
    }

    .title {
        font-size: 0.95em;
    }

    .description {
        font-size: 0.9em;
    }

    .info {
        padding: 25px;
    }

    .info h3 {
        font-size: 1.6em;
        margin-bottom: 20px;
    }

    .info p {
        font-size: 0.95em;
        gap: 10px;
    }

    .links {
        margin-top: 20px;
        justify-content: center;
    }

    .links a {
        width: 35px;
        height: 35px;
        font-size: 1.1em;
    }

    .contactcontainer {
        padding: 25px;
    }

    .contactcontainer h3 {
        font-size: 1.6em;
        margin-bottom: 20px;
    }

    .form input,
    .form textarea {
        padding: 10px 12px;
        font-size: 0.95em;
    }

    .cta-submit {
        font-size: 0.9em;
        padding: 8px 15px;
    }
}

@media (max-width: 480px) {
    .firstcontent {
        padding: 20px;
        margin: 8px;
    }

    .text h2 {
        font-size: 1.6em;
    }

    .text p {
        font-size: 0.85em;
    }

    .sidebar-nav ul {
        flex-direction: column;
        gap: 0;
    }

    .sidebar-nav li {
        width: 100%;
    }

    .sidebar-nav a {
        justify-content: center;
        padding: 8px 10px;
        font-size: 0.85em;
    }

    .info p {
        font-size: 0.9em;
    }

    .form input,
    .form textarea {
        font-size: 0.9em;
    }

    .cta-submit {
        font-size: 0.9em;
        padding: 8px 15px;
    }
}
