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

body {
    font-family: Arial, sans-serif;
    background: #f4f4f4;
    color: #222;
    line-height: 1.6;
    padding: 20px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

h1 {
    color: #2c3e50;
    margin-bottom: 15px;
}

h2 {
    color: #34495e;
    margin-top: 25px;
    margin-bottom: 10px;
}

p {
    margin-bottom: 12px;
    text-align: justify;
}

img {
    border-radius: 10px;
    margin: 10px 5px;
}

img:hover {
    transform: scale(1.05);
    transition: transform 0.3s;
}

table {
    border-collapse: collapse;
    margin: 15px 0;
    background: #fff;
}

th {
    background: #2c3e50;
    color: #fff;
    padding: 10px;
}

td {
    padding: 8px 12px;
}

ul, ol {
    margin-left: 25px;
    margin-bottom: 15px;
    padding-left: 30px;
}

a {
    color: #2980b9;
    text-decoration: none;
}

a:hover {
    background: #1abc9c;
    color: #fff;
}

a:active {
    background: #16a085;
}

a:visited {
    color: #8e44ad;
}

a[href="index.html"] {
    font-weight: bold;
}

.page-title {
    font-size: 32px;
    letter-spacing: 1px;
    border-bottom: 3px solid #3498db;
    padding-bottom: 8px;
}

.info-table {
    width: 100%;
    max-width: 600px;
}

.info-table tr:hover {
    background: #f0f0f0;
}

.nav-list {
    list-style: none;
    margin-left: 0;
    margin-top: 30px;
    padding: 0 0 30px 0;
}

.nav-list > li {
    display: inline-block;
    margin-right: 15px;
}

.nav-list a {
    display: inline-block;
    background: #3498db;
    color: #fff;
    padding: 10px 16px;
    border-radius: 6px;
    transition: background 0.3s;
}

#main-header {
    background: #ecf0f1;
    padding: 20px;
    border-radius: 12px;
    margin-bottom: 20px;
}

#main-header + p {
    font-size: 18px;
    color: #555;
}

p::first-letter {
    font-size: 22px;
    font-weight: bold;
    color: #e67e22;
}

p::first-line {
    font-variant: small-caps;
}

.page-home {
    background: #fdf6e3;
}

.page-interests {
    background: #eaf7ea;
}

.page-interests h1 {
    color: #27ae60;
}

.page-achievments {
    background: #eaf2f8;
}

.page-achievments h1 {
    color: #2980b9;
}

.hobby-list {
    list-style: square;
}

.priority-list {
    list-style: decimal;
}

.goal-list {
    list-style: circle;
}
