body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    margin: 0;
    padding: 0;
    background-image: url("../media/hatter.png");
    background-size: cover;
    background-attachment: fixed;
    color: #333;
    text-align: left;
    font-size: 1em;
}

.container{
    max-width: 70%;
}

header {
    color: black;
    padding: 20px 0;
    text-align: left;
    background-color: white;
}

header h1 {
    font-size: 2em;
    background-color: black;
    margin: 0;
    text-align: center !important;
    color: white;
}

.navbar {
    background-color: black !important;
}

.navbar .nav-link {
    color: goldenrod;
    margin-right: 10px;
}

.navbar .nav-link:hover{
    color: wheat !important;
}

nav ul li a.active{
    color: aqua !important;
}

main {
    padding: 20px;
    margin: 0 auto;
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

main h2 {
    color: black;
    margin-bottom: 10px;
}

main p, main ul, main ol {
    margin-bottom: 20px;
}

table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 20px;
}

table th, table td {
    border: 1px solid #ddd;
    padding: 10px;
    text-align: left;
}

table th {
    background-color: #640202 !important;
    color: white !important;
}

form {
    margin-top: 20px;
}

fieldset {
    border: 1px solid #ccc;
    padding: 10px;
    margin-bottom: 20px;
}

legend {
    font-weight: bold;
    color: black;
}

input, textarea, select {
    width: 100%;
    padding: 10px;
    margin-bottom: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
}

input[type="submit"], input[type="reset"] {
    background-color: #8d0715;
    color: white;
    border: none;
    padding: 10px 20px;
    cursor: pointer;
}

input[type="submit"]{
    background-color: green;
}

input[type="radio"] {
    margin-right: 5px;
    vertical-align: middle;
}

:is(input[type="text"], input[type="url"], input[type="email"], textarea){
    max-width: 400px;
    width: 100%;
}

label {
    display: inline-block;
}

img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
}

video {
    max-width: 100%;
    display: block;
    margin: 20px 0;
}

footer {
    background-color: #333;
    color: white;
    text-align: center;
    padding: 10px 0;
    margin-top: 20px;
}

footer a {
    color: #ffcc00;
    text-decoration: none;
}

a {
    color: rgb(0, 64, 0);
}

a:hover {
    color: aqua;
}

a:active {
    color: magenta;
}

a:visited {
    color: rosybrown;
}

caption{
    color: black;
}

div{
    display: block;
}

.ratio {
    margin-bottom: 20px;
}

details {
    display: block;
    margin-top: 10px;
}

details summary {
    font-weight: bold;
    cursor: pointer;
}

details p {
    margin-top: 10px;
}