lab/css/lab15/submission/Work-based student/layout4/style-layout4.css
body {
    margin: 0;
    padding: 0;
    font-family: Haettenschweiler;
    background-color: #15116d;
}

header {
    display: flex;
    justify-content: center;
    align-items: center;
    padding-left: 20px;
    padding-top: 20px;
    background-color: #15116d;
    height: 100px;
}

a {
    text-decoration: none;
}

header h1 {
    color: rgb(238, 222, 127);
}

header img {
    height: 100px;
}

nav {
    font-size: large;
    display: flex;
    background-color: rgb(238, 222, 127);
}

nav a {
    margin-left: 20px;
    margin-right: 20px;
    color: #15116d;
    font-weight: bold;
}

nav a:hover {
    background-color: white;
}

.article {
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.article img {
    width: 500px
}

.article p {
    margin-left: 100px;
    margin-right: 100px;
    text-align: justify;
}

article {
    margin: 10px;
    border: 5px rgb(238, 222, 127) solid;
    background-color: rgb(238, 222, 127);
}

article img {
    width: 400px;
}

article h2 {
    padding-left: 10px;
}

article p {
    padding-left: 10px;
}

.button {
    float: left;
    margin-left: 10px;
    background-color: #D4AF37;
    color: #fff;
    border: none;
    padding: 7px 15px;
    font-size: 16px;
    font-weight: bold;
    border-radius: 4px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.4);
}

.button:hover {
    background-color: #B8860B;
    cursor: pointer;
}

section h2 {
    padding-left: 10px;
    color: white;
}

section h3 {
    padding-left: 10px;
    color: white;
}

.comment {
    border: 5px solid rgb(147, 144, 144);
    padding: 10px;
    display: flex;
    align-items: center;
    background-color: white;
}

.profile-picture {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    margin-right: 10px;
}

.username {
    font-weight: bold;
    margin-bottom: 5px;
}

.datetime {
    font-size: 0.8rem;
    color: #888;
    margin-bottom: 5px;
}

.text {
    line-height: 1.5;
}

form {
    padding-left: 10px;
    color: white;
}

footer {
    text-align: center;
    padding-top: 5px;
    background-color: black;
    color: white;
    height: 25px;
}
