/*Base: skeleton framework, made by Dave Gamache. Design and backend by Sakari Koivumäki*/
@keyframes fadeIn {
  0% {
    opacity: 0;
  }

  100% {
    opacity: 1;
  }
}

@keyframes imageAnimation {
  0% {
    opacity: 0;
    animation-timing-function: ease-in;
  }

  8% {
    opacity: 1;
    animation-timing-function: ease-out;
  }

  17% {
    opacity: 1
  }

  25% {
    opacity: 0
  }

  100% {
    opacity: 0
  }
}

.title {
  position: relative;
  top: 50%;
  text-align: center;
  margin: auto;
  transform: translate(0, -50%);
  font-weight: bold;
  text-shadow: 2px 2px black;
  color: white;
}


.slideshow {
  list-style-type: none;
}

.slideshow,
.slideshow:after {
  width: 100%;
  height: 300px;
  left: 0px;
  z-index: 0;
}

.slideshow span {
  background-image: url("/images/1.jpeg");
  position: absolute;
  margin: auto;
  width: 100%;
  height: 300px;
  top: 0px;
  left: 0px;
  text-align: center;
  vertical-align: middle;
  color: transparent;
  background-color: #e71616;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0;
  z-index: -1;
  animation: imageAnimation 30s linear infinite 0s;
}

.slideshow li:nth-child(1) span {
  background-image: url("/images/9.jpg");
}

.slideshow li:nth-child(2) span {
  background-image: url("/images/3.jpeg");
  animation-delay: 6s;
}

.slideshow li:nth-child(3) span {
  background-image: url("/images/4.jpeg");
  animation-delay: 12s;
}

.slideshow li:nth-child(4) span {
  background-image: url("/images/5.jpeg");
  animation-delay: 18s;
}

.slideshow li:nth-child(5) span {
  background-image: url("/images/8.jpg");
  animation-delay: 24s;
}

.header {
  text-align: center;
  margin-top: 6.5rem;
}

.value-prop {
  margin-top: 1rem;
}

.value-props {
  margin-top: 4rem;
  margin-bottom: 4rem;
}

.docs-header {
  text-transform: uppercase;
  font-size: 1.4rem;
  letter-spacing: .2rem;
  font-weight: 600;
}

.docs-section {
  border-top: 1px solid #e71616;
  padding: 4rem 0;
  margin-bottom: 0;
}

.value-img {
  display: block;
  text-align: center;
  margin: 2.5rem auto 0;
}

.gallery-item {
  max-width: 100%;
}

.page-item {
  max-width: 50%;
}

.contact {
  max-width: 100%;
}

.column-contact {
  position: relative;
  text-align: center;
  margin: auto;
}

.container {
  max-width: 800px;
}

.navbar-mobile {
  display: flex;
  position: fixed;
  top: 0;
  /* Vertically center the items */
  justify-content: space-between;
  /* Space out navbar items */
  width: 100%;
  height: 6.5rem;
  background: #e71616;
  z-index: 99;
  white-space: nowrap;
  flex-direction: row;
  justify-content: center;
}

.navbar-list-mobile {
  background-color: #e71616;
  list-style: none;
  margin-bottom: 0;
  display: flex;
  height: 6.5rem;
  /* Use flexbox to align list items */
  padding: 0;
  flex-direction: row;
}

.navbar-item-mobile {
  position: relative;
  height: 6.5rem;
  display: flex;
  width: 10rem;
  /* Vertically center the items */
  margin-bottom: 0;
  align-items: center;
  justify-content: center;
}

.navbar-link-mobile {
  text-transform: uppercase;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .2rem;
  text-decoration: none;
  line-height: 6.5rem;
  color: white;
  padding-left: 1rem;
  padding-right: 1rem;
}

.navbar-item img {
  height: 65px;
  position: relative;
  margin: auto;
  vertical-align: middle;
}

.navbar-item-mobile img {
  height: 65px;
  position: relative;
  vertical-align: middle;
}

.navbar-link {
  color: white;
}

.navbar {
  display: none;
  background-color: #e71616;
}

.bar {
  display: block;
  border-top: 1px solid #e71616;
}

h5 {
  letter-spacing: .2rem;
  text-align: center;
  margin-bottom: 1rem;
}

@media (min-width: 550px) {
  .navbar-mobile {
    display: none;
  }

  .header {
    margin-top: 6rem;
  }

  .value-props {
    margin-top: 4rem;
    margin-bottom: 3rem;
  }

  .value-img {
    margin-bottom: 1rem;
  }

  .navbar+.docs-section {
    border-top-width: 0;
  }

  .navbar,
  .navbar-spacer {
    display: flex;
    align-items: center;
    /* Vertically center the items */
    justify-content: space-between;
    /* Space out navbar items */
    width: 100%;
    height: 6.5rem;
    background: #e71616;
    z-index: 99;
    white-space: nowrap;
  }

  .navbar-spacer {
    display: none;
  }

  .navbar>.container {
    width: 100%;
    display: flex;
    justify-content: space-between;
  }

  .navbar-list {
    list-style: none;
    margin-bottom: 0;
    display: flex;
    /* Use flexbox to align list items */
    padding: 0;
  }

  .navbar-item {
    position: relative;
    height: 6.5rem;
    display: flex;
    align-items: center;
    /* Vertically center the items */
    margin-bottom: 0;
  }

  .navbar-item:hover {
    background-color: #810d0d;
  }

  .navbar-link {
    text-transform: uppercase;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: .2rem;
    text-decoration: none;
    line-height: 6.5rem;
    color: white;
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .navbar-link.active {
    color: #33C3F0;
  }

  .has-docked-nav .navbar {
    position: fixed;
    top: 0;
    left: 0;
  }

  .has-docked-nav .navbar-spacer {
    display: block;
  }

  .has-docked-nav .navbar>.container {
    width: 80%;
  }
}