/*
  Theme based on "Aerial" by HTML5 UP
  html5up.net | @ajlkn
  Free for personal and commercial use under the CCA 3.0 license (html5up.net/license)
*/

@import url("https://fonts.googleapis.com/css?family=Source+Sans+Pro:300,900");
@import url("../../fontawesome/css/fontawesome-all.min.css");

/* Standard blocks */
html, body, div, span, applet, object,
iframe, h1, h2, h3, h4, h5, h6, p, blockquote,
pre, a, abbr, acronym, address, big, cite,
code, del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var, b,
u, i, center, dl, dt, dd, ol, ul, li, fieldset,
form, label, legend, table, caption, tbody,
tfoot, thead, tr, th, td, article, aside,
canvas, details, embed, figure, figcaption,
footer, header, hgroup, menu, nav, output, ruby,
section, summary, time, mark, audio, video {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
}

article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
  display: block;
}

body {
  line-height: 1em;
}

ol, ul {
  list-style: none;
}

blockquote, q {
  quotes: none;
}

  blockquote:before, blockquote:after, q:before, q:after {
    content: '';
    content: none;
  }

table {
  border-collapse: collapse;
  border-spacing: 0;
}

mark {
  background-color: transparent;
  color: inherit;
}

input::-moz-focus-inner {
  border: 0;
  padding: 0;
}

input, select, textarea {
  appearance: none;
}

/* Page base */
html {
  box-sizing: border-box;
}

*, *:before, *:after {
  box-sizing: inherit;
}

body {
  background: #fff;
  overflow: auto;
  color: #fff;
  font-family: 'Source Sans Pro', sans-serif;
  font-size: 15pt;
  font-weight: 300 !important;
  letter-spacing: -0.025em;
  line-height: 1.3em;
}

a {
  transition: all 0.2s ease-in-out;
  border-bottom: dotted 1px;
  color: inherit;
  outline: 0;
  text-decoration: none;
}

  a:hover {
    border-color: transparent;
  }

abbr {
  text-decoration: none;
  border-bottom: 1px dashed rgb(255, 255, 255, 0.75);
}

figcaption {
  text-align: center;
  font-style: italic;
  margin-top: -0.25em;
}

/* Icons */
.icon {
  text-decoration: none;
  position: relative;
}

  .icon:before {
    display: inline-block;
    font-style: normal;
    font-variant: normal;
    text-rendering: auto;
    line-height: 1;
    text-transform: none !important;
    font-family: 'Font Awesome 6 Free';
    font-weight: 400;
  }

  .icon > .label {
    display: none;
  }

  .icon.fab:before {
    font-family: 'Font Awesome 6 Brands';
  }

/* Profile picture */

.profile {
  border-radius: 9999px;
  width: 128px;
}

/* Wrapper */
#wrapper {
  height: 100%;
  left: 0;
  opacity: 1;
  position: fixed;
  top: 0;
  width: 100%;
}

/* BG */
#bg {
  /* Set your background with this */
  background: #0f0f0f;
  /* background: #0f0f0f radial-gradient(circle at 50% -90%, #45c5E6 0%, #0f0f0f 55%); */
  background-size: 2250px auto;
  height: 100%;
  width: 100%;
  left: 0;
  opacity: 1;
  position: fixed;
  top: 0;
}

/* Overlay */
@keyframes overlay {
  0% {
    opacity: 0;
  }

  100% {
    opacity: 1;
  }
}

#overlay {
  animation: overlay 1.5s forwards;
  background-attachment: fixed, fixed;
  background-image: url("/assets/images/overlay-pattern.png"), url("/assets/images/overlay.svg");
  background-position: top left, center center;
  background-repeat: repeat, no-repeat;
  background-size: auto, cover;
  height: 100%;
  left: 0;
  opacity: 1;
  position: fixed;
  top: 0;
  width: 100%;
}

/* Main */
#main {
  height: 100%;
  left: 0;
  position: fixed;
  text-align: center;
  top: 0;
  width: 100%;
  overflow: auto;
}

/* Header */
@keyframes header {
  0% {
    transform: translate3d(0,1em,0);
    opacity: 0;
  }

  100% {
    transform: translate3d(0,0,0);
    opacity: 1;
  }
}

@keyframes nav-icons {
  0% {
    transform: translate3d(0,1em,0);
    opacity: 0;
  }

  100% {
    transform: translate3d(0,0,0);
    opacity: 1;
  }
}

nav.header-links {
  margin: 0.5em 0;
  z-index: 1;
  position: relative;
}

  nav.header-links li.main-link {
    animation: header 1s 0.75s forwards;
    backface-visibility: hidden;
    transform: translate3d(0,0,0);
    display: inline-block;
    opacity: 0;
    margin-bottom: -8px;
  }

    nav.header-links li.main-link::after {
      content: '';
      position: relative;
      display: block;
      height: 8px;
    }

  nav.header-links .hover-items {
    display: none;
  }


    nav.header-links li.main-link:hover .hover-items {
      background: rgba(0, 0, 0, 0.8);
      display: block;
      position: absolute;
      border: 1px solid grey;
      border-radius: 2px;
      margin-top: 4px;
      width: max-content;
    }

      nav.header-links li.main-link:hover .hover-items li {
        animation: none !important;
        display: block;
        opacity: 1;
        line-height: 1.2em;
        padding: 4px;
      }

#header {
  animation: header 1s 0.75s forwards;
  backface-visibility: hidden;
  transform: translate3d(0,0,0);
  cursor: default;
  opacity: 0;

  position: absolute;
  width: 90%;
  left: 5%;
  height: 90%;
  top: 5%;

  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

  #header h1 {
    font-size: 4.35em;
    font-weight: 900;
    letter-spacing: -0.035em;
    line-height: 1em;
  }

  #header p {
    font-size: 1.25em;
    margin: 0.75em 0 0.25em 0;
    opacity: 0.75;
  }

  #header nav {
    margin: 1.5em 0 0 0;
  }

    #header nav li {
      animation: nav-icons 0.5s ease-in-out forwards;
      backface-visibility: hidden;
      transform: translate3d(0,0,0);
      display: inline-block;
      height: 5.35em;
      line-height: 5.885em;
      opacity: 0;
      position: relative;
      top: 0;
      width: 5.35em;
    }
      #header nav.header-links li {
        height: 1.5em;
        line-height: 1.5em;
      }

      #header nav li:nth-child(1) {
        animation-delay: 1s;
      }

      #header nav li:nth-child(2) {
        animation-delay: 1.25s;
      }

      #header nav li:nth-child(3) {
        animation-delay: 1.5s;
      }

      #header nav li:nth-child(4) {
        animation-delay: 1.75s;
      }

      #header nav li:nth-child(5) {
        animation-delay: 2s;
      }

      #header nav li:nth-child(6) {
        animation-delay: 2.25s;
      }

      #header nav li:nth-child(7) {
        animation-delay: 2.5s;
      }

      #header nav li:nth-child(8) {
        animation-delay: 2.75s;
      }

      #header nav li:nth-child(9) {
        animation-delay: 3s;
      }

    #header nav a.icon {
      border: 0;
      display: inline-block;
    }

      #header nav a:before {
        transition: all 0.2s ease-in-out;
        border-radius: 100%;
        border: solid 1px #fff;
        display: block;
        font-size: 1.75em;
        height: 2.5em;
        line-height: 2.5em;
        position: relative;
        text-align: center;
        top: 0;
        width: 2.5em;
      }

      #header nav a:hover {
        font-size: 1.1em;
      }

        #header nav a:hover:before {
          background-color: rgba(255, 255, 255, 0.175);
          color: #fff;
        }

      #header nav a:active {
        font-size: 0.95em;
        background: none;
      }

        #header nav a:active:before {
          background-color: rgba(255, 255, 255, 0.35);
          color: #fff;
        }

      #header nav a span {
        display: none;
      }

      #header .links {
        margin: 0.75em 0 0.25em 0;
      }

#content {
  animation: header 1s 0.75s forwards;
  opacity: 0;
  background-color: rgba(0,0,0,0.5);
  width: max-content;
  max-width: 90%;
  min-height: 90%;
  border-radius: 12px;
  letter-spacing: -0.035em;
  margin: 0 auto 0.5em;
  padding: 0.1em 1em 0.25em;
  text-align: left;
}

  #content h1 {
    text-align: center;
    font-size: 4em;
    font-weight: 900;
    line-height: 1.3em;
  }
  
  #content h2 {
    font-size: 3em;
    font-weight: 600;
    line-height: 1.3em;
  }
  
  #content h3 {
    font-size: 1.6em;
    font-weight: 500;
    line-height: 1.3em;
  }

  #content p {
    opacity: 1;
    margin-bottom: 0.5em;
  }

  #content ul {
    margin-left: 1em;
    list-style-type: disc;
    opacity: 1;
    margin-bottom: 0.5em;
  }

  #content .table-row {
    display: flex;
    justify-content: space-around;
    margin: 0.5em 0;
  }
  
    #content .table-row section {
      width: 48%;
      align-content: center;
    }
      #content .table-row section img {
        width: 100%;
        object-fit: contain;
      }

/* Screen sizes */

/** X-Large **/
@media screen and (max-width: 1680px) {
  body, input, select, textarea {
    font-size: 13pt;
  }
  
  #bg {
    background-size: 1500px auto;
  }
}

/** Large **/
@media screen and (max-width: 1280px) {
  body, input, select, textarea {
    font-size: 12pt;
  }

  #bg {
    background-size: 750px auto;
  }
}

/** Mobile **/
@media screen and (max-width: 736px) {
  body {
    min-width: 320px;
  }

  body, input, select, textarea {
    font-size: 11pt;
  }

  #bg {
    background-size: 300px auto;
  }

  #header h1 {
    font-size: 2.5em;
  }

  #header p {
    font-size: 1em;
  }

  #header nav {
    font-size: 1em;
  }

    #header nav a:hover {
      font-size: 1em;
    }

    #header nav a:active {
      font-size: 1em;
    }
}

/** Mobile (Portrait) **/
@media screen and (max-width: 480px) {
  #bg {
    background-size: 412.5px auto;
  }

  #header nav {
    padding: 0 1em;
  }
}