/*
 * Globals
 */

/* Links */
a,
a:focus,
a:hover {
  color: #fff;
}

/* Custom default button */
/*.btn-secondary,
.btn-secondary:hover,
.btn-secondary:focus {
  color: #333;
  text-shadow: none; *//* Prevent inheritance from `body` */
/*  background-color: #fff;
  border: .05rem solid #fff;
}
*/

/*
 * Base structure
 */

html,
body {
  height: 100%;
  background-color: #333;
}

body {
  display: -ms-flexbox;
  display: -webkit-box;
  display: flex;
  -ms-flex-pack: center;
  -webkit-box-pack: center;
  justify-content: center;
  color: #fff;
  text-shadow: 0 .05rem .1rem rgba(0, 0, 0, .5);
  box-shadow: inset 0 0 5rem rgba(0, 0, 0, .5);
}

.cover-container {
  max-width: 42em;
}


/*
 * Header
 */
.masthead {
  margin-bottom: 2rem;
}

.masthead-brand {
  margin-bottom: 0;
}

.nav-masthead .nav-link {
  padding: .25rem 0;
  font-weight: 700;
  color: rgba(255, 255, 255, .5);
  background-color: transparent;
  border-bottom: .25rem solid transparent;
}

.nav-masthead .nav-link:hover,
.nav-masthead .nav-link:focus {
  border-bottom-color: rgba(255, 255, 255, .25);
}

.nav-masthead .nav-link + .nav-link {
  margin-left: 1rem;
}

.nav-masthead .active {
  color: #fff;
  border-bottom-color: #fff;
}

@media (min-width: 48em) {
  .masthead-brand {
    float: left;
  }
  .nav-masthead {
    float: right;
  }
}


/*
 * Cover
 */
.cover {
  padding: 0 1.5rem;
}
.cover .btn-lg {
  padding: .75rem 1.25rem;
  font-weight: 700;
}


/*
 * Footer
 */
.mastfoot {
  color: rgba(255, 255, 255, .5);
}


/* Custom theme */

html {

}

body {
    background-color: #252331;
    background-image: url('/static/img/bg.png'); /*no-repeat cover;*/
    background-repeat: no-repeat;
    background-position: center center;
    background-size: contain;
}

main {
	display: none;
	background-color: rgba(37, 35, 49, 0.9);
	border-radius: 5%;
}

.cover-container {
	width: 40em;
}

main.cover {
	padding: 5%;
}

.loader {
	  margin: 40px auto;
    border: 16px solid #2e3b43;
    border-top: 16px solid #70d8db;
    border-radius: 50%;
    width: 120px;
    height: 120px;
    animation: spin 2s linear infinite;
}

.mining {
    border: 16px solid #2e3b43;
    border-top: 16px solid #ff00a2;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

#distance,
.blink {
    opacity: 1;
    animation: fade 1s linear infinite;
}

#device {
	display: none;
}

@keyframes fade {
	0%,100% { opacity: 0.2 }
	50% { opacity: 1 }
}

#compatibility {
  display: none;
}