body {
    display: flex;
    flex-direction: column;
    min-height: 100svh;
    margin: 0;
    font-family: Arial, sans-serif;
    background: #222;
    color: #fff;
}

a {
    color: #09f;
}

header {
    background-color: rgba(0, 0, 0, 0);
    border-bottom: 1px solid #444;
    padding: 10px 0;
}

header .container {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px 20px;
}

header nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
}

header nav ul li {
    margin: 0 15px;
}

header nav ul li a {
    color: #fff;
    text-decoration: none;
    padding: 10px;
    transition: color 0.5s;
}

header nav ul li a:hover {
    color: #888;
}

main {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    max-width: 1000px;
    width: 100%;
    box-sizing: border-box;
    margin-left: auto;
    margin-right: auto;
    padding: 20px;
}

.hero h1 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 20px;
}

.cv {
    border: 1px solid #444;
    background: #333;
    width: 100%;
    margin: 20px 0;
    border-radius: 5px;
    padding: 15px;
    box-sizing: border-box;
}

.cv table {
    width: 100%;
    border-collapse: collapse;
}

.cv tr {
    border-bottom-width: 1px;
    border-bottom-style: solid;
    border-bottom-color: #444;
}

.cv tr:last-child {
    border-bottom-width: 0px;
    border-bottom-style: none;
}

.cv th, 
.cv td {
    padding: 10px;
    text-align: left;
}

.cv .title {
    font-weight: bold;
    color: #09f;
    width: 25%;
}

.tools-section {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.tools-category {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.tools-category h4.title {
    margin: 0;
    color: #09f;
    font-weight: bold;
}

.tools-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: space-between;
}

.tool {
    background: #444;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 0.9rem;
    flex-grow: 1;
    text-align: center;
    box-sizing: border-box;
}

.summary-cell {
    vertical-align: top;
    padding-right: 16px;
}

@media (max-width: 768px) {
    .summary-cell {
        display: none;
    }
}

.summary {
    position: sticky;
    top: 1rem;
}

.summary ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
}

.summary ul li {
    margin: 10px 0;
}

.summary a {
    color: #fff;
    text-decoration: none;
    padding: 0;
    transition: color 0.5s;
}

.summary a:hover {
    color: #888;
}

.contact-container {
    display: flex;
    justify-content: center;
    gap: 4rem;
    margin-top: 2rem;
}

.contact-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.contact-logo {
    display: flex;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    width: 8rem;
    height: 8rem;
    border-radius: 50%;
    background: #333;
    transition: background-color 0.3s;
}

.contact-logo:hover {
    background: #444;
}

.contact-logo i {
    font-size: 4rem;
    color: #fff;
}

.contact-text {
    font-size: 1.1rem;
}

@media (max-width: 768px) {
    .contact-container {
        flex-direction: column;
        gap: 2rem;
    }
}

footer {
    background-color: rgba(0, 0, 0, 0);
    border-top: 1px solid #444;
    padding: 10px 0;
    text-align: center;
}

#menu-toggle {
    display: none;
}
.hamburger-menu {
    display: none;
    position: relative;
    width: 30px;
    height: 24px;
    cursor: pointer;
    z-index: 100;
    margin-left: 15px;
}
.hamburger-menu div {
    background: #fff;
    position: absolute;
    height: 3px;
    width: 100%;
    border-radius: 2px;
    transition: all 0.15s 0.15s;
}
.hamburger-menu div:first-child {
    top: 0;
    transition: top 0.15s 0.15s, transform 0.15s;
}
.hamburger-menu div:nth-child(2) {
    top: 10px;
    transition: top 0.15s 0.15s, transform 0.15s;
}
.hamburger-menu div:nth-child(3) {
    top: 20px;
    transition: top 0.15s 0.15s, transform 0.15s;
}
#menu-toggle:checked + .hamburger-menu div:first-child {
    top: 10px;
    transform: rotate(45deg);
    transition: top 0.15s, transform 0.15s 0.15s;
}
#menu-toggle:checked + .hamburger-menu div:nth-child(2) {
    opacity: 0;
}
#menu-toggle:checked + .hamburger-menu div:nth-child(3) {
    top: 10px;
    transform: rotate(-45deg);
    transition: top 0.15s, transform 0.15s 0.15s;
}

.menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0);
    z-index: 80;
    visibility: hidden;
    transition: background-color 0.3s ease, visibility 0s 0.3s;
}

#menu-toggle:checked ~ .menu-overlay {
    background: rgba(0, 0, 0, 0.5);
    visibility: visible;
    transition: background-color 0.3s ease, visibility 0s;
}

@media (max-width: 768px) {
    header .container {
        justify-content: space-between;
        padding: 10px 15px;
    }
   
    .hamburger-menu {
        display: block;
    }
   
    header nav {
        position: fixed;
        top: 0;
        left: -100%;
        width: 70%;
        height: 100vh;
        background: #333;
        z-index: 90;
        transition: left 0.3s ease;
        padding-top: 60px;
    }
   
    header nav ul {
        flex-direction: column;
        align-items: stretch;
        width: 100%;
        padding: 0;
    }
   
    header nav ul li {
        margin: 0;
        width: 100%;
    }
    
    header nav ul li a {
        display: block;
        padding: 15px 20px;
        font-size: 18px;
        text-align: left;
        width: 100%;
        box-sizing: border-box;
    }
    
    header nav ul li a:active {
        background-color: rgba(255, 255, 255, 0.1);
    }
   
    #menu-toggle:checked ~ nav {
        left: 0;
    }
}