p {
    font-size: 1.2em;
}

header {
    border-bottom: 1px solid #46484d;
}

header .logo {
    border-bottom: 1px solid #dcd3bd;
}

header::after {
    position: absolute;
    left: 0;
    right: 0;
    bottom: -9px;
    display: block;
    height: 14px;
    content: ' ';
    z-index: 1;
    background: transparent url(/assets/divider.png) center center repeat-x;
    image-rendering: pixelated;
    background-size: 1600px;
}

main {
    box-shadow: black 0px 0px 12px 0px;
}

section#splash {
    height: 830px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

section#splash .frame {
    background: #1e1d23 url(/assets/frame.png) no-repeat;
    background-size: contain;
    padding: 6px 6px 6px;
    width: 100%;
    height: 100%;
    max-width: 1230px;
    max-height: 648px;
}

section#splash .frame iframe {
    width: 100%;
    height: 100%;
}

section#splash .join {
    margin-top: 10px;
    padding: 5px 10px;
    background: #242424;
    color: white;
    border: 1px solid #46484d;
    box-shadow: 1px 1px 5px 0px black;
    line-height: 30px;
    font-size: 20px;
}

section#splash .join span {
    vertical-align: middle;
}

section#splash .join a {
    display: inline-block;
}

section#splash .join a img {
    height: 40px;
    vertical-align: middle;
    opacity: 0.8;
    transition: opacity 200ms;
}

section#splash .join a:hover img {
    opacity: 1;
}

main section:first-of-type::before {
    position: absolute;
    left: 0;
    right: 0;
    top: -10px;
    display: block;
    height: 14px;
    content: ' ';
    z-index: 1;
    background: transparent url(/assets/divider.png) center center no-repeat / contain;
    image-rendering: pixelated;
}

main section::after {
    position: absolute;
    left: 0;
    right: 0;
    bottom: -6px;
    display: block;
    height: 14px;
    content: ' ';
    z-index: 1;
    background: transparent url(/assets/divider.png) center center no-repeat / contain;
    image-rendering: pixelated;
}
/* ascensionem */

section#about {
    padding-right: 60%;
    background: linear-gradient(90deg, rgba(0, 0, 0, 0.95) 0%, rgba(0, 0, 0, 0.90) 40%, rgba(0, 0, 0, 0.2) 60%, rgba(0, 0, 0, 0) 100%),
                transparent url(/assets/panel1.jpg) center center / cover;
}

section#skills {
    padding-left: 60%;
    background: linear-gradient(90deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.2) 40%, rgba(0, 0, 0, 0.90) 60%, rgba(0, 0, 0, 0.95) 100%),
                transparent url(/assets/panel2.jpg) center center / cover;
}

section#items {
    padding-right: 60%;
    background: linear-gradient(90deg, rgba(0, 0, 0, 0.95) 0%, rgba(0, 0, 0, 0.90) 40%, rgba(0, 0, 0, 0.2) 60%, rgba(0, 0, 0, 0) 100%),
                transparent url(/assets/panel3.jpg) center right / cover;
}

section#combat {
    padding-left: 60%;
    background: linear-gradient(90deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.2) 40%, rgba(0, 0, 0, 0.90) 60%, rgba(0, 0, 0, 0.95) 100%),
                transparent url(/assets/panel4.jpg) center center / cover;
}

section#updates {
    
    padding: 80px 60px;
    padding-right: 55%;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.95) 0%, rgba(0, 0, 0, 0.90) 20%, rgba(0, 0, 0, 0.6) 60%, rgba(0, 0, 0, 0) 100%),
                transparent url(/assets/panel5.jpg) top center / cover;
}

section#story {
    padding-right: 60%;
    background: linear-gradient(90deg, rgba(0, 0, 0, 0.95) 0%, rgba(0, 0, 0, 0.90) 40%, rgba(0, 0, 0, 0.2) 60%, rgba(0, 0, 0, 0) 100%),
                transparent url(/assets/panel6.jpg) center right / cover;
}

section#world {
    padding-left: 60%;
    background: linear-gradient(90deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.2) 40%, rgba(0, 0, 0, 0.90) 60%, rgba(0, 0, 0, 0.95) 100%),
                transparent url(/assets/panel7.jpg) center left / cover;
}

section#building {
    padding-right: 60%;
    background: linear-gradient(90deg, rgba(0, 0, 0, 0.95) 0%, rgba(0, 0, 0, 0.90) 40%, rgba(0, 0, 0, 0.2) 60%, rgba(0, 0, 0, 0) 100%),
                transparent url(/assets/panel8.jpg) center right / cover;
}

section#support {
    
    padding: 80px 60px;
    padding-left: 55%;
    background: linear-gradient(225deg, rgba(0, 0, 0, 0.95) 0%, rgba(0, 0, 0, 0.90) 20%, rgba(0, 0, 0, 0.6) 60%, rgba(0, 0, 0, 0) 100%),
                transparent url(/assets/panel9.jpg) top center / cover;
}

@media (max-width: 1000px) {
    section#about {
        padding-right: 60px;
        background: linear-gradient(0deg, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0.8) 100%),
                    transparent url(/assets/panel1.jpg) center center / cover;
    }

    section#skills {
        padding-left: 60px;
        background: linear-gradient(0deg, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0.8) 100%),
                    transparent url(/assets/panel2.jpg) center center / cover;
    }
    section#items {
        padding-right: 60px;
        background: linear-gradient(0deg, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0.8) 100%),
                    transparent url(/assets/panel3.jpg) center center / cover;
    }
    section#combat {
        padding-left: 60px;
        background: linear-gradient(0deg, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0.8) 100%),
                    transparent url(/assets/panel4.jpg) center center / cover;
    }
    section#updates {
        padding-right: 60px;
        background: linear-gradient(0deg, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0.8) 100%),
                    transparent url(/assets/panel5.jpg) center center / cover;
        height: auto;
    }
    section#story {
        padding-right: 60px;
        background: linear-gradient(0deg, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0.8) 100%),
                    transparent url(/assets/panel6.jpg) center center / cover;
    }
    section#world {
        padding-left: 60px;
        background: linear-gradient(0deg, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0.8) 100%),
                    transparent url(/assets/panel7.jpg) center center / cover;
    }
    section#building {
        padding-right: 60px;
        background: linear-gradient(0deg, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0.8) 100%),
                    transparent url(/assets/panel8.jpg) center center / cover;
    }
    section#support {
        padding-left: 60px;
        background: linear-gradient(0deg, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0.8) 100%),
                    transparent url(/assets/panel9.jpg) center center / cover;
        height: auto;
    }
}

section#support .button {
    margin: 0;
    flex: 1 1 0;
    color: #fff;
    text-align: center;
    transition: background 200ms;
    height: 62px;
    /*font-size: 1.7em;*/
    background: #242424;
    border: 1px solid #46484d;
}

section#support .button:hover {
    background: #1a1915;
}

section#support .button>a {
    display: block;
    padding: 16px;
    color: #fff;
    cursor: pointer;
    text-decoration: none;
}

section#support .button+.button {
    margin-left: 10px;
}

section .screenshots {
    display: flex;
    justify-content: space-between;
}

section .screenshots .thumb {
    width: 30%;
    border: 1px solid #22201f;
    cursor: pointer;
}

section .items {
    display: flex;
    justify-content: flex-start;
    flex-wrap: wrap;
}

section .items .break {
    flex-basis: 100%;
    height: 0;
}

section .items .item {
    margin: 5px;
    position: relative;
}

section .items .item .popup {
    display: none;
    position: absolute;
    bottom: 48px;
    min-width: 200px;
    padding: 5px;
    font-size: 1.2em;
    letter-spacing: 0.1em;
    background: #100110;
    color: #555555;
    border: 2px solid #240158;
    outline: 1px solid black;
    z-index: 2;
    white-space: nowrap;
}

section .items .item .popup .name {
    color: #ffaa00;
}

section .items .item .popup .desc {
    color: #aaa;
    white-space: initial;
}

section .items .item .popup .type {
    color: #aa00aa;
}

section .items .item .popup>div>span {
    color: #ffaa00;
}

section .items .item:hover .popup {
    display: block;
}

section .items .item img {
    width: 48px;
    height: 48px;
    image-rendering: pixelated;
}

#dragon1 {
    position: absolute;
    top: -64px;
    left: 0;
    display: block;
    width: 212px;
    height: 88px;
    z-index: 2;
    background: transparent url(/assets/dragon1.png) top left;
    image-rendering: pixelated;
}

#dragon2 {
    position: absolute;
    top: 2px;
    left: 10px;
    display: block;
    width: 96px;
    height: 424px;
    z-index: 2;
    background: transparent url(/assets/dragon2.png) top left;
    image-rendering: pixelated;
}

#dragon3 {
    position: absolute;
    bottom: 2px;
    right: 58px;
    display: block;
    width: 148px;
    height: 116px;
    z-index: 2;
    background: transparent url(/assets/dragon3.png) top left;
    image-rendering: pixelated;
}

#lightbox {
    display: none;
    align-items: center;
    justify-content: center;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 999;
    width: 100%;
    height: 100%;
    text-align: center;
    background: rgba(0, 0, 0, 0.8);
}

#lightbox.show {
    display: flex;
}

#lightbox img {
    max-width: 90vw;
    max-height: 90vh;
    box-shadow: 0px 0px 8px 2px black;
}