* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background-color: #121212; 
    color: #e0e0e0; 
    line-height: 1.6;
    display: flex;
    justify-content: center;
    min-height: 100vh;
}

.container {
    width: 100%;
    max-width: 800px;
    padding: 40px 20px;
    display: flex;
    flex-direction: column;
}

nav {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 40px;
    border-bottom: 1px solid #333;
    padding-bottom: 10px;
}

.tab-btn {
    background: none;
    border: none;
    color: #888;
    font-size: 18px;
    cursor: pointer;
    padding: 5px 10px;
    transition: color 0.3s, border-bottom 0.3s;
    font-weight: 500;
}

.tab-btn:hover {
    color: #fff;
}

.tab-btn.active {
    color: #fff;
    border-bottom: 2px solid #fff; 
}

.content-area {
    flex-grow: 1;
    min-height: 300px;
}

.tab-content {
    display: none; 
    animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

header {
    text-align: center;
    margin-bottom: 40px;
}

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

.profession {
    color: #bbb;
    font-weight: 400;
    font-size: 1.2rem;
}

.section-block {
    margin-bottom: 5px;
}

.interests {
    margin-bottom: 5px;
    margin-top: 20px;
}

h3 {
    border-bottom: 1px solid #333;
    padding-bottom: 5px;
    margin-bottom: 15px;
    font-size: 1.5rem;
    color: #fff;
}

.keywords {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 20px;
}

.tag {
    background-color: #2a2a2a;
    padding: 5px 12px;
    border-radius: 15px;
    font-size: 0.9rem;
    color: #ddd;
    border: 1px solid #333;
}

.text-justify {
    text-align: justify;
}

footer {
    margin-top: 50px;
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #333;
}

#images {
    display: inline-flex;
    align-items: center;
    gap: 15px;
}

#gitLogo {
    width: 35px;
    transition: opacity 0.3s;
}

#linkedLogo {
    width: 35px;
    transition: opacity 0.3s;
}


#emailLogo {
    width: 35px;
    transition: opacity 0.3s;
}

#gitLogo:hover, #linkedLogo:hover, #emailLogo:hover {
    opacity: 0.7;
}

.experience-item, .project-item, .presentation-item {
    margin-bottom: 50px; 
}

.experience-item:last-child, .project-item:last-child, .presentation-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.link {
    color: #64b5f6; 
    text-decoration: none;
    transition: color 0.3s;
}

.link:hover {
    color: #90caf9; 
    text-decoration: underline;
}

.loading {
    font-style: italic;
    color: #666;
    margin-top: 20px;
}