html {
	background: rgb(33, 37, 41);
	color: white;
}

body {
	background: rgb(33, 37, 41);
	font-family: 'Segoe UI', sans-serif;
}

#siteHeader {
	height: 40px;
	width: 100%;
	display: block;
}

#siteTitleLink {
	text-decoration: none;
	color: white;
}

.homeContainer {
	max-width: 700px;
	width: 100%;
	background: rgba(255, 255, 255, 0.04);
	padding: 2.5rem 2rem;
	border-radius: 12px;
	box-shadow: 0 0 25px rgba(0,0,0,0.35);
	backdrop-filter: blur(4px);
	border: 1px solid rgba(255,255,255,0.08);
	margin-left: auto;
	margin-right: auto;
	margin-top: 200px;
}

.homeTitle {
	font-size: 2.6rem;
	margin-bottom: 1.2rem;
	text-align: center;
	background: linear-gradient(135deg, #5fd1ff, #9b7bff);
	-webkit-background-clip: text;
	color: transparent;
	letter-spacing: 1px;
}

.homeParagraph {
	font-size: 1.15rem;
	line-height: 1.7;
	color: #ced4da;
	margin-bottom: 1.5rem;
	text-align: center;
}

.storeContainer {
	width: 100%;
	max-width: 1000px;
	margin-left: auto;
	margin-right: auto;
}

.card-wrapper {
	position: relative;
	width: 1100px;
	height: 600px;
	margin-left: auto;
	margin-right: auto;
}

.card {
    position: absolute;
    width: 300px;
    height: 440px;
    box-shadow: 0 14px 40px rgba(0,0,0,0.45);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    transition: transform 0.2s ease;
}

.card > img {
	height: 440px;
	width: 300px;
}

.card:nth-child(1)  { left: 0px;    top: 160px; transform: rotate(-28deg); }
.card:nth-child(2)  { left: 90px;   top: 120px; transform: rotate(-22deg); }
.card:nth-child(3)  { left: 180px;  top: 90px;  transform: rotate(-16deg); }
.card:nth-child(4)  { left: 270px;  top: 70px;  transform: rotate(-10deg); }
.card:nth-child(5)  { left: 360px;  top: 60px;  transform: rotate(-4deg);  }
.card:nth-child(6)  { left: 450px;  top: 60px;  transform: rotate(4deg);   }
.card:nth-child(7)  { left: 540px;  top: 70px;  transform: rotate(10deg);  }
.card:nth-child(8)  { left: 630px;  top: 90px;  transform: rotate(16deg);  }
.card:nth-child(9)  { left: 720px;  top: 120px; transform: rotate(22deg);  }
.card:nth-child(10) { left: 810px;  top: 160px; transform: rotate(28deg);  }

.card:hover {
	transform: scale(1.05) translateY(-10px);
	z-index: 10;
}

#leftSection {
	height: 90vh;
	width: 75%;
	display: inline-block;
	float: left;
}

#rightSection {
	height: 90vh;
	width: 24%;
	display: inline-block;
	float: right;
    position:fixed;
    top:40px;
}

#leftDeckSection {
	height: 90vh;
	width: 60%;
	display: inline-block;
}

#rightDeckSection {
	height: 90vh;
	width: 39%;
	display: inline-block;
    position:fixed;
    top:40px;
	margin-top: 20px;
}

#cardDisplay {
	height: 40%;
	width: 100%;
	display: inline-block;
}

#deckDisplay {
	height: 55%;
	width: 100%;
	display: inline-block;
	margin-top: 30px;
}

#deckChart {
	height: 35%;
	width: 100%;
	display: inline-block;
	border-top: solid 1px white;
	border-bottom: solid 1px white;
	margin-bottom: 30px;
	margin-left: 10px;
}

#deckChart > table {
	width: 100%;
	text-align: center;
}

#deckChartDeck {
	height: 35%;
	width: 100%;
	display: inline-block;
	margin-top: 30px;
	margin-left: 10px;
}

#deckChartDeck > table {
	width: 80%;
	text-align: center;
	margin-left: auto;
	margin-right: auto;
}

#txtDeckName {
	margin-left: 20px;
}

#btnSaveDeck {
	margin-left: 5px;
}

#btnEditDeck {
	color: white;
	background-color: #294d72;
	border-radius: 5px;
	padding: 4px;
	text-decoration: none;
	margin-left: 20px;
}

#btnExportDeckLink {
	color: white;
	background-color: #294d72;
	border-radius: 5px;
	padding: 4px;
	text-decoration: none;
	margin-left: 20px;
}

.chartCell {
	width: 10%;
	height: 25px;
}

.chartCellFilled {
	background-color: blue;
}

#deckList {
	height: 65%;
	width: 100%;
	display: inline-block;
	overflow-y: scroll;
	margin-left: 10px;
}

#decklist > ul > li {
	list-style-type: none;
}

.deckListLink {
	text-decoration: none;
	color: #6ab3ff;
}

.deckTitle {
	margin: 0;
}

#deckCardList {
	margin-top: 40px;
	margin-left: 20px;
}

#deckListBody > tr > td {
	padding-right: 20px;
	line-height: 1.4em;
}

.docLink {
	text-decoration: none;
	font-size: 24px;
	color: white;
	margin-left: 15px;
}

.logLink {
	text-decoration: none;
	font-size: 20px;
	color: white;
	margin-top: 4px;
	margin-right: 10px;
}

.addButton {
	color: green;
	cursor: pointer;
	font-size: 24px;
	margin-right: 5px;
	user-select: none;
	font-weight: bold;
}

.removeButton {
	color: red;
	cursor: pointer;
	font-size: 24px;
	margin-right: 5px;
	user-select: none;
	font-weight: bold;
}

.errorText {
	color: red;
	margin-bottom: 20px;
}

/* Login Page */
.login-container {
	background: #1e1e1e;
	padding: 2rem 2.5rem;
	border-radius: 10px;
	box-shadow: 0 0 20px rgba(0,0,0,0.4);
	width: 320px;
	margin-left: auto;
	margin-right: auto;
	margin-top: 100px;
}
.login-form h2 {
	text-align: center;
	margin-bottom: 1.5rem;
	color: #ffffff;
}
.login-form label {
	display: block;
	margin-bottom: 0.4rem;
	font-size: 0.9rem;
}
.login-form input {
	width: 100%;
	padding: 0.6rem;
	margin-bottom: 1.2rem;
	border: 1px solid #333;
	border-radius: 5px;
	background: #2a2a2a;
	color: #e0e0e0;
}
.login-form input:focus {
	outline: none;
	border-color: #294d72;
	box-shadow: 0 0 5px #294d72;
}
.login-form button {
	width: 100%;
	padding: 0.7rem;
	background: #294d72;
	border: none;
	border-radius: 5px;
	color: #fff;
	font-weight: bold;
	cursor: pointer;
	transition: background 0.2s ease;
}
.login-form button:hover {
	background: #8bc8ff;
}
.register-link {
	text-align: center;
	margin-top: 1rem;
	font-size: 0.85rem;
}
.register-link a {
	color: #6ab3ff;
	text-decoration: none;
}
.register-link a:hover {
	text-decoration: underline;
}

/* Registration Page */
.register-container {
	background: #1e1e1e;
	padding: 2rem 2.5rem;
	border-radius: 10px;
	box-shadow: 0 0 20px rgba(0,0,0,0.4);
	width: 320px;
	margin-left: auto;
	margin-right: auto;
	margin-top: 100px;
}
.register-form h2 {
	text-align: center;
	margin-bottom: 1.5rem;
	color: #ffffff;
}
.register-form label {
	display: block;
	margin-bottom: 0.4rem;
	font-size: 0.9rem;
}
.register-form input {
	width: 100%;
	padding: 0.6rem;
	margin-bottom: 1.2rem;
	border: 1px solid #333;
	border-radius: 5px;
	background: #2a2a2a;
	color: #e0e0e0;
}
.register-form input:focus {
	outline: none;
	border-color: #294d72;
	box-shadow: 0 0 5px #294d72;
}
.register-form button {
	width: 100%;
	padding: 0.7rem;
	background: #294d72;
	border: none;
	border-radius: 5px;
	color: #fff;
	font-weight: bold;
	cursor: pointer;
	transition: background 0.2s ease;
}
.register-form button:hover {
    background: #8bc8ff;
}
.login-link {
	text-align: center;
	margin-top: 1rem;
	font-size: 0.85rem;
}
.login-link a {
    color: #6ab3ff;
    text-decoration: none;
}
.login-link a:hover {
    text-decoration: underline;
}