@font-face {
  font-family: "Discovery";
  src: url("../fonts/Discovery.otf");
}

* {
  margin: 0;
  padding: 0;
}

::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background-color: #222;
  border-radius: 100px;
}

::-webkit-scrollbar-thumb {
  background-color: #ddd;
  border-radius: 100px;
  border: 2px solid #222;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: Discovery, monospace;
  font-size: 0.8em;
  letter-spacing: 0.15em;
  color: #F0F0F0;
  text-shadow: 1px 1px 1px #222;
  background-color: #222;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-smooth: never;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4, p {
  margin: 0;
  padding: 0;
}

a {
  text-decoration: none;
  color: #F0F0F0;
}

#root {
  width: 100%;
  margin: 0 auto;
}

#header video {
  object-fit: cover;
  height: 100%;
  width: 100%;
  position: absolute;
  top: 0;
  left: 0;
  z-index: -1;
}

#title {
  height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: linear-gradient(to bottom, #FFFF 0%, #F0F0F088 20%, #20202000 50%);
}

#title .title-pane {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 0 30px 40px;
  text-align: center;
  -webkit-backdrop-filter: blur(15px);
  backdrop-filter: blur(15px);
  box-shadow:
    inset -0.75px -0.5px rgba(255, 255, 255, 0.1),
    inset +0.75px +0.5px rgba(255, 255, 255, 0.025),
    3px 2px 10px rgba(0, 0, 0, 0.25),
    inset 0px 0px 10px 5px rgba(255, 255, 255, 0.025),
    inset 0px 0px 40px 5px rgba(255, 255, 255, 0.025);
  border: 20px solid rgba(10, 10, 10, 0.1);
  border-radius: 0 60px 0 60px;
}

#title .title-pane-light {
  background-image: url(../img/light.png);
  background-repeat: repeat;
  background-size: 750px;
  opacity: 0.2;
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  top: 0;
  z-index: -1;
}

#title .company-name {
  padding: 40px 0;
  font-size: 4.5em;
  font-weight: bold
}

#title .company-info {
  padding: 0 20px;
  font-size: 2em;
}

#title .company-info p.clicked a {
  display: block;
  padding: 5px 0;
}

#title .company-info p.clicked a.blip {
  margin-top: 30px;
  padding: 10px;
  background: #ddd3;
  border-radius: 10px;
}

#title .company-info p.clicked a.blip:hover {
  background: #ddd5;
}

#credits {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  margin: 50px 20px 0;
  padding: 5px 0;
  text-align: center;
  overflow: hidden;
  z-index: 1;
  white-space: nowrap;
}

#credits::after {
  content: '';
  display: block;
  position: absolute;
  left: 10px;
  right: 10px;
  bottom: 0;
  height: 2em;
  background: radial-gradient(ellipse at bottom, #222 0%, #2220 50%);
  z-index: -1;
}

@media screen and (max-width:1366px) {
  #title .company-name {
    font-size: 2em;
  }

  #title .title-pane {
    border: 10px solid rgba(10, 10, 10, 0.1);
    border-radius: 0 30px 0 30px;
  }

  #title .company-info {
    padding: 0 20px;
    font-size: 1em;
  }

  #credits {
    font-size: 0.7em;
  }
}