body {
    color: #fff;
    margin: 10px;
    display: flex;
    align-items: center;
    flex-direction: column;
    image-rendering: pixelated;
    background:url('/images/bg.gif');
}

* {
    font-size: 20px;
    line-height: 20px;
}

p {
    color: #fff;
    margin: 4px 0;
    margin-left: 2px;
}

a {
    color: #fff;
    text-decoration: none;
}

h1 {
    margin: 0;
}

@font-face {
    font-family: 'VHS'; 
    src: url(/fonts/VHS.ttf); 
}

@font-face {
    font-family: 'Pixsels'; 
    src: url(/fonts/Font.ttf); 
}

@font-face {
    font-family: 'Pixsels1'; 
    src: url(/fonts/Font1.ttf); 
}

@font-face {
    font-family: 'Pixsels2'; 
    src: url(/fonts/Font2.ttf); 
}

.up {
    margin: 20px;
    width: 930px;
}

.plate-head {
    top: 20px;
    display: block;
    flex-shrink: 0;
    position: absolute;
    text-align: center;
    background-color: #0a0c35;
    border: 2px solid #393c8d;
}

.plate-head a:hover {
    color: #075098;
}

.plate {
    float: right;
    display: flex;
    max-height: 200px;
    justify-content: right;
}

.post {
    display: block;
    text-align: left;
    align-items: center;
}

.post h1 {
    margin: 0;
    color: #fff;
    font-size: 15px;
}

.post img {
    width: auto;
    height: 100px;
}

.posts {
    width: 100%;
    color: #393c8d;
    border-top: 2px solid #393c8d;
}

.posts a {
    font-family: 'VHS';
    color: #aeb6ca;
}

.posters {
    padding: 0px;
    display: flex;
    flex-wrap: wrap;
    justify-content: left;
}

.posters img {
    height: 100%;
    margin: 2.5px;
    max-width: 150px;
    filter: grayscale(100%);
    border: 2px solid #393c8d;
    transition: filter 0.3s ease;
}

.posters img:hover {
    filter: grayscale(0%);
}

.button {
    color: #000;
    background-color: #ccc;
    padding: 0px 2px 0px 2px;
    border-top: 2px solid #fff;
    border-left: 2px solid #fff;
    border-right: 2px solid #000;
    border-bottom: 2px solid #000;
}

.name {
    color: #fff;
    text-align: left;
    font-family: serif;
    background-color: #393c8d;
    border-bottom: 2px solid #393c8d;
}

.close {
    float: right;
    display: flex;
    margin-left: auto;
    align-items: center;
    margin: 2px 2px 0px 0px;
}

.link {
    padding: 0;
    width: 88px;
    margin: 0px 2px 0px 0px;
}

.links {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    border-top: 2px solid #393c8d;
}

.links a:hover {
    color: #cecfe3;
}

.line {
    width: 100%;
    display: flex;
    text-align: left;
    align-items: center;
    border-bottom: 2px solid #393c8d;
}

.line marquee {
    width: 250px;    
    display: block;
    margin-top: 4px;
    margin-left: auto;
    margin-right: 10px;
    margin-left: auto;
}

.info {
    display: flex;
    flex-wrap: wrap;
}

.info img {
    width: auto;
    height: 100px;
    margin: 2.5px;
    max-width: 150px;
    border: 2px solid #393c8d;
    image-rendering: crisp-edges;
}

.info p {
    width: 100%;
    margin-left: 3px;
    text-align: left;
}

.info h1 {
    width: 100%;
    margin-left: 3px;
    text-align: left;
}

.randomimg {
    width: 200px;
    height: 40px;
    margin-bottom: 0;
    background-color: #05061B;
    border-top: 2px solid #393c8d;
    border-bottom: 2px solid #393c8d;
    filter: url(#monochrome-palette);
}

#img-element {
    opacity: 0;
    transition: opacity 0.4s ease-in-out;
}

#img-element.visible {
    opacity: 1;
}

.gallery img {
    width: 500px;
    height: auto;
}

.guestbook {
    float: left;
    display: flex;
    max-height: 200px;
    top: 40px;
    display: block;
    position: absolute;
}

.guestbook a {
    color: #fff;
}

.guestbook a:hover {
    color: #075098;
}

.review {
    text-align: left;
    padding-left: 5px;
    padding-top: 0;
    background-color: #222461;
    border-top: 2px solid #393c8d;
    border-left: 2px solid #393c8d;
    border-right: 2px solid #131661;
    border-bottom: 2px solid #131661;
}

.review h1 {
    color: #fff;
}

.guest [type="radio"] {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.guest label {
    float: right;
}

.guest input[type="radio"]:checked ~ label {
    color: #393c8d;
}

.guest label:hover,
.guest label:hover ~ label {
    color: #393c8d;
}
.guests {
    justify-content: center;
}

@media (max-width: 800px) {
    .guestbook {
        top: 40px;
    }

}

.visits {
    background: #000;
    color: #fff;
    padding: 2px;
    background-color: #222461;
    border-top: 2px solid #393c8d;
    border-left: 2px solid #393c8d;
    border-right: 2px solid #131661;
    border-bottom: 2px solid #131661;
}