@import url(fontawesome-all.min.css);
@import url("https://fonts.googleapis.com/css?family=Open+Sans:400,600,400italic,600italic|Roboto+Slab:400,700");

/* Universal Reset */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  border: 0;
  box-sizing: border-box;
  vertical-align: baseline;
}

/* Set default styles for modern elements */
article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
  display: block;
}

/* Body Defaults */
body {
  line-height: 1.15;
  -webkit-text-size-adjust: 100%;
  min-width: 370px;
}

/* Normalize input, select, and textarea appearance */
input, select, textarea {
  appearance: none;
}

/* Set a minimum width for small screens */
@media screen and (max-width: 480px) {
  html, body {
    min-width: 320px;
  }
}

/* Type */
/* Define font sizes for easy scaling */
:root {
  --base-font-size: 13pt;
  --font-color: white;
  --heading-color: #E4E4E4;
  --primary-color: #00FDFF;
  --border-color: #8A52FE;
  --code-bg: #00FDFF;
}

/* Base styles */
body, input, select, textarea {
  color: var(--font-color);
  font-family:Verdana, Geneva, Tahoma, sans-serif;
  font-size: var(--base-font-size);
  font-weight: 600;
  line-height: 1.65;
}

/* Responsive font size adjustments */
@media screen and (max-width: 1680px) { :root { --base-font-size: 11pt; } }
@media screen and (max-width: 1280px) { :root { --base-font-size: 10pt; } }
@media screen and (max-width: 360px)  { :root { --base-font-size: 9pt; } }

/* Links */
a {
  transition: color 0.2s ease-in-out, border-bottom-color 0.2s ease-in-out;
  border-bottom: dotted 1px;
  color: var(--primary-color);
  text-decoration: none;
}

a:hover {
  border-bottom-color: var(--primary-color);
  color: var(--primary-color) !important;
}

a:hover strong {
  color: inherit;
}

/* Strong and bold text */
strong, b {
  color: var(--heading-color);
  font-weight: 600;
}

/* Emphasized text */
em, i {
  font-style: italic;
}

/* Paragraphs */
p {
  margin-bottom: 2em;
}

/* Headings */
h1, h2, h3, h4, h5, h6 {
  color: var(--heading-color);
  font-family: "Roboto Slab", serif;
  font-weight: 700;
  line-height: 1.5;
  margin-bottom: 1em;
}

h1 { font-size: 4em; margin-bottom: 0.5em; line-height: 1.3; }
h2 { font-size: 1.75em; }
h3 { font-size: 1.25em; }
h4 { font-size: 1.1em; }
h5 { font-size: 0.9em; }
h6 { font-size: 0.7em; }

/* Responsive heading sizes */
@media screen and (max-width: 1680px) { h1 { font-size: 3.5em; } }
@media screen and (max-width: 980px)  { h1 { font-size: 3.25em; } }
@media screen and (max-width: 736px)  { 
  h1 { font-size: 2em; line-height: 1.4; } 
  h2 { font-size: 1.5em; } 
}

/* Headings inside links */
h1 a, h2 a, h3 a, h4 a, h5 a, h6 a {
  color: inherit;
  text-decoration: none;
  border-bottom: 0;
}

/* Superscript and Subscript */
sub, sup {
  font-size: 0.8em;
  position: relative;
}

sub { top: 0.5em; }
sup { top: -0.5em; }

/* Blockquotes */
blockquote {
  font-style: italic;
  margin-bottom: 2em;
  padding: 0.5em 0 0.5em 2em;
}

/* Text alignment */
.align-left   { text-align: left; }
.align-center { text-align: center; }
.align-right  { text-align: right; }

/* Button */
/* General Button Styles */
button,
.button,
input[type="submit"],
input[type="reset"],
input[type="button"] {
  appearance: none;
  transition: background-color 0.2s ease-in-out, color 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
  background-color: transparent;
  border: 0;
  border-radius: 0.375em;
  box-shadow: inset 0 0 0 2px #14FDFF;
  color: #14FDFF !important;
  cursor: pointer;
  display: inline-block;
  font-family: "Roboto Slab", serif;
  font-size: 0.8em;
  font-weight: 700;
  height: 3.5em;
  line-height: 3.5em;
  letter-spacing: 0.075em;
  padding: 0 2.25em;
  text-align: center;
  text-decoration: none;
  text-transform: uppercase;
  white-space: nowrap;
}

/* Hover and Active States */
button:hover,
.button:hover,
input[type="submit"]:hover,
input[type="reset"]:hover,
input[type="button"]:hover {
  background-color: transparent !important;
  color: #8954FD !important; /* new hover text color */
  box-shadow: inset 0 0 0 2px #8954FD !important; /* new border color */
}

/* Wrapper */
#wrapper {
  display: flex;
  flex-direction: row-reverse;
  min-height: 100vh;
}

/* Main */
#main {
  flex-grow: 1;
  flex-shrink: 1;
  width: 100%;
  background-color: #002244
}

/* Banner */
#banner {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  text-align: center; /* Ensures the inner content is centered horizontally */
  z-index: 10; /* Optional: make sure it appears above other elements */
}

@media screen and (max-width: 850px) {
  #banner .image {
    max-width: 80%;
  }
}

/* Animate the banner image sliding in from the top */
#banner .image {
  animation: slideInDown 1s ease-out forwards;
}

@keyframes slideInDown {
  0% {
    transform: translateY(-300%);
    opacity: 0;
  }
  100% {
    transform: translateY(0);
    opacity: 1;
  }
}

/* Animate the banner button sliding in from the bottom */
#banner .actions .button {
  animation: slideInUp 2s ease-out forwards;
}

@keyframes slideInUp {  
  0% {
    transform: translateY(1000%);
    opacity: 0;
  }
  100% {
    transform: translateY(0);
    opacity: 1;
  }
}