* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: #0A0A0A;
    color: #F5F5F5;
    font-family: monospace;
    font-size: 15.6px;
    line-height: 1.5;
    padding: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    position: relative;
}

.content {
    max-width: 500px;
    width: 100%;
}

.cv-top {
    position: fixed;
    top: 40px;
    left: 40px;
    z-index: 10;
}

.name {
    font-size: 20px;
    margin-bottom: 16px;
    line-height: 1.2;
}

.nav {
    margin-bottom: 16px;
}

.nav-link {
    margin-right: 12px;
}

.section {
    display: none;
    margin-top: 16px;
}

.section.active {
    display: block;
}

h2 {
    font-size: 14.3px;
    font-weight: normal;
    margin-top: 24px;
    margin-bottom: 8px;
    text-transform: lowercase;
}

p {
    margin-bottom: 4px;
}

a {
    color: #F5F5F5;
    text-decoration: underline;
}

a:visited {
    color: #F5F5F5;
}

.show-all {
    opacity: 0.6;
    font-size: 14.3px;
}

.contact {
    position: fixed;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    max-width: 500px;
    width: 100%;
    padding: 0 40px;
    text-align: center;
}

.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: #0A0A0A;
    z-index: 100;
    display: none;
    padding: 40px;
    overflow-y: auto;
    align-items: flex-start;
    justify-content: center;
}

.overlay.active {
    display: flex;
}

.overlay-content {
    max-width: 500px;
    width: 100%;
}

.overlay-header {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 16px;
    padding-bottom: 8px;
    border-bottom: 1px solid rgba(245, 245, 245, 0.2);
}

.overlay-header .label {
    font-size: 14.3px;
    text-transform: lowercase;
}

.close-overlay {
    font-size: 14.3px;
    opacity: 0.6;
}

.overlay-body p {
    margin-bottom: 4px;
}

.profile-pic {
    max-width: 200px;
    width: 100%;
    height: auto;
    margin-bottom: 16px;
    display: block;
}
