@import url('https://fonts.googleapis.com/css?family=Poppins:400,500,700');

@font-face {
  font-family: 'Britannic Bold';
  src:
    local('Britannic Bold'),
    url('/aux/font/Brittanic_Bold/bb.ttc'),
	url('/aux/font/Brittanic_Bold/bb.woff'),
	url('/aux/font/Brittanic_Bold/bb.woff2');
}

* {
  text-decoration: none;
  font-family: 'Poppins';
}

html, body {
  height:100%;
  width: 100%;
}

/* Start of Upgrade */
.landing {
  height: 100%;
  width: 100%;
  color: #222;
  font-family: 'Poppins', sans-serif;
}
.navbar {
  font-family: 'Britannic Bold', 'Poppins', sans-serif;
  padding: 2px 8px;
}
.navbar .btn {
  margin-top: 2px;
}
.nav-link {
  font-size: 1.2em !important;
}
.nav-item {
  padding-right: 10px;
}
.nav-item a, .navbar-brand {
  font-family: 'Britannic Bold', 'Poppins', sans-serif;
}
a.navbar-text.username {
  font-family: 'Britannic Bold', 'Poppins', sans-serif;
  color: red;
  margin-top: 3px;
}
input.form-control.mr-sm-2 {
  height: 100%;
}
.form-control h3 {
  margin-bottom: 0px;
  padding-bottom: 0px;
}
.carousel-inner img {
  height: 100%;
  width: 100%;
}
.carousel-caption img {
  height: 75%;
  width: 50%;
  margin-bottom: 1.2em;
  -webkit-filter: drop-shadow(5px 5px 5px #222);
  filter: drop-shadow(5px 5px 5px #222);
}
.carousel-caption {
  position: absolute;
  top: 40%;
  transform: translateY(-50%);
}
.carousel-caption h1 {
  font-size: 500%;
  text-transform: uppercase;
  text-shadow: 2px 2px 15px #000;
}
.carousel-caption h3 {
  font-size: 200%;
  font-weight: 500;
  text-shadow: 5px 5px 10px #000;
  padding-bottom: 1rem;
}
.carousel-caption button {
  margin: 0px 5px;
}
.carousel-caption button {
  margin: 0px 5px;
  font-weight: 700;
}
.jumbotron {
  padding: 1rem;
  border-radius: 0;
}
.landing .carousel-indicators li{
  border: 1px solid #ccc;
}
.padding {
  padding-bottom: 2rem;
}
.btn-primary {
  font-weight: 700;
}
.welcome {
  width: 75%;
  margin: 0 auto; /* center */
  padding-top: 2rem;
}
#bar {
  width: 95%;
  margin: 0 auto; /* center */
  border: 2px solid #b4b4b4;
  margin-top: .3rem;
  margin-bottom: 1rem;
}
#icon1 {
  color: #e54d26;
}
#icon2 {
  color: #563d7c;
}
#icon3 {
  color: #2163af;
}
#icon1, #icon2, #icon3 {
  height: 50%;
  padding-bottom: 1.5rem;
}
.social a {
  font-size: 4.5em;
  padding: 3rem;
}
.fa-facebook {
  color: #3b5998;
}
.fa-youtube {
  color: #bb0000;
}
.fa-tripadvisor {
  color: #00af87;
}
.fa-whatsapp {
  color: #128c7e;
}
.fa-facebook:hover, .fa-youtube:hover, .fa-tripadvisor:hover, .fa-whatsapp:hover{
 color: #d5d5d5; 
}

footer {
  background-color: #3f3f3f;
  color: #d5d5d5;
  padding-top: 2rem;
}
hr.light {
  margin: 0 auto; /* center */
  border-top: 1px solid #d5d5d5;
  width: 75%;
  margin-top: .8rem;
  margin-bottom: 1rem;
}
hr.light-100 {
  margin: 0 auto; /* center */
  border-top: 1px solid #d5d5d5;
  width: 100%;
  margin-top: .8rem;
  margin-bottom: 1rem;
}
#skill img {
  height: 12px;
  margin-right: 5px;
  margin-top: -3px;
}

/*---Media Queries --*/
@media (max-width: 992px) {
  .social a {
    font-size: 4em;
    padding: 2rem;
  }
  .card-columns {
    column-count: 3;
  }
}
@media (max-width: 768px) {
  .nav-item a {
    font-size: 1em !important;
  }
  .carousel-caption {
    top: 35%;
  }
  .carousel-caption h1 {
    font-size: 350%;
  }
  .carousel-caption h3 {
    font-size: 140%;
    font-weight: 500;
    text-shadow: 5px 5px 10px #000;
    padding-bottom: 1rem;
  }
  .carousel-caption .btn {
    font-size: 95%;
    padding: 8px 14px;
  }
  .carousel-caption img {
    height: 90%;
    width: 40%;
    margin-bottom: 1.2em;
    -webkit-filter: drop-shadow(5px 5px 5px #222);
    filter: drop-shadow(5px 5px 5px #222);
  }
  .landing .carousel-indicators {
    display: none;
  }
  .display-4 {
    font-size: 200%;
  }
  .social a {
    font-size: 2.5em;
    padding: 1.2rem;
  }
  .padding {
    padding-bottom: 0rem;
  }
  .card-columns {
    column-count: 2;
  }
}
@media (max-width: 576px) {
  .carousel-caption {
    top: 30%;
  }
  .carousel-caption h1 {
    font-size: 250%;
  }
  .carousel-caption h3 {
    font-size: 110%;
    text-shadow: 5px 5px 10px #000;
  }
  .carousel-caption .btn {
    font-size: 90%;
    padding: 4px 8px;
  }
  .carousel-caption img {
    height: 100%;
    width: 40%;
    margin-bottom: 1.2em;
    -webkit-filter: drop-shadow(5px 5px 5px #222);
    filter: drop-shadow(5px 5px 5px #222);
  }
  .landing .carousel-indicators {
    display: none;
  }
  .display-4 {
    font-size: 160%;
  }
  .social a {
    font-size: 2em;
    padding: .7rem;
  }
  .padding {
    padding-bottom: 0rem;
  }
  .card-columns {
    column-count: 1;
  }
}

/*---Firefox Bug Fix --*/
.carousel-item {
  transition: -webkit-transform 0.5s ease;
  transition: transform 0.5s ease;
  transition: transform 0.5s ease, -webkit-transform 0.5s ease;
  -webkit-backface-visibility: visible;
  backface-visibility: visible;
}
/*--- Fixed Background Image --*/
figure {
  position: relative;
  width: 100%;
  height: 60%;
  margin: 0!important;
}
.fixed-wrap {
  clip: rect(0, auto, auto, 0);
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}
#fixed {
  background-image: url('img/mathpaper.jpg');
  position: fixed;
  display: block;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center center;
  -webkit-transform: translateZ(0);
  transform: translateZ(0);
  will-change: transform;
}

/*--- Bootstrap Padding Fix --*/
[class*="col-"] {
    padding: 1rem;
}

/* End of Upgrade */
a:visited {
  color:inherit;
}
a:link {
  text-decoration: none;
}
.notification {
  text-align: center;
  width: 100%;
  background-color: #fff;
}
.notification.success {
  color: green;
}
.notification.error {
  color: red;
}
#register-error {
  color: red;
  text-align: center;
  width: 100%;
}
#register-success {
  color: green;
  text-align: center;
  width: 100%;
}
.practice_header {
  background-color: rgba(73, 167, 164, 0.6);
  font-weight: bold;
  font-size: 15px;
}
.practice_header a {
  font-family: 'Britannic Bold', 'Poppins', sans-serif;
  font-size: 18px;
}
.practice_header a:link {
  color: inherit;
}
.page {
  background-image: url("img/plusminus.jpg");
  background-repeat: repeat;
  height: 100%;
}
.page_name {
  font-family: 'Britannic Bold', 'Poppins', sans-serif;
  width: 100%;
  background-color: #fff;
  text-align: center;
  font-size: 20px;
  padding: 2px 0px;
  border-bottom: 1px solid lightgrey;
}

.col-md-4 iframe {
    width: 75%;
}
.col-lg-6 iframe {
    width: 100%;
}
iframe {
  width: 100%;
}
a:link {
  text-decoration: none;
}
a:visited {
  text-decoration: none;
}
.explanation {
  font-size: 14px;
}
.question {
  font-size: 24px;
}
#sketch {
  width: 100%;
}
#user_answer {
  width: 50%;
}
.feedback {
  height: 20px;
  padding-left: 10px;
}
.progress_bar {
  height: 30px;
  width: 1%;
  background:green;
  background-position: 0px 0px;
  background-repeat: repeat-x;
  animation: animatedBackground 5s linear infinite;
}
@keyframes animatedBackground {
  /* https://davidwalsh.name/background-animation-css */
  to { background-position:-3064px,0; }
}
/* Explore Page*/
.topbox {
  float:right;
  height:100%;
  width:39%;
  background:rgba(255,255,255,0.75);
}
img#tree {
  display:block;
  margin-left:auto;
  margin-right: auto;
  margin-top:20px;
}
#totalbar {
  margin-top: 20px;
  margin-left: auto;
  margin-right: auto;
  width: 100px;
  height: 100px;
  position: relative;
  background-color: white;
}
.totalbar {
  margin-top: 20px;
  margin-left: auto;
  margin-right: auto;
  width: 100px;
  height: 100px;
  position: relative;
  background-color: white;
}
.timegraph{
  padding-right:20px;
  text-align: center;
  background-color: white;
  height:200px;
  width:100%;
  border-radius: 2px;
  position: relative;
}
.notifyjs-corner {
  padding: 5px;
  width: 350px;
}
#badge { 
  width:100px;
  display: block;
  margin: 0 auto;
}
.upgrade-card .card-text {
  font-size: 30px;
  text-align: center;
}
.upgrade-card button {
  font-size: 20px;
  width: 100%; 
}
#confetti {
  width:100%; 
  height:100%;
  background-image: url("img/plusminus.jpg");
  background-repeat: repeat;
}

#oefenmateriaal ul ul li a {
  color:blue;
}

/* MATH */
.frac {
  display: inline-block;
  font-size: 16px;
  margin-left: 2px;
  position: relative;
  vertical-align: middle;
  letter-spacing: 0.001em;
  text-align: center;
}
.frac > span {
  display: block;
  padding: 0.1em;
}
.frac span.bottom {
  border-top: thin solid black;
}
.frac span.symbol {
  display: none;
} 
sub, sup {
  /* https://gist.github.com/unruthless/413930
  this letting super- and subscripts not affect div problem when js injects them.*/   
  font-size: 75%;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}
sup {
  top: -0.5em;
}
sub {
  bottom: -0.25em;
}

/* stemplot */
table {
  font-size:20px;
  margin-left: 25px;
  margin-top: 20px;
  border-spacing: 4px 0;
}
th {
  border-right: 1px solid black;
  text-align: right;
  padding-right: 4px;
}
td {
  text-align: right;
  margin-right: 2px;
}

/* Tick Lists*/
.landinglist li {
  font-size: 18px;
  list-style: none;
}
.bloglist li {
  list-style: none;
  margin-left: -20px;
}
.bloglist li p {
  margin-left: 20px;
  font-size: 14px;
}
.landinglist li:before, .bloglist li:before {
  content: '✔ ';
  color:green;
}

/* Pyramid Styling */
#container { width:100%;height:100%; border-bottom: 2px solid lightgray; display: flex; }
#infopanel { width:40%;height:100%; float:right;position:relative; padding: 0px 20px; }
div.vis-button { top: 10px;}
div.vis-button.vis-down { top: 48px; }
div.vis-button.vis-zoomExtends { top: 48px; }
