* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', sans-serif;
    background-color: #f5f7fa;
    color: #333;
    line-height: 1.6;
}

header {
    text-align: center;
    padding: 60px 20px;
    background: linear-gradient(135deg, #0078ff, #00c6ff);
    color: white;
    border-radius: 0 0 30px 30px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

header img {
    width: 160px;
    height: 160px;
    object-fit: cover;
    border-radius: 50%;
    border: 4px solid white;
    margin-bottom: 20px;
    box-shadow: 0 4px 10px rgba(255,255,255,0.3);
}

header h1 {
    font-size: 2.4em;
    margin: 10px 0;
    letter-spacing: 1px;
}

header h3 {
    font-weight: 500;
    font-size: 1.2em;
    margin-bottom: 20px;
    color: #f0f0f0;
}

header p {
    max-width: 750px;
    margin: 10px auto;
    line-height: 1.6;
    font-size: 1.05em;
    color: #f8f8f8;
}


main {
    display: flex;
    gap: 40px;
    align-items: flex-start;
    justify-content: center;
    padding: 60px 40px;
}


aside {
    flex: 1;
    max-width: 250px;
    background-color: #fff;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

aside h2 {
    text-align: center;
    color: #222;
    border-bottom: 2px solid #0078ff;
    padding-bottom: 10px;
}

aside nav {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 20px;
}

aside nav a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    background: #f0f0f0;
    padding: 10px 14px;
    border-radius: 8px;
    transition: all 0.3s ease;
}

aside nav a:hover {
    background-color: #0078ff;
    color: #fff;
    transform: translateX(5px);
}


section {
    flex: 3;
    background-color: #fff;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

section h2 {
    color: #222;
    border-bottom: 2px solid #0078ff;
    padding-bottom: 10px;
    margin-bottom: 20px;
}

article {
    display: flex;
    gap: 20px;
    align-items: flex-start;
    flex-wrap: wrap;
}

article img {
    width: 180px;
    height: 180px;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.article-content {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.article-content code {
    font-size: 0.9em;
    background: #eef4ff;
    padding: 5px 10px;
    border-radius: 6px;
    color: #0078ff;
}

.article-content a {
    align-self: flex-start;
    text-decoration: none;
    background-color: #0078ff;
    color: white;
    padding: 8px 14px;
    border-radius: 6px;
    transition: background 0.3s;
}

.article-content a:hover {
    background-color: #005fcc;
}


.footer {
    background: #1b1b1b;
    color: #eee;
    padding: 40px 20px;
    border-top: 4px solid #0078ff;
    margin-top: 60px;
}

.footer-container {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.footer-container h3 {
    margin-bottom: 20px;
    color: #00c6ff;
    font-size: 1.4em;
}

.contact-list {
    list-style: none;
    text-align: left;
    display: inline-block;
}

.contact-list li {
    margin: 10px 0;
}

.contact-list a {
    color: #00c6ff;
    text-decoration: none;
}

.contact-list a:hover {
    text-decoration: underline;
}

.footer-bottom {
    text-align: center;
    margin-top: 30px;
    font-size: 0.9em;
    color: #aaa;
}