﻿#bg-video {
  position: fixed;
  right: 0;
  bottom: 0;
  min-width: 100%;
  min-height: 100%;
  z-index: -1;
  object-fit: cover;
}

body {
  margin: 0;
  padding: 0;
  color: white; /* Make text readable against dark backgrounds */
}

.contestant-header {
	font-weight: bold;
}

.act-display, .floor-display {
    font-style: italic;
    color: #ccc;
    margin-left: 10px;
}

.contestant-decklist {
	margin: 5px 20px 0px 5px;
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
}

.contestant-reliclist {
    margin: 15px 20px 5px 5px;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 5px;
}

.relic-image {
    width: 48px;
    height: 48px;
    object-fit: contain;
}

#deck-container {
	display: flex;

}

.card-image {
	aspect-ratio: 12.361/15.926;
	background-size: cover;
	width: 120px;
}

.contestantBtn {
	margin-right: 10px;
}

.decklist-wrapper {
	width: 50%;
}

.hide {
	display: none;
}

#contestant-btns {
	display: flex;
	flex-direction: row;
	margin-bottom: 20px;
}



.header-container {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    background-color: rgba(238, 238, 238, 0.2);
    padding: 5px 10px;
    border-radius: 4px;
}

.close-btn {
    cursor: pointer;
    color: #ccc;
    font-size: 20px;
    line-height: 1;
    margin-left: auto;
}

.close-btn:hover {
    color: #f00;
}

#contestant-selector {
    margin: 10px;
    padding: 5px;
}

#refresh {
    margin: 10px;
    padding: 5px 10px;
}

#auto-refresh-label {
    margin: 10px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 14px;
    cursor: pointer;
    color: white;
}

#title {
    color: white;
}

@media screen and (max-width: 850px) {
	#deck-container .char-inactive {
		display: none;
	}

	.decklist-wrapper {
		width: inherit;
	}
}

@media screen and (min-width: 851px) {
	#contestant-btns {
		display: none;
	}
}