/*  Fonts  */
@font-face {
  font-family: 'Gruppo';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../assets/fonts/Gruppo-Regular.ttf') format('truetype');
}

@font-face {
  font-family: 'Avenir';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../assets/fonts/Avenir\ Book.ttf') format('truetype');
}

@font-face {
  font-family: 'SackersGothicStd';
  font-style: normal;
  font-weight: bold;
  font-display: swap;
  src: url('../assets/fonts/SackersGothicStd-Heavy.otf') format('opentype');
}

@font-face {
  font-family: 'SackersGothicStd';
  font-style: normal;
  font-weight: normal;
  font-display: swap;
  src: url('../assets/fonts/SackersGothicStd-Medium.otf') format('opentype');
}

@font-face {
  font-family: 'SackersGothicStd';
  font-style: normal;
  font-weight: lighter;
  font-display: swap;
  src: url('../assets/fonts/SackersGothicStd-Light.otf') format('opentype');
}

/* Defaults */
* {
  box-sizing: border-box;
}

:root {
  --clr-primary: #fe722b;
}

a {
  color: white;
  text-decoration: none;
}

html,
body {
  margin: 0;
  padding: 0;
  scroll-behavior: smooth;
  font-family: "Gruppo", Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  display: flex;
  justify-content: center;
  color: white;
}

header {
  background-image: linear-gradient(180deg, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.3) 80%, rgba(0, 0, 0, 0) 100%);
}

#myVideo {
  position: fixed;
  right: 0;
  bottom: 0;
  min-width: 100%;
  min-height: 100%;
  z-index: -5;
}

/* Arrows */
.left-arrow,
.right-arrow {
  position: fixed;
  top: 50vh;
  transform: scaleY(5) scaleX(1.5);
}

.left-arrow {
  left: 2vw;
}

.right-arrow {
  right: 2vw;
}

.left-arrow a,
.right-arrow a {
  font-size: 1em;
  color: rgb(247, 185, 127);
  transition: color 50ms ease;
}

.left-arrow a:hover,
.right-arrow a:hover {
  color: var(--clr-primary);
}

/* Container */
.container {
  max-width: 1200px;
  width: 90vw;
  padding-top: 45vh;
}

.container .play-panel {
  width: min(80vw, 500px);
  text-align: center;
  margin-top: 5vh;
}

.container .play-panel .label {
  font-size: 1.5em;
}

.container .play-panel .playBtn {
  padding-block: 0.5em 0;
}

.container .play-panel .sublabel {
  font-style: italic;
}

/* Start PlayBtn */
.outer_circle {
  stroke-width: 3;
  stroke-dasharray: 410;
  stroke-dashoffset: 0;
  stroke-linecap: square;
  transition: all .4s ease-out;
}

.playIcon:hover .outer_circle {
  stroke-dashoffset: 410;
  transition: stroke .7s .4s ease-out, stroke-dashoffset .4s ease-out
}

.playIcon:hover .inner-circle {
  fill: var(--clr-primary);
  transition: fill .4s .3s ease-out;

}

.playIcon:hover .play {
  fill: white;
  transition: fill .4s .3s ease-out;
}

.play-panel.playing {
  display: none;
}

/* End PlayBtn*/

.container .panel {
  background-color: rgba(0, 0, 0, 0.8);
  width: min(80vw, 500px);
  padding: 1em;
  line-height: 1.2;
  height: fit-content;
}

.container .panel.right-panel {
  float: right;
}

.container .panel .title {
  color: var(--clr-primary);
  text-transform: uppercase;
  font-size: 2em;
  margin: 0;
}

.container .panel .content {
  font-size: 1.2em;
}

.container .panel .bottom {
  font-size: 1.2em;
  text-decoration: underline;
  margin-top: 0;
  cursor: pointer;
}

.container.wide-panel {
  padding-top: 30vh;
}

.container.wide-panel .content-title {
  font-size: 2.5em;
  line-height: 1.1;
  font-weight: bold;
  color: var(--clr-primary);
  border-bottom: 1px solid white;
  padding-bottom: 0.5em;
}

.container.wide-panel .content {
  margin-top: 2em;
  overflow: auto;
  max-height: 50vh;
}

/* Raute Icon */
.raute {
  display: inline-block;
  width: 0;
  height: 0;
  position: relative;
}

.raute::before,
.raute::after {
  content: "";
  width: 0;
  height: 0;
  position: absolute;
  border-left: var(--raute-width, 0.3em) solid transparent;
  border-right: var(--raute-width, 0.3em) solid transparent;
}

.raute::before {
  top: calc(var(--raute-height, 0.5em) * -1);
  border-bottom: var(--raute-height, 0.5em) solid var(--clr-primary);
}

.raute::after {
  border-top: var(--raute-height, 0.5em) solid var(--clr-primary);
}

/* Carousel */
.carousel {
  position: absolute;
  z-index: -1;
  overflow: hidden;
  width: 100%;
  height: 100vh;
  background: black;
}

.carousel img {
  min-width: 100vw;
  min-height: 100vh;
  height: 100%;

  object-fit: cover;
  vertical-align: middle;
}

.carousel .panel {
  position: absolute;
  min-height: 100vh;
  height: 100%;
  overflow: hidden;
  background: #fff;
  isolation: isolate;
}

.carousel .panel:nth-of-type(1) {
  animation-name: fader;
  animation-delay: 4s;
  animation-duration: 1s;
  z-index: 20;
}

.carousel .panel:nth-of-type(2) {
  z-index: 10;
}

.carousel .panel:nth-of-type(n+3) {
  display: none;
}

@keyframes fader {
  from {
    opacity: 1.0;
  }

  to {
    opacity: 0.0;
  }
}

@media screen and (orientation: portrait) {
  .desktop {
    display: none !important;
  }

  .container {
    padding-top: 40vh;
  }

  .container.wide-panel {
    flex-direction: column;
  }

  section {
    min-height: 100vh;
    width: 100vw;
    display: flex;
    justify-content: center;
  }

  .container .panel .short-content {
    font-size: 1.2em;
  }

  .container .panel.open .short-content {
    display: none;
  }

  .container .panel.open .bottom {
    display: none;
  }

  .container .panel * {
    /* text-shadow: 0 0 5em rgba(255, 255, 255, 1); */
    text-shadow: 0 2px 5px black;
    /* background-color: rgba(255, 255, 255, 0.1); */
  }
}

@media screen and (orientation: landscape) {
  .mobile {
    display: none !important;
  }
}