html {
    height: 100%;
    /*background: #0a384e;*/
    background-image:
        url(/assets/straits/rocks_left.png),
        url(/assets/straits/rocks_right.png),
        url(/assets/straits/longsea.png);
    background-repeat: no-repeat, no-repeat, repeat;
    background-position: top left, top right, top left;
    background-size: 10em, 12em, 50%;
    color: white;
    font-family: monaspace-krypton;
}

#gradient {
    position: fixed;
    right: 0;
    left: 0;
    top: 0;
    bottom: 0;
    background: linear-gradient(rgba(10, 56, 78, .8), rgba(10, 56, 78, .45) 60%, rgba(10, 56, 78, .9) 90%);
    z-index: -1;
}

body {
    width: 55%;
    margin: 0 auto;
    font-size: 1.6em;
}

@media screen and (max-width: 600px) {
    body {
        width: 85%;
        font-size: 1.1em;
    }
}

@media screen and (min-width: 600px) {
    header {
        font-size: 2em;
    }
}

header {
    height: 10%;
    text-align: center;
    margin-top: 1em;
}

header p {
    margin: .2em;
}

header p:nth-child(2) {
    margin-top: -.7em;
    font-size: 1.1em;
}

.logo {
    font-family: monaspace-xenon;
    font-size: 2.4em;
    font-weight: bold;
    cursor: default;
    color: #f0be29;
    text-shadow: 0 0 11px #f0be29;
}

#img {
    background-image: url(/assets/thumbnails/straits.png);
    background-size: 100%;
    box-shadow: inset 0 0 10px black;
    position: relative;
    background-position: 0 100%;
}

video {
    display: block;
}

#img, video {
    width: 100%;
    aspect-ratio: 16/12;
    margin: 3em auto;
    border: 1px solid #f0be29;
    cursor: pointer;
}

*.hidden {
    display: none;
}

a {
    color: #f1f1f1;
}

#play {
    width: 15%;
    aspect-ratio: 1;
    background: #0a384e;
    position: absolute;
    left: 50%;
    top: 50%;
    translate: -50% -50%;
    border-radius: 50%;
    border: 3px solid #f0be29;
    box-shadow: 0 0 10px black;
    color: #f0be29;
    opacity: .8;
    transition: .3s all;
}

#img:hover #play {
    /*color: white;
    border-color: white;
    box-shadow: 0 0 12px black;*/
    box-shadow: 0 0 30px 16px white;
}

#play svg:first-child {
    width: 50%;
    height: 50%;
    top: 50%;
    left: 50%;
    translate: -50% -50%;
    position: absolute;
}

#content {
    width: 100%;
    margin: 0 auto;
    text-align: justify;
    line-height: 1.5;
    font-family: monaspace-xenon;
}

.emph {
    color: #f0be29;
    text-shadow: 0 0 10px #f0be29;
}

#content ul {
    list-style: none;
}

#content li::before {
    content: '';
    width: 1em;
    height: 1em;
    background: url(/assets/catcher/prize.png);
    background-size: 100%;
    display: inline-block;
    margin-left: -2em;
    margin-right: 1em;
    margin-top: .8em;
}

input[type=button] {
    padding: .4em 1.2em .4em 1.2em;
    font-size: 1.5em;
    background: white;
    border: none;
    outline: none;
    font-family: monaspace-krypton;
    box-shadow: 0 0 12px 3px white;
    cursor: pointer;
    transition: all .3s;
    color: #0a384e;
}

input[type=button]:hover, input[type=button]:active {
    box-shadow: 0 0 30px 16px white;
}

.centering {
    text-align: center;
}

footer {
    margin-top: 7em;
    height: 5em;
    font-size: .65em;
    text-align: center;
}

form input {
    font-size: 1em;
    font-family: monaspace-xenon;
    padding: .5em;
}

form input[type=submit] {
    background: white;
    border: none;
    outline: none;
    font-family: monaspace-krypton;
    box-shadow: 0 0 12px 3px white;
    color: #0a384e;
    cursor: pointer;
    transition: all .3s;

    &:hover, &:active {
        box-shadow: 0 0 24px 12px white;
    }
}

#subscribeToast {
    visibility: hidden;
    min-width: 250px;
    background-color: white;
    color: #0a384e;
    text-align: center;
    border-radius: 2px;
    padding: 16px;
    position: fixed;
    z-index: 1;
    left: 50%;
    translate: -50% 0;
    box-shadow: 0 0 14px 6px white;
    bottom: 2em;

    &.show {
        visibility: visible;
        -webkit-animation: fadein 0.5s, fadeout 0.5s 2.5s;
        animation: fadein 0.5s, fadeout 0.5s 2.5s;
    }
}

@-webkit-keyframes fadein {
    from {translate: -50% 30px; opacity: 0;}
    to {translate: -50% 0; opacity: 1;}
}

@keyframes fadein {
    from {translate: -50% 30px; opacity: 0;}
    to {translate: -50% 0; opacity: 1;}
}

@-webkit-keyframes fadeout {
    from {translate: -50% 0; opacity: 1;}
    to {translate: -50% 30px; opacity: 0;}
}

@keyframes fadeout {
    from {translate: -50% 0; opacity: 1;}
    to {translate: -50% 30px; opacity: 0;}
}

h2 {
    font-family: monaspace-krypton;
    font-weight: 600;
}

* {box-sizing:border-box}

.slideshow-container {
  max-width: 1000px;
  position: relative;
  margin: auto;
}

.mySlides {
  display: none;
}

.prev, .next {
  cursor: pointer;
  position: absolute;
  top: 50%;
  width: auto;
  margin-top: -1em;
  padding: 16px;
  color: white;
  font-weight: bold;
  font-size: 2em;
  transition: 0.3s ease;
  border-radius: 0 3px 3px 0;
  user-select: none;
}

.next {
  right: -.7em;
  border-radius: 3px 0 0 3px;
}

.prev {
    left: -.7em;
}

.prev:hover, .next:hover {
    background-color: rgba(255,255,255,0.5);
}

.dot {
  cursor: pointer;
  height: 15px;
  width: 15px;
  margin: 0 2px;
  border-radius: 50%;
  border-color: white;
  border-width: 2px;
  border-style: solid;
  display: inline-block;
  transition: all 0.3s ease;
  box-shadow: 0 0 6px 2px white;
}

.active, .dot:hover {
  background-color: white;
  box-shadow: 0 0 12px 5px white;
}

.fade {
  animation-name: fade;
  animation-duration: .3s;
}

@keyframes fade {
  from {opacity: .4}
  to {opacity: 1}
}

.mySlides .img {
    width: 100%;
    aspect-ratio: 1.5;
    background-size: 100%;
    border: 1px solid #f0be29;
    box-shadow: inset 0 0 10px black;
}