body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    margin: 0;
    padding: 0;
    background-color: #f4f4f4;
}

header {
    background: #007BFF;
    color: white;
    padding: 20px 10px;
    text-align: center;
}

header h1 {
    margin: 0;
    font-size: 2.5em;
}

header h2 {
    font-size: 1.5em;
    margin: 0;
}

nav {
    background: #333;
    color: white;
    padding: 10px;
    text-align: center;
}

nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

nav li {
    display: inline;
    margin: 0 15px;
}

nav a {
    color: white;
    text-decoration: none;
    font-weight: bold;
}

nav a:hover {
    color: #007BFF;
    text-decoration: underline;
}

main {
    display: flex; /* Flexbox layout enabled */
    max-width: 80%;
    margin: 20px auto;
    gap: 20px; /* Space between flex items */
}

.main-content {
    flex: 2; /* Takes twice as much space as the sidebar */
    padding: 20px;
    background: white;
    border-radius: 5px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.sidebar {
    flex: 1; /* Takes less space than the main content */
    padding: 20px;
    background: white;
    border-radius: 5px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

h3 {
    color: #007BFF;
    margin-top: 0;
}

ul {
    list-style: none;
    padding: 0;
}

ul li {
    margin-bottom: 10px;
}

.photo {
    max-width: 100%;
    border-radius: 50%;
    margin-bottom: 20px;
}

footer {
    background: #007BFF;
    color: white;
    text-align: center;
    padding: 10px;
    margin-top: 20px;
}

footer p {
    margin: 5px 0;
}

footer a {
    color: white;
    text-decoration: none;
}

footer .social-icons {
    margin-top: 10px;
}

footer .social-icons a {
    margin: 0 10px;
    text-decoration: none;
    color: white;
    font-size: 1.5em;
}

@media (max-width: 768px) {
    main {
        flex-direction: column; /* Stack items vertically on smaller screens */
        gap: 10px;
    }
}