body {
    margin: 0;
    font-family: Arial;
}
.flex-whitespace {
    flex-grow: 1;
}

.info-box-container {

}
.info-box {
    position: absolute;
    border: 2px solid #9c7b32;
    background-color: #181822;
    padding: .4em 1em;
    color: #e7d5a4;
    font-weight: bold;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    display: none;
    pointer-events: none;
    z-index: 1000;
    text-align: center;
}
.info-box.-bottom {
    bottom: auto;
    top: 100%;
}
.info-box-container:hover > .info-box {
    display: block;
} 
.info-box i {
    display: block;
    font-style: normal;
    font-size: .8em;
    color: white;
    padding-bottom: .3em;
}

.top {
    width: 100%;
    position: fixed;
    display: flex;
    z-index: 800;
    color: white;
    font-weight: bold;
}
.top-button {
    text-shadow: 0 0 5px black;
    position: relative;
    padding: .5em .2em;
    margin: .5em 1em;
    cursor: pointer;
}
.top-button:after {
    content: "";
    display: block;
    position: absolute;
    bottom: 0;
    left: 0;
    height: 2px;
    width: 0%;
    background-color: white;
    box-shadow: 0 0 5px black;
    transition: .2s;
}
.top-button:hover:after {
    width: 100%;
}
.mid-container {
    position: relative;
    display: block;
    height: 100vh;
    width: 100vw;
    overflow: hidden;

    background-image: url(assets/img/ionia-fhd.jpg);
    background-size: cover;
    background-position: center center;
}
/*.overlay {
    position: absolute;
    height: 100vh;
    width: 100%;
    background-image: linear-gradient(to bottom, #eeafd666, #00000099);
    z-index: 200;
}*/
.mid-plane {
    position: absolute;
    transition: .5s;
    z-index: 300;
}
.mid-plane.-mid {
    transform: translate(0vw,0vh);
}
.mid-plane.-left {
    transform: translate(100vw,0vh);
}
.mid-plane.-right {
    transform: translate(-100vw,0vh);
}
.mid-plane.-bottom {
    transform: translate(0vw,-100vh);
}
.mid-item {
    position: absolute;
    display: grid;
    place-items: center;
    height: 100vh;
    width: 100vw;
}
.mid-item > *{
    z-index: 400;    
}
.mid-background {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background-position: center center;
    background-size: cover;
    background-attachment: fixed;
    z-index: 200;
}
.floating-button {
    position: absolute;
    height: 30px;
    width: 30px;
    background-size: contain;
    margin: 5px;
    cursor: pointer;
}
.floating-button.-left {
    left: 0;
    top: 50%;
    transform: translateY(-50%);
}
.floating-button:hover {
    filter: grayscale(.5);
}
.floating-button.-text {
    line-height: 30px;
    color: #C8AA6E;
    text-align: center;
}

.player-cards {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    padding-bottom: 60px;
}
.player-card-container {
    flex-shrink: 0;
    position: relative;
    width: 200px;
    z-index: 300;
    margin: 0 20px;
    filter: drop-shadow(0 0 15px black);
}
.player-card {
    overflow: hidden;
    position: relative;;
    color: white;
    display: flex;
    height: 100%;
    width: 100%;
    padding: 20px 0;
    box-sizing: border-box;
    flex-direction: column;
    align-items: center;
    position: relative;
    background-color: #181822;
    border: 2px solid;
    min-height: 400px;
    border-bottom-width: 0;
    border-image: linear-gradient(180deg,#c3a758,#9c7b32) stretch;
    border-image-slice: 1;
    z-index: 250;
    transition: .2s;
}
.player-card-bottom {
    position: absolute; 
    top: 100%; 
    background-color: #181822;
    border: 2px solid;
    padding-left: 2px;
    border-width: 0 2px 2px 2px;
    border-color: #9c7b32;
    border-image-slice: 1;
    right: 0;
    width: 95%;
    height: 37px;
    z-index: 200;
}
/*.player-card-container:active .player-card-bottom {
    transform: rotate(20deg);
}*/
.player-card-container/*:hover:not(:active)*/ .player-card-bottom {
}
.player-card-container:nth-of-type(3)  .player-card-bottom {
    width: 100%;
    box-sizing: border-box;
}
.player-card-container:nth-of-type(-n+2)  .player-card-bottom {
    transform-origin: 100% 0%;
    border-width: 2px 2px 2px 0px;
    transform: rotate(90deg) skew(-10deg);
    width: 36px;
    height: 196px;
    margin-top: 40px; 
}
.player-card-container:nth-of-type(n+4)  .player-card-bottom {
    transform-origin: 100% 0%;
   
    border-width: 2px 2px 2px 0px;
    transform: rotate(90deg) skew(10deg);
    width: 36px;
    height: 196px;
    margin-top: 5px; 
}
.player-card-container:nth-of-type(1) {
    margin-top: 10px;
}
.player-card-container:nth-of-type(2) {
    margin-top: 20px;
}
.player-card-container:nth-of-type(3) {
    margin-top: 30px;
}
.player-card-container:nth-of-type(4) {
    margin-top: 20px;
}
.player-card-container:nth-of-type(5) {
    margin-top: 10px;
}
.player-buttons {
    display: flex;
    justify-content: center;
    align-items: center;
    max-height: 0px;
    opacity: 0;
    transition: .2s;
    height: 36px;
}
.player-card-container:hover .player-buttons {
    max-height: 36px;
    opacity: 1;
}
.player-button {
    padding: 3px;
    cursor: pointer;
}
.player-button:hover {
    filter: grayscale(.5);
}
.player-button.-message {
    background-image: url(assets/img/message2.png);
    background-size: contain;
    height: 20px;
    width: 20px;
}
.player-card-name {
    color:gray;
    font-size: 1.5em;
    font-weight: bold;
}
.player-card-icon {
    margin: 10px 0;
    box-shadow: 0 0 10px white;
    border-radius: 50%;
    height: 100px;
    width: 100px;
}
.player-card-role {
    margin: 20px 0;
    background-image: url(assets/img/support_icon.png);
    background-size: cover;
    height: 50px;
    width: 50px;
}

.section {
    height: 200px;
}


.timeline {
    padding-top: 70px;
    color: #e7d5a4;
    font-weight: bold;
    --color: #e7d5a4;
}
.timeline .info-box {
    width: 200px;
}
.timeline-player {
    display: flex;
    position: relative;
    margin: 20px 0;
}
.timeline-player-name {
    width: 100px;
    text-align: right;
    padding: 5px;
    margin-right: 15px;
    /*background-image: linear-gradient(to right, transparent, #181822 80%);*/
}
.timeline-player:hover .timeline-player-name {
    color: white;
}
.timeline-container {
    width: 90vw;
    position: relative;
}
.timeline-title-container {
    position: absolute;
    pointer-events: none;
}
.timeline-title {
    margin-left: -7px;
    position: relative;
    pointer-events: auto;
    transform-origin: 0% 50%;
    transform: rotate(-45deg);
    cursor: default;
}
.timeline-title::before {
    content: "";
    display: block;
    position: absolute;
    background-color: var(--color);
    height: 2px;
    width: 100%;
    top: 100%;
    pointer-events: none;
}
.timeline-title::after {
    content: "";
    display: block;
    position: absolute;
    background-color: var(--color);
    height: 2px;
    width: 10px;
    top: 100%;
    right: 100%;
    transform-origin: 100% 50%;
    transform: rotate(-45deg);
    pointer-events: none;
}
.timeline-line {
    position: absolute;
    height: 2px;
    top: 50%;
    transform: translateY(-50%);
    background-color: var(--color);
    right: calc( 99% - 5px );
}
.timeline-icon-container {
    position: absolute;
    z-index: 200;
    top: 50%;
    transform: translate(-50%,-50%);
    height: 20px;
    width: 20px;
}
.timeline-icon {
    position: absolute;
    z-index: 200;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    /*filter: drop-shadow(0 0 2px #181822);*/
}
.timeline-icon.-dot {
    /*border-radius: 50%;
    border: 4px solid #181822;
    border-color: #c3a758;
    border-width: 0 0 0 4px;
    height: 20px;
    width: 10px;*/
    border-radius: 50%;
    background-color: var(--color);
    height: 10px;
    width: 10px;
}
.timeline-icon.-donut {
    /*border-radius: 50%;
    border: 4px solid #181822;
    border-color: #c3a758;
    border-width: 0 0 0 4px;
    height: 20px;
    width: 10px;*/
    border-radius: 50%;
    border: 2px solid var(--color);
    height: 8px;
    width: 8px;
}