/* app css stylesheet */

* {
    margin: 0;
    font-family: 'Jura', sans-serif;
}

html, body {
    height: 100%;
    background-color: #000000;
    overflow-x: hidden; 
    overflow-y: hidden;
}

p {
    padding-top: 1.3em;
    padding-bottom: 1.3em;
    border-bottom: 1px solid;
    margin-left: 2em;
    margin-right: 2em;
    padding-left: 0.2em;
}

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

h1 {
    border-bottom: 1px solid #BFA8BE;
    margin-bottom: 0.6em;
    font-size: 1.1em;
    text-transform: uppercase;
    font-weight: normal;
    padding-left: 0.2em;
}

.wrapper {
    min-height: 100%;
    height: auto !important;
    height: 100%;
    margin: 0px auto -200px;
    background-image: url('img/stars2.png');
    background-size: cover;
}

.footer, .push {
    height: 200px;
    /*z-index: 5;*/
    position: absolute;
}

#grid-container {
    width: 120%;
    left: -10%;
    right: 0px;
    position: fixed;
    perspective-origin: top center;
    perspective: 200px;
    overflow: hidden;
    border-top: 1px solid #A32A9D;
    box-shadow: inset 0px 0px 3px #c646be, 0px 0px 3px #c646be;
}

#grid {
    /*height: 200px;
    background-color: rgba(0,0,0,1);
    background-image: repeating-linear-gradient(0deg,transparent,transparent 10px,#A32A9D 10px, #A32A9D 11px),repeating-linear-gradient(-90deg,transparent,transparent 10px, #A32A9D 10px, #A32A9D 11px);
    background-size: 20px 23px;*/
    /*background-position-y: 0px;*/
    transform-style: preserve-3d;
    transform: rotate3d(1, 0, 0, 55deg) translate3d(0, 0, 128px);
}

#grid-gfx {
    height: 200px;
    background-color: rgba(0,0,0,1);
    background-image: repeating-linear-gradient(0deg,transparent,transparent 5px,#A32A9D 5px, #A32A9D 6px),repeating-linear-gradient(-90deg,transparent,transparent 5px, #A32A9D 5px, #A32A9D 6px);
    background-size: 10px 12px;
}



/*#bgCanvas {
    background-color: #000000;
}*/

.menu-item {
    font-family: 'Bungee', cursive;
    color: #a32a9d;
    text-shadow: -2px -2px #452a14;
}

.menu {
    width: 10%;
    list-style: none;
    margin-bottom: 2em;
    padding: 0 0 0.5em;
}

@keyframes slidedown {
    0% {
        opacity: 0.0;
    }
    100% {
        opacity: 1;
    }
}

.menu > li {
    display: inline;
}

.menu > li:before {
    padding-right: 0.3em;
}

.menu > li:nth-child(1):before {
    content: "";
    padding: 0;
}


.ui-triangle {
    margin-bottom: 1em;
    width: 7.05em;
    height: 5em;
    position: relative;
    overflow: hidden;
    transform: scale(1);
}

.ui-triangle::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /*background: linear-gradient(180deg, #11D6D3 10%, #a32a9d 95%);*/
    border: 4px solid #a32a9d;
    /*border-image: linear-gradient(45deg, #11D6D3, #a32a9d);*/
    transform-origin: 0 100%;
    transform: rotate(-45deg);
}

.ui-cube {
    position: relative;
    margin-bottom: -1.8em;
    transition: transform 2s cubic-bezier(0.785, 0.135, 0.15, 0.86); 
    transform: rotate3d(0,0,0,0deg);
    transform-origin: center;
}

.ui-cube:hover {
    /*background-image: linear-gradient(180deg, #11D6D3 10%, #a32a9d 95%); */
}

.right-face {
    padding: 10px;
    width: 2.5em;
    height: 2.5em;
    box-shadow: inset 0px 0px 2px #c646be, 0px 0px 2px #c646be;
    background-color: rgba(0,0,0,1);
}

.left-face {
    padding: 10px;
    width: 2.5em;
    height: 2.5em;
    box-shadow: inset 0px 0px 2px #c646be, 0px 0px 2px #c646be;
    background-color: rgba(0,0,0,1);
}


.top-face {
    border: 2px solid #A32A9D;
    width: 2.91em;
    height: 2.5em;
    padding: 0.6em;
    transform: scale(1.04) rotateZ(30deg) skew(-30deg);
    margin-bottom: -0.9em;
    margin-left: 1.75em;
    box-shadow: inset 0px 0px 2px #c646be, 0px 0px 2px #c646be;
    background-color: rgba(0,0,0,1);
}

.left-face {
    transform: skewY(30deg);
    border: 2px solid #a32a9d;
}

.left-face:hover {
    background-image: linear-gradient(180deg, #11D6D3 10%, #a32a9d 95%);
}

.right-face:hover {
    background-image: linear-gradient(180deg, #11D6D3 10%, #a32a9d 95%);
}

.top-face:hover {
    background-image: linear-gradient(180deg, #11D6D3 10%, #a32a9d 95%);
}

.right-face {
    transform: skewY(-30deg);
    border: 2px solid #a32a9d;

    margin-left: 3.9em;
    margin-top: -4em;
}

.menu-item {
    position: absolute;
    text-decoration: none;
}

@keyframes spin1 {
    0% {
        transform: rotate(0deg);
    }
    50% {
        transform: rotate(360deg);
    }
    100% {
        transform: rotate(0deg);
    }
}

@keyframes spin2 {
    0% {
        transform: rotate(0deg);
    }
    50% {
        transform: rotate(-360deg);
    }
    100% {
        transform: rotate(0deg);
    }
}

@keyframes spin3 {
    0% {
        transform: rotate(0deg);
    }
    50% {
        transform: rotate(180deg);
    }
    100% {
        transform: rotate(0deg);
    }
}

.rot-arc {
    position: absolute;
    width: 4em;
    height: 4em;
    transition: transform 1s easeOutBack;
    transform-origin: center;
    /*animation-name: spin;*/
    /*animation-iteration-count: infinite;
    animation-direction: alternate; 
    animation-duration: 10s;*/
}

.ui-anim-frame {
    /*margin-left: 63em;
    margin-top: -26em;*/
    position: absolute;
    right: 12em;
    top: 6em;
}

.arc {
    position: absolute;
    width: 4em; height: 4em;
    border-radius: 50%;
    border: 10px solid transparent;
    border-left-color: #a32a9d;
    margin-top: -0.62em;
    margin-left: -0.62em;
    transition: transform 3s cubic-bezier(0.07, 0.73, 0.87, 0.04);
}
@media (min-width: 600px) {
    #ui-frame {
        background-color: rgba(0,0,0, 0.9);
        z-index: 9;
        position: absolute;
        right: 10em;
        left: 12em;
        bottom: 6em;
        top: 6em;
        padding: 2em;
        border: 2px solid #A32A9D;
        border-radius: 0.2em;
        transition: transform 1s cubic-bezier(0.68, -0.55, 0.265, 1.55);
        transform: scale3d(0,0,0) rotate3d(0,0,0,0deg);
        box-shadow: inset 0px 0px 3px #c646be, 0px 0px 3px #c646be;
        overflow-y: hidden;
    }
}

@media (max-width: 600px) {
    #ui-frame {
        background-color: rgba(0,0,0, 0.9);
        z-index: 9;
        position: absolute;
        right: 0.1em;
        left: 10em;
        bottom: 6em;
        top: 6em;
        padding: 2em;
        border: 2px solid #A32A9D;
        border-radius: 0.2em;
        transition: transform 1s cubic-bezier(0.68, -0.55, 0.265, 1.55);
        transform: scale3d(0,0,0) rotate3d(0,0,0,0deg);
        box-shadow: inset 0px 0px 3px #c646be, 0px 0px 3px #c646be;
        overflow-y: hidden;
    }    
}
.ui-boxes {
    width: 12em;
    margin-bottom: -1em;
    position: absolute;
    margin-top: 2.5em;
    margin-left: 9.1em;

}

.ui-box {
    border: 2px solid #A32A9F;
    height: 2em;
    width: 4em;
    transform: rotate(45deg);
    margin-top: 0.8em;
    /*background-color: #A32A9F*/;
    background-image: linear-gradient(180deg, #3653C7 10%, #a32a9d 95%);
}

.ui-box:before {
    content: '';
    border: 2px solid transparent;
    border-left-color: #A32A9F;
    height: 2em;
    padding-left: 2em;
    margin-top: 2em;
    position: absolute;
    margin-left: -0.1em;
    

}

.ui-box:after {
    content: '';
    border: 2px solid transparent;
    border-left-color: #A32A9F;
    transform: rotate(90deg);
    position: absolute;
    height: 8em;
    margin-top: 0.27em;
    margin-left: 3.86em;
}

.ui-content {
    color: #BFA8BE;
    height: 100%;
    overflow-y: scroll;
    transition: opacity 0.1s ease-in;
}

.ui-content::-webkit-scrollbar {
    width: 0.2em;
}
     
.ui-content::-webkit-scrollbar-track {
    -webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.3);
}
         
.ui-content::-webkit-scrollbar-thumb {
    background-color: #691b66;
    outline: 1px solid #A32A9F;
}


#stuff {
    font-size: 1em;
    line-height: 1.7em;
}

#projects {
    text-align: center;
    margin-top: 2em;
    margin-bottom: 2em;
}

#contact {
    font-size: 1em;
    line-height: 1.7em;
    padding-top: 1.3em;
    padding-bottom: 1.3em;
    margin-left: 2em;
    margin-right: 2em;
    padding-left: 0.2em;
}

#project-container {}

.project-image {
    width: 100%;
    background-size: contain;
    background-repeat: no-repeat;
    height: 150px;
    transition: all 3s ease-in;
}

.project-link:hover .project-image {
    transform: scale(1) !important;
    display: block !important;
}

.project-name {
    text-transform: uppercase;
    font-size: 0.7em;
    border-bottom: 1px solid;
    padding-left: 0.2em;
    margin-bottom: 0.7em;
}

.project-text {
    font-size: 0.8em;
    margin-bottom: 1.4em;
}

.project-link { 
    width: 260px;
    display: inline-block;
    margin: 6px;
    border-bottom: 1px solid;
    vertical-align: top;
    text-align: left;
    transition: all 0.2s ease-out;
    background-color: rgba(0,0,0,0);
}

.project-link:hover {
    transform: scale(1.04);
}

#project-container {
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    -webkit-flex-direction: row;
    -ms-flex-direction: row;
    flex-direction: row;
    -webkit-flex-wrap: wrap;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    -webkit-justify-content: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-align-content: flex-start;
    -ms-flex-line-pack: start;
    align-content: flex-start;
    -webkit-align-items: flex-start;
    -ms-flex-align: start;
    align-items: flex-start;
}

.project-link {
    -webkit-order: 0;
    -ms-flex-order: 0;
    order: 0;
    -webkit-flex: 0 1 auto;
    -ms-flex: 0 1 auto;
    flex: 0 1 auto;
    -webkit-align-self: auto;
    -ms-flex-item-align: auto;
    align-self: stretch;
}

.contact-box {
    border: 1px solid;
    padding: 1.4em;
    margin-top: 3em;
    border-radius: 3px;
}

.ui-candy-container {
    position: fixed;
    top: 0px;
    bottom: 201px;
    width: 100%;
    top: -40px;
    bottom: 130px;
}

#ui-candy {
    height: 100%;

}

#rect-container {
    height: 100%;
    transition: transform 0.1s ease-in;
    /*transform: rotate3d(1,0,1,270deg);*/
    transform: SkewY(30deg);
    position: absolute;
    bottom: -80px;
    right: -80px;
}

.rect-parent {
    height: 100%;
    position: relative;
    display: inline-block;
}

.rect {
    width: 60px;
    height: 100%;
    background-color: fuchsia;
    transform: rotate3d(0,0,1,20deg);
    border-bottom: 6px solid #88072C;
    border-left: 6px solid #88072C
}

#game-wrapper {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0px;
    z-index: 2;
}

#car-container {
    position: absolute;
    width: 100%;
    height: 400px;
    bottom: 0;
}

#car {
    width: 100px;
    height: 100px;
    position: absolute;
    bottom: 10%;
    left: 45%;
}

#car-gfx {
    width: 100%;
    background-color: orange;
    height: 100%;
}

#scenery-container {
    position: absolute;
    width: 100%;
    height: 400px;
    bottom: 0;
    perspective-origin: top center;
    perspective: 200px;
}

#scenery-1 {
        transform-style: preserve-3d;
    transform: rotate3d(0, 0, 1, 45deg) rotate3d(1,0,0,-90deg) rotate3d(0,1,0,-17deg) translate3d(345px, 0px, 0px) translate3d(0px, 0px, 330px) translate3d(0px, -35px, 0px) scale3d(0.9,1,1);
}

#scenery-gfx-1 {
    color: orange;
    /*background-color: orange;*/
    height: 200px;
    width: 30%;
    /*-webkit-clip-path: polygon(0 0, 51% 12%, 100% 51%, -5% 100%, 0 100%);*/
    /*clip-path: polygon(0 0, 51% 13%, 100% 45%, 63% 100%, 0 100%);*/
    background-color: rgba(0,0,0,1);
    background-image: repeating-linear-gradient(0deg,transparent,transparent 5px,#A32A9D 5px, #A32A9D 6px),repeating-linear-gradient(-90deg,transparent,transparent 5px, #A32A9D 5px, #A32A9D 6px);
    background-size: 10px 12px;


}

#fp-anims {
    max-width: 50%;
    left: 44%;
    top: 12%;
    position: fixed;
}

.fp-line {
    /*margin: 0 auto;*/
    width: 20px;
    background-color: #a32a9d;
}

.rotator {
    transition: all 1.2s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    /*transition: all 0.8s cubic-bezier(.25,.29,.46,.76);*/
    transition: all 0.8s cubic-bezier(0.190, 1.000, 0.220, 1.000);
}

.turn {
    transform: rotate3d(0,0,1,90deg);
    /*background-color: white;*/
}

.turn2 {
    transform: rotate3d(0,0,1,-90deg);
}

#home {
    height: 100%;
    display: flex;
    flex-direction: column;
}

.square {
    width: 305px;
    height: 217px;
    background-color: aqua;
    align-self: flex-end;
    position: absolute;
    z-index: 1;
    box-shadow: -28px 21px tomato;
}

.text {
    font-size: 1.3em;
    font-weight: 800;
    text-shadow: 1px 2px #a32a9d;
    z-index: 2;
}
