@font-face {
    font-family: "ortica";
    src: url("orticalinear_light.woff2") format("woff2"),
         url("orticalinear_light.woff") format("woff");
}

@font-face {
    font-family: "apfelgrotezk";
    src: url("apfelgrotezk_regular.woff2") format("woff2"),
         url("apfelgrotezk_regular.woff") format("woff");
    font-weight: normal;
}

@font-face {
    font-family: "apfelgrotezkbold";
    src: url("apfelgrotezk_bold.woff2") format("woff2"),
         url("apfelgrotezk_bold.woff") format("woff");
    font-weight: bold;
}


html, body {
    font-family: "apfelgrotezk", Arial, Helvetica, sans-serif;
    background-color: #000;
    color:#ECE0B4;
    margin: 0px;
    padding:0px;
    font-size: 18px;
}

.wrapper {
    padding:3.2%;
}

.rounded {
    border-radius: 12px;
}

.wrapper.center {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}


#logo {
    width: 180px;
    height: 120px;
    background-image: url('logo_sprite.png');
    background-size: 100%;
    background-position:0 120px;
    animation: spinlogo 1s steps(29, end) infinite;
}

@keyframes spinlogo {
    to {
        background-position:0 3600px;
    }
}

#loading {
    position: fixed;
    z-index: 99999;
    width: 100vw;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    transition: all 1s ease-in-out 0.2s;
    /*background-color: rgba(0,0,0,0.8);
    backdrop-filter: blur(50px);
    -webkit-backdrop-filter: blur(50px);*/
    opacity: 1.0;
    transform: scale(100%);
}

#loading.done {
    opacity: 0.0;
    backdrop-filter: blur(0px);
    -webkit-backdrop-filter: blur(0px);
    transform: scale(0%);
}

.wrapper.green {
    background-color: #044737;
}

.btn, a.btn:active, a.btn:visited {
    display: inline-block;
    text-decoration: none;
    font-weight: normal;
    color:#ECE0B4;
    background-color: #000;
    border-radius: 12px;
    box-shadow: 0px 5px 6px rgba(0,0,0,0.2);
    padding: 20px 40px;
    margin: 0 auto;
    text-align: center;
    transition: all 0.3s;
    cursor: pointer;
}

.btn:hover {
    background-color: #111111;
}

.btn.grey, a.btn.grey:active, a.btn.grey:visited {
    background-color: #141414;
    display: block;
    width: 100%;
    padding-right: 0;
    padding-left: 0;
}


h1,h2,h4 {
    padding: 0px;
    margin: 2% 0px;
    font-family: "apfelgrotezk";
    font-weight: normal;
    font-size: 19vw;
    line-height: 0.9;
    letter-spacing: -0.5vw;
}

h4 {
    font-size: 11vw;
}

h2.bigger {
    font-size: 26vw;
    line-height: 0.8;
    letter-spacing: -0.9vw;
}

p {
    padding: 0;
    margin: 2% 0px;
    line-height: 1.3;
}

p.half {
    width: 60%;
    line-height: 1.15;
}

.textleft {
    text-align: left;
}


.spacer-top, .spacer {
    margin-top: 8%;
}
.spacer-bottom, .spacer {
    margin-bottom: 8%;
}

#spiral {
    overflow: hidden;
    position: relative;
    margin-bottom: -44vw;
}

#spiral * {
    z-index: +1;
}

#spiral::before {
    content: "";
    position: absolute;
    top: -37%;
    width: 100%;
    height: 100%;
    background-image: url("img_burst.svg");
    background-size: 100% 100%;
    transform: rotate(var(--spiralrotate)) scale(270%);
    z-index: 0;
}

#spiral div:last-of-type  {
    height: 44vw;
    font-family: "ortica", serif;
    font-size: 24px;
    line-height: 60vw;
}


.wrapper .mainimg {
    border-radius: 12px;
    width: 100%;
}

.negative-up {
    margin-top: -40vw;
}

.negative-up-more {
    margin-top: -60vw;
}

#seek {
    border: 1px rgba(236, 224, 180, 0.3) solid;
    border-radius: 12px;
    padding-bottom: 100%;
    position: relative;
    background-image: url("img_seek.svg");
    background-size: 100% 100%;
    overflow: hidden;
}

#seek p {
    position: absolute;
    width: 100%;
    text-align: center;
    left: 0%;
    top:45%;
    line-height: 1;
}

#seek > span {
    color:rgba(236, 224, 180, 0.3);
    position: absolute;
    bottom: 5%;
    right: 0px;
    width: 28.5714%;
    text-align: center;
    font-size: 12px;
}

#seek .arrow-top, #seek .arrow-bottom {
    position: absolute;
    width: 42.857%;
    height: 42.857%; 
}

#seek .arrow-top div, #seek .arrow-bottom div {
    position: absolute;
    width: 10%;
    height: 10%;
    background-color: #ECE0B4;
    border-radius: 100px;
}



#seek .arrow-top {
    right:-10%;
    top:-10%;
}

#seek .arrow-top div {
    left: -12%;
    bottom: -12%;
}

#seek .arrow-bottom {
    left:-10%;
    bottom:-10%;
}

#seek .arrow-bottom div {
    right: -12%;
    top: -12%;
}

#seek .arrow-bottom  span {
    position: absolute;
    top: -14%;
    right: -29%;
}


.wrapper.requirement span {
    font-weight: bold;
    font-size: 12px;
}

h3 {
    padding: 0;
    margin: 0;
    font-size: 60px;
    font-family: "ortica", serif;
    letter-spacing: -2.3px;
    font-weight: 100;
}

.wrapper.requirement p {
    margin: 0;
    max-height: 0px;
    transition: all 0.3s ease-in-out;
    overflow: hidden;
}

.wrapper.requirement h3 div {
    width: 20px;
    height: 20px;
    background-image: url('img_btnarrow.svg');
    background-color: #ECE0B4;
    background-size: 100%;
    border-radius: 40px;
    background-position: 0% 0%;
    transition: all 0.5s;
    display: inline-block;
    margin-bottom: 10px;
}

.wrapper.requirement.open h3 div {
    background-position: 0% 100%;
}

.wrapper.requirement.open p {
    max-height: 500px;
}

#bgvid {
    object-fit: cover;
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 0;
}

#readyholder {
    position: relative;
    overflow: hidden;
    padding-top: 15%;
    padding-bottom: 15%;
}

#readyholder .noise {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: +2;
    background-image: url('noise.png');
    animation: grainnoise 2s steps(24, end) infinite;
    background-size: 30%;
}

@keyframes grainnoise {
    to {
        background-position:1000% 10000%;
    }
}

#readyholder h2, #readyholder p {
    z-index: +10;
}

#downarrow {
    font-weight: bold;
    position: relative;
    margin-top: -13vw;
    z-index: +100;
}

#strokegem {
    stroke-dasharray: 1200;
    stroke-dashoffset: 0;
    animation: 10s linear 0s infinite running gemstroke;
    stroke-width: 1px;
    width: 25%;

}

#strokegem polyline{ 
    fill:none;
    stroke:#ECE0B4;
    stroke-width:2px;
    stroke-linejoin:bevel;
}

@keyframes gemstroke {
  100% {
    stroke-dashoffset: 2400;
  }
}

#strokegem + p {
    padding: 3% 10% 0% 10%;
    line-height: 1;
}

#sharedialog {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.0);
    z-index: 99999;
    overflow: scroll;
    backdrop-filter: blur(0px);
    display: none;
}

#sharedialog .wrapper {
    margin-top: 100px;
    opacity: 0.3;
}

#sharedialog, #sharedialog .wrapper {
    transition: all ease-out 200ms;
}

#sharedialog.open {
    background-color: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(10px);
}

#sharedialog.open .wrapper {
    margin-top: 0px;
    opacity: 1.0;
}




#sharedialog img {
    width: 100%;
    border-radius: 12px 12px 0 0;
    display: block;
}

#sharedialog input {
    outline: 0;
    border: 0px;
    font-family: "apfelgrotezk", Arial, Helvetica, sans-serif;
    background-color: #141414;
    padding: 5% 0;
    color:#ECE0B4;
    font-size: 18px;
    border-radius: 0 0 14px 14px;
    display: block;
    width: 100%;
    margin: 0px;
    text-align: center;
}

#sharedialog input::selection {
    color:#000;
    background-color: #ECE0B4;
}

#closeshare {
    position: absolute;
    top: 10px;
    right: 10px;
    color:#000;
    background-color: #ECE0B4;
    font-size: 20px;
    border-radius: 50px;
    width: 48px;
    height: 48px;
    text-align: center;
    line-height: 48px;
    cursor: pointer;
}

#shareholder {
    background-color: #141414;
    padding-top: 5%;
}

#shareholder h4, #shareholder p {
    padding: 2% 7%;
}

#shareholder .btn {
    width: 100%;
    padding-left: 0;
    padding-right: 0;
    background-color: #101010;
    border-radius: 0 0 12px 12px;
    cursor: pointer;
}

.btn svg {
    height: 16px;
    margin-right: 6px;
}

#footer {
    opacity: 0.08;
    text-align: center;
    padding: 20px;
    line-height: 0.8;
    font-size: 12px;
}

#footer div {
    font-family: "ortica", serif;
    font-size: 50px;
    letter-spacing: -4px;
}

#footer a, #footer a:visited {
    color:#ECE0B4;
    text-decoration: none;
}


#topbar {
    background-color: #044737;
    
    background-color: #141414;
    text-align: center;
    padding: 24px;
    cursor:pointer;
    transform: translateY(-200px);
    transition: all 0.9s 1s ease-out;
}

#topbar span {
    text-decoration: underline;
}

#topbar.ready {
    transform: translateY(0px);
}

a, a:link, a:visited {
    color:#ECE0B4;
}

@media (min-width: 800px) {
    #videoholder {
        width: 50vh;
        margin: 0 auto;
    }

    .desk-w-d {
        width: 66%;
    }

    .desk-w-t {
        width: 33%;
    }

    .desk-p-c {
        margin-left: auto;
        margin-right: auto;
    }

    .desk-p-r {
        margin-left: auto;
    }

    #main {
        max-width: 1200px;
        margin: 0 auto;
    }

    h1,h2,h4,h2.bigger {
        font-size: 100px;
        letter-spacing: -3px;
    }
    
    h4 {
        font-size: 50px;
        letter-spacing: -3px;
    }

    .negative-up {
        margin-top: -20%;
    }

    .negative-up-more {
        margin-top: -30%;
    }

    #spiral {
        margin-bottom: 0;
        border-radius: 12px;
        padding-bottom: 12%;
        padding-left: 25%;
        padding-right: 25%;
        padding-top: 4%;
        width: 50%;
        margin-bottom: -10%;
        margin-top: -8%;
    }

    iframe {
        z-index: 9999;
    }

    #spiral h1, #spiral p {
        width: 85%;
    }


    #spiral div:last-of-type  {
        display: none;
    }

    h2.bigger {
        text-align: left;
    }

    .requirement {
        width: 30%;
        display: inline-block;
    }

    #shareholder p {
        padding: 2% 20%;
    }
    
    #sharedialog .wrapper {
        height: 100%;
        display: flex;
        flex-direction: row;
        justify-content: space-around;
        align-items: center;
        padding: 0;
    }

    #sharedialog img {
        width: auto;
        height: 80vh;
        border-radius: 12px;
    }

    #sharedialog input {
        width: 300px;
        padding: 20px;
        height: 25px;
        line-height: 25px;
        border-radius: 12px;
    }

    #seek .arrow-bottom  span {
        right: -20%;
    }

    #downarrow {
        margin-top: -8%;
    }

    #topbar {
        border-radius: 12px;
        position: fixed;
        bottom: 16px;
        right: 16px;
        transform: translateY(200px);
        z-index: 99999;
        padding: 14px;
    }
    
}



#signuptarget p {
    padding-bottom: 12px;
}

#signuptarget .wrapper {
    padding-top: 0;
    padding-bottom: 0;
}