@font-face {
    font-family: ConnectionIii;
    src: url("/resources/fonts/ConnectionIii.otf")
}

@font-face {
    font-family: ArialNarrow;
    src: url("/resources/fonts/ArialNarrow.ttf")
}

@font-face {
    font-family: sffedora;
    src: url("/resources/fonts/SF-Fedora.ttf")
}

body {
    image-rendering: pixelated;
    background-image: url("/pages/jojo/background.gif");
    background-color:rgb(165, 165, 165);
    background-attachment: fixed, scroll;
    width: 100vw;
    margin: auto;
    color: white;
    font-size: 24px;
    animation-name: backgroundimage;
    animation-duration: 1s;
}

.box {
    font-family: ArialNarrow;
    background-color: rgb(194, 194, 194);
    color: black;
    margin: 24px;
    width: 80vw;
    padding: 12px;
    border: 32px solid transparent;
    border-radius: 16px;
    border-image: url("/pages/jojo/jojoborder.png") 18 round;
}

.jojotitle {
    font-family: sffedora;
    font-size: 2.5em;
    color: #f15ec3;
    text-shadow: black 6px 6px, black -1px -1px, black -1px 1px, black 1px -1px;
}

.jojosubtitle {
    font-family: sffedora;
    font-size: 1.5em;
    color: #f15ec3;
    text-shadow: black 2px 2px, black -1px -1px, black -1px 1px, black 1px -1px;
}

.stand-cardcontainer {
    display: flex;
    flex-direction: column;
}

.stand-cardrow {
    display: flex;
    flex-direction: row;
    justify-content: center;
}

.stand-card-container {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.stand-card {
    border: 32px solid transparent;
    border-image: url("/pages/jojo/tarotborder.png") 12 round;
    box-shadow: 4px 4px 16px black;
    margin-left: 24px;
    margin-right: 24px;
    margin-top: 12px;
    margin-bottom: 12px;
    padding: 0px;
    width: 300px;
    height: 400px;
    animation: jojocardhover 5s ease-in-out infinite; 
    transition: 0.1s;
}

@keyframes jojocardhover {
    0%, 100% {transform: rotateX(5deg) rotateY(20deg) rotateZ(5deg);}
    50% {transform: rotateX(5deg) rotateY(-20deg) rotateZ(-5deg);}
}

.stand-card-static {
    border: 32px solid transparent;
    border-image: url("/pages/jojo/tarotborder.png") 12 round;
    box-shadow: 4px 4px 16px black;
    margin-left: 24px;
    margin-right: 24px;
    margin-top: 12px;
    margin-bottom: 12px;
    padding: 0px;
    width: 300px;
    min-width: 300px;
    height: 400px;
    min-height: 400px;
}

.stand-card:hover {
    box-shadow: 0px 0px 8px hotpink;
}

.stand-name {
    font-family: sffedora;
}

.comingsoon {
    background-image: url(/pages/jojo/comingsoon.png);
}

.jerusalem {
    background-image: url(/pages/jojo/stands/jerusalem.gif);
    background-size: 364px 464px;
    background-position: center;
}

.standbox {
    display: flex;
    flex-direction: row;
}

.standbox-column {
    display: flex;
    flex-direction: column;
}

.descbox-1 {
    text-align: justify;
    text-justify: inter-word;
    max-width: 30vw;
    margin: 12px;
    padding: 12px;
    border: 32px solid transparent;
    border-radius: 16px;
    border-image: url("/pages/jojo/jojoborder.png") 18 round;
    box-shadow: 1px 4px 8px black;
}

.descbox-2 {
    width: auto;
    margin: 12px;
    padding: 12px;
    border: 32px solid transparent;
    border-radius: 16px;
    border-image: url("/pages/jojo/jojoborder.png") 18 round;
    box-shadow: 1px 4px 8px black;
}

.namesake {
    text-decoration: underline;
}

.descitem {
    text-indent: 2em;
    padding-left: 8px;
    padding-right: 8px;
    border-left: 4px solid hotpink;
    border-right: 4px solid red;
    margin-bottom: 12px;
}

.ability {
    border-left: 2px solid hotpink;
    border-bottom: 2px solid hotpink;
    padding: 4px;
}

.ability-desc {
    padding-bottom: 24px;
}

.ability-container {
    max-height: 300px;
    overflow-y: scroll;
    border-bottom: 2px solid hotpink;
    border-top: 2px solid red;
}