html, body { padding: 0; margin: 0; }
html { 
    background-color: #fff;
    background-image: url(./img/layout/back.png);
    font-family: Georgia, 'Times New Roman', Times, serif;
    font-size: 12pt;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}
body {
    width: 1000px;
    margin: auto;
    background-color: #fff;
    color: #333;
    border: 2px solid #000;
    border-bottom: 0;
    padding: 5px;
    margin-top: 20px;
    border-radius: 30px 30px 0 0;
    background-image: url(./img/layout/crown.jpg);
    background-repeat: no-repeat;
    background-position: bottom right;
    flex-grow: 1;
}
header {
    background-color: #000;
    background-image: url(./img/layout/banner.jpg);
    background-size: cover;
    background-position: center;
    border: 2px solid #000;
    padding: 10px;
    border-radius: 25px 25px 0 0;
}
.mainalign {
    display: flex;
    flex-direction: column-reverse;
}
nav ul {
    display: flex;
    margin: 0; padding: 0;
    justify-content: space-around;
    list-style: none;
}
nav ul li {
    margin: 0; padding: 0; flex-grow: 1;
}
nav ul li a {
    display: block; padding: 10px;
}
footer p {
    text-align: center;
}

h1 {
    margin: 0;
    margin-top: 250px;
    color: #fff;
    background-color: #000;
    mix-blend-mode: difference;
    font-size: 35pt;
    text-align: right;
    vertical-align: bottom;
}
h2 {
    font-size: 25pt;
    color: #000;
    border-bottom: 1px solid;
    margin: 1em 1em;
}
h3 {
    border: 1px solid #000;
    background-color: #fff;
    color: #000;
    background-image: url(./img/layout/ripped.jpg);
    background-position: center right;
    background-repeat: no-repeat;
    margin: 15px;
    padding: 5px;
    font-size: 15pt;
    font-family: 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
}
h4 {
    font-size: 12pt;
    border-bottom: 1px dashed;
    margin-left: 2em;
}
p {
    margin: 1em 3em;
    text-align: justify;
}
blockquote {
    margin: 1em 4em;
    text-align: justify;
    border-left: 3px solid #999;
    padding: 10px;
}
ul {
    list-style-type: circle;
}
ol {
    list-style-type: lower-roman;
}
ul, ol {
    margin: 1em 6em;
}
table {
    border-collapse: collapse;
    margin: auto;
    width: 700px;
}
td, th {
    border: 1px solid #333;
    padding: 5px;
}
th {
    background-color: #ccc;
}
td {
    background-color: #fff;
}

strong, b, em, i, u { color: #000; }
a {
    color: #999;
    font-weight: bold;
}
a:hover {
    color: #000; background-color: #ccc;
}

.box {
    background-color: #f0f0f0cc;
    border: 1px solid #000;
    padding: 5px;
    margin: 10px;
}
.deco {
    background-color: #ddd;
    color: #000;
    border: 1px solid;
    padding: 3px;
}
.center {
    display: block;
    text-align: center;
    margin: auto;
}
.icon {
    float: left;
    margin: 5px;
    margin-left: 3em;
    display: block;
}
.icon2 {
    float: right;
    margin: 5px;
    margin-right: 3em;
    display: block;
}

.gallery {
    display: flex;
    width: fit-content;
    margin: auto;
    max-width: 750px;
    gap: 10px;
}