/*
  This should make the site
  into a flexbox and also give it
  the right fonts it needs
 */
.flex-container {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  min-height: 100vh;
  text-align: center;
  margin: 0 auto;
  max-width: 1200px;
  padding: 30px;
}

.flex-container .flex-content {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-flex: 1;
      -ms-flex: 1;
          flex: 1;
}

.vjs-control-bar {
  display: none;
}

/**
Particles background
 */
.particle-network-animation {
  position: fixed;
  z-index: -10;
  top: 0;
  left: 0;
  right: 0;
  height: 100vh;
  background: #B2FEFA;
  /* fallback for old browsers */
  /* Chrome 10-25, Safari 5.1-6 */
  background: -webkit-gradient(linear, left bottom, left top, from(#52addd), to(#91deee));
  background: linear-gradient(to top, #52addd, #91deee);
  /* W3C, IE 10+/ Edge, Firefox 16+, Chrome 26+, Opera 12+, Safari 7+ */
}

.particle-network-animation::before {
  z-index: -2;
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background-position: center center;
  background-size: cover;
  opacity: 0.2;
}

.glow {
  z-index: -1;
  position: fixed;
  top: 50%;
  left: 50%;
  background-image: radial-gradient(circle closest-side, rgba(255, 255, 255, 0.025), transparent);
}

.glow-1 {
  width: 150vw;
  height: 150vh;
  margin-top: -75vh;
  margin-left: -75vw;
  -webkit-animation: glow-1-move 25s linear infinite both;
          animation: glow-1-move 25s linear infinite both;
}

@-webkit-keyframes glow-1-move {
  from {
    -webkit-transform: translate(-100%, 100%);
            transform: translate(-100%, 100%);
  }
  to {
    -webkit-transform: translate(100%, -100%);
            transform: translate(100%, -100%);
  }
}

@keyframes glow-1-move {
  from {
    -webkit-transform: translate(-100%, 100%);
            transform: translate(-100%, 100%);
  }
  to {
    -webkit-transform: translate(100%, -100%);
            transform: translate(100%, -100%);
  }
}

.glow-2 {
  width: 100vw;
  height: 100vh;
  margin-top: -50vh;
  margin-left: -50vw;
  -webkit-animation: glow-2-move 25s linear 8.33333333s infinite both;
          animation: glow-2-move 25s linear 8.33333333s infinite both;
}

@-webkit-keyframes glow-2-move {
  from {
    -webkit-transform: translate(-100%, 0%);
            transform: translate(-100%, 0%);
  }
  to {
    -webkit-transform: translate(100%, 100%);
            transform: translate(100%, 100%);
  }
}

@keyframes glow-2-move {
  from {
    -webkit-transform: translate(-100%, 0%);
            transform: translate(-100%, 0%);
  }
  to {
    -webkit-transform: translate(100%, 100%);
            transform: translate(100%, 100%);
  }
}

.glow-3 {
  width: 120vw;
  height: 120vh;
  margin-top: -60vh;
  margin-left: -60vw;
  -webkit-animation: glow-3-move 25s linear 16.66666667s infinite both;
          animation: glow-3-move 25s linear 16.66666667s infinite both;
}

@-webkit-keyframes glow-3-move {
  from {
    -webkit-transform: translate(100%, 100%);
            transform: translate(100%, 100%);
  }
  to {
    -webkit-transform: translate(0%, -100%);
            transform: translate(0%, -100%);
  }
}

@keyframes glow-3-move {
  from {
    -webkit-transform: translate(100%, 100%);
            transform: translate(100%, 100%);
  }
  to {
    -webkit-transform: translate(0%, -100%);
            transform: translate(0%, -100%);
  }
}

/*
  Basic things like headings
  and paragraphs.
 */
body {
  font-family: 'Roboto', sans-serif;
}

.lead {
  font-weight: 400;
  color: #2388b4;
}

.expanded {
  letter-spacing: 15px;
}

a.highlight,
.highlight {
  color: #fff;
}

.main-loading {
  font-size: 50px;
}

/*
  Buttons
 */
.btn-lg {
  line-height: 1;
  font-weight: 500;
  text-transform: uppercase;
  padding: 6px 20px;
  border-radius: 8px;
}

.btn-md {
  font-weight: 500;
  font-size: 33.33333333px;
  border-radius: 8px;
  padding: 6px 30px;
}

.btn.pulsing {
  -webkit-animation: pulse 1.5s ease infinite;
          animation: pulse 1.5s ease infinite;
}

@-webkit-keyframes pulse {
  from {
    -webkit-box-shadow: 0 0 0 0 #ef4b4c;
            box-shadow: 0 0 0 0 #ef4b4c;
  }
  to {
    -webkit-box-shadow: 0 0 0 30px rgba(239, 75, 76, 0);
            box-shadow: 0 0 0 30px rgba(239, 75, 76, 0);
  }
}

@keyframes pulse {
  from {
    -webkit-box-shadow: 0 0 0 0 #ef4b4c;
            box-shadow: 0 0 0 0 #ef4b4c;
  }
  to {
    -webkit-box-shadow: 0 0 0 30px rgba(239, 75, 76, 0);
            box-shadow: 0 0 0 30px rgba(239, 75, 76, 0);
  }
}

@media (max-width: 767.98px) {
  .btn-lg {
    font-size: 33.33333333px;
    padding: 0.5rem;
  }
}

/*
  Form control
 */
.form-control {
  font-weight: 500;
  color: #9ecdde;
  -webkit-box-shadow: none;
          box-shadow: none;
  border: 0;
  font-size: 50px;
  padding: 0.5rem 20px;
  border-radius: 8px;
}

.form-control.narrow {
  max-width: 400px;
}

.form-control:active, .form-control:focus {
  -webkit-box-shadow: none;
          box-shadow: none;
}

.form-control::-webkit-input-placeholder {
  color: #9ecdde;
}

.form-control:-ms-input-placeholder {
  color: #9ecdde;
}

.form-control::-ms-input-placeholder {
  color: #9ecdde;
}

.form-control::placeholder {
  color: #9ecdde;
}

.placeholder-group {
  max-width: 510px;
  margin: 0 auto;
}

.placeholder-group .input-group-text {
  background-color: #fff;
  border: 0;
  border-radius: 8px 0 0 8px;
  color: #9ecdde;
  font-weight: 500;
  font-size: 50px;
  padding: 0.5rem 20px;
}

.placeholder-group .form-control:not(:last-child) {
  border-top-right-radius: 8px;
  border-bottom-right-radius: 8px;
}

@media (max-width: 767.98px) {
  .form-control {
    font-size: 33.33333333px;
  }
  .placeholder-group .input-group-text {
    font-size: 33.33333333px;
  }
}

/**
 Errors
 */
ul.invalid-feedback {
  padding: 0;
  text-align: left;
  font-weight: 500;
  list-style: none;
  font-size: 1rem;
}

ul.invalid-feedback li:before {
  content: '\F00D';
  font-family: 'Font Awesome 5 Free';
  font-weight: 900;
  margin-right: 5px;
}

/**
 Radio Buttons
 */
.checkbox, .radio {
  padding-top: 0 !important;
}

.checkbox label, .radio label {
  display: block;
  cursor: pointer;
  padding: 0;
}

.checkbox input, .radio input {
  top: 0;
  left: 0;
  margin-left: 0 !important;
  z-index: 1;
  cursor: pointer;
  opacity: 0;
  margin-top: 0;
}

.checkbox.disabled, .radio.disabled {
  opacity: 0.6;
}

.checkbox-inline,
.radio-inline {
  vertical-align: top;
  margin-top: 0;
  padding-left: 25px;
}

.checkbox.img-select label, .radio.img-select label {
  padding: 0;
  font-weight: 500;
  color: #fff;
}

.checkbox.img-select img, .radio.img-select img {
  -webkit-transition: all 250ms ease;
  transition: all 250ms ease;
  max-width: 100%;
  margin-bottom: 5px;
  -webkit-filter: contrast(20%) sepia(100%) brightness(140%) saturate(0);
          filter: contrast(20%) sepia(100%) brightness(140%) saturate(0);
}

.checkbox.img-select .label-name, .radio.img-select .label-name {
  display: block;
}

.checkbox.img-select input:checked + img,
.checkbox.img-select input:checked + .label-content, .radio.img-select input:checked + img,
.radio.img-select input:checked + .label-content {
  color: #ef4b4c;
}

.checkbox.img-select input:checked + img > img,
.checkbox.img-select input:checked + .label-content > img, .radio.img-select input:checked + img > img,
.radio.img-select input:checked + .label-content > img {
  -webkit-filter: grayscale(0);
          filter: grayscale(0);
}

/*
  Indicators
 */
ul.indicators {
  list-style: none;
  padding: 30px 0 0 0;
  margin: 0;
}

ul.indicators li {
  text-align: center;
  display: inline-block;
  margin: 0 9px;
  width: 22px;
  height: 22px;
  border: 2px solid #fff;
  border-radius: 50%;
  background-color: #87cdea;
}

ul.indicators li.completed, ul.indicators li.active {
  background-color: #fff;
}

ul.indicators li.completed:before {
  font-family: 'Font Awesome 5 Free';
  font-weight: 900;
  content: '\F00C';
  vertical-align: top;
  font-size: 0.875rem;
  color: #87cdea;
}

/**
 Timer
 */
.countdown {
  position: relative;
  margin: auto;
  margin-bottom: 50px;
  height: 200px;
  width: 200px;
  text-align: center;
}

.countdown .countdown-number {
  color: #ef4b4c;
  display: inline-block;
  line-height: 200px;
  font-size: 84px;
  font-weight: 500;
}

.countdown svg {
  position: absolute;
  top: 0;
  right: 0;
  width: 200px;
  height: 200px;
  -webkit-transform: rotateY(-180deg) rotateZ(-90deg);
          transform: rotateY(-180deg) rotateZ(-90deg);
}

.countdown svg circle {
  stroke-dasharray: 527.7875658px;
  stroke-dashoffset: 0px;
  stroke-linecap: square;
  stroke-width: 16px;
  fill: none;
}

.countdown svg circle.circle-foreground {
  stroke: #ef4b4c;
}

.countdown svg circle.circle-foreground.circle-animate {
  -webkit-animation: countdown 0s linear forwards;
          animation: countdown 0s linear forwards;
}

.countdown svg circle.circle-background {
  stroke: rgba(255, 255, 255, 0.2);
}

@-webkit-keyframes countdown {
  /*from {
        stroke-dashoffset: 0px;
    }*/
  to {
    stroke-dashoffset: 527.7875658px;
  }
}

@keyframes countdown {
  /*from {
        stroke-dashoffset: 0px;
    }*/
  to {
    stroke-dashoffset: 527.7875658px;
  }
}

@media (max-width: 767.98px) {
  .countdown {
    -webkit-transform: scale(0.7);
            transform: scale(0.7);
    margin-bottom: 0;
  }
}

/**
 Growl alerts
 */
.alert.animated {
  -webkit-box-shadow: 0 2px 5px rgba(0, 0, 0, 0.16), 0 2px 10px rgba(0, 0, 0, 0.12);
          box-shadow: 0 2px 5px rgba(0, 0, 0, 0.16), 0 2px 10px rgba(0, 0, 0, 0.12);
  color: #fff;
  font-size: 1.25rem;
  font-weight: normal;
  border: 0;
}

.alert.animated.alert-danger {
  background-color: #dc3545;
}

.alert.animated.alert-warning {
  background-color: #ffc107;
}

.alert.animated.alert-success {
  background-color: #28a745;
}

.alert.animated.alert-info {
  background-color: #007bff;
}
