@font-face {
    font-family: SpecialElite;
    src: url("../fonts/SpecialElite-Regular.ttf");
}

audio {
    display: block;
    margin: 0 auto;
    padding: 3px;
}

audio:before {
    content: "BGM";
}

body {
    background: #FDFDEF;
}

h1 {
  margin-top: 0;
  text-align: center;
}

h2 {
    text-align: center;
}

li {
    margin: 10px auto;
}

.region {
    background: #00000011;
    border: 1px solid black;
    padding: 25px 50px;
    margin: 25px;
}

.redacted {
    background: black;
    text-color: black;
    display: inline;
    position: relative;
    top: -2px;
}

.characters-container {
    display: flex;
    margin: 0;
    padding: 0;
}

.character-sheet {
    border: 1px solid black;
    display: inline-block;
    padding: 5px;
    background: white;
    margin: 5px;
    flex-direction: vertical;
}

.intel-space {
    color: #00000055;
    background-color: #00000000;
    border: 1px dashed #00000055;
    padding: 10px;
    height: 500px;
    margin: 10px;

    display: flex;
    text-align: center;
    justify-content: center;
    align-items: center;
}

.conclusions-space {
    color: #FF000055;
    background-color: #00000000;
    border: 1px dashed #FF000055;
    padding: 10px;
    margin: 10px;
    height: 150px;

    display: flex;
    text-align: center;
    justify-content: center;
    align-items: center;
}

#conclusions-container {
    width: 90%;
    margin: 10px auto;
    height: 200px;
    display: flex;
    justify-content: space-evenly;
    align-items: center;
}


div#center {
    margin: 0 auto;
    align: center;
    max-width: 1000px;
}

.paper {
    border: 1px solid black;
    padding: 5px;
    margin: 5px;
    background: white;

    position: relative;

    user-select: none;

    font-family: SpecialElite,serif;
    letter-spacing: 1px;
    line-height: 105%;
}

.card {
    width: 250px;
    height: 150px;

    display: flex;
    text-align: center;
    justify-content: center;
    align-items: center;

    position: relative;

    user-select: none;

    z-index: 1;
}

.typed {
    font-family: SpecialElite,serif;
    letter-spacing: 1px;
    line-height: 105%;
}


.intel {
    background-image: url("../images/card-bg.png");
    background-size: cover;
}

.conclusion {
    background-image: url("../images/conclusion-bg.png");
    background-size: 100% 100%;
}

.conclusion-reverse {
    background-image: url("../images/conclusion-reverse.png");
    background-size: 100% 100%;
}

.hidden {
    width: 0;
    height: 0;
    display: none;
}

.flip-conclusion {
    position: absolute;
    right: 0;
    bottom: 0;
    margin: 4px;
    padding: 5px;

    border: 1px dotted black;
    background: #FFFFFF00;
}

.empty {
    border: 1px dotted black;
    width: 250px;
    height: 150px;
    padding: 5px;
    margin: 5px;
}

.deck {
    margin: 15px;
    user-select: none;
}

#intel-deck {
    cursor: pointer;
}

.drawn .card {
    animation: set .25s linear forwards;
}

.draggable {
    position: absolute;
    cursor: grab;
}

.ui-draggable-dragging {
    cursor: grabbing;
}

.ui-draggable-dragging .paper {
    animation: hover .3s ease forwards;
}

#drag-container {
    position: absolute;
    width: 0;
    height: 0;
}

@keyframes set {
    from {
        left: -20px;
        top: -20px;
        box-shadow: 20px 20px #000000AA;
    }
    to {
        left: 0;
        top: 0;
    }
}

@keyframes hover {
    from {
        left: 0;
        top: 0;
    }
    to {
        box-shadow: 5px 5px #000000AA;
        left: -5px;
        top: -5px;
    }
}

.draggable:not(.ui-draggable-dragging) .paper:hover {
    animation: hover .1s linear forwards;
}

.character {
    text-align: center;
    background-image: url(../images/paper-bg.png);
    width: 250px;
}

.character-description {
    padding: 10px;
}

.character-description ul {
    padding: 10px;
    text-align: left;
}

.character h2 {
    margin: 0;
}

.character img {
    height: 130px;
    padding: 10px;
    border: 1px dashed black;
}

.region img {
    width: 100%;
}
