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

body {
    font-family: 'Roboto', Arial, sans-serif;
    line-height: 1.6;
    background-color: #1c1c1c;
    color: #ffffff;
}

header {
    background-color: #1c1c1c;
    color: #ffffff;
    padding: 1rem;
}

.logo-title {
    display: flex;
    align-items: center;
}

.logo {
    height: 100px; 
    margin-right: 10px;
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between; /* Distribute space between logo-title and nav */
}

header h1 {
    display: inline-block;
    margin-bottom: 0; /* Remove the bottom margin */
    font-size: 100px;
}

nav {
    float: right;
    align-items: center;
    border-bottom: 2px solid #ffffff;
}

nav a {
    color: #ffffff;
    text-decoration: none;
    padding: 0 3rem;
    font-size: 30px;
}

nav a.active {
    color: #1c1c1c;            /* text color */
    background-color: #ffffff;  /* highlight background */
    border-radius: 5px;
    padding: 0 3rem;            /* keeps spacing consistent */
}

nav a:hover {
    color: purple;
}

#main {
    display: block;       /* not flex, so things stack vertically */
    max-width: 800px;     /* optional, keeps content narrow */
    margin: 0 auto;       /* centers horizontally */
    padding: 2rem;
    /* display: flex; */
    /* justify-content: space-between; */
}

#main .content {
    flex: 3;
    margin-right: 2rem;
}

#main .sidebar {
    flex: 1;
}

article {
    margin-bottom: 2rem;
}

article h1 {
    font-size: 1.5rem;
}

@media screen and (max-width: 768px) {
    /* Adjust the font size for the entire body */
    body {
        font-size: 18px; /* Adjust this value to make the text smaller or larger */
    }

    /* Adjust the font size for the header title */
    header h1 {
        font-size: 40px; /* Adjust this value to make the header title smaller or larger */
    }

    /* Adjust the font size for the navigation links */
    nav a {
        font-size: 18px; /* Adjust this value to make the navigation links smaller or larger */
        padding: 0 1rem;
    }

    .logo {
        height: 40px; 
        margin-right: 5px;
    }
}

.avatar {
  display: block;
  margin: 0 auto;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  object-fit: cover;
}
