html, body {
    padding: 0;
    margin: 0;
    font-family: "Open Sans", sans-serif;
}

*, *::before, *::after {
    box-sizing: border-box;
}

.hidden {
    display: none;
}

.content {
    display: flex;
    flex-direction: column;
    align-content: stretch;
    width: 100%;
    height: 100vh;
    background-color: #eee;
}

.header {
    display: flex;
    width: 100%;
    height: 3rem;
}

.header .full-bar {
    flex: 1 0 0;
}

#roster {
    display: flex;
    align-content: center;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    width: 100%;
    height: 65vh;
    background-color: #f7f7f7;
    background-clip: content-box;
    padding: 1rem 6rem;
}

.fighter {
    position: relative;
    background-image: linear-gradient(180deg, #cef, #9cf);
    box-shadow: 0 0 5px inset rgba(0, 0, 0, 0.5);
    border: 1px solid #ccc;
}

.fighter > .image {
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center 60%;
}

.fighter > .label {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 0.25rem;
    background-color: rgba(0, 0, 0, 0.75);
    color: #fff;
    font-family: "Montserrat", sans-serif;
    font-size: 0.5rem;
    text-align: center;
}

#stagelist {
    display: flex;
    align-content: start;
    justify-content: left;
    flex-wrap: wrap;
    width: 100%;
    flex: 1 0 0;
    background-color: #f7f7f7;
    background-clip: content-box;
    padding: 1rem 6rem;
}

.stage {
    position: relative;
    box-shadow: 0 0 5px inset rgba(0, 0, 0, 0.5);
    border: 1px solid #ccc;
}

.stage > .image {
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center 60%;
}

.stage > .label {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 0.25rem;
    background-color: rgba(0, 0, 0, 0.75);
    color: #fff;
    font-family: "Montserrat", sans-serif;
    font-size: 0.5rem;
    text-align: center;
}

.overlay {
    position: absolute;
}

.hide-overlay .overlay {
    display: none;
}

.properties {
    left: 0.25em;
    top: 0.25em;
    right: 0.25em;
    color: #fff;
    text-shadow: 2px 2px 6px #000,
        2px 2px 6px #000,
        2px 2px 6px #000,
        2px 2px 6px #000,
        2px 2px 6px #000,
        2px 2px 6px #000,
        2px 2px 6px #000,
        2px 2px 6px #000;
    font-family: "Montserrat", sans-serif;
}

.properties > .prop {
    display: inline-block;
    width: 2em;
    height: 2em;
    line-height: 2em;
    vertical-align: middle;
    text-align: center;
    margin: -0.375em;
}

.properties > .number {
    display: inline-block;
    vertical-align: middle;
}

.hide-properties .properties {
    display: none;
}

.footer {
    flex: 1 0 0;
}

.toggle-franchise {
    display: inline-block;
    width: 6rem;
    height: 6rem;
    cursor: pointer;
    background-color: #999;
}

.toggle-franchise.active {
    background-color: #ed6;
}
