@font-face {
  font-family: doto;
  src: url(../fonts/Doto-Regular.ttf);
  font-display: block
}

html {
  background-color: #0f1724;
  display: table;
  height: 100%;
  text-align: center;
  width: 100%
}

body {
  display: table-cell;
  vertical-align: middle;
  margin: 2em auto;
  font-family: doto;
  font-size: clamp(1rem, 1.3vw, 2.2rem);
  color: #11ece5
}

a {
  color: #fff;
  text-decoration: none
}

span.color1 {
  color: #fff
}

span.color2 {
  color: #00f7ff
}

span.color3 {
  color: rgb(255, 0, 0)
}

span.color4 {
  color: rgb(225, 0, 255)
}

.main {
  -webkit-transform: translateZ(0) translate3D(0, 0, 0);
  transform: translateZ(0) translate3D(0, 0, 0);
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  will-change: opacity
}

#backgroundContainer {
  position: absolute;
  top: 0;
  left: 0;
  z-index: -111;
  /* height: 100%; */
  /* width: 100%; */
}

#background {
  position: absolute;
  top: 0;
  left: 0;
  z-index: -100;
  white-space: pre-wrap;
  opacity: 0.18;
  height: 100%;
  width: -webkit-fill-available;
  width: -moz-available;
  padding: 0 18px;
  overflow: hidden;
  text-align: left;
  font-size: clamp(0.7rem, 1.3vw, 0.7rem);
}

#background:after {
  content: "|";
  animation: blink 500ms linear infinite alternate;
}

#space{
  height: 100%;
}

#connections {
  color: #fff;
  width: 100%;
  min-height: 3rem;
}

@-webkit-keyframes blink {
  0% {
    opacity: 0;
  }

  100% {
    opacity: 1;
  }
}

@-moz-keyframes blink {
  0% {
    opacity: 0;
  }

  100% {
    opacity: 1;
  }
}

@keyframes blink {
  0% {
    opacity: 0;
  }

  100% {
    opacity: 1;
  }
}

.logo {
  display: inline-block;
  margin: 0 auto 1.5rem;
  padding: 0 1rem;
  font-family: doto, "Fira Code", "SFMono-Regular", "Courier New", monospace;
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0;
  white-space: pre;
  color: #fff;
  text-align: center;
  font-size: clamp(0.3rem, calc(100vw / 68), 1.95rem);
}

#description {
  font-size: clamp(1rem, 1.3vw, 2.2rem);
  padding: 1rem 3rem;
}

.languages {
  font-size: clamp(1rem, 1.3vw, 2.2rem);
}

.languages-jp {
  font-size: clamp(1rem, 1.3vw, 2.2rem);
}

#bottom {
  width: 100%;
  position: absolute;
  bottom: 14px;
  font-size: clamp(1rem, 1vw, 2rem);
}

#particles-js canvas {
  display: block;
  vertical-align: bottom;
  -webkit-transform: scale(1);
  -ms-transform: scale(1);
  transform: scale(1);
  opacity: 1;
  -webkit-transition: opacity 0.8s ease, -webkit-transform 1.4s ease;
  transition: opacity 0.8s ease, transform 1.4s ease
}

#particles-js {
  width: 100%;
  height: 100%;
  position: fixed;
  z-index: -10;
  top: 0;
  left: 0
}

.telephone, .email {
  font-size: clamp(1rem, 1.3vw, 2.2rem);
}

/* Fallback styling, taken from Normalize: https://github.com/necolas/normalize.css */
.sub,
.sup {
  font-size: 47%;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}

.sub {
  bottom: -0.25em;
}

.sup {
  top: -0.7em;
  left: -1em;
}

#client {
  margin: 0 0 0 47px;
  padding: 11px 47px;
  /* border: 1px solid #11ece5; */
  /*height: 76px;
  width: 521px; */
  color: #fff;
  text-align: right;
}

@-webkit-keyframes buzz {
  70% {
    opacity: 0.8
  }
}

@keyframes buzz {
  70% {
    opacity: 0.8
  }
}

@-webkit-keyframes blink {
  40% {
    opacity: 1
  }

  42% {
    opacity: 0.8
  }

  43% {
    opacity: 1
  }

  45% {
    opacity: 0.2
  }

  46% {
    opacity: 1
  }
}

@keyframes blink {
  40% {
    opacity: 1
  }

  42% {
    opacity: 0.8
  }

  43% {
    opacity: 1
  }

  45% {
    opacity: 0.2
  }

  46% {
    opacity: 1
  }
}

@media (max-width: 575.98px) {
  html {
    display: block;
    height: auto;
  }
  body {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin: 1.5rem 0;
    padding: 0 0.75rem;
    width: 100%;
    font-size: 1rem;
    min-height: 100vh;
  }
  .main {
    width: 100%;
  }
  .logo {
    padding: 0 0.75rem;
    font-size: clamp(0.28rem, calc(100vw / 68), 1.35rem);
    line-height: 0.8;
    margin: 0 auto 1.25rem;
  }
  #description,
  .telephone,
  .email,
  .languages,
  .languages-jp {
    font-size: clamp(0.85rem, 3.2vw, 1.1rem);
    padding: 0.75rem 1.5rem;
  }
  #background {
    font-size: clamp(0.7rem, 1.3vw, 0.7rem);
    padding: 0 12px;
  }
  #bottom {
    width: auto;
    left: 0.75rem;
    right: 0.75rem;
    font-size: clamp(0.85rem, 2.8vw, 1.1rem);
  }
  #client {
    margin: 0;
    padding: 0.75rem 1rem;
    text-align: center;
  }
  #connections {
    min-height: 2.4rem;
    padding: 0 0.75rem;
    word-break: break-word;
    white-space: normal;
  }
}

@media (max-width: 360px) {
  .logo {
    font-size: clamp(0.25rem, calc(100vw / 72), 1.1rem);
  }
  #description,
  .telephone,
  .email,
  .languages,
  .languages-jp {
    padding: 0.5rem 1rem;
  }
}
