/* Hide Scrollbars */
html {
	overflow:visible;
}

/* Font and background settings - fonts loaded from Google Fonts in index.html */
body {
  font-family: 'Roboto', sans-serif;
  background-color: #444444;
  /* Set custom background-image for document here */
}

h1, h2, h3 {
  font-family: 'Roboto Condensed', sans-serif;
  font-weight: 700;
}

h4, h5, h6 {
  font-family: 'Roboto', sans-serif;
  font-weight: 400;
}

/* Colors, in case you want to override the bootstrap standards */
.btn-primary {
  background-color: #005293!important;
  border-color: #005293!important;
}

.bg-primary {
  background-color: #005293!important;
}

.text-danger, .bg-danger {
  color: #CC1A14!important;
}

.text-warning, .bg-warning {
  color: #FFB114!important;
}

.text-success, .bg-success {
  color: #019B72!important;
}

/* Style links on the player card */
/* a { */
  /* color: #006dc1!important; */
/* } */

a:hover {
	text-decoration: none;
}

#playercard_categories .list-group-item:hover {
	background-color: #eeeeee;
}

/* Which elements to hide on start of game */
#cards, #summary, #startGame, #startTurn, #newGame, #waiting, #showSummary {
  display: none;
}

/* Style cards */
#playercard {
  min-width: 240px;
  background-color: #fff;
	-webkit-box-shadow: 8px 8px 30px #000000;
    box-shadow: 8px 8px 30px #000000;
}

#computercard {
  min-width: 240px;
  background-color: transparent;
}

.card {
    position: relative;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-direction: column;
    flex-direction: column;
    min-width: 0;
    word-wrap: break-word;
    background-color: #fff;
    background-clip: border-box;
    /*border: 10px solid rgba(0, 0, 0, 0);*/
    border: none;
    border-radius: 0.8rem;
}

.rounded {
    border-radius: 0.8rem !important;
}

/* Style summary after the game */

#summaryCard {
  background-color: rgba(255,255,255,0.9);
}

#summary_list {
  font-size: 0.9rem;
}

.summary_left, .summary_right {
	width: 38%;
}

.summary_center {
	width: 24%;
	font-size: 0.8rem;
}

.winner {
  font-weight: bold;
}


/* Place cards behind each other on mobile */

@media only screen and (max-width: 576px) {
  #playercard {
    z-index: 10;
    position: relative;
    top: 50px;
    max-width: 240px;
  }

  #computercard {
    z-index: 5;
    position: relative;
    left: -150px;
    max-width: 240px;
  }

  #buttons {
    margin-top: 50px;
  }

  #summary {
    margin-bottom: -40px;
  }


}

.card-deck {
  overflow: visible!important;
}

.scrolling-wrapper {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  &::-webkit-scrollbar {
    display: none;
  }
}

.transparent-list .list-group-item {
  background-color: transparent!important;
  color: transparent!important;
  border: 0;
}

.flag {
  width: 2em;
  height: 1.5em;
}

/* Flip-Animation via https://davidwalsh.name/css-flip */
/* entire container, keeps perspective */
.flip-container {
	perspective: 1000px;
	transform-style: preserve-3d;
}

/* flip the pane when hovered */
.flip-container.flip .back {
  transform: rotateY(0deg);
}

.flip-container.flip .front {
  transform: rotateY(180deg);
}

/* flip speed goes here */
.flipper {
	transition: 0.6s;
	transform-style: preserve-3d;
	position: relative;
}

/* hide back of pane during swap */
.front, .back {
  -webkit-backface-visibility: hidden;
  -moz-backface-visibility: hidden;
  backface-visibility: hidden;
  transition: 0.6s;
  transform-style: preserve-3d;
  position: absolute;
	top: 0;
	left: 0;
  width: 100%;
}

/* front pane, initially hidden */
.front {
	/* for firefox 31 */
  transform: rotateY(0deg);
	background-color: #fff;
	border-radius: 0.8rem;
	-webkit-box-shadow: 8px 8px 30px #000000;
    box-shadow: 8px 8px 30px #000000;
}

/* back, placed over front */
.back {
  z-index: 2;
	transform: rotateY(-180deg);
  background-image: radial-gradient(#005293, #003259);
  /* Set custom background-image for card here */
  color: transparent!important;
	border: 10px solid rgba(255, 255, 255, 1);
    border-radius: 0.8rem;
	-webkit-box-shadow: 8px 8px 30px #000000;
    box-shadow: 8px 8px 30px #000000;
}

/* NEW STYLES */
body {
    font-family: 'Ubuntu', sans-serif;
    background-color: #f200bc;
	color:#000;
}
.th-wrapper {
	/* POSSIBLY CHANGE THIS */
	max-width: 800px;
	margin:0 auto;
}
p, a, strong, em { color:#000; }
a:hover { color: #000; }
h1.ka-header { display: none; }
.ka-header-image { width: 100%; height: auto; margin-bottom:25px; }
h1, h2, h3, .category_nolink {
    font-family: 'Bebas Neue', cursive;
	color:#000;
	font-weight: 400;
}
h3.ka-intro, h3.ka-htp { background:#000; color:#fff; padding:14px; display: inline-block; }
h4, h5, .category_nolink {
    font-family: 'Bebas Neue', cursive;
	font-weight: 400;
}
h6, .category_nolink {
    font-family: 'Bebas Neue', cursive;
	font-size: 1.5rem;
	margin-bottom: 0;
	line-height: 1.2;
	font-weight: 400;
}
.bg-primary {
    background-color: #fff101 !important;
}
#buttons {
    font-family: 'Bebas Neue', cursive;
}
.card-title {
    margin-bottom: .75rem;
    font-size: 3rem;
}
.btn-primary {
    background-color: #fff101 !important;
    border-color: #fff101 !important;
    color: #000 !important;
	font-family: 'Bebas Neue', cursive;
}
#playercard, .front {
    background-color: #fff101; 
}
.back {
    background-image: none;
}
.flipper { height: 100%; }
.back { height: 100% !important; }
.list-group-item { 
	background-color: #fff101;
    border: none;
	padding: .25rem 1rem;
}
#playercard_categories .list-group-item:hover {
    background-color: #fff;
}
.d-none.d-sm-inline, #player_count {
    color: #000;
}
#computerCardBack .card-body {
    background: url("../img/card-back.jpg") top left no-repeat;
	    background-size: cover;
}
/* BUTTONS */
.btn-group-lg > .btn, .btn-lg {
    font-size: 2rem;
	border-radius: 0 !important;
}
/* HIDE */
.my-4.d-block.text-center, #chosenCardSelect, #noCardSelection, #chosenCardButton, .fa, .far, .fas {
    display: none !important;
}
/* STATUSES */
.mb-1, #summaryHeadline h3 {
    background: #000;
    display: inline-block;
    font-size: 2rem;
    padding: 1rem 1rem;
}
/* SUMMARY */
#summaryCard {
    background-color: transparent;
}
.card.m-1 {
    border: none;
    border-radius: 0;
}
#summary_list .d-flex {
    border: none !important;
	font-family: "Bebas Neue";
	font-weight: 400 !important;
	font-size: 1.5rem;
	margin-bottom: 1rem;
}
.summary_center {
    width: 24%;
    font-size: 1rem;
    color: #fff !important;
    font-family: "ubuntu";
}
#summary_list .winner {
    font-weight: normal;
    color: #fff101;
}
/* ADD IMAGE */
.title-block { display: none; }
.persona-image {
    display: block;
    width: 92%;
    margin: 0 auto; 
}
.persona-image-container {
    margin-top: 4%;
}

/* MEDIA QUERIES */
@media only screen and (max-width: 576px) {
h6, .category_nolink { font-size: 1rem; line-height: 0.8;
	}
}