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

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

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

header .author-img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    margin-bottom: 10px;
}

header h1 {
    font-size: 2rem;
}

nav {
    background-color: #222;
    padding: 10px;
}

nav ul {
    justify-content: center;
    list-style: none;
    display: flex;
    flex-wrap:wrap;
/*    grid-template-column: repeat(auto-fill, minmax(10rem, 1fr));*/
}

nav ul li {
    margin: 0 15px;
}

nav ul li a {
    color: white;
    text-decoration: none;
    font-size: 1.1rem;
}

nav ul li a:hover {
    text-decoration: underline;
}

main {
    padding: 20px;
    background-color: white;
    margin-top: 20px;
    margin-bottom: 20px;
    border-radius: 8px;
    width: 80%;
    margin-left: auto;
    margin-right: auto;
}

main h2 {
    color: #333;
}

form {
	display: table;
}

p {
	display: table-row;
}

label {
	display: table-cell;
	text-align: right;
}

form input {
    display: table-cell;
    padding: 10px;
    margin: 5px 0;
    width: 100%;
    border: 1px solid #ccc;
    border-radius: 5px;
}

form button {
    padding: 10px 20px;
    background-color: #333;
    color: white;
    border: none;
    border-radius: 5px;
}

form button:hover {
    background-color: #444;
}

ul {
    list-style: none;
    padding-left: 20px;
}

ul li {
    margin-bottom: 10px;
}

form textarea {
    display: inline-block;
    margin: 0;
    padding: .2em;
    min-width: 100%;
    /* The max-width "100%" value fixes a weird issue where width is too wide by default and extends beyond 100% of the parent in some agents. */
    /* Height "auto" will allow the text area to expand vertically in size with a horizontal scrollbar if pre-existing content is added to the box before rendering. Remove this if you want a pre-set height. Use "em" to match the font size set in the website. */
    height: auto;
    /* Use "em" to define the height based on the text size set in your website and the text rows in the box, not a static pixel value. */
    min-height: 10em;
    /* Do not use "border" in textareas unless you want to remove the 3D box most browsers assign and flatten the box design. */
    /*border: 1px solid black;*/
    cursor: text;
}
