body {
    font-family: 'Lato', sans-serif;
    color: var(--text-color, #333);
    background-color: var(--bg-color, #f8f9fa);
    margin: 0;
    padding: 20px;
    line-height: 1.8;
    transition: background-color 0.3s ease, color 0.3s ease;
}

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

.navBar {
    border-bottom: 2px solid var(--link-color);
    margin-bottom: 15px;
}

.navButtons {
    max-width: fit-content;
    margin-inline: auto;
    display: flex;
    align-items: center;
    gap: 10px; 
}

.image-toggle-container {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.toggle-container {
    margin-top: 10px;
}


h1, h2, h3 {
    color: var(--text-color);
}

h1 {
    font-size: 2.5em;
    margin-bottom: 10px;
}

h2 {
    font-size: 1.8em;
    margin-bottom: 5px;
    border-bottom: 2px solid var(--link-color);
    padding-bottom: 5px;
}

h3 {
    font-size: 1.3em;
}

.section {
    padding: 5px;
    margin-bottom: 20px;
    background: var(--section-bg, #fff);
    color: var(--text-color);
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.links a {
    color: var(--link-color);
    text-decoration: none;
    font-weight: 600;
    padding: 5px 10px;
}

.links a:hover {
    color: #0056b3;
    text-decoration: underline;
}

p {
    font-size: 1.1em;
}

.workXP {
    font-size: 1.0em;
}

.header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
}

.headshot {
    width: 145px;
    height: 145px;
    border-radius: 42%;
    object-fit: cover;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.home-button, .main-buttons {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 145px;
    height: 45px;
    background-color: var(--link-color);
    color: white;
    text-decoration: none;
    font-weight: bold;
    border-radius: 22px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    text-align: center;
    margin-bottom: 20px;
}

.home-button:hover,
.main-buttons:hover, 
.download-btn:hover {
    background-color: var(--hover-color);
}

.fade-in {
    opacity: 0;
    animation: fadeIn 1.5s forwards;
}

@keyframes fadeIn {
    to {
        opacity: 1;
    }
}

.fade-out {
    opacity: 1;
    animation: fadeOut 1.5s forwards;
}

@keyframes fadeOut {
    to {
        opacity: 0;
    }
}

#theme-toggle {
    display: none;
}

.toggle-label {
    display: flex;
    align-items: center;
    cursor: pointer;
    font-size: 1.2em;
}

.toggle-slider {
    width: 40px;
    height: 20px;
    background: #ccc;
    border-radius: 10px;
    margin: 0 8px;
    position: relative;
    transition: background 0.3s;
}

.toggle-slider::before {
    content: "";
    position: absolute;
    width: 18px;
    height: 18px;
    background: #9b5de5;
    border-radius: 50%;
    transition: 0.3s;
    top: 1px;
    left: 1px;
}

#theme-toggle:checked + .toggle-label .toggle-slider {
    background: #333;
}

#theme-toggle:checked + .toggle-label .toggle-slider::before {
    transform: translateX(20px);
    background: #c77dff;
}

body.light-mode {
    --bg-color: #f4eaff;
    --text-color: #2a003f;
    --link-color: #9b5de5;
    --hover-color: #7b2cbf;
    --section-bg: #f7f0ff;
}

body.dark-mode {
    --bg-color: #1a1023;
    --text-color: #f8e9ff;
    --link-color: #c77dff;
    --hover-color: #b26cff;
    --section-bg: #2a113d;
}

body.light-mode .links a:hover,
a:not(.home-button):not(.main-buttons):not(.download-btn):hover {
    color: #7b2cbf;
    text-decoration: underline;
}

body.dark-mode .links a:hover {
    color: #ffffff;
}

a:not(.home-button):not(.main-buttons):not(.download-btn) {
    color: var(--link-color);
    text-decoration: none;
    font-weight: 600;
}

a:not(.home-button):not(.main-buttons):not(.download-btn):hover {
    color: #0056b3;
    text-decoration: underline;
}

.download-btn {
    color: white;
    padding: 10px 20px;
    font-size: 16px;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s ease;
    background-color: var(--link-color);
    text-decoration: none;
    font-weight: bold;
    border-radius: 22px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    text-align: center;
    margin-bottom: 20px;
    max-width: fit-content;
    margin-inline: auto;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .location-img {
    margin-right: 5px;
    width: 16px;
    height: 16px;
  }

  .light-icon {
    width: 24px;
    height: 24px;
    align-items: center;
    justify-content: center;
  }

  .night-icon {
    width: 20px;
    height: 20px;
    align-items: center;
    justify-content: center;
  }

@media (max-width: 768px) {
    .header {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .navButtons {
        flex-direction: column;
        align-items: center;
        flex-wrap: wrap;
        gap: 15px;
    }

    .home-button, .main-buttons, .download-btn {
        width: 90%;
        max-width: 300px;
        height: auto;
        padding: 12px;
        font-size: 1em;
    }

    .headshot {
        width: 120px;
        height: 120px;
    }

    h1 {
        font-size: clamp(1.5rem, 5vw, 2.5rem);
    }

    h2 {
        font-size: clamp(1.2rem, 4vw, 1.8rem);
    }

    h3 {
        font-size: clamp(1rem, 3.5vw, 1.3rem);
    }

    p, .workXP {
        font-size: 1em;
    }

    .section {
        margin-inline: 10px;
        padding: 15px;
    }

    img {
        max-width: 100%;
        height: auto;
    }
}









































/* ¯\_(⊙︿⊙)_/¯ */
