
@font-face {
  font-family: "Satoshi";
  src: url("lib/Satoshi-Medium.ttf");
}

@font-face {
  font-family: "danielbold";
  src: url("lib/danielbold.ttf");
}

@font-face {
  font-family: "mazius";
  src: url("lib/mazius.woff");
}

@font-face {
  font-family: "plex";
  src: url("lib/plex.ttf");
}

html,body {
  font-family: -apple-system, BlinkMacSystemFont, "Satoshi", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
}

.navbar-burger {
  color: white;
}

.hero.is-info .navbar-menu {
  background-color: rgba(0, 0, 0, 0);
}

.hero.is-info {
  background: linear-gradient(
      rgba(0, 0, 0, 0.5),
      rgba(0, 0, 0, 0.5)
    ), url('lib/banner.jpg') no-repeat bottom right fixed;
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover;
}
.hero .nav, .hero.is-success .nav {
  -webkit-box-shadow: none;
  box-shadow: none;
}

.hero.is-info .title {
  font-size: 10rem;
  font-family: "mazius";
}

.hero.is-info .subtitle {
  color: rgb(74, 74, 74);
  line-height: 1.5;
  font-size: 1.5rem;
  font-family: "plex";
}

.navbar-item img {
  max-height: 100%;
}

.hero.is-info .navbar-item, .navbar-link {
  color: rgba(255,255,255,.9);
}

.card {
  margin: 25px;
}

.media-content {
  margin: 1em;
}

.panel {
  margin: 25px;
}

.panel-icon {
  vertical-align: middle;
}

.panel-tabs a {
  padding-right: 2em;
  padding-left: 2em;
}

.panel-block {
  display: none;
}

.panel-block.is-active {
  display: block;
}

.modal-content {
  background-color: rgba(240,240,240,.7);
}

.modal-content img {
  max-height: 100%;
  display: block;
  margin: auto;
}

.modal-content pre {
  white-space: pre-line;
}

div.body-blurer {
  z-index: 1000;
  height: 100%;
  width: 100%;
  display: block;
  position: fixed;
  top: 0;
  left: 0;
  backdrop-filter: blur(5px);
}

div.subscription-form-container {
  background-color: white;
  position: absolute;
  display: flex;
  flex-direction: column;
  margin: auto;
  @media (min-width: 640px) {
    max-width: 430px;
  }
  @media (max-width: 640px) {
    max-width: 67vw;
  }
  @media (min-height: 700px) {
    max-height: 700px;
  }
  @media (max-height: 700px) {
    max-height: 82vh;
  }
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  opacity: 95%;
  border-radius: 10px;
  overflow-y: auto;
}

form.subscription {
  margin: auto;
  max-width: 90%;
  && input[type="text"], input[type="tel"], input[type="email"], input[type="date"], select {
    outline: 0;
    border-width: 0 0 1px;
    border-color: gainsboro;
    width: 100%;
    background-color: white;
  }
  && input[type="text"]:focus, input[type="tel"]:focus, input[type="email"]:focus, input[type="date"]:focus, select:focus {
    border-color: gray;
    outline: 1px dotted #000
  }
  && button {
    background-color: #F03E3E;
    border-radius: 5px;
    border-width: 2px;
    border-color: #FAB005;
    border-style: solid;
    color: white;
    width: 60%;
    height: 50px;
    margin: 20px auto 0px auto;
    display: block;
    font-weight: bolder;
  }
  && button:hover {
    cursor: pointer;
  }
  && div.subscription-abort {
    text-align: center;
    width: 90px;
    text-decoration: underline;
    margin: 5px auto 0px auto;
    font-weight: lighter;
    font-size: 12px;
  }
  && div.subscription-abort:hover {
    cursor: pointer;
  }
  && #submit {
    all: unset;
    position: fixed;
    top: 0;
    left: 0;
    width: 0;
    height: 0;
  }
}

div.subscription {
  padding-top: 5px;
}

.no-overflow {
  overflow: hidden;
}

.subscription-result-container {
  background-color: white;
  position: absolute;
  display: flex;
  flex-direction: column;
  margin: auto;
  @media (min-width: 640px) {
    max-width: 350px;
  }
  @media (max-width: 640px) {
    max-width: 95%;
  }
  @media (min-height: 700px) {
    max-height: 130px;
  }
  @media (max-height: 700px) {
    max-height: 300px;
  }
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  opacity: 95%;
  border-radius: 10px;
  overflow-y: auto;
  && span {
    text-align: center;
    margin: auto 5px;
  }
  && button {
    background-color: #F03E3E;
    border-radius: 5px;
    border-width: 2px;
    border-color: #FAB005;
    border-style: solid;
    color: white;
    width: 50px;
    height: 30px;
    margin: 0px auto 10px auto;
    display: block;
    font-weight: bolder;
  }
  && button:hover {
    cursor: pointer;
  }
}
