* {
  box-sizing: border-box;
  margin: 0;
}

html {
    width: 100%;
    height: 100%;
    position: absolute;
    overflow-y: visible;
}

body {
  background-color: #000;
  color: #fff;
  font-family: Manrope, sans-serif;
  overflow-x: hidden;
}

/*::-webkit-scrollbar {
  display: none;
}*/

h3 {
  margin: 20px 0 10px;
}

#siteSubtitle {
  position: absolute;
  top: 52px;
  opacity: 0;
  font-size: 14px;
  letter-spacing: 3.2px;
  animation-name: subIn;
  animation-duration: 1.5s;
  animation-delay: 1s;
  animation-fill-mode: forwards;
  animation-timing-function: ease-in-out;
}

@keyframes subIn {
  0% {
    opacity: 0;
    left: 281px;
  }

  100% {
    opacity: 1;
    left: 32px;
  }
}

h2 span{
  opacity: 0;
  position: relative;
}

.h2-in {
  animation-name: h2In;
  animation-duration: 1s;
  animation-fill-mode: forwards;
  animation-timing-function: ease-in-out;
}

@keyframes h2In {
  0% {
    left: 100px;
    opacity: 0;
  }
  100% {
    left: 0px;
    opacity: 1;
  }
}

hr {
  margin-bottom: 15px;
}
button {
  font: inherit;
  background: none;
  color: inherit;
  border: none;
  padding: 0;
  border-radius: 0;
  outline: none;
}
:focus-visible {
    outline: none;
}

canvas {
  display: block;
  position: fixed;
  top: 0;
  z-index: -1;
}

svg {
  fill: currentColor;
}

.cred-link {
    color: white;
    display: inline-block;
    margin: 0;
    padding: 5px;
    width: 100%;
    transition: all 0.25s ease-in-out;
}

.cred-link:hover {
    background: white;
    color: black;
}

#loadcontrol, #togglecontrol {
    cursor: pointer;
    position: fixed;
    bottom: 5px;
    right: 5px;
    width: 100px;
    height: 33px;
    border: 1px solid;
    border-radius: 0;
    background: #000;
    font-size: 12px;
    text-transform: uppercase;
    line-height: 12px;
    outline: none;
    display: none;
}

#togglecontrol {
  opacity: 0;
  visibility: hidden;
}

#togglecontrol.show {
  opacity: 1;
  visibility: visible;
}

#loading {
  opacity: 0;
  visibility: hidden;
  position: fixed;
  bottom: 0;
  left: 0;
  transition: all 400ms;
  z-index: 100;
  background: #000;
  border: 1px solid white;
  height: 30px;
  width: 100%;
  text-align: center;
  line-height: 30px;
  z-index: 99999;
}

#loading p {
  margin: 0;
  text-align: center;
}

#loading p.msg {
  font-size: 0.9em;
  text-transform: uppercase;
  color: #aaa;
}

#loading.show {
  opacity: 1;
  visibility: visible;
}

#no-audio {
  display: none;
  position: absolute;
  left: 50%;
  top: 50%;
  max-width: 300px;
  transform: translate(-50%, -50%);
  padding: 20px;
  font-size: 14px;
  border: 1px solid #ff667f;
  border-radius: 3px;
  background: #ff3354;
  color: #ffe5ea;
  text-shadow: 0 -1px rgba(0, 0, 0, 0.2);
}

#no-audio h1 {
  font-weight: normal;
  font-size: 18px;
  margin: 0 0 1em;
}

#no-audio p {
  color: #ffccd4;
  margin: 0 0 1em;
}

#no-audio a {
  color: #fff;
}

.credits {
  position: fixed;
  bottom: 1rem;
  right: 1rem;
  font-size: 0.75rem;
}

.credits > span {
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.credits a {
  color: #9df29d;
}

a {
  text-decoration: none;
}

li {
  margin-bottom: 15px;
  line-height: 1.6em;
}

.dark-theme {
  background: #000;
  color: #fff;
  left: 0px;
  position: relative;
  top: 0;
}

.light-theme {
  background: #fff;
  color: #000;
}

#contactSide p {
  margin: 0;
}

img.resume {
  width: 100px;
  border: 1px solid red;
  margin-top: 20px;
}

p#phoneSide {
  font-size: 24px;
  margin: 0 0 13px;
}

.offering-category {
  border: 1px solid #00a1ff;
  padding: 5px 10px;
  border-radius: 4px;
  margin: 0 0px 5px;
  display: inline-block;
  cursor: pointer;
  transition: all 0.3s ease-in-out;
  font-size: 13px;
}

.offering-category:hover {
  color: #00a1ff;
  border: 1px solid #00a1ff;
}

#introduction img {
  width: 100%;
  margin: 14px 0 5px;
}

section#resumeSide {
    border: 1px solid;
    position: relative;
    margin-top: 119px;
    padding: 0;
    width: 200px;
    text-align: center;
}

.cert-link {
/*  border-top: 1px solid white;*/
  cursor: pointer;
}

h1 {
  color: white;
  font-family: sans-serif;
  font-weight: 900;
  letter-spacing: 7px;
  text-transform: uppercase;
  position: absolute;
  font-size: 14px;
  margin: 0;
  top: 36px;
  left: 32px;
}

#siteH1 {
  animation-name: titleIn;
  animation-duration: 1s;
  animation-timing-function: ease-in-out;
  animation-fill-mode: forwards;
}

@keyframes titleIn {
  0% {
    top: 19px;
    opacity: 0;
  }

  100% {
    top: 36px;
    opacity: 1;
  }

}

h2 {
  border-top: 1px solid;
  border-bottom: 1px solid;
  width: 100%;
  margin: -1px -30px 10px -30px;
  padding: 5px 30px;
  border-right: 1px solid;
  position: relative;
}

h3#cOTitle {
  margin: 10px;
}

div#offeringCategories {
  padding: 10px 0 15px;
}

#currentOffering {
  min-height: 20px;
  border: 1px solid;
  margin-bottom: 20px;
}

#subtitle {
  position: absolute;
  top: 80px;
  font-family: sans-serif;
  font-size: 12px;
  text-emphasis: none;
  font-style: normal;
  letter-spacing: 2px;
  border-bottom: 1px solid;
  left: 0;
  padding: 3px 15px 2px;
  width: 100%;
  text-align: right;
  background: #000000cc;
}

page {
  border: 1px solid white;
  display: block;
  position: absolute;
  top: 111px;
  padding: 0 30px;
  border-top: 1px solid;
  transition: all 1s ease-in-out;
  right: 0;
  width: calc(100% - 219px);
  margin-right: 10px;
  background: #000000cc;
}

.hidden {
  display:none;
}

page.hidden-top {
  right: -200%;
  opacity: 0;
  position: absolute;
}



section#introduction {
  position: relative;
  top: 111px;
  width: 200px;
  line-height: 1.5;
  font-size: 13px;
  border: 1px solid;
  padding: 5px 20px 14px;
  background: #000000cc;
}

.desktop-only {
    background: #000000cc;
}

linkhover {
  font-weight: bold;
  letter-spacing: 2px;
  padding: 3px 4px;
  border: 1px solid #333;
  transition: all 0.25s ease-in-out;
  cursor: pointer;
  color: white;
}

linkhover:hover {
  background: #eee;
  color: #333;
  border-color: #333;
}

page p {
  line-height: 25px;
  font-size: 14px;
  margin-bottom: 20px;
}

nav {
  position: absolute;
  width: 100%;
  right: 0;
  top: 25px;
  z-index: 999;
}

ul#topMenu {
  list-style: none;
  text-align: right;
  font-family: sans-serif;
  margin: 0;
  position: relative;
  right: -1px;
  padding: 2px 7px;
  font-size: 12px;
}

#topMenu li {
  display: inline-block;
  margin: 0 4px;
  border-bottom: 1px solid transparent;
  padding-left: 2px;
  padding-right: 2px;
  padding-bottom: 7px;
  transition: all 0.35s ease-in-out;
  cursor: pointer;
}

#topMenu li:hover {
  padding-bottom: 2px;
  border-bottom: 1px solid white;
}

#topMenu li.active {
  border-color: white;
  padding-bottom: 2px;
}

section#contactSide {
  border: 1px solid;
  position: relative;
  margin-top: 120px;
  padding: 0;
  width: 200px;
  text-align: center;
}

button#callTextSide {
  background: no-repeat;
  letter-spacing: 2px;
  text-transform: uppercase;
  width: calc(100% - 30px);
  height: 40px;
  border: none;
  color: #fff;
  font-weight: 900;
  padding: 0;
  margin: 0;
}

spaceshooter {
  background: black;
  display: block;
  width: 102%;
  height: 58px;
  position: absolute;
  top: 51px;
  left: 49%;
  transform: translateX(-50%) translateY(-50%);
  overflow: hidden;
  border-top: 1px solid white;
  border-bottom: 1px solid white;
}

#olo {
  display: block;
  width: 400px;
  height: 400px;
  // border: 1px solid red;
  position: absolute;
  top: 50%;
  left: 50%;
  transform-style: preserve-3d;
  animation: olo 15s infinite;
}

@keyframes olo {
  0% {
    transform: translateX(-50%) translateY(-50%) rotateX(0deg) rotateY(720deg) scale(1.2, 1.2);
  }

  50% {
    transform: translateX(-50%) translateY(-50%) rotateX(360deg) rotateY(0deg) scale(0.8, 0.8);
  }

  100% {
    transform: translateX(-50%) translateY(-50%)  rotateX(0deg) rotateY(720deg) scale(1.2, 1.2);
  }

}

.ring {
  border: 1px solid red;
  border-radius: 50%;
  position: absolute;
  top: 50%;
  left: 50%;
  perspective: 800px;
  transition: all 1s ease-in-out;
}

#ring1 {
  width: 90%;
  height: 90%;
  animation: ring1 10s infinite;
}

@keyframes ring1 {
  0% {
    transform: translateX(-50%) translateY(-50%) rotateX(0deg) rotateY(0deg) rotateZ(0deg);
  }

  100% {
    transform: translateX(-50%) translateY(-50%) rotateX(720deg) rotateY(0deg) rotateZ(0deg);
  }

}

#ring2 {
  width: 90%;
  height: 90%;
  animation: ring2 10s infinite;
}

@keyframes ring2 {
  0% {
    transform: translateX(-50%) translateY(-50%) rotateX(0deg) rotateY(0deg) rotateZ(0deg);
  }

  100% {
    transform: translateX(-50%) translateY(-50%) rotateX(0deg) rotateY(720deg) rotateZ(0deg);
  }

}

#ring3 {
  width: 90%;
  height: 90%;
  animation: ring3 15s infinite;
}

@keyframes ring3 {
  0% {
    transform: translateX(-50%) translateY(-50%) rotateX(0deg) rotateY(0deg) rotateZ(0deg);
  }

  100% {
    transform: translateX(-50%) translateY(-50%) rotateX(360deg) rotateY(360deg) rotateZ(720deg);
  }

}

#ring4 {
  animation: ring4 5s infinite;
}

#ring5 {
  animation: ring4 5s infinite;
  animation-delay: -.1s;
}

#ring6 {
  animation: ring4 5s infinite;
  animation-delay: -.2s;
}

#ring7 {
  animation: ring4 5s infinite;
  animation-delay: -.3s;
}

#ring8 {
  animation: ring4 5s infinite;
  animation-delay: -.4s;
}

#ring9 {
  animation: ring4 5s infinite;
  animation-delay: -.5s;
}

#ring10 {
  animation: ring4 5s infinite;
  animation-delay: -.6s;
}

#ring11 {
  animation: ring4 5s infinite;
  animation-delay: -.7;
}

#ring12 {
  animation: ring4 5s infinite;
  animation-delay: -.8s;
}

@keyframes ring4 {
  0% {
    width: 30%;
    height: 30%;
    top: 30%;
    transform: translateX(-50%) translateY(-50%) rotateX(180deg) rotateY(180deg) rotateZ(0deg);
  }

  50% {
    width: 30%;
    height: 30%;
    top: 70%;
    transform: translateX(-50%) translateY(-50%) rotateX(540deg) rotateY(540deg) rotateZ(720deg);
  }

  100% {
    width: 30%;
    height: 30%;
    top: 30%;
    transform: translateX(-50%) translateY(-50%) rotateX(180deg) rotateY(180deg) rotateZ(720deg);
  }

}

.current-ob-cat {
  background: #00a1ff;
  border: 1px solid;
}

.current-ob-cat:hover {
  color: white;
}

#currentOB {
  padding: 0 20px;
}

.mobile-contacts {
  display: none;
}

@media only screen and (max-width:740px) {
  #siteH1 {
    animation-name: h1InMobile;
    animation-duration: 1s;
    animation-fill-mode: forwards;
    animation-timing-function: ease-in-out;
    opacity: 1;
    top: 0px;
    left: 0;
    display: block;
    width: 100%;
    text-align: center;
    line-height: 34px;
    background: black;
    position: fixed;
    z-index: 999;
  }

  @keyframes h1InMobile {
    0% {
      transform: rotateX(90deg);
    }
    100% {
      transform: rotateX(0deg);
    }
  }

  #subtitle {
    display: none;
  }

  #siteSubtitle {
    display: none;
  }

  .dark-theme {
    left: auto;
    top: auto;
  }

  .mobile-contacts {
    display: inline-block;
    margin: 15px 0;
    border-top: 1px solid;
    padding-top: 15px;
  }

  ul#topMenu {
    text-align: center;
    position: fixed;
    width: 100%;
    top: 41px;
    z-index: 999;
  }

  img.page-footer-img {
    float: left;
    margin: 0 20px 10px 0;
    width: 144px;
  }

  p.call-or-text {
    font-size: 32px;
    border: 1px solid;
    padding: 10px 20px;
    line-height: 35px;
    text-align: center;
  }

  page {
    border: 1px solid white;
    display: block;
    position: absolute;
    padding: 0 30px 80px;
    border-top: 1px solid;
    transition: all 1s ease-in-out;
    margin-top: 104px;
    margin-left: 0px;
    width: calc(100% - 1px);
    top: 0;
    margin-right: 0;
  }

  .offering-category {
    padding: 1px 3px;
  }

  .desktop-only {
    display: none;
  }

  spaceshooter {
    background: black;
    display: block;
    width: 100%;
    height: 62px;
    position: fixed;
    top: 65px;
    left: 50%;
    transform: translateX(-50%) translateY(-50%);
    overflow: hidden;
    border-top: 1px solid white;
    border-bottom: 1px solid white;
    z-index: 99;
  }

}

#certsWindow {
  position: fixed;
  width: 100vw;
  height: 100vh;
  top: 0;
  left: 0;
  opacity: 0;
  z-index: 9999;
}

#closeCertsWindowBtn {
    position: fixed;
    width: 30px;
    height: 30px;
    right: 28px;
    top: 11px;
    border: 1px solid #000;
    color: black;
    cursor: pointer;
    z-index: 99999;
    text-align: center;
    background: white;
    font-weight: bold;
    padding: 1px 0 0 1px;
}

.certs-iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: white;
}

.certs-in {
  animation-name: certsIn;
  animation-duration: 1s;
  animation-timing-function: ease-in-out;
  animation-fill-mode: forwards;
  animation-iteration-count: 1;
}

@keyframes certsIn {
  0% {
    opacity: 0;
    transform: rotateX(90deg) translateY(100%) scale(0,0);
  }
  100% {
    opacity: 100;
    transform: rotateX(0deg) translateY(0%) scale(1,1);
  }
}

.certs-out {
  animation-name: certsOut;
  animation-duration: 1s;
  animation-timing-function: ease-in-out;
  animation-fill-mode: forwards;
  animation-iteration-count: 1;
}

@keyframes certsOut {
  0% {
    opacity: 100;
    transform: rotateX(0deg) translateY(0%) scale(1,1);
  }
  100% {
    opacity: 0;
    transform: rotateX(90deg) translateY(100%) scale(0,0);
  }
}

#clockContainer {
  width: 350px;
  height: 350px;
  position: relative;
  transition: all 1s ease-in-out;
}

#clockContainer.clock-full-screen {
  position: fixed;
  width: 100%;
  height: 100%;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 999;
}

#clockCover {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 2;
  cursor: pointer;
}

.clock-full-screen {
  position: fixed;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  z-index: 999;
}

#clockIFrame {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
  border: none;
}

#clockCloseButton {
  display: none;
}

.trail {
  position: fixed;
  width: 10px;
  height: 10px;
/*  background-color: #ff6f61;*/
  border-radius: 50%;
  opacity: 0.8;
  z-index: 99999999;
  pointer-events: none;
  animation: trailFade 1s ease-out forwards;
}

@keyframes trailFade {
  from {
    opacity: 100;
    transform: scale(0.2);
/*    background-color: #ff6f61;*/
    border: 1px solid red;
  }
  to {
    opacity: 0;
    transform: scale(0.8);
/*    background-color: transparent;*/
    border: 1px solid lightslategray;
  }
}