@font-face {
    font-family: 'GT-America-Extended-Black';
    src: url('fonts/GT-America-Extended-Black.woff2') format('woff2'),
        url('fonts/GT-America-Extended-Black.woff') format('woff'),
        url('fonts/GT-America-Extended-Black.ttf') format('truetype'),
        url('fonts/GT-America-Extended-Black.eot?#iefix') format('embedded-opentype'),
        url('fonts/GT-America-Extended-Black.svg#GT-America-Extended-Black') format('svg');
    font-display: swap;
}

@font-face {
    font-family: 'Graphik';
    src: url('fonts/Graphik-RegularItalic.woff2') format('woff2'),
        url('fonts/Graphik-RegularItalic.woff') format('woff'),
        url('fonts/Graphik-RegularItalic.ttf') format('truetype'),
        url('fonts/Graphik-RegularItalic.eot?#iefix') format('embedded-opentype'),
        url('fonts/Graphik-RegularItalic.svg#Graphik') format('svg');
    font-weight: normal;
    font-style: italic;
    font-display: swap;
}

html {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

body {
    max-width: 400px;
    transition: background-color 0.2s ease, color 0.2s ease;
}

body, p, h1, h2, h3, ul, #timezone, .timeline {
    color: inherit;
    transition: color 0.2s ease;
}

p {
    font-family: 'Graphik';
    font-style: italic;
}

h1, h2, h3 {
    font-family: 'GT-America-Extended-Black';    
    line-height: 2rem;
    font-weight: 600;
}

#timezone {
    font-family: 'Graphik';
    font-style: italic;
}

#timezone a {
    font-family: 'Graphik';
    font-style: italic;
}

.timeline {
    background-color: rgba(244, 244, 89, 0.957);
    font-weight: 400;
    font-family: 'Graphik';
}

.social-container {
    display: flex;
    flex-direction: row;
}

.social-link {
    margin: 2.5%;
}

ul {
    display: grid;
    gap: 0.75rem;
    font-family: 'Graphik';
    font-style: italic;
    font-size: 0.94em;
}

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

a {
    color: inherit;
    transition: color 0.2s ease;
    font-family: 'Graphik';
    font-style: italic;
}

a:visited {
    color: inherit;
}

/* Dark mode styles */
.dark-mode {
    background-color: #121212;
    color: white !important;
}

.dark-mode body,
.dark-mode p,
.dark-mode h1,
.dark-mode h2,
.dark-mode h3,
.dark-mode ul,
.dark-mode #timezone,
.dark-mode a,
.dark-mode .timeline {
    color: white !important;
}

.dark-mode .timeline {
    background-color: rgba(244, 244, 89, 0.3);
}

.dark-mode .linkedin {
    color: white !important;
}

.dark-mode .linkedin:hover {
    color: lightblue !important;
}

/* LinkedIn link styling */
.linkedin {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    text-decoration: underline;
    font-size: 17px;
    font-family: 'Graphik';
    font-style: italic;
    transition: color 0.2s ease;
}

.linkedin:hover {
    color: gray;
}


.theme-toggle svg {
    width: 24px;
    height: 24px;
    stroke: #121212; /* Dark color for light mode */
    transition: stroke 0.2s ease;
}

/* Dark mode icon styles */
.dark-mode .theme-toggle svg {
    stroke: white; /* Light color for dark mode */
}