@import "timeline.css";
@import "index.css";
@import "tab.css";

#container .right header {
    align-items: flex-start;
}
#about {
	margin: 1rem 0;
	height: 90%;
    position: relative;
}
#watten, #schnapsen, #card-set {
    display: flex;
    margin: 1rem 0;
    flex-direction: column;
    row-gap: 1rem;
    height: 90%;
    overflow-y: auto;
}
details, .card {
    padding: 1.5rem;
    background: white;
    border-radius: 1rem;
    border-bottom: 2px solid var(--ui-fg-color);
}
summary {
    list-style: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    user-select: none;
    font-weight: bold;
    display: flex;
    align-items: center;
    column-gap: 0.5rem;
}
summary::-webkit-details-marker {
    display: none;
}
summary::before {
    content: "add";
    font-family: "Material Icons";
    font-weight: bold;
}
details[open] summary::before {
    content: "remove";
}
dd {
    margin-bottom: 0.5rem;
}
dd:last-of-type {
    margin-bottom: 0;
}
details div {
    margin: 1em 0;
}
dd, dt, details div, details li, .card p {
    font-size: 0.9rem;
}
.color::after {
    display: inline-flex;
    align-items: center;
    margin-left: 0.25rem;
}
.color.clubs::after {
    content: "( " url('../img/release/Eichel.svg') ")";
}
.color.diamonds::after {
    content: "( " url('../img/release/Schell.svg') ")";
}
.color.spades::after {
    content: "( " url('../img/release/Laub.svg') ")";
}
.color.hearts::after {
    content: "( " url('../img/release/Herz.svg') ")";
}
.card-list {
    display: flex;
    column-gap: 0.25rem;
}
.card-item {
    display: flex;
    flex-direction: column;
    row-gap: 0.25rem;
    align-items: center;
    margin: 0;
    width: 12.5%;
}
.card-item span {
    font-size: 0.8rem;
}
.card-item img {
    width: 100%;
}
.card-item h4 {
    align-self: center;
}
#card-set .card-item {
    flex-direction: row;
    width: 12.5%;
}