/* General */

body {
    margin: 0;
    font-family: "JetBrains Mono", monospace;
    line-height: 1.6;
    color: #000000;
    background-color: #ffffff;
}

/* Header */

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 60px;
    border-bottom: 2px solid #ff0000;
}

header h1 {
    margin: 0;
    font-size: 1.8rem;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 20px;
}

nav a {
    margin-left: 25px;
    text-decoration: none;
    color: #ff0000;
    font-weight: 500;
}

nav a:hover {
    color: #ff0000;
}

#theme-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
}

#theme-toggle img {
    width: 22px;
    height: 22px;
    display: block;
}

/* Main content */

main {
    max-width: 1000px;
    margin: 60px auto;
    padding: 0 20px;
}

.intro {
    display: flex;
    align-items: center;
    gap: 50px;
}

.profile-image img {
    width: 250px;
    height: 250px;
    border-radius: 50%;
    object-fit: cover;
}

.profile-text {
    flex: 1;
}

.profile-text h2 {
    margin-top: 0;
}

/* Footer */

footer {
    text-align: center;
    padding: 25px;
    width: 70%;
    margin: 80px auto 0;
    border-top: 2px solid #ff0000;
    font-size: 0.9rem;
}

footer a {
    color: #ff0000;
    text-decoration: none;
}

footer a:hover {
    text-decoration: underline;
}

/* Dark Mode */

body.dark-mode {
    color: #f0f0f0;
    background-color: #121212;
}

body.dark-mode header {
    border-bottom: 2px solid #ff5555;
}

body.dark-mode nav a {
    color: #ff5555;
}

body.dark-mode nav a:hover {
    color: #6ea8ff;
}

body.dark-mode footer {
    border-top: 2px solid #ff5555;
}

body.dark-mode footer a {
    color: #6ea8ff;
}

body.dark-mode footer a:hover {
    text-decoration: underline;
}

body.dark-mode a {
    color: #6ea8ff;
}

body.dark-mode a:hover {
    color: #8fc4ff;
}