@keyframes fadeIn {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

@-moz-keyframes fadeIn {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

@-webkit-keyframes fadeIn {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

@-o-keyframes fadeIn {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

@-ms-keyframes fadeIn {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

.hide {
  display: none;
}

.hero-wrap {
  width: 100%;
  height: 700px;
  display: flex;
  overflow: hidden;
  margin: auto;
  z-index: 996;
}
.hero-wrap .slick-prev,
.hero-wrap .slick-next {
  z-index: 9999;
  flex-grow: 0;
  flex-shrink: 1;
  align-self: center;
  padding: 0 12px 10px 12px;
  font-family: arial;
  font-size: 60px;
  color: white;
}

.text-container {
  position: relative;
  display: block;
  top: 20em;
  left: 20em;
  width: 20%;
  height: 10em;
  background: rgba(255, 255, 255, 0.6);
  border-radius: 10px;
  padding: 1em;
  animation: fadeIn 5s;
  -webkit-animation: fadeIn 5s;
  -moz-animation: fadeIn 5s;
  -o-animation: fadeIn 5s;
  -ms-animation: fadeIn 5s;
}

.grey-text {
  color: grey;
}

.red-text {
  color: red;
  font-size: 2em;
  margin-top: -0.5em;
  margin-left: -4px;
}

.hero-wrap .slick-prev:hover,
.hero-wrap .slick-next:hover {
  cursor: pointer;
  background: rgba(255, 255, 255, 0.3);
}
.hero-wrap .slick-prev {
  order: 1;
  margin-right: -4em;
  text-align: right;
}
.hero-wrap .slick-next {
  order: 3;
  margin-left: -4em;
  text-align: left;
}
.hero-wrap .slick-list {
  order: 2;
  width: 100%;
  overflow: hidden;
  flex-grow: 1;
  flex-shrink: 0;
  flex-basis: 80%;
  z-index: -1;
  height: 700px;
}

.hero-wrap .slick-arrow {
  z-index: 0;
}
.hero-wrap .slick-dots {
  width: 100%;
  top: 650px;
  left: 0;
  text-align: center;
  position: absolute;
}

.hero-wrap .slick-dots li {
  color: white;
  display: inline;
  font-size: 30px;
  opacity: 0.4;
}
.hero-wrap .slick-dots li.slick-active {
  opacity: 1;
}
.hero-wrap .slick-dots li + li {
  margin-left: 15px;
}
.hero-wrap .slick-dots li:hover {
  cursor: pointer;
}
.hero-wrap .hero {
  width: 100vw;
  /*height: 100vh;*/
  z-index: 995;
}
.hero-wrap .hero-1 {
  background: url('/assets/hero10.jpg') no-repeat center center / cover;
  width: 100%;
}
.hero-wrap .hero-2 {
  background: url('/assets/hero9.jpg') no-repeat center center / cover;
  width: 100%;
}
.hero-wrap .hero-3 {
  background: url('/assets/hero12.jpg') no-repeat center center / cover;
  width: 100%;
}
.hero-wrap .hero-4 {
  background: linear-gradient(
      237deg,
      rgba(0, 0, 0, 0) 0%,
      rgba(0, 0, 0, 0.7) 100%
    ),
    url('/assets/karate-grading-winter-2021.jpg') no-repeat center center /
      cover;
  width: 100%;
}
.hero-wrap .slick-list,
.hero-wrap .slick-track,
.hero-wrap .slick-slide {
  /* height: 100vh;*/
  width: 100vw;
  display: flex;
}

@media only screen and (max-width: 1600px) {
  .red-text {
    font-size: 1.5em;
  }
}

@media only screen and (max-width: 1100px) {
  .text-container {
    left: 33%;
    width: 30%;
  }

  .red-text {
    font-size: 1.05em;
  }

  .grey-text {
    font-size: 0.8em;
  }

  i {
    font-size: 0.8em;
    padding: 0;
  }
}
