* {
    box-sizing: border-box;
}

a {
    color: rgb(37, 100, 5);
    text-decoration: none;
}

a:hover {
    color: orange;
}

.leftalign {
    text-align:justify;
}

h2 {
    color: rgb(1, 0, 41); 
    text-decoration: none;
    font-weight: lighter;
    letter-spacing: 2px;
    padding: 5px;
    margin: 5px;
}

p {
    line-height: 120%;
}

body {
    display: flex; 
    flex-direction: column;
    align-items: center;
    background-image: url('images/full.png');
    background-blend-mode:luminosity;
    background-color: rgb(101, 110, 91);
    background-attachment: fixed;
}

header {
    background-image: url('images/blade.png');
    background-color: rgba(173, 32, 1, 0.467);
    max-width: 200px;
    max-height: auto;
    text-align: center;
    padding: 0;
    margin: 0;
    flex: 1;
}

header h2 {
    color: rgb(255, 246, 220);
    text-decoration: none;
    letter-spacing: 5px;
    font-weight: lighter;
    padding: 0;
    margin: 10px;
}

nav {
    background-image: url('images/blade.png');
    background-color: rgb(236, 224, 164);
    background-blend-mode: screen;
    text-align: left;
    margin: 10px;
    padding: 0;
}

nav a {
    color: rgb(37, 100, 5);
}

nav ul {
    display: flex;
    flex-direction: column;
    list-style-type: none;
    padding: 10px;
    margin: 0;
}

#container {
    display: flex;
    justify-content: center;
    background-image: url('images/blade.png');
   /* min-height: 500px;*/
    max-width: 1300px;
    width: 100%;
    margin: 30px;
    margin-top: 0px;
    padding: 0;
    position: relative;
    border-radius: 2px;
}

#bodybox {
    text-align: center;
    background-color: rgb(213, 183, 155);
    background-image: url('images/blade.png');
    background-blend-mode: soft-light;
    margin: 30px;
    margin-top: 5px;
    padding: 10px;
    min-height: 500px; 
    width: 100%;
    border-radius: 2px;
}

#bodybox p {
    background-color: rgb(213, 183, 155);
    padding: 20px;
    padding-left: 50px;
    padding-right: 50px;
    padding-top: 20px;
    margin: 0 auto;
    margin-top: 10px;
    border-radius: 2px;
    max-width: 900px;
}

#bodybox img {
    max-width: 300px;
    background-color: rgb(247, 236, 184);
    padding: 3px;
}

aside + #bodybox {
    margin-left: 5px;
    margin-right: 85px;
}

aside {
    height: 100%;
    min-width: 60px;
    background-color: rgba(35, 56, 6, 0.903);
    background-image: url('images/blade.png');
    background-blend-mode: screen;
    margin: 5px;
    margin-top: 5px;
    margin-right: 0;
    padding: 10px;
    border-radius: 2px;
}

aside ul {
    display: flex;
    flex-direction: column;
    list-style-type: none;
    padding: 10px;
    margin: 0;
    color:rgb(255, 246, 220);
    background-color: rgba(46, 57, 33, 0.797);
    border-radius: 2px;
}

aside a {
    color: bisque;
}

.sideimg {
    display: flex;
    text-align: center;
    height: auto;
    margin: 10px;
    margin-top: 0px;
    border-radius: 2px;
    padding: 10px;
    padding-bottom: 100px;
    padding-top: 50px;
    background-color: rgba(46, 57, 33, 0.797);
    background-image: url('images/blade.png');
    background-blend-mode: screen;
}

.sideimg img {
    max-width: 100%;
    height: 100%;
    padding: 10px;
    margin: 10px;
    background-color: rgba(46, 57, 33, 0.797);
}

/*.sideimg + #bodybox {
    margin-left: 5px;
}*/

#gallery { 
    /*background-color: rgb(228, 208, 170);*/
    padding: 30px;
    columns: 2;
    margin-top: 20px;
    margin-bottom: 20px;
    border-radius: 2px;
}

#gallery img {
    box-sizing: border-box;
    margin: 10px auto;
    max-width: 100%;
    width: 100%;
    background-color: rgb(228, 208, 170);
}

.galleryitem {
    margin-bottom: 20px;
    display: inline-block;
}

.galleryitem p {
    padding: 0;
    margin: 0;
}

main {
    color: rgb(100% 96.471% 86.275%);
    text-align: center;
    flex: 3;
}

#imgstream {
    margin: 0 auto;
    padding: 20px;
    padding-top: 10px;
    border-radius: 2px;
    width: 100%;
}

#imgstream img {
    background-color: rgb(140, 92, 64);
    box-sizing: border-box;
    object-fit: scale-down;
    margin: 10px auto;
    width: 100%;
    max-width: 800px;
    max-height: 800px;
}

.item { 
    width: 100%;
    margin: auto;
    margin-bottom: 40px;
/*    background-color: rgb(213, 183, 155);*/
    border-radius: 2px;
}

.itemimg {
    text-align: center;
}

.textwrapper {
    color: rgb(100% 96.471% 86.275%);
    background-color:rgb(94, 33, 15);
    background-image: url('./images/blade.png');
    background-blend-mode: darken;
    padding: 20px;
    padding-top: 10px;
    margin-top: 10px;
    text-align: left;
}

/*.textwrapper p {
    color: rgb(100% 96.471% 86.275%);
}

.textwrapper h3 {
    color: rgb(100% 96.471% 86.275%);

}*/

.iframe-container {
    position: relative;
    overflow: hidden;
    width: 100%;
    margin: 0 auto;
    padding-bottom: 56.25%;

}

.responsive-iframe {
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    width: 100%;
    height: 100%;
}

footer {
    background-color: rgb(217, 209, 163);
    background-image: url('images/blade.png');
    background-blend-mode: screen;
    width: 100%;
    text-align: center;
    margin: 0;
    margin-top: 50px;
    padding: 0;
    font-size: smaller;
    letter-spacing: 2px;
}

footer p {
    margin: 0;
    padding: 10px;
}

/*responsiveness!*/

@media screen and (max-width: 800px) {

body {
    margin-left: 0px;
    margin-right: 0px;
}

nav {
    margin: 5px;
}

#container {
    margin: 0;
}    

#bodybox {
    margin: 10px;
    margin-top: 5px;
}

#bodybox p {
    padding-left: 10px;
    padding-right: 10px;
}

aside + #bodybox {
    margin: 10px;
    margin-top: 5px;
    margin-left: 5px;
} 

#gallery {
    columns: 1;
}

}

@media screen and (max-width: 500px) {

header {
    width: auto;
    flex: 1;
    max-width: 100%;
    max-height: 120px;
}

main {
    flex: 1;
}

nav ul {
    flex-direction: row;
    justify-content: space-evenly;
    padding: 0;
}

#container {
   flex-direction: column;
}

#bodybox {
    margin: 10px;
    margin-top: 5px;
    width: auto;
}

#imgstream {
    padding: 5px;
}

aside {
    width: auto;
    margin: 10px;
    margin-top: 5px;
    margin-bottom: 5px;
    padding: 10px;
}

aside ul {
    flex-direction: row;
    justify-content: space-evenly;
    padding: 0px;
    margin: 0px;
}

aside p {
    padding: 5px;
    margin: 0;
}

aside + #bodybox {
    margin: 10px;
    margin-top: 5px;
}    

.sideimg {
    width: auto;
    margin: 10px;
    margin-top: 5px;
    margin-bottom: 0px;
}

.sideimg img {
    display: block;
    margin: 0 auto;
}

.sideimg + #bodybox {
    margin: 10px;
    margin-top: 5px;
}

}