@import "styles/_normalize";
@import "styles/_fonts";
@import "styles/_typography";
@import "styles/_loading";

body {
	background: repeat url("images/elder_scrolling_bg.png") #0c0c0c;
	color: #f8f8f8;
	font-family: "Marcellus";
}

.current-card {
	background: repeat url("images/elder_scrolling_bg.png") #0c0c0c;
	color: #f8f8f8;

}

.fullcard tr > td {
	padding-right: 2rem;
}

.fullcard .content {
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	
	> div {
		width: 32%;
	}
}

body * {
	font-family: "Marcellus";
}

.container {
	position: relative;
	margin: 0 auto 0 auto;
    max-width: 1200px;
    flex-wrap: wrap;
}	

header {
	position: relative;
	display: flex;
	flex-wrap: wrap;
	flex-direction: row;
	justify-content: space-between;
	align-items: baseline;
	width: 100%;
	min-height: 64px;
	
	.left, right {
		height: 100%;
		top: 0;
		align-items: center;
	}

	.left {
		margin-left: 15px;

		h1 {
			font-family: "Metamorphous";
			text-shadow: 0 0 2px rgba(252, 252, 252, 0.8);
			font-weight: 400;
			font-size: 4.6rem;
		}
	}

	.right {
		right: 0;
	}
}
	
.card {
	width: 192px;
	height: 540px;
	border: 1px solid #707c80;
	border-radius: 8px;
	padding: 0.5rem;
	margin: 0.5rem;
	
	img {
		height: 290px;
		width: 175px;
	}
	
	.card-text {
		line-height: 1.4;
		font-size: 1.4rem;
	}

	.content table td {
		font-size: 1.4rem;
	}
}
 
.lds-spinner-container {
	display: flex;
	justify-content: center;
}

.App {
  text-align: center;
}

.searchform {
	label, input {
		border-radius: 8px;
		display: inline-block;
		margin-right: 1.0rem;

		&:last-child {
			margin-right: 0;
		}
	}
}

#page-bottom {
	min-height: 4rem;
}


@media (prefers-reduced-motion: no-preference) {
  .App-logo {
    animation: App-logo-spin infinite 20s linear;
  }
}

.App-header {
  background-color: #282c34;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-size: calc(10px + 2vmin);
  color: white;
}

.App-link {
  color: #61dafb;
}

@keyframes App-logo-spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}
