/*CSS RESET*/
a,abbr,acronym,address,applet,article,aside,audio,b,big,blockquote,body,canvas,caption,center,cite,code,dd,del,details,dfn,div,dl,dt,em,embed,fieldset,figcaption,figure,footer,form,h1,h2,h3,h4,h5,h6,header,hgroup,html,i,iframe,img,ins,kbd,label,legend,li,mark,menu,nav,object,ol,output,p,pre,q,ruby,s,samp,section,small,span,strike,strong,sub,summary,sup,table,tbody,td,tfoot,th,thead,time,tr,tt,u,ul,var,video{margin:0;padding:0;border:0;font-size:100%;font:inherit;vertical-align:baseline}article,aside,details,figcaption,figure,footer,header,hgroup,menu,nav,section{display:block}body{line-height:1}ol,ul{list-style:none}blockquote,q{quotes:none}blockquote:after,blockquote:before,q:after,q:before{content:'';content:none}table{border-collapse:collapse;border-spacing:0}*{box-sizing:border-box}
/***********/
html, body {
    scroll-behavior: smooth;
}

body {
    position: relative;
    z-index: 1;
}

a {
    text-decoration: none;
    color: inherit;
}

img {
    max-width: 100%;
}

/******dropolis********/
@import url("https://use.typekit.net/los8yyd.css");
@font-face {
    font-family: 'Tusker Grotesk';
    src: url('./fonts/TuskerGrotesk-3700Bold.woff2') format('woff2'),
        url('./fonts/TuskerGrotesk-3700Bold.woff') format('woff');
    font-weight: bold;
    font-style: normal;
    font-display: swap;
}

:root {
    --bg: white;
    --colorbg: #00f496;
    --fontcolor: #002b46;
    --accentcolor: #ff0092;
    --accentcolor2: #fc3e2e;
}

html:not(.inner) body, html:not(.inner) {
    overflow: hidden;
}

/* TYPOGRAPHY */
body { 
    font-family: "interstate", sans-serif;
    font-size: 15px;    
    line-height: 1.25;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    color: var(--fontcolor);
    background: #00f496;
}

h1, h2, h3, h4, h5 { 
    font-family: "Tusker Grotesk", sans-serif;
    text-align: center;
    text-transform: uppercase;
}

h2 {
    font-size: calc(2em + 1vw)
}

a.highlight {
    position: relative;
    padding: 5px;
    border-top-right-radius: 15px;
    margin-top: 5px;
    color: #002b46;
    background: #00f496;
    transition: 300ms ease-in-out;
    cursor: pointer;
}

.signup a.highlight {
    color: #002b46;
    background: #00f496;
}

.signup a.highlight:hover, a.highlight:hover {
    background: #002b46;
    color: #00f496;
}

/* GENERAL ELEMENTS */
.content, .width-wrapper {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

section {
    padding: 50px 0 calc(55px + 1em);
    width: 100%;
    transition: transform 600ms ease-in-out;
}
  
.content {
    position: relative;
    max-width: 1100px;
    min-height: unset;
    width: 90vw;
    margin: auto;
    z-index: 1;
}

.button, button, input[type="submit"] {
    -webkit-appearance: none;
    -webkit-border-radius: 0;
    border: 2px solid;
    background: var(--colorbg);
    border-radius: 25px;
    padding: 5px 10px;
    font-weight: 600;
    cursor: pointer;
    text-transform: uppercase;
}

.socials a {
    font-size: calc(1em + 1vw);
    color: var(--accentcolor);
}

.socials a ~ a {
    margin-left: 0.5em;
    color: var(--accentcolor2);
}

/* SPLASH SCREEN */
#splash {
    background: var(--colorbg);
    min-height: 100vh;
    height: 100vh;
    font-size: calc(1em + 0.25vw);
    line-height: 1.5em;
    padding-top: 0;
    padding-bottom: 0;
}

#splash .content {
    height: 50vh;
    width: 100%;
    max-width: unset;
    transition: transform 2s ease-in-out;
}

#splash span {
    font-size: calc(1.5em + 4vw);
    letter-spacing: 1px;
    max-width: 10em;
    text-align: left;
    font-family: Tusker Grotesk;
    text-transform: uppercase;
    line-height: 1.25em;
    margin-bottom: 0.25em;
}

h1 {
    position: relative;
}

h1 img {
    max-height: 50vh;
}

#splash p {
    color: white;
    font-style: italic;
    text-align: center;
    font-size: 0.8rem;
}

/* SIGNUP */
#policy, #signup {
    background: var(--fontcolor);
    color: var(--bg);
}

#signup {
    height: 100vh;
    position: absolute;
    z-index: 2;
    transform: translateX(100%);
}

#signup .content {
    width: auto;
    max-width: 90vw;
    position: relative;
}

#signup .highlight {
    margin-top: 2em;
}

#signup img {
    max-height: 30vh;
}

.signup #splash {
    transform:translateX(-50%)
}

.signup #signup {
    transform: translateX(0);
}

form {
    display: flex;
    margin: 0.5em auto;
    border: 2px solid #00f496;
    background: #00f496;
    border-top-right-radius: 25px;
    overflow: hidden;
    width: 600px;
    max-width: 100%;
    min-height: 5vh;
}

form button, form input[type="submit"] {
    min-width: 8vw;
    border-radius: 0;
    border: 0;
    font-size: inherit;
    background: var(--colorbg);
    border-top-right-radius: 22px;
    transition: 300ms;
    
}

form button:hover, form input[type="submit"]:hover {
    color: white;
    background: var(--accentcolor);
}

form input[type="text"], form input[type="email"] {
    flex-grow: 1;
    border: 0;
    text-align: center;
    font-size: inherit;
    padding: 2px;
    background: var(--bg);
    color: var(--fontcolor);
}

#signup p {
    font-size: 0.8em;
    font-style: italic;
}
  
form input[type="text"]::placeholder, form input[type="email"]::placeholder {
    color: var(--fontcolor);
    opacity: 1;
}

/* POLICIES */
footer {
    position: fixed;
    bottom: 0;
    left: 0;
    z-index: 3;
    width: 100%;
    padding: 0 5px 5px 5px;
    text-align: right;
    color: black;
    transition: 400ms ease-in-out;
}

footer a {
    font-size: 0.8em;
    margin-right: 1em;
    opacity: 0.5;
    color: white;
}
  
#policy p {
    margin-bottom: 1em;
    line-height: 1.5em;
    width: 100%;
}

/* intro anim */

.init h1 img {
    transform: translateY(5vh);
}

h1 img {
    transition: transform 2s ease-in-out;
}

#splash > .content:nth-child(1) {
    height: 100vh;
    transform: translateY(-25vh);
}

#splash > .content:nth-child(2) {
    background: #002942;
    color: #00f496;
    position: absolute;
    bottom: 0;
    padding-bottom: 2em;
}

.floatin {
    width: 100%;
}

.init .floatin, .init .floatin.highlight {
    transform: translateY(100%);
    opacity: 0;
}

.floatin, .floatin.highlight {
    transition: 300ms ease-in-out, opacity 500ms ease-in-out, transform 2s ease-in-out;
    transition-delay: 0s, 2000ms, 2000ms;
}

.floatin ~ .floatin {
    transition-delay: 0s, 4000ms, 4000ms;
}

.init #splash > div:nth-child(1) {
    transform: translateY(0vh);
}

.init div.content:nth-child(2) {
    transform: translateY(100%)
}
  
/* MOBILE */
@media only screen and (max-width: 600px) {
    .width-wrapper {
        max-width: 100%;
    }

    #splash span {
        max-width: 100%;
        font-size: calc(1em + 2vh);
        text-align: justify;
    }

    h1 img {
        max-height: 40vh;
    }
    
    #splash > .content:nth-child(1) {
        height: 40vh;
        height: 40svh;
        transform: translateY(0);
        position: relative;
    }

    #splash > .content:nth-child(2) {
        position: relative;
        height: 60vh;
        height: 60svh;
        padding: 1em 20px 20vh;
        display: flex;
        justify-content: center;
        align-items: center;
    }  

    #splash a.highlight {
        margin-bottom: auto;
    }
}


@media only screen and (max-height: 450px) {
    h1 img {
        max-height: 30vh;
    }
    
    #splash > .content:nth-child(1) {
        height: 30vh;
        height: 30svh;
        transform: translateY(0);
        position: relative;
    }

    #splash span {
        font-size: 1.5em;
    }

    #splash > .content:nth-child(2) {
        padding: 1em 20px 20vh;
        height: 70vh;
        height: 70svh;
    }  
}

.cube {
    animation: CUBEHOVER var(--hoverDur) ease-in-out infinite alternate;
    --baseTransform: translateX(0);
    --hoverAmt: 10%;
    --hoverDur: 4s;
}

@keyframes CUBEHOVER {
    0% { transform: translateY(calc(-1 * var(--hoverAmt))) var(--baseTransform) }
    100% { transform: translateY(var(--hoverAmt)) var(--baseTransform) }
}

.bg {
    position: absolute;
    left: 0;
    width: 100%;
    pointer-events: none;
    top: 50%;
    height: 100%;
    transform: translateY(-50%);
    z-index: -1;
}

.bg .cube {
    position: absolute;
    transition: opacity 1s ease-in-out;
    background-size: contain;
    background-repeat: no-repeat;
    background-image: url(./img/dropblock1.png);
    width: 10vw;
    height: 10vw;
    min-height: 70px;
    min-width: 70px;
}

.bg > .cube:nth-child(1) {
    right: -10vw;
    top: 7%;
    z-index: -1;
    --hoverDur: 3s;
    --hoverAmt: 20%;
    --baseTransform: rotateY(180deg);
}

.bg > .cube:nth-child(2) {
    bottom: 0;
    right: -25vw;
    --hoverDur: 5s;
    z-index: 1;
    --baseTransform: rotate(45deg) rotateY(180deg);
}

.bg > .cube:nth-child(3) {
    bottom: 0;
    --hoverAmt: 5%;
    --hoverDur: 2s;
    left: -20vw;
    z-index: -1;
    --baseTransform: rotate(-45deg) rotateY(180deg);
}

.bg > .cube:nth-child(4) {
    left: -10vw;
    top: 10%;
    max-width: 15vw;
}

@media only screen and (max-width: 600px) {
    .bg > .cube:nth-child(1) {
        right: 18vw;
        top: 0;
    }

    .bg > .cube:nth-child(2) {
        bottom: -2vh;
        right: 10vw;
    }

    .bg > .cube:nth-child(3) {
        --hoverAmt: 15%;
        bottom: -3vh;
        left: 3vw;
    }

    .bg > .cube:nth-child(4) {
        left: 7vw;
        top: 5%;
    }
}

@media only screen and (max-width: 350px) {
    #splash span {
        font-size: calc(1em + 1vh);
    }
    
    form button, form input[type="submit"] {
        font-size: 0.7rem;
    }
    
    #splash p {
        font-size: 0.6rem;
    }
  
}

#mce-responses .response {
    text-align: center;  
}