/* Fonts */

@import url('https://fonts.googleapis.com/css?family=Poppins:300&display=swap');
@import url('https://fonts.googleapis.com/css?family=Courier+Prime&display=swap');

/* General */

body {
  font-family: 'Poppins', sans-serif;
  font-weight: 300;
  background-color: #2c3e50;
  font-size: 12pt;
  text-align: justify;
}

.container {
  max-width: 95%;
}

.container-light {
  background-color: #34495e;
  padding: 50px;
}

.back {
  padding: 20px 0px 20px 0px;
  text-align: center;
}

.back a {
  color: white;
  text-decoration: none;
}

div > p {
  margin-bottom: 0;
}

.margin-bottom {
  margin-bottom: 10px;
}

.margin-box {
  margin-bottom: 20px;
}

.front-box {
  margin-bottom: 0px;
}

.category-title {
  margin: 10px;
}

.category-link {
  text-decoration: none;
  color: #000000;
}

.challenge-url {
  color: black;
  text-decoration: none;
  font-size: 12pt;
  line-height: 2em;
  font-weight: bold;
}

.row-padding {
  padding-bottom: 0px;
}

code {
  background-color: #e74c3c;
  color: white;
  border: 1px solid #c0392b;
}

.center {
  text-align: center;
}

.no-padding {
  padding: 0px;
}

.button-right {
  float: right;
  margin-bottom: 0px;
}

.full-button {
  width: 100%;
}

.textarea-big {
  width: 100%;
  height: 8em;
  font-family: 'Courier Prime', monospace;
  font-weight: 200;
}

form {
  padding: 0;
  margin: 0;
}

/* Dashboard */

.add-code {
  padding-top: 10px;
}

/* Landingspages */

.start-page {
  text-align: center;
}

.start-tile {
  padding-bottom: 50px;
  width: 50%;
}

.category-tile {
  padding-bottom: 40px;
}

.category-image{
  width: 100%;
}

.challenge {
  padding-top: 50px;
}

.title-link {
  text-decoration: none;
  color: #000000;
}

.progress {
  padding: 15px;
  color: #7f8c8d;
}

/* Challenges */

.hacked-message {
  font-family: 'Courier Prime', monospace;
  color: #3498db;
}

.command-text {
  font-family: 'Courier Prime', monospace;
  color: #c0392b;
}

.malware-icon {
  width: 400px;
  margin-top: -180px;
}

.malware-header {
  height: 180px;
}

.code-number {
  font-size: 2em;
  width: 2em;
  height: 8rem!important;
}

.code-twofactor {
  font-size: 2em;
  width: 6em;
  height: 8rem!important;
}

.code-twofactor-begin {
  font-size: 2em;
  width: 2em;
  height: 8rem!important;
}

.correct {
  background-color: #2ecc71;
  border: 1px solid #27ae60;
  color: white;
}

.success-url {
  color: white;
  text-decoration: none;
}

/* Images */

.img-fluid {
  max-width: 100%;
}

.flag-icon {
  height: 1em;
  padding-right: 10px;
}

/* Other pages */

.left-image {
  float: left;
  max-width: 15%;
  padding: 0px 1.5em 1.5em 0px;
}

.right-image {
  float: right;
  max-width: 10%;
  padding: 0px 0px 20px 20px;
}

.resource-list {
  padding-bottom: 10px;
}

.score {
  text-align: right;
}

.success {
  background-color: #27ae60;
  color: white;
}

.scoreboard td {
  padding: 20px 20px 20px 20px;
}

.scoreboard h4 {
  padding-top: 10px;
}

#leaderboard {
  width: 100%;
}

/* Header */

.header {
  margin-top: 10rem;
  margin-bottom: 5rem;
  text-align: center;
}

.title-background {
  background-color: #ffffff;
  font-family: 'Courier Prime', monospace;
  padding: 10px;
}

/* Blinking cursor */
.blinking-cursor {
  -webkit-animation: 1s blink step-end infinite;
  -moz-animation: 1s blink step-end infinite;
  -ms-animation: 1s blink step-end infinite;
  -o-animation: 1s blink step-end infinite;
  animation: 1s blink step-end infinite;
}

@keyframes "blink" {
  from, to {
    color: transparent;
  }
  50% {
    color: black;
  }
}

@-moz-keyframes blink {
  from, to {
    color: transparent;
  }
  50% {
    color: black;
  }
}

@-webkit-keyframes "blink" {
  from, to {
    color: transparent;
  }
  50% {
    color: black;
  }
}

@-ms-keyframes "blink" {
  from, to {
    color: transparent;
  }
  50% {
    color: black;
  }
}

@-o-keyframes "blink" {
  from, to {
    color: transparent;
  }
  50% {
    color: black;
  }
}

/* Navbar */

.navbar {
  display: none;
}

.navbar {
  padding: 20px 0 20px 0;
}

.navbar-last {
  margin-right: 0px!important;
}

/* Boxes */

.white-box {
  background-color: #ffffff;
  padding: 20px;
}

/* Register */

.register-field {
  padding: 10px 0 10px 0;
}

label>input{
  visibility: hidden;
  position: absolute;
}

label>input+img{
  opacity: .6;
  filter: alpha(opacity=0.6);
}

label>input:checked+img{
  opacity: 1;
  filter: alpha(opacity=1);
}

/* Alignment */

.right {
  float: right;
}

/* Alerts */

.alert {
  background-color: #34495e;
  padding: 20px;
  color: white;
}

.alert-success {
  background-color: #27ae60;
  margin-bottom: 20px;
}

.alert-success-last {
  background-color: #27ae60;
  margin-bottom: 0px;
}

.alert-danger {
  background-color: #c0392b;
  margin-bottom: 20px;
}

/* Phones */

@media (max-width: 850px) {
  .container {
    max-width: 95%;
  }

  .icon-column {
    width: 32%;
    padding-right: 5px;
  }

  /* Top menu */
  .header {
    margin-top: 5rem;
    margin-bottom: 2rem;
  }

  .navbar {
    border-top-width: 0;
    text-align: center;
  }

  .navbar,
  .navbar-spacer {
    display: block;
    width: 100%;
    height: 6.5rem;
    background-color: #2c3e50;
    z-index: 99;
  }
  .navbar-left {
    display: none;
  }
  .navbar-spacer {
    display: none;
  }
  .navbar > .container {
    width: 100%;
  }
  .navbar-list {
    list-style: none;
    margin: 0;
    text-align: center;
    display: inline-block;
  }
  .navbar-item {
    float: left;
    margin-bottom: 0;
  }
  .navbar > div {
    text-align: center;
  }
  .navbar-link {
    font-size: 10pt;
    font-weight: 600;
    letter-spacing: .2rem;
    margin-right: 10px;
    padding: 10px;
    text-decoration: none;
    line-height: 6.5rem;
    color: #ffffff;
  }
  .navbar-last {
    margin-right: 0px;
  }
  .navbar a:hover {
    font-size: 10pt;
    font-weight: 600;
    letter-spacing: .2rem;
    margin-right: 10px;
    padding: 10px;
    text-decoration: none;
    line-height: 6.5rem;
    background-color: #34495e;
    color: #ffffff;
  }
  .navbar-right {
    float: center;
  }

  .navbar-center {
    text-align: center;
  }
  .navbar-link.active {
    background-color: #34495e;
    color: #ffffff;
  }
  .has-docked-nav .navbar {
    position: fixed;
    top: 0;
    left: 0;
  }
  .has-docked-nav .navbar-spacer {
    display: block;
  }

  .has-docked-nav .navbar > .container {
    width: 90%;
  }

  .row-center {
    text-align: center!important;
  }

  .bottom-menu {
    padding: 20px 0px 20px 0px!important;
    color: white;
  }

  .bottom-link {
    color: white;
    text-decoration: none;
  }

  .mobile-hide {
    display: none;
  }

  .success-flag {
    width: 25%;
    padding: 10px;
  }

  .mobile-container-light {
    background-color: transparent;
    padding: 0px;
    color: #000000;
  }

  .category-tile-mobile {
    padding-bottom: 40px;
  }

  .alert-intro {
    padding: 20px;
    background-color: #34495e;
    text-align: justify;
    margin: 0px 0px 20px 0px;
    font-weight: 300;
  }
}

/* Larger than tablet */

@media (min-width: 850px) {

  .container {
    width: 85%;
  }

  /* Navbar */

  .navbar {
    border-top-width: 0;
  }

  .navbar,
  .navbar-spacer {
    display: block;
    width: 100%;
    height: 6.5rem;
    background-color: #2c3e50;
    z-index: 99;
  }

  .navbar-spacer {
    display: none;
  }

  .navbar > .container {
    width: 100%;
  }

  .navbar-list {
    list-style: none;
    margin-bottom: 0;
    text-align: center;
  }

  .navbar-item {
    position: relative;
    float: left;
    margin-bottom: 0;
  }

  .navbar-link {
    font-size: 10pt;
    font-weight: 600;
    letter-spacing: .2rem;
    margin-right: 25px;
    padding: 10px;
    text-decoration: none;
    line-height: 6.5rem;
    color: #ffffff;
  }

  .navbar a:hover {
    font-size: 10pt;
    font-weight: 600;
    letter-spacing: .2rem;
    margin-right: 25px;
    text-decoration: none;
    line-height: 6.5rem;
    background-color: #34495e;
    padding: 10px;
    color: #ffffff;
  }

  .navbar-right {
    float: right;
  }

  .navbar-link.active {
    background-color: #34495e;
    padding: 10px;
    color: #ffffff;
  }

  .has-docked-nav .navbar {
    position: fixed;
    top: 0;
    left: 0;
  }

  .has-docked-nav .navbar-spacer {
    display: block;
  }

  .has-docked-nav .navbar > .container {
    width: 90%;
  }

  .bottom-menu {
    display: none;
  }

  .mobile-show {
    display: none;
  }

  .success-flag {
    width: 100%;
    padding: 15px 10px 15px 10px;
  }

  .alert-intro {
    padding: 0px 0px 25px 0px;
    background-color: transparent;
    width: 90%;
    text-align: center;
    margin: 0px auto 10px auto;
    font-weight: 600;
  }
}

.hint {
  height: 2em;
  float: right;
}

.hint-small {
  height: 1em;
}

.small {
  font-size: 8pt;
}

.hint-img {
  max-width: 100%;
  padding: 10px;

}

.close {
  padding-top: 10px;
  padding-right: 10px;
}

.action {
  width: 100%;
}

/* Collapse */

.toggle-label{
  width: 20px;
  display: inline;
}

.collapse-item{
  position: absolute;
  left: -999999999px;
}

.target{
  display: none;
  background-color: #ecf0f1;
  padding: 20px;
}

.table-header {
  padding-bottom: 10px;
  font-weight: bold;
}

.table-header-italic {
  font-style: italic;
  padding-bottom: 0px;
}

.table-row {
  padding: 5px 0px 5px 0px;
}

.collapse-item:checked ~ .target{
  display: block;
}

/* Icons */

.green-icon {
  color: #27ae60;
}

.red-icon {
  color: #c0392b;
}

.blue-icon {
  color: #3498db;
}

.white-icon {
  color: #ffffff;
}

.black-text {
  color: #000000;
}

.top-padding {
  margin-top: 20px;
}

.goal {
  padding-bottom: 10px;
}

.language-flag {
  height: 1em;
}

.video-container {
    position: relative;
    width: 100%;
    height: 0;
    padding-bottom: 56.25%;
}
.video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}
