body {
    margin: 0;
    font-family: Arial, sans-serif;
    background: #0f0f0f;
    color: #e4e4e4;
}

/*шапка*/

header {
    position: relative;
    background: #111;
    padding: 100px 20px;
    text-align: center;
    border-bottom: 1px solid #222;
}

header h1,
header p,
nav {
    position: relative;
}

header h1 {
    margin: 0;
    font-size: 2.4rem;
}

header p {
    margin-top: 10px;
    color: #aaa;
}

nav {
    margin-top: 20px;
}

nav a {
    color: #bbb;
    margin: 0 15px;
    text-decoration: none;
    transition: 0.3s;
}

nav a:hover {
    color: #fff;
}

/*логотип*/

.hero-logo {
    position: relative;
    height: 300px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-bottom: 1px solid #222;
    background: #0f0f0f;
}

.logo-img {
    position: relative;
    z-index: 2;
    max-width: 90%;
    max-height: 90%;
    width: auto;
    height: auto;
    transition: 0.6s ease;
}

.logo-img:hover {
    transform: scale(1.05);
}

/*основная секция*/

section {
    padding: 80px 20px;
    max-width: 900px;
    margin: auto;
}

h2 {
    margin-bottom: 25px;
    border-bottom: 1px solid #222;
    padding-bottom: 10px;
}

/*навыки*/

.skills {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.skill-card {
    background: #1a1a1a;
    border: 1px solid #222;
    border-radius: 10px;
    padding: 20px;
    text-align: center;
    transition: 0.3s;
}

.skill-card:hover {
    transform: translateY(-6px);
    border-color: #444;
}

/*интересы*/

.interests {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.interest-card {
    background: #141414;
    border: 1px solid #222;
    border-radius: 10px;
    padding: 20px;
    transition: 0.3s;
}

.interest-card:hover {
    transform: translateY(-6px);
    border-color: #333;
}

/*подвал*/

footer {
    text-align: center;
    padding: 30px;
    background: #111;
    border-top: 1px solid #222;
    color: #777;
}