@font-face {
  font-family: 'smesmifregular';
  src: url("../fonts/smesmif-regular-webfont.eot");
  src: url("../fonts/smesmif-regular-webfont.eot?#iefix") format("embedded-opentype"), url("../fonts/smesmif-regular-webfont.woff2") format("woff2"), url("../fonts/smesmif-regular-webfont.woff") format("woff"), url("../fonts/smesmif-regular-webfont.ttf") format("truetype"), url("../fonts/smesmif-regular-webfont.svg#smesmifregular") format("svg");
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'smesbook';
  src: url("../fonts/smes-book-webfont.eot");
  src: url("../fonts/smes-book-webfont.eot?#iefix") format("embedded-opentype"), url("../fonts/smes-book-webfont.woff2") format("woff2"), url("../fonts/smes-book-webfont.woff") format("woff"), url("../fonts/smes-book-webfont.ttf") format("truetype"), url("../fonts/smes-book-webfont.svg#smesbook") format("svg");
  font-weight: normal;
  font-style: normal;
}

* {
  box-sizing: border-box;
}

html, body {
  background-color: #17171a;
  font-family: 'smesbook', sans-serif;
  line-height: 1.4;
  overflow-x: hidden;
  height: 100%;
}

body {
  display: flex;
  flex-direction: column;
}
.content {
  flex: 1 0 auto;
}
footer {
  flex-shrink: 0;
}

h1, h2 {
  color: white;
  font-weight: normal;
  margin: 0;
  line-height: 1.1;
}

h1 {
  font-size: clamp(42px, 4vw, 150px);
  /* width: 52%; */
  width: 100%;
  max-width: 14em;
}

h2 {
  font-size: clamp(28px, 2vw, 120px);
  padding-top: 1em;
}

header {
  padding: 40px;
  position: relative;
  z-index: 3;
}

.line {
  position: relative;
  left: 0;
  right: 0;
  bottom: 0;
  border-bottom: 1px solid #8D7BB0;
  border-image: linear-gradient(0.25turn, #8D7BB0, #DDF5FF, #70697F);
  border-image-slice: 1;
  z-index: 0;
}

.content {
  position: relative;
  z-index: 20;
  padding: clamp(40px, 5vw, 80px);
}

#tunnel-canvas {
  position: fixed;
  width: 100%;
  height: 100vh;
  z-index: 2;
}

.background {
  position: fixed;
  overflow: hidden;
  height: 100lvh;
  width: 100vw;
}

.blob {
  position: fixed;
  z-index: 0;
}

.blob-1 {
  position: absolute;
  width: clamp(1000px, 90vw, 2000px);
  height: clamp(1000px, 90vw, 2000px);
  left: clamp(-30vw, -80vw, -40px);
  top: -89px;

  background: radial-gradient(29.57% 29.37% at 50% 50%, #FC6241 0%, #48219A 50%, rgba(28,28,28, 0) 100%);
}

.blob-2 {
  position: absolute;
  width: clamp(800px, 80vw, 2000px);
  height: clamp(800px, 80vw, 2000px);
  right: -300px;
  top: -124px;

  background: radial-gradient(48.82% 44.75% at 46.99% 46.95%, rgba(0, 240, 161, 0.58) 0%, rgba(35, 50, 144, 0.53) 48.5%, rgba(18, 0, 56, 0) 100%) /* warning: gradient uses a rotation that is not supported by CSS and may not behave as expected */;
  z-index: 3;
}

footer {
  /* position: fixed;
  bottom: 0; */
  color: rgba(255,255,255,0.8);
  padding: 40px;
  z-index: 2;
  width: 100vw;
}

.contact-details {
  display: flex;
  flex-flow: row wrap;
  align-items: flex-end;
  gap: 2rem 5rem;
  /* justify-content: flex-end; */
}

footer a {
  color: rgba(255,255,255,0.8);
  text-decoration: none;
  transition: color 0.2s ease;
}

footer a:hover {
  color: rgba(255,255,255,1);
}

a.button {
  margin-top: 4rem;
  display: inline-block;
  border: 1px solid white;
  border-radius: 1.25em;
  text-decoration: none;
  color: white;
  vertical-align: middle;
  padding: 0.5rem 0.5rem 0.5rem 3.5rem;
  background-color: rgba(255, 255, 255, 0);
  transform: translate3d(0,0,0);
  backdrop-filter: blur(2px);
  transition: all 0.2s cubic-bezier(0.83, 0, 0.17, 1);
}

a.button .button-inner {
  position: relative;
  display: block;
  height: 3rem;
  width: 100%;
}

.button-arrow {
  position: absolute;
  left: -3rem;
  background-color: #FE3BFE;
  width: 3rem;
  height: 3rem;
  border-radius: 0.75em;
  transition: left 0.2s cubic-bezier(0.83, 0, 0.17, 1);
}
.button-arrow svg {
  position: absolute;
  fill: white;
  top: 50%;
  left: 50%;
  transform: translate(-50%,-50%);
  transition: transform 0.2s cubic-bezier(0.83, 0, 0.17, 1);
}
.button-text {
  display: inline-block;
  line-height: 3rem;
  padding-left: 1rem;
  padding-right: 0.5rem;
  transition: transform 0.2s cubic-bezier(0.83, 0, 0.17, 1);
}

a.button:hover {
  background-color: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(5px);
}
a.button:hover .button-arrow {
  left: calc(100% - 3rem);
}
a.button:hover .button-arrow svg {
  transform: translate(-50%,-50%) rotate(45deg);
}
a.button:hover .button-text {
  transform: translateX(-3.5rem);
}
