/* Fractured Timeline: Capture the Flag Custom Theme */

/* Base */
html,
body {
  width: 100%;
  min-height: 100%;
  margin: 0;
  overflow-x: hidden;
  background: #05050a;
  font-family: Arial, Helvetica, sans-serif;
}

body,
main,
main > div,
.container-fluid {
  background: #05050a !important;
}

a {
  color: #00bfff;
}

p,
li,
td,
th {
  color: #ffffff;
}

/* Navigation */
.navbar {
  background-color: #111122;
  border-bottom: 2px solid #ff0000;
}

.navbar-brand {
  color: #ffffff;
  text-shadow: none;
  font-family: Arial, Helvetica, sans-serif;
}

/* Buttons */
.btn-primary {
  background-color: #ff0000;
  border-color: #ff0000;
}

.btn-primary:hover {
  background-color: #cc0000;
  border-color: #cc0000;
}

/* General CTFd Elements */
.alert {
  color: #000000;
}

.card {
  background-color: #1c1c2a;
  border: 1px solid #444;
}

.modal-body {
  background-color: #05050a;
}

/* Splash */
.jrctf-splash-wrap {
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  background: #05050a !important;
  padding: 0 0 2rem 0;
  margin: 0 auto;
  border: none !important;
  box-shadow: none !important;
}

.jrctf-splash-img {
  width: 100%;
  max-width: 1920px;
  height: auto;
  display: block;
  margin: 0 auto;
  border: none !important;
  outline: none !important;
  box-shadow: none !important;
}

/* Timeline Console */
.jrctf-content {
  box-sizing: border-box;
  max-width: 950px;
  margin: 2rem auto 3rem auto;
  padding: 2rem;
  color: #ffffff;
  text-align: center;
  background: linear-gradient(
    180deg,
    rgba(15,20,35,.98) 0%,
    rgba(5,10,20,.98) 100%
  );
  border: 1px solid rgba(0,191,255,.35);
  border-radius: 8px;
  box-shadow:
    0 0 25px rgba(0,191,255,.15),
    0 0 50px rgba(255,0,0,.08);
}

.jrctf-panel-header {
  margin: -2rem -2rem 1.5rem -2rem;
  padding: .75rem;
  background: #111122;
  border-bottom: 1px solid rgba(0,191,255,.4);
  color: #00bfff;
  font-size: .9rem;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.jrctf-content h1 {
  color: #ffffff;
  font-family: 'Orbitron', Arial, Helvetica, sans-serif;
  font-size: 2.5rem;
  line-height: 1.15;
  text-shadow: 0 0 10px #00bfff;
}

.timeline-status {
  color: #00bfff;
  letter-spacing: 2px;
  font-size: .9rem;
  line-height: 1.5;
  margin-bottom: 1.5rem;
}

.jrctf-content p {
  color: #e8f7ff;
  font-size: 1.1rem;
  line-height: 1.6;
}

/* Social */
.social-section {
  color: #ffffff;
  margin-top: 3rem;
  padding-bottom: 2rem;
  background: #05050a !important;
  text-align: center;
}

.social-section h3 {
  color: #ffffff;
  text-shadow: 0 0 8px rgba(0,191,255,.35);
}

/* Footer */
footer,
.footer {
  background: #05050a !important;
  margin-top: 0 !important;
  border-top: none !important;
}

/* Mobile */
@media (max-width: 768px) {
  .navbar-brand {
    font-size: 1rem;
    max-width: 220px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .row {
    margin-left: 0 !important;
    margin-right: 0 !important;
  }

  .jrctf-splash-wrap,
  .jrctf-content {
    margin-left: auto !important;
    margin-right: auto !important;
  }

  .jrctf-content {
    width: calc(100% - 20px);
    max-width: calc(100% - 20px);
    margin: 1.25rem auto 2rem auto;
    padding: 1.25rem;
  }

  .container {
      padding-left: 0 !important;
      padding-right: 0 !important;
  }

  .jrctf-panel-header {
    margin: -1.25rem -1.25rem 1.25rem -1.25rem;
    padding: .65rem;
    font-size: .72rem;
    letter-spacing: 1.5px;
  }

  .jrctf-content h1 {
    font-size: 1.75rem;
    line-height: 1.2;
  }

  .timeline-status {
    font-size: .75rem;
    letter-spacing: 1px;
  }

  .jrctf-content p {
    font-size: 1rem;
    line-height: 1.45;
  }

  .social-section {
    margin-top: 2rem;
  }

  .social-section h3 {
    font-size: 1.25rem;
  }
}
