/* mobile styles */

html, body {
    overflow: hidden;
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
}

* {
    box-sizing: border-box;
}

h1 {
    font-family: acumin-pro-extra-condensed, sans-serif;
    font-weight: 700;
    font-size: 2em;
    line-height: 1em;
    color: #353333;
    margin: 0px;
}

p {
    font-family: acumin-pro-semi-condensed, sans-serif;
    font-weight: 300;
    font-size: 1em;
    line-height: 150%;
    margin: 0px 0px 30px 0px;
    color: #353333;
}

#viewport {
    position: relative;
}

#renderCanvas {
    position: absolute;
    top: 0px;
    left: 0px;
    width: 100%;
    height: 100%;
    touch-action: none;
    z-index: 10;
    outline-width: 0px;
    pointer-events: none;
}

#embed {
    z-index: 20;
}

#htmlLayer {
    position: relative;
    width: 100%;
    z-index: 1;
    height: 100%; 
    overflow-y: scroll; 
    background-color: #dbd6d6;
}

#header {
    position: fixed;
    top: 0;
    width: 100%;
    height: 48px;
    background-color: #353535;
    z-index: 1000;
}

#headerType {
    position: absolute;
    top: 0%;
    height: 100%;
    font-family: acumin-pro-condensed, sans-serif;
    font-weight: 700;
    font-size: 1em;
    color: #bbbbbb;
    vertical-align: center;
    padding: 15px 0px 0px 10px;
}

#content {
   width: 100%; 
}

#defaultSpace {
    margin-top: 0%;
}

[id*="block_"] {
    width: 100%;
    /* display: inline-block; */
    padding-left: 10%;
    padding-right: 10%;
    /* margin-top: 300px; */
}

#bg1, #bg2, #bg3 {
    display:block;
    padding: 350px 0px 50px 0px;
}

#bg1 {
    background-color: #753ca6;
}

#bg2 {
    background-color: #333;
}

#bg3 {
    background-color: #f86d0e;
    padding-bottom: 10px;
}

#bg1 h1, #bg1 p, #bg2 h1, #bg2 p {
    color: #fff;
}

#block_1 {
    margin: 400px 0px 50px 0px;
}

#block_2 {
    padding-bottom: 150px;
}    

#block_3 {
    padding-top: 150px;
}    

#block_4 {
    padding-top: 10px;
}    

#block_5 {
    padding-top: 10px;
}

#block_6 {
    padding-top: 150px;
}

#loader {
    position: fixed;
    top: 150px;
    left: 40%;
    margin-left: -15%;
    width: 30%;
    align-content: center;
    z-index: 2;
}

#loadingText {
    width: 30%;
    position: fixed;
    top: 230px;
    left: 50%;
    margin-left: -15%;
    z-index: 5;
}

#loadingText h1 {
    color: #888;
    text-align: center;
}

.hide {
    display: none;
}

.col_left, .col_right {
    width: 60%;
}

.col_spacer {
    width: 25%;
}

.dehydrate {
    animation:fade 0.8s forwards
}
@keyframes fade {
    from {
        opacity: 1
    } 
    to {
        opacity: 0
    }
}

.hydrate {
    animation:appear 0.8s forwards
}
@keyframes appear {
    from {
        opacity: 0
    } 
    to {
        opacity: 1
    }
}

[class*="button_"] {
    border: none;
    padding: 15px 32px;
    display: inline-block;
    margin: 4px 2px;
    cursor: pointer;
  }
  
.button_black {
    background-color: #333;
} 
.button_white {
    background-color: #bbb;
} 
.button_wood {
    background-color: #973214;
}   

[class*="col_"] {
    float: left;
    padding: 15px;
}

/* for tablets */
@media only screen and (min-width: 600px) {

    /* [id*="block_"] {
        width: 100%;
        padding: 50px 50px 50px 50px;
    }
    
    .headerContent {
        width: 80%;
    } */
}

/* for desktop */
@media only screen and (min-width: 992px) {

    h1 {
        font-family: acumin-pro-extra-condensed, sans-serif;
        font-weight: 700;
        font-size: 4em;
        line-height: 1.5em;
        color: #353333;
        margin: 0px;
    }
    
    p {
        font-family: acumin-pro-semi-condensed, sans-serif;
        font-weight: 300;
        font-size: 1.25em;
        line-height: 150%;
        margin: 0px 0px 30px 0px;
        color: #353333;
    }

    [id*="block_"] {
        width: 60%;
        max-width: 1200px;
        min-width: 700px;
        padding: 100px 50px 100px 50px;
        align-self: center;
        margin-right: auto;
        margin-left: auto;
    }

    #bg1, #bg2, #bg3 {
        display:block;
        padding: 400px 0px 400px 0px;
    }
    
    #bg1 {
        background-image: url('assets/textures/blurBackgroundPurple.jpg');
        background-size: cover;
        background-repeat: no-repeat;
        background-attachment: fixed;
    }
    
    #bg2 {
        background-color: #333;
    }
    
    #bg3 {
        background-image: url('assets/textures/blurBackgroundOrange.jpg');
        background-size: cover;
        background-repeat: no-repeat;
        background-attachment: fixed;
    }

    #block_1 {
        margin: 800px auto 50px auto;
    }
    
    #block_2 {
        padding: 0px 0px 300px 25%;
    }    
    
    #block_3 {
        padding: 300px 25% 0px 0px;
    }    

    #block_4 {
        padding: 500px 0px 100px 0px;
    }    

    #block_5 {
        padding: 600px 0px 0px 0px;
    }

    #block_6 {
        padding: 600px 0px 0px 20%;
    }

    #loader {
        position: fixed;
        top: 250px;
        left: 50%;
        margin-left: -15%;
        width: 30%;
        align-content: center;
        z-index: 2;
    }
    
    #loadingText {
        width: 30%;
        position: fixed;
        top: 300px;
        left: 50%;
        margin-left: -15%;
        z-index: 5;
    }
    
    .headerContent {
        width: 60%;
        max-width: 1200px;
        min-width: 700px;
        align-self: center;
        align-content: left;
        margin-right: auto;
        margin-left: auto;
    }
}

/* loading spinner from https://loading.io/css/ */

.lds-ripple {
    position: relative;
    width: 200px;
    height: 200px;
    margin: 0px auto;
  }
  .lds-ripple div {
    position: absolute;
    border: 4px solid #fff;
    opacity: 1;
    border-radius: 50%;
    animation: lds-ripple 1s cubic-bezier(0, 0.2, 0.8, 1) infinite;
  }
  .lds-ripple div:nth-child(2) {
    animation-delay: -0.5s;
  }
  @keyframes lds-ripple {
    0% {
      top: 100px;
      left: 100px;
      width: 0;
      height: 0;
      opacity: 1;
    }
    100% {
      top: 0px;
      left: 0px;
      width: 200px;
      height: 200px;
      opacity: 0;
    }
  }
  

