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

body {
    font-family: Arial, sans-serif;
    background: #f4e7d1;
    background-image: url(../images/background.png);
    background-attachment: fixed;
}

#wrapper {
    width: 940px;
    margin: 20px auto;
    background: rgba(255, 255, 255, 0.96);
}

header {
    background: #8b0000;
    color: #fff;
    text-align: center;
    padding: 15px 0;
}

header img {
    max-width: 170px;
}

main {
    width: 580px;
    padding: 20px;
    float: left;
}

aside {
    width: 340px;
    border-radius: 5px;
    padding: 20px;
    float: right;
    margin: 30px 20px 20px 0;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    background: #fff0f0; 
}

aside p {
    font-size: 1em;
    line-height: 1.4;
    color: #333;
}

aside img {
    margin: 20px auto;
    max-width: 300px;
}

footer {
    clear: both;
    height: 45px;
    line-height: 45px;
    display: flex;
    justify-content: center;
    margin-top: 20px;
	 background: #8b0000;
    color: #fff;
}

footer ul {
    display: flex;
}

footer li {
    margin: 0 10px;
    list-style-type: none;
    color: #fff; 
}

footer a {
    color: #ffcc00;
    text-decoration: none;
}

footer a:hover {
    text-decoration: underline;
}

form {
    max-width: 580px;
    margin-bottom: 20px;
}

fieldset {
    padding: 20px;
    border-radius: 5px;
    border: 1px solid #ccc;
    margin-bottom: 20px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

legend {
    font-size: 1.4em;
    font-style: italic;
    padding: 0 5px;
    color: #8b0000;
}

label {
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
    color: #8b0000;
    font-size: 1em;
}

input, select, textarea {
    margin-bottom: 15px;
    padding: 10px;
    width: 100%;
    border: 1px solid #ccc;
    border-radius: 5px;
    box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.1);
    font-size: 1em;
}

input[type=radio], input[type=checkbox] {
    height: auto;
    width: auto;
    margin-right: 3px;
    margin-bottom: 5px;
}

input[type=submit] {
    width: auto;
    background: #8b0000;
    color: #fff;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background 0.3s;
}

input[type=submit]:hover, input[type=reset]:hover {
    background: #700000;
    color: #fff;
}

form ul {
    margin-left: 15px;
    margin-bottom: 10px;
}

form li {
    list-style-type: none;
}

h1 {
    color: #8b0000;
    font-size: 2.5em;
    margin-bottom: 20px;
}

h3 {
    color: #8b0000;
    margin-bottom: 20px;
}
