body, html {
  height: 100%;
  margin: 0;
  /* color: #777; */
  font-family: LatoBlack;
  scroll-behavior: smooth;
  background-color: #121220;
}

::-webkit-scrollbar {
  width: 0px;
  background: transparent; 
}

scrollbar {
	width: 0px;
  background: transparent; 
	
}

.anchor{
  display: block;
  height: 50px; /*same height as header*/
  margin-top: -50px; /*same height as header*/
  visibility: hidden;
}

a {
	font-family: 'LatoBlack';
	color: #DE136A;
	text-decoration: none;
}

a:hover {
	color: #FE4800;
	text-decoration: underline;
}


@font-face {
	font-family: 'LatoBold';
	src: url('fonts/Lato-Bold.ttf');
}
@font-face {
	font-family: 'LatoBlack';
	src: url('fonts/Lato-Black.ttf');
}
@font-face {
	font-family: 'LatoRegular';
	src: url('fonts/Lato-Regular.ttf');
}

@font-face {
	font-family: 'upheaval';
	src: url('fonts/upheavtt.ttf');
}

h1 {
	font-family: 'upheaval';
	font-weight: normal;
	color: #DE136A;
	margin-top: 0;
	margin-bottom: 0;
	text-decoration: underline;
	
}

p, ul, ol {
	font-size: 15pt;
	font-family: 'LatoRegular';
	/* color: #FE4800; */
	color: #F8F8FF ;
	margin-top: 12pt;
  margin-bottom: 0;
  word-spacing: .07em;

}

li {
	margin: 6pt 0;
}



.hover_container {
  position: relative;
  width: 40%;
}

.hover_image {
  display: block;
  width: 100%;
  height: auto;
}

.hover_overlay {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  height: 100%;
  width: 100%;
  opacity: 0;
  transition: .5s ease;
  background-color: #301407;
}

.hover_container:hover .hover_overlay {
  opacity: 1;
}

.hover_text {
	font-family: 'LatoBold';
  color: white;
  font-size: 25px;
  position: absolute;
  top: 50%;
  left: 50%;
  -webkit-transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
  text-align: center;
}


.table-container {
  /* background-image: url("./images/leaderboard/leaderboard-bg.png"); */
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  width: 90%;
  margin: auto;
  padding: 20px 0;
  color: #EFEFEF
}

.table-container .table {
  width: 60%;
  margin: auto;
  text-align: center;
  font-size: 1rem;
  color: inherit;
}

.table-container .table thead {
  background-color: black
}

.table-container .table .table__row:nth-of-type(odd) {
  background-color: #642a19
}

.table-container .table .table__row:nth-of-type(even) {
  background-color: #2f140c
}

.top-player__container {
  display: flex;
  justify-content: space-between;
  margin: auto;
  margin-bottom: 3rem;
  width: 90%
}

.top-player__container .top-player {
  width: 30%;
  padding: 3rem 0;
  text-align: center;
  border-radius: 10px;
  box-shadow: inset 0px 0px 100px 3px black;
  font-size: 1rem;
  position: relative
}

.top-player__container .top-player:nth-of-type(1) .top-player__badge {
  background-image: url("./images/leaderboard/gold.png")
}

.top-player__container .top-player:nth-of-type(2) .top-player__badge {
  background-image: url("./images/leaderboard/silver.png")
}

.top-player__container .top-player:nth-of-type(3) .top-player__badge {
  background-image: url("./images/leaderboard/bronze.png")
}

.top-player__container .top-player .top-player__badge {
  position: absolute;
  width: 50px;
  height: 50px;
  background-size: contain;
  background-repeat: no-repeat;
  top: -20px;
  left: -20px
}

.top-player__name,
.top-player__time {
  font-size: 1.5rem;
  font-weight: bold;
  text-transform: uppercase;
  word-break: break-all;
}

.btn-group {
  display: flex;
  justify-content: center;
  width: 80%;
  margin: -1rem;
  margin: 0 auto;
  margin-bottom: 2rem
}

.table__field {
  padding: 0.5rem 0
}

.table__headline {
  padding: 0.5rem 0
}

.btn {
  width: 7rem;
  padding: 0.6rem 0;
  text-align: center;
  box-shadow: inset 0px 0px 2px 2px black;
  margin: 1rem;
  border-radius: 5px;
  cursor: pointer;
  transition: all 0.4s ease-in-out
}

.btn:hover {
  box-shadow: inset 0px 0px 5px 3px #EFEFEF
}

.btn--highlighted {
  background-color: #F845C9;
  color: #161616;
  font-weight: bold
}

/* lets move some inline style here */

header {
  background-color: rgba(48,20,7,1);
  width: auto;
  border-radius: 0 0 20px 20px;
  padding: 10px;
  margin: 0 20px 20px 20px;
  box-shadow: 1px 4px 5px black;
  position: sticky;
  top: -1;
  z-index: 2;
}

header > div {
  text-align: center;
  height: 30px;
  line-height: 30px;
}





/* Phone Adaptive changes */

/* #### Mobile Phones Portrait #### */
@media screen and (max-device-width: 480px) and (orientation: portrait){
	header {
    font-size: 31pt;
    height: 130px;
  }
  
  header > div {
    height: 130px;
    line-height: 60px;
  }
	
  }
  
  /* #### Mobile Phones Landscape #### */
  @media screen and (max-device-height: 480px) and (orientation: landscape){
	header {
		font-size: 15pt;
	}

  }
  
  /* #### Mobile Phones Portrait or Landscape #### */
  @media screen and (max-device-width: 640px){
	/* some CSS here */
  }