@font-face {
    font-family: 'Akira';
    src: url('fonts/Akira-Expanded.otf') format('opentype');
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --bg-color: #0f0f0f;
    --text-color: #ffffff;
}

body.light {
    --bg-color: #ffffff;
    --text-color: #111111;
}

body {
    font-family: Arial, sans-serif;
    background-color: var(--bg-color);
    color: var(--text-color);
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 30px;
    background-color: #1a1a1a;
}

.logo {
    font-family: 'Akira', sans-serif;
    font-size: 24px;
    color: white;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 20px;
}

.nav-links a {
    font-family: 'Akira';
    text-decoration: none;
    color: white;
    font-weight: 500;
    transition: 0.3s;
}

body.light .nav-links a,
body.light .logo {
    color: black;
}

.nav-links a:hover {
    opacity: 0.7;
}

.home-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding: 60px;
    gap: 40px;
    text-align: center;
}

.intro {
    max-width: 700px;
    text-align: center;
}

.intro h1 {
    font-family: 'Akira', sans-serif;
    font-size: 36px;
    margin-bottom: 15px;
}

.intro p {
    border-left: none;
    padding-left: 0;
    line-height: 1.6;
    font-size: 14px;
}

.discord-card {
    width: 250px; 
    padding: 20px;
    background: #1a1a1a;
    border-radius: 15px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 10px;
}

.discord-card img {
    width: 90px;
    border-radius: 50%;
    margin-bottom: 10px;
}

.discord-card h2 {
    font-family: 'Akira', sans-serif;
    font-size: 16px;
    margin-bottom: 5px;
}

.discord-card p {
    font-size: 13px;
}

.online { color: #43b581; }
.idle { color: #faa61a; }
.dnd { color: #f04747; }
.offline { color: #747f8d; }

.avatar-container {
    position: relative;
    width: 100%;
    display: flex;
    justify-content: center;
    margin-bottom: 10px;
}

#discordAvatar {
    width: 100%;
    max-width: 150px;
    height: auto; 
    border-radius: 50%;
    display: block;
}

#discordLogo {
    position: absolute;
    top: -20px;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: auto;
    z-index: 1;
}

.dnd { color: #f04747; }

.skills {
    margin-top: 20px;
}

.skills h2 {
    font-family: 'Akira', sans-serif;
    margin-bottom: 20px;
    padding: 0 60px;
}

.skill-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    padding: 0 60px 40px;
    justify-content: center;
}

.skill-card {
    background: linear-gradient(145deg, #1a1a1a, #222);
    padding: 15px 20px;
    border-radius: 12px;
    width: 180px;

    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;

    transition: 0.3s;
}

.skill-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0,0,0,0.4);
}

.skill-card span {
    font-family: 'Akira', sans-serif;
    font-size: 14px;
}

.badge {
    font-size: 12px;
    padding: 4px 8px;
    border-radius: 6px;
}

.badge.advanced {
    background: #8a6d2f;
    color: white;
}

.badge.confident {
    background: #2f5d8a;
    color: white;
}

.badge.learning {
    background: #6a2f8a;
    color: white;
}

.theme-toggle {
    position: fixed;
    top: 50%;
    right: -25px;
    transform: translateY(-50%);
    width: 60px;
    height: 60px;
    background: #4da3ff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: 0.35s;
    box-shadow: 0 0 15px rgba(0,0,0,0.3);
}

.theme-toggle:hover {
    right: 10px;
}

.theme-toggle i {
    color: white;
    font-size: 20px;
}

.experience-panel {
    padding: 40px 60px;
}

.exp-tabs {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
}

.tab-btn {
    padding: 8px 15px;
    border: none;
    cursor: pointer;
    background: #1a1a1a;
    color: white;
    border-radius: 8px;
    transition: 0.3s;
    font-family: 'Akira';
}

.tab-btn.active {
    background: #4da3ff;
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

.skill-grid.small .skill-card {
    width: 160px;
}

.info-switcher {
    margin-top: 20px;
    max-width: 700px;
    width: 100%;
}

.switch-tabs {
    display: flex;
    gap: 10px;
    margin-bottom: 15px;
}

.switch-btn {
    padding: 8px 15px;
    border: none;
    cursor: pointer;
    background: #1a1a1a;
    color: white;
    border-radius: 8px;
    font-family: 'Akira';
    transition: 0.3s;
}

.switch-btn.active {
    background: #ffffff;
}

.switch-content {
    display: none;
}

.switch-content.active {
    display: block;
}

.section-title {
    font-family: 'Akira';
    text-align: center;
    margin-bottom: 20px;
}

.projects-controls {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 20px;
}

.projects-controls input,
.projects-controls select {
    padding: 8px 12px;
    border-radius: 8px;
    border: none;
    outline: none;
    background: #1a1a1a;
    color: white;
}

.projects-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
}

.project-card {
    width: 200px;
    background: #1a1a1a;
    padding: 15px;
    border-radius: 12px;
    cursor: pointer;
    transition: 0.3s;
    text-align: center;

}

.project-card:hover {
    transform: translateY(-5px);
    background: #222;
}

.project-modal {
    display: none;
    position: fixed;
    top: 0; left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.8);
    justify-content: center;
    align-items: center;
}

.modal-content {
    background: #1a1a1a;
    padding: 20px;
    border-radius: 12px;
    width: 400px;
    text-align: center;
}

.modal-content img {
    width: 100%;
    border-radius: 10px;
    margin-bottom: 10px;
}

.close {
    float: right;
    cursor: pointer;
    font-size: 20px;
}

.projects-section {
    padding: 40px 60px;
    text-align: center;
}

.section-title {
    font-family: 'Akira';
    margin-bottom: 20px;
}

.projects-controls {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 25px;
}

.projects-controls input,
.projects-controls select {
    padding: 10px 12px;
    border-radius: 8px;
    border: none;
    background: #1a1a1a;
    color: white;
}

.projects-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

.project-card {
    width: 280px;
    background: #1a1a1a;
    border-radius: 12px;
    padding: 15px;
    cursor: pointer;
    transition: 0.3s;
    text-align: left;
}

.project-card:hover {
    transform: translateY(-6px);
    background: #222;
}

.project-card img {
    width: 100%;
    height: 160px;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 10px;
}

.project-modal {
    display: none;
    position: fixed;
    top: 0; left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.8);
    justify-content: center;
    align-items: center;
}

.modal-content {
    background: #1a1a1a;
    padding: 20px;
    border-radius: 12px;
    width: 450px;
    text-align: center;
}

.modal-content img {
    width: 100%;
    border-radius: 10px;
    margin-bottom: 10px;
}

.close {
    float: right;
    cursor: pointer;
    font-size: 20px;
}

img {
    pointer-events: none;
    user-select: none;
}

.projects-section,
.projects-section * {
    font-family: 'Akira', sans-serif !important;
}

.project-category-title {
    font-family: 'Akira';
    margin: 40px 0 15px;
    text-align: center;
    font-size: 18px;
    opacity: 0.8;
}

.projects-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

.project-card h3 {
    font-size: 18px;
    margin: 10px 0 5px;
}

.project-card p {
    font-size: 12px;
    opacity: 0.8;
}

.project-card {
    width: 320px;
    padding: 15px;
}

.project-card img {
    height: 180px;
    object-fit: cover;
}

.projects-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    margin-bottom: 20px;
}

.project-card {
    width: 320px;
    flex: 0 0 auto;
}

.project-category-title {
    margin-top: 50px;
    margin-bottom: 20px;
}

.project-card img {
    width: 100%;
    height: 180px;
    object-fit: contain;
    background: #0f0f0f;
    padding: 10px;
    border-radius: 10px;
}

.intro {
    font-family: 'Akira', sans-serif;
}

.timeline-section {
    padding: 60px;
}

.timeline {
    position: relative;
    max-width: 800px;
    margin: auto;
}

.timeline::after {
    content: '';
    position: absolute;
    width: 2px;
    background-color: #1a1a1a;
    top: 0;
    bottom: 0;
    left: 20%;
}

.timeline-item {
    display: flex;
    margin-bottom: 40px;
    position: relative;
}

.timeline-date {
    width: 20%;
    font-family: 'Akira';
    text-align: right;
    padding-right: 20px;
    opacity: 0.8;
}

.timeline-content {
    width: 80%;
    background: #1a1a1a;
    padding: 15px;
    border-radius: 10px;
}

.timeline-content h3 {
    font-family: 'Akira';
    margin-bottom: 5px;
}

.timeline-content p {
    font-size: 13px;
    opacity: 0.8;
}

.timeline-content p {
    font-family: 'Akira';
}