main {
    max-width: 800px;
    margin: auto;
    padding: 0 1rem;
}

.content {
    max-width: 800px;
    line-height: 1.6;
    margin: auto;
}

body {
    font-family: Arial;
    line-height: 1.6;
    margin: 40px;
}

p {
    text-align: justify;
    line-height: 1.6;
}

header{
    text-align: center;
    width: 100%;
}

footer {
    
    max-width: 800px;
    margin: auto;
    text-align: center;
    border-top: 1px solid #eee;
}

a {
    text-decoration: none;
    color: blue;
}

nav {
    max-width: 800px;
    margin: 20px auto;
    border-bottom: 1px solid #eee;
}

nav ul {
    list-style: none;
    padding: 0;
    display:flex;
    gap: 20px;
    justify-content: center;
}

nav a {
    text-decoration: none;
    font-weight: bold;
    color: black;
    padding: 6px 12px;          /* creates space inside box */
    border: 2px solid transparent;  /* prevents layout shift */
    border-radius: 6px;         /* optional: rounded corners */
    transition: all 0.2s ease;
}

nav a:hover {
    border: 2px solid blue;
    color: red;
}

.active {
    border: 2px solid blue;
    color: blue;
}

table {
    width: 100%;
    border-collapse: collapse;
    margin: 1rem 0;
}

th, td {
    border: 1px solid #ccc;
    padding: 0.5rem;
    text-align: left;
    max-width: 10px;
    
}

th {
    background-color: #f5f5f5;
}

.profile-pic {
    width: 180px;
    display: block;
    margin: 1rem auto;
}

.mainpage-pic {
    width: 700px;
    display: block;
    margin: 1rem auto;
}

li {
    text-align: justify;
}