:root {
	--primary: #64b9cc;
	--primaryl: #7fe9ff;
	--primaryd: #4c8c99;
	--accent: #90c65d;
	--accentl: #b5f774;
	--accentd: #6a9144;
	--secondary: #a0907c;
	--secondaryl: #d1bca3;
	--secondaryd: #6b6053;
	--blue: #3755c5;
	--red: #ef1700;
	--yellow: #ecec2a;
	--green: #178319;
	--orange: #ef7b00;
	--pink: #f21050;
	--purple: #99007c;
	--lgrey: #bcbcbc;
	--dgrey: #454a4f;
	--black: #000000;
	--white: #ffffff;
}

main {
	min-height: 100vh;
}
input,
select,
textarea {
    border: 2px solid var(--lgrey);
    padding: 1px 2px;
}
button, 
input[type="submit"],
.clickable,
.md-clickable,
.mu-clickable {
	cursor: pointer;
}
input[type="radio"] {
	display: none;
}
input[type="radio"]:checked + .radio {
	background-color: var(--secondary);
}
input[type="radio"]:checked + .radio span {
	color: var(--white);
}
#bracket {
	height: 90vh;
}
#eliminated {
    position: fixed;
    bottom: 5px;
    left: 29%;
    width: 33%;
}
#champion {
    position: fixed;
    top: 12%;
}
#header {
	position: fixed;
	z-index: 1;
}
#header-spacer {
	height: 130px;
}
#winners,
#w-head {
	flex: 4;
}
#losers,
#l-head {
	flex: 6;
	flex-direction: row-reverse;
}
#championship,
#c-head {
	flex: 1;
}
.column {
    height: auto;
}
.round {
	width: 195px;
}
.logout {
	position: fixed;
    bottom: 0;
    right: 0;
    border-top-left-radius: 0.5rem;
}
.logout:hover {
	color: var(--pink);
}
.matchup li {
	white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
	width: 130px;
}
.matchup li:nth-child(odd) {
	border-top-left-radius: 4px;
	border-top-right-radius: 4px;
}
.matchup li:nth-child(even) {
	border-bottom-left-radius: 4px;
	border-bottom-right-radius: 4px;
}
.matchup li:nth-child(odd) span {
	position: absolute;
	top: 6px;
	right: -6px;
}
.matchup li:nth-child(even) span {
	position: absolute;
	bottom: 6px;
	right: -6px;
}
.matchup-title {
	position: relative;
    display: flex;
	flex: 0 0 20px;
    min-width: 0;
}
.matchup-title h5 {
	position: absolute;
    rotate: -90deg;
	top: 50%;
	transform: translateX(-100%);
	white-space: nowrap;
}
#winners .matchup-title h5 {
	left: -3px;
}
#losers .matchup-title h5 {
	left: 3px;
}
.row-reverse {
	flex-direction: row-reverse;
}
.sand1,
.sand2 {
	position: relative;
}
.sand1 {
	rotate: -5deg;
	right: 100px;
}
.sand2 {
	rotate: 5deg;
	left: 100px;
}
.sand-title {
	position: absolute;
	bottom: 98%;
	font-size: 6rem;
	line-height: 4.5rem;
}
.img-box img {
	position: relative;
}
.sand1 .img-box h5 {
	position: absolute;
	left: 0;
	bottom: 5%;
	border-bottom-right-radius: 10px;
	border-top-right-radius: 10px;
}
.sand2 .img-box h5 {
	position: absolute;
	right: 0;
	bottom: 5%;
	border-bottom-left-radius: 10px;
	border-top-left-radius: 10px;
}
.sand-deets h3 {
	line-height: 20px;
}
.sand-deets button {
	position: relative;
}
.backstory {
	position: relative;
}
.backstory:before {
	content: attr(data-text);
    position: absolute;
    top: 110%;
    min-width: 500px;
    transform: translateX(-50%);
    left: 50%;
    background: #fff;
	color: #888;
    font-style: normal;
    font-weight: 400;
    font-size: 1.2rem;
    padding: 10px 25px;
    box-shadow: 0 1px 4px rgba(0,0,0,.3), 0 0 40px rgba(0,0,0,.1) inset;
    border-radius: 0.5rem;
	z-index: 100;
	display:none;
}
.backstory:hover:before {
	display:block;
}
.boom {
	position: absolute;
}
.boom h1 {
	position: absolute;
	top: 35%;
	text-shadow: 10px 10px 0 #000000;
}
.bx-primary {
	background: var(--primary);
}
.bx-primaryl {
	background: var(--primaryl);
}
.bx-secondary {
	background: var(--secondary);
}
.bx-secondaryl {
	background: var(--secondaryl);
}
.bx-accent {
	background: var(--accent);
}
.bx-accentl {
	background: var(--accentl);
}
.bx-sand {
	background: radial-gradient(var(--primaryl) 47%, var(--primaryd) 100%)
}
.bx-sky {
	background: radial-gradient(ellipse at 50% 30%, var(--pink) 33%, var(--purple) 75%)
}
.bx-sky-centered {
	background: radial-gradient(var(--pink) 33%, var(--purple) 75%)
}
.bx-emt-pink {
	background-color: var(--pink);
}
.bx-emt-purple {
	background-color: var(--purple);
}
.br-lgrey {
	border-color: #adadad;
}
.fullsies {
	flex-wrap: wrap;
}
.fullsies>.box {
	margin: 5px .5%;
	-webkit-box-flex: 1;
	flex: 1 0 100%;
}
.clickable:hover {
	color: var(--accentd);
	background-color: var(--accentl) !important;
}
.tx-emt-pink,
.fav:hover,
.promote:hover {
	color: var(--pink);
}
.tx-emt-purple,
.demote:hover {
	color: var(--purple);
}
.tx-tgs-sm {
	font-family: 'Balsamiq Sans', cursive;
}
.tx-tgs {
	font-family: 'Bowlby One SC', cursive;
}
.tx-omg {
	font-size: 12rem;
}
.tx-burger {
	font-size: 24rem;
}
.tx-dropshadow {
	text-shadow: 2px 2px 5px rgb(0 0 0 / 40%);
}
.tx-proper {
	text-transform: capitalize;
}
.tx-primary {
	color: var(--primary);
}
.tx-primaryl {
	color: var(--primaryl);
}
.tx-secondary {
	color: var(--secondary);
}
.tx-secondaryl {
	color: var(--secondaryl);
}
.tx-accent {
	color: var(--accent);
}
.tx-accentd {
	color: var(--accentd);
}
.tx-accentl {
	color: var(--accentl);
}
.no-shadow:hover {
	box-shadow: none;
}
.md-close {
    position: absolute;
    right: 10px;
    top: 10px;
    cursor: pointer;
}
.modalbg {
	position: fixed;
	top: 0;
	left: 0;
	width: 100vw;
	height: 100vh;
	z-index: 5;
}
.modalbox {
    position: absolute;
    top: -50vh;
    height: 50vh;
    animation: modal-open .5s forwards;
    -webkit-transition: none;
	transition: none;
}
.flowerbox {
	position: absolute;
}
.fb-mid {
	top: 45%;
	rotate: 8deg;
}
.fb-high {
	top: -35px;
	right: 20px;
	rotate: 6deg;
}
.fb-flipped {
	transform: rotate(180deg);
}
.thumbox {
	width: 65px;
}
.fav {
	position: absolute;
	top: 15px;
	right: 15px;
}
.moviebox {
	z-index: 2;
}
.movie-info {
	min-height: 310px;
}
.movie-select {
	width: 10%;
}
.deetbox {
	top: -2px;
	width: 99%;
	z-index: 1;
}
.no-anim {
	-webkit-transition: none;
	transition: none;
}
.radio {
	height: 38px;
}
.spin-l {
	transform: rotateY(180deg);
}
.spin-c {
	transform: rotateY(0deg);
}
.spin-r {
	transform: rotateY(-180deg);
}
.slay {
	transform: skewY(-10deg);
}
.shake {
	animation: shake 0.82s cubic-bezier(.36,.07,.19,.97) infinite both;
	transform: translate3d(0, 0, 0);
	backface-visibility: hidden;
	perspective: 1000px;
}

.shake2 {
	animation: shake 0.82s cubic-bezier(.36,.07,.19,.97) 0.41s infinite both;
	transform: translate3d(0, 0, 0);
	backface-visibility: hidden;
	perspective: 1000px;
}
  
@keyframes shake {
	10%, 90% {
	  transform: translate3d(-1px, 0, 0);
	}
	
	20%, 80% {
	  transform: translate3d(2px, 0, 0);
	}
  
	30%, 50%, 70% {
	  transform: translate3d(-4px, 0, 0);
	}
  
	40%, 60% {
	  transform: translate3d(4px, 0, 0);
	}
  }

@keyframes modal-open {
    0%{
        transform: translateY(0);
    }
    100%{
        transform: translateY(75vh);
    }
}
/*-------------------------- Media Queries --------------------------*/
/* Tablet Width Classes */
@media (max-width: 1024px) {
	
}
/* Mobile Width Classes */
@media (max-width: 680px) {
	nav,
	#submit-form,
	#btn-container,
	.moviebox {
		-webkit-box-orient: vertical;
		-webkit-box-direction: normal;
		-ms-flex-direction: column;
		flex-direction: column !important;
		-webkit-box-align: center;
		-ms-flex-align: center;
		align-items: center;
		height: 100%;
		width: 100% !important;
	}
	nav>a>h3 {
		font-size: 3rem !important;
	}
	#submit-container,
	#movie-list,
	#login-form,
	#btn-container>button,
	.login-container {
		width: 100%;
	}
	#movie,
	#submit,
	#matchie-scores {
		width:100%;
		padding-left: 1%;
    	padding-right: 1%;
	}
	#movie {
		margin-bottom: 5px;
	}
	.searchlist>.box,
	#btn-container>.box,
	#matchie-scores>.box {
		-webkit-box-flex: 1;
		-ms-flex: 1 0 auto;
		flex: 1 0 auto;
	}
	.expand-dot,
	.search-poster,
	.poster {
		display: none;
	}
	.expand-deets>h3,
	.search-deets,
	.tagline,
	.movie-title,
	.genre-line {
		text-align: center;
	}
	.search-result,
	.search-deets {
		min-height: inherit !important;
	}
	.moviebox,
	.deetbox,
	.movie-info {
		padding-left: 5%;
    	padding-right: 5%;
	}
	.movie-select {
		width: 100%;
	}
	.title {
		font-size: 6rem;
	}
	.promotebox {
		position: absolute;
		bottom: 5px;
		right: 5px;
		color: rgba(74,79,84,.25);
	}
	.modalbox {
		width: 80%;
		height: 70vh;
		top: -60vh;
	}
}