@import url('https://fonts.googleapis.com/css2?family=Cabin:wght@400;700&display=swap');

html {
  -webkit-text-size-adjust: 100%;
  -ms-text-size-adjust: 100%;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  word-wrap: normal;
  word-break: break-word;
  font-variant-ligatures: common-ligatures;
  -webkit-font-feature-settings: "liga", "clig";
  -moz-font-feature-settings: "liga", "clig";
  font-feature-settings: "liga", "clig";
  -webkit-font-feature-settings: "liga", "lnum";
  -moz-font-feature-settings: "liga", "lnum";
  font-feature-settings: "liga", "lnum";
  position: relative;
  -webkit-tap-highlight-color: rgba(0,0,0,0);
  min-height: 100%;
  min-height: calc(100% + env(safe-area-inset-top));
  padding: env(safe-area-inset-top) env(safe-area-inset-right) env(safe-area-inset-bottom) env(safe-area-inset-left);
  background-attachment: fixed;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  background-color: #0D1431;
  box-sizing: border-box;
}
html.story-island{
    background-image: url("img/island/island-bg.jpg");
}
html.story-ocean{
    background-image: url("img/ocean/ocean-bg.jpg");
}
html.story-space{
    background-image: url("img/space/space-bg.jpg");
}
body {
  margin: 0;
  padding: 0;
  font-family: Cabin, Arial, Helvetica, sans-serif;
  font-weight: normal;
  font-size: 16px;
  color: #fff;
}
.intro {
    margin: 0 0 80px;
    text-align: center;
}
h1 {
    margin: 0 0 10px;
    text-align: center;
}
.minibtn {
    border: 1px solid #fff;
    border-radius: 20px;
    padding: 7px 18px;
    margin: 0px 4px;
    display: inline-block;
    cursor: pointer;
}
h2 {
    margin-top: 60px;
}
.container {
    max-width: 400px;
    margin: 0 auto;
    padding: 90px 5% 40px;
}
fieldset {
    padding: 0;
    margin-bottom: 25px;
    border: 0;
}
label {
    width: 80px;
    display: inline-block;
}
.smallerlabel{
    width: 70px;
}
input {
    font-family: Cabin, Arial, Helvetica, sans-serif;
    font-size: 21px;
    padding: 24px 16px 16px;
    border: none;
    background-color: #414767;
    height: 60px;
    width: calc(100% - 32px);
    -webkit-appearance: none;
    appearance: none;
    color: #fff;
    border-radius: 0;
    display: block;
}
input[type="text"]:focus {
    outline: none;
}
#submit {
    background-color: #3F50CF;
    border: 0;
    padding: 12px 17px;
    color: #fff;
    font-weight: bold;
    -webkit-appearance: none;
    appearance: none;
    cursor: pointer;
}
#audio{
    display: none;
}

.storyscreen{
    width: 100%;
    height: 80%;
    position: fixed;
    display: none;
    z-index: 1;
    top: 0;
    left: 0;
    text-align: center;
    overflow: hidden;
}
.storyscreen-ocean{
}
.storyscreen-space{
}
#player{
    display: none;
}
.btns-bottom {
    position: absolute;
    bottom: 40px;
    width: 100%;
    text-align: center;
}
.btns-bottom-inner{
    display: inline-block;
    position: relative;
}
.btn {
    background-color: #fff;
    width: 90px;
    height: 90px;
    overflow: hidden;
    display: inline-block;
    border-radius: 50%;
    color: #000;
    font-weight: bold;
    font-size: 40px;
    cursor: pointer;
    box-shadow: 0 3px 12px rgba(0,0,0,0.2);
    background-repeat: no-repeat;
    background-position: center;
    background-size: 40px;
}
.btns-bottom-inner .btn{
    position: absolute;
    bottom: 0;
}
.btn-stop {
    width: 50px;
    height: 50px;
    font-size: 26px;
    left: -80px;
    position: absolute;
    bottom: -5px;
    z-index: 0;
    background-image: url(img/ico-stop.svg);
    background-size: 23px;
}
.btn-play {
    background-image: url(img/ico-play.svg);
}
.btn-pause {
    background-image: url(img/ico-pause.svg);
}
.btn-pause.paused {
    background-image: url(img/ico-play.svg);
}
.btn-pause, .btn-play {
    left: -43px;
}
.loading {
    background-image: url(img/loader.gif);
    background-size: 35px;
}
.btn svg {
    width: 100%;
    height: 100%;
    display: block;
}
.btn-pause svg path {
    stroke-dashoffset: 152;
    stroke-dasharray: 152;
}
.endbutton {
    text-align: center;
    margin-top: 40px;
}
.selectfield {
    height: 100px;
    background-color: #212747;
    border-radius: 20px;
    display: flex;
    overflow: hidden;
    margin-bottom: 10px;
}
.selectfield .option {
    flex: auto;
    flex-basis: 0;
    text-align: center;
    border-right: 1px solid #414767;
    position: relative;
    cursor: pointer;
}
.selectfield > div.selectfield-leftimage {
    flex: 0 0 33%;
}
.selectfield-rightinput {
    position: relative;
}
.selectfield-rightinput .innerlabel {
    position: absolute;
    top: 15px;
    z-index: 2;
    bottom: auto;
    left: 16px;
    width: auto;
}
.selectfield > div:last-child {
    border: none;
}
.option.active {
    background-color: #414767;
}
.selectfield-leftimage.option.active {
    background-color: inherit;
}
.innerlabel {
    bottom: 12px;
    position: absolute;
    width: 100%;
    font-size: 14px;
    letter-spacing: 0.03em;
}
.label {
    text-align: center;
    margin-bottom: 16px;
    margin-top: 40px;
    text-transform: uppercase;
    font-size: 14px;
    letter-spacing: 3px;
}
.label_desc {
    text-align: center;
    font-size: 0.9em;
    margin: -10px 0 20px;
}

