* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    background-color: #f9f9f9;
    color: #333;
    margin: 0;
    padding: 0;
}

.header {
    text-align: center;
    padding: 20px;
    background-color: #2c3e50;
    color: white;
}

.header-name p {
    font-size: 2.5rem;
    font-weight: bold;
}

.header-links a {
    color: #f39c12;
    font-size: 1.5rem;
    margin: 0 10px;
    text-decoration: none;
}

.header-links a:hover {
    color: #d35400;
}

.header-links {
    margin-top: 10px;
    text-align: center;
}

.about-me-images {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin: 20px 0;
}

.about-me-images img {
    width: 150px;
    height: auto;
    border-radius: 10%;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.about-me p {
    text-align: justify;
    line-height: 1.8;
    margin-top: 20px;
    font-size: 1rem;
}

.section {
    margin: 20px auto;
    padding: 20px;
    max-width: 800px;
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    overflow-x: auto;
    justify-content: center;
    margin-bottom: 20px;
}

.tab-button {
    background-color: #2c3e50;
    color: white;
    border: none;
    padding: 10px 20px;
    margin: 0 5px;
    cursor: pointer;
    font-size: 1rem;
    transition: background-color 0.3s;
    white-space: nowrap;
}

.tab-button.active {
    background-color: #f39c12;
}

.tab-button:hover {
    background-color: #d35400;
}

.tab-content {
    display: none;
    max-width: 800px;
    margin: 0 auto;
}

.tab-content.active {
    display: block;
}

.section {
    margin: 30px auto;
    padding: 25px;
}

.section-title h2 {
    font-size: 2rem;
    color: #2c3e50;
    border-bottom: 2px solid #f39c12;
    padding-bottom: 5px;
}

.section-title h2 i {
    margin-right: 10px;
    color: #f39c12;
}

.subsection-title p {
    font-size: 1.2rem;
    font-weight: bold;
}

.subsection-title-row {
    display: flex;
    justify-content: space-between;
    align-items: center; /* Ensures both items are vertically aligned */
}

.subsection-title-row .date {
    text-align: right;
    margin-left: auto;
    color: #555;
    font-weight: lighter;
}

ul {
    list-style-type: circle;
    margin-left: 20px;
}

footer {
    text-align: center;
    padding: 10px 0;
    background-color: #2c3e50;
    color: white;
    margin-top: 20px;
}

footer a {
    color: #f39c12;
    text-decoration: none;
}

footer a:hover {
    text-decoration: underline;
}