a:hover {
    color: cyan;
}

h1, h2, h3, h4, h5, h6 {
    margin: 0;
}
.container {
    width: 100%;
    padding-right: .75rem;
    padding-left: .75rem;
    margin-right: auto;
    margin-left: auto;
}
/* Header */

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 32px;
    font-weight: bold;
}

nav {
    display: flex;
}

nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

nav li {
    margin-left: 20px;
}

nav li:first-child {
    margin-left: 0;
}



.scroll-active {
    animation-name: slide-up;
    animation-duration: 1s;
    animation-timing-function: ease-out;
    opacity: 1;
    transform: translateY(0);
}

@keyframes slide-up {
    0% {
        opacity: 0;
        transform: translateY(-30%);
    }
    100% {
        opacity: 1;
        transform: translateY(0%);
    }
}

.underline:before {
    content: "";
    width: 0;
    height: 5px;
    background-color: #00bcd4;
    position: absolute;
    top: 120%;
    left: 0;
    transition: all 0.5s;
}

.underline:after {
    content: "";
    width: 0;
    height: 5px;
    background-color: #f0f;
    position: absolute;
    top: 120%;
    right: 0;
    font-size: 20%;
    transition: all 0.5s;
}

.underline:hover{ scale: 120%;color:cyan!important;}

.underline:hover:before {
    width: 50%;
    transform: translateX(100%);
}

.underline:hover:after {
    width: 50%;
    transform: translateX(-100%);
}


ul {
    padding: 0;
    display: flex;
}

li {
    list-style-type: none;
    padding: 10px 20px;
}

a {
    text-decoration: none;
    font-size: 20px;
    color: white;
    position: relative;
}

ul li a:before {
    content: "";
    width: 0;
    height: 5px;
    background-color: #00bcd4;
    position: absolute;
    top: 120%;
    left: 0;
    transition: all 0.5s;
}

ul li a:after {
    content: "";
    width: 0;
    height: 5px;
    background-color: #f0f;
    position: absolute;
    top: 120%;
    right: 0;
    transition: all 0.5s;
}

ul li a:hover:before {
    width: 50%;
    transform: translateX(100%);
}

ul li a:hover:after {
    width: 50%;
    transform: translateX(-100%);
}
.btn-style2 {
    border-color: #dd7e2a;
    color: #dd7e2a;
}

.btn-style2:hover {
    box-shadow: 0 0.25em 0.25em -0.1em #b5c952;
    transform: translateY(-0.25em);
    border-color: #b5c952;
    color: #b5c952;
}
.column {
    float: left;
    width: 33.33%;
    padding: 10px;
    box-sizing: border-box;

}


.row:after {
    content: "";
    display: table;
    clear: both;
}

.skew{
    animation: skewy 3s linear infinite;
}
@keyframes skewy {
    0%{rotate: 3deg}
    50%{rotate: 0deg}
    100%{rotate: 3deg}
}

/*Cubes*/
ul .cube {
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
    -webkit-transform-style: preserve-3d;
    transform-style: preserve-3d;
}

ul .cube {
    -webkit-perspective: 1000px;
    perspective: 1000px;
    -webkit-transform: translateZ(96px);
    transform: translateZ(96px);
    display: -webkit-box;
    display: flex;
    list-style: none;
    margin: 0;
    padding: 12px;
    font-size: .5em;
}
ul .cube li {
    padding: 12px;
}

.clips {
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 0;
    opacity: 0;
    z-index: -100;
}

.link {
    font-size: 1.2em;
    position: relative;
    width: 96px;
    height: 96px;
}
.link a {
    -webkit-transform-origin: 48px 48px -48px;
    transform-origin: 48px 48px -48px;
    display: block;
    position: absolute;
    z-index: 1;
    -webkit-transform: translateZ(24px);
    transform: translateZ(24px);
    width: 100%;
    height: 100%;
}
.link a:nth-child(1) {
    top: 0;
    left: 0;
    height: 50%;
    -webkit-clip-path: polygon(50% 100%, 0 0, 100% 0);
    clip-path: polygon(50% 100%, 0 0, 100% 0);
}
@-moz-document url-prefix() {
    .link a:nth-child(1) {
        clip-path: url(#clip-top);
    }
}
.link a:nth-child(1):hover ~ .cube, .link a:nth-child(1):focus ~ .cube {
    -webkit-transform: rotateX(-0.5turn);
    transform: rotateX(-0.5turn);
}
.link a:nth-child(1):hover ~ .cube div:nth-child(6), .link a:nth-child(1):focus ~ .cube div:nth-child(6) {
    -webkit-transform: rotateY(180deg) rotateZ(180deg) translateZ(96px);
    transform: rotateY(180deg) rotateZ(180deg) translateZ(96px);
}
.link a:nth-child(2) {
    top: 0;
    right: 0;
    width: 50%;
    -webkit-clip-path: polygon(100% 100%, 0 50%, 100% 0);
    clip-path: polygon(100% 100%, 0 50%, 100% 0);
}
@-moz-document url-prefix() {
    .link a:nth-child(2) {
        clip-path: url(#clip-right);
    }
}
.link a:nth-child(2):hover ~ .cube, .link a:nth-child(2):focus ~ .cube {
    -webkit-transform: rotateY(-0.5turn);
    transform: rotateY(-0.5turn);
}
.link a:nth-child(3) {
    bottom: 0;
    right: 0;
    height: 50%;
    -webkit-clip-path: polygon(0 100%, 50% 0, 100% 100%);
    clip-path: polygon(0 100%, 50% 0, 100% 100%);
}
@-moz-document url-prefix() {
    .link a:nth-child(3) {
        clip-path: url(#clip-bottom);
    }
}
.link a:nth-child(3):hover ~ .cube, .link a:nth-child(3):focus ~ .cube {
    -webkit-transform: rotateX(0.5turn);
    transform: rotateX(0.5turn);
}
.link a:nth-child(3):hover ~ .cube div:nth-child(6), .link a:nth-child(3):focus ~ .cube div:nth-child(6) {
    -webkit-transform: rotateY(180deg) rotateZ(180deg) translateZ(96px);
    transform: rotateY(180deg) rotateZ(180deg) translateZ(96px);
}
.link a:nth-child(4) {
    bottom: 0;
    left: 0;
    width: 50%;
    -webkit-clip-path: polygon(0 100%, 0 0, 100% 50%);
    clip-path: polygon(0 100%, 0 0, 100% 50%);
}
@-moz-document url-prefix() {
    .link a:nth-child(4) {
        clip-path: url(#clip-left);
    }
}
.link a:nth-child(4):hover ~ .cube, .link a:nth-child(4):focus ~ .cube {
    -webkit-transform: rotateY(0.5turn);
    transform: rotateY(0.5turn);
}
.link a:nth-child(1):hover, .link a:nth-child(1):focus, .link a:nth-child(2):hover, .link a:nth-child(2):focus, .link a:nth-child(3):hover, .link a:nth-child(3):focus, .link a:nth-child(4):hover, .link a:nth-child(4):focus {
    z-index: 2;
    -webkit-transform: translateZ(36px);
    transform: translateZ(36px);
    width: 100% !important;
    height: 100% !important;
    -webkit-clip-path: none !important;
    clip-path: none !important;
    -webkit-transition: all 100ms ease 500ms;
    transition: all 100ms ease 500ms;
}
main>section {
    min-width: 50vw;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 4ch;
}
.cube {
    -webkit-transform-origin: 48px 48px -48px;
    transform-origin: 48px 48px -48px;
    position: relative;
    z-index: 0;
    display: block;
    width: 100%;
    height: 100%;
    -webkit-transition: all 300ms ease-out;
    transition: all 300ms ease-out;
}
.cube div {
    display: -webkit-box;
    display: flex;
    -webkit-box-align: center;
    align-items: center;
    align-content: center;
    -webkit-box-pack: center;
    justify-content: center;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    color: white;
}
.cube div svg {
    width: 78px;
    height: 78px;
}
.cube div svg path:not(.fill) {
    fill: none;
    stroke: white;
    stroke-width: 5px;
    stroke-linecap: round;
    stroke-linejoin: round;
}
.cube div svg path.fill {
    fill: black;
}
.cube div:nth-child(1) {
    -webkit-transform-origin: center top;
    transform-origin: center top;
    -webkit-transform: rotateX(90deg) translateY(-96px);
    transform: rotateX(90deg) translateY(-96px);
}
.cube div:nth-child(2) {
    -webkit-transform-origin: center bottom;
    transform-origin: center bottom;
    -webkit-transform: rotateX(-90deg) translateY(96px);
    transform: rotateX(-90deg) translateY(96px);
}
.cube div:nth-child(3) {
    -webkit-transform-origin: left center;
    transform-origin: left center;
    -webkit-transform: rotateY(-90deg) translateX(-96px);
    transform: rotateY(-90deg) translateX(-96px);
}
.cube div:nth-child(4) {
    -webkit-transform-origin: right center;
    transform-origin: right center;
    -webkit-transform: rotateY(90deg) translateX(96px);
    transform: rotateY(90deg) translateX(96px);
}
.cube div:nth-child(5) {
    -webkit-transform-origin: center center;
    transform-origin: center center;
    -webkit-transform: rotateX(0);
    transform: rotateX(0);
}
.cube div:nth-child(6) {
    -webkit-transform-origin: center center;
    transform-origin: center center;
    -webkit-transform: rotateY(180deg) translateZ(96px);
    transform: rotateY(180deg) translateZ(96px);
}
.cube.codepen div:nth-child(1) {
    background: #fff1b0;
}
.cube.codepen div:nth-child(2) {
    background: #ffdb30;
}
.cube.codepen div:nth-child(3) {
    background: #ffe463;
}
.cube.codepen div:nth-child(4) {
    background: #ffe463;
}
.cube.codepen div:nth-child(5) {
    background: #fcd000;
}
.cube.codepen div:nth-child(6) {
    background: white;
    color: #fcd000;
}
.cube.github div:nth-child(1) {
    background: #c9dcee;
}
.cube.github div:nth-child(2) {
    background: #689cd0;
}
.cube.github div:nth-child(3) {
    background: #8fb6dc;
}
.cube.github div:nth-child(4) {
    background: #8fb6dc;
}
.cube.github div:nth-child(5) {
    background: #4183c4;
}
.cube.github div:nth-child(6) {
    background: white;
    color: #4183c4;
}
.cube.gate div:nth-child(1) {
    background: #888888;
}
.cube.gate div:nth-child(2) {
    background: #999999;
}
.cube.gate div:nth-child(3) {
    background: #666666;
}
.cube.gate div:nth-child(4) {
    background: #777777;
}
.cube.gate div:nth-child(5) {
    background: #000000;
}
.cube.gate div:nth-child(6) {
    background: black;
    color: orangered;
}
.cube.info div:nth-child(1) {
    background: #4183c4;
}
.cube.info div:nth-child(2) {
    background: #689cd0;
}
.cube.info div:nth-child(3) {
    background: #8fb6dc;
}
.cube.info div:nth-child(4) {
    background: #4183c4;
}
.cube.info div:nth-child(5) {
    background: #444444;
}
.cube.info div:nth-child(6) {
    background: white;
    color: darkslategrey;
}

/*Quote Animation*/

.quote {
    font-family: 'Droid Serif', serif;
}

h1 {
    font-size: 60px;
    text-align: center;
}

.content-slider {
    width: 100%;
    height: 360px;
}

.slider {
    height: 320px;
    width: 680px;
    margin: 40px auto 0;
    overflow: visible;
    position: relative;
}

.mask {
    overflow: hidden;
    height: 320px;
}

.slider ul {
    margin: 0;
    padding: 0;
    position: relative;
}

.slider li {
    width: 680px;
    height: 320px;
    position: absolute;
    top: -325px;
    list-style: none;
}

.slider .quote {
    font-size: 40px;
    font-style: italic;
}

.slider .source {
    font-size: 20px;
    text-align: right;
}

.slider li.anim1 {
    animation: cycle 15s linear infinite;
}

.slider li.anim2 {
    animation: cycle2 15s linear infinite;
}

.slider li.anim3 {
    animation: cycle3 15s linear infinite;
}

.slider li.anim4 {
    animation: cycle4 15s linear infinite;
}

.slider li.anim5 {
    animation: cycle5 15s linear infinite;
}
.slider li.anim6 {
    animation: cycle6 15s linear infinite;
}
.slider:hover li {
    animation-play-state: paused;
}

@keyframes cycle {
    0% {
        top: 0px;
    }
    4% {
        top: 0px;
    }
    16% {
        top: 0px;
        opacity: 1;
        z-index: 0;
    }
    20% {
        top: 325px;
        opacity: 0;
        z-index: 0;
    }
    21% {
        top: -325px;
        opacity: 0;
        z-index: -1;
    }
    50% {
        top: -325px;
        opacity: 0;
        z-index: -1;
    }
    92% {
        top: -325px;
        opacity: 0;
        z-index: 0;
    }
    96% {
        top: -325px;
        opacity: 0;
    }
    100% {
        top: 0px;
        opacity: 1;
    }
}

@keyframes cycle2 {
    0% {
        top: -325px;
        opacity: 0;
    }
    16% {
        top: -325px;
        opacity: 0;
    }
    20% {
        top: 0px;
        opacity: 1;
    }
    24% {
        top: 0px;
        opacity: 1;
    }
    36% {
        top: 0px;
        opacity: 1;
        z-index: 0;
    }
    40% {
        top: 325px;
        opacity: 0;
        z-index: 0;
    }
    41% {
        top: -325px;
        opacity: 0;
        z-index: -1;
    }
    100% {
        top: -325px;
        opacity: 0;
        z-index: -1;
    }
}

@keyframes cycle3 {
    0% {
        top: -325px;
        opacity: 0;
    }
    36% {
        top: -325px;
        opacity: 0;
    }
    40% {
        top: 0px;
        opacity: 1;
    }
    44% {
        top: 0px;
        opacity: 1;
    }
    56% {
        top: 0px;
        opacity: 1;
        z-index: 0;
    }
    60% {
        top: 325px;
        opacity: 0;
        z-index: 0;
    }
    61% {
        top: -325px;
        opacity: 0;
        z-index: -1;
    }
    100% {
        top: -325px;
        opacity: 0;
        z-index: -1;
    }
}

@keyframes cycle4 {
    0% {
        top: -325px;
        opacity: 0;
    }
    56% {
        top: -325px;
        opacity: 0;
    }
    60% {
        top: 0px;
        opacity: 1;
    }
    64% {
        top: 0px;
        opacity: 1;
    }
    76% {
        top: 0px;
        opacity: 1;
        z-index: 0;
    }
    80% {
        top: 325px;
        opacity: 0;
        z-index: 0;
    }
    81% {
        top: -325px;
        opacity: 0;
        z-index: -1;
    }
    100% {
        top: -325px;
        opacity: 0;
        z-index: -1;
    }
}

@keyframes cycle5 {
    0% {
        top: -325px;
        opacity: 0;
    }
    76% {
        top: -325px;
        opacity: 0;
    }
    80% {
        top: 0px;
        opacity: 1;
    }
    84% {
        top: 0px;
        opacity: 1;
    }
    89% {
        top: 325px;
        opacity: 1;
        z-index: 0;
    }
    100% {
        top: 325px;
        opacity: 0;
        z-index: 0;
    }
}
@keyframes cycle6 {
    0% {
        top: -325px;
        opacity: 0;
    }
    76% {
        top: -325px;
        opacity: 0;
    }
    80% {
        top: -325px;
        opacity: 1;
    }
    84% {
        top: -325px;
        opacity: 1;
    }
    90% {
        top: 0px;
        opacity: 1;
        z-index: 0;
    }
    96% {
        top: 0px;
        opacity: 1;
        z-index: 0;
    }
    100% {
        top: 325px;
        opacity: 0;
        z-index: 0;
    }
}

/*Featured*/

.featured-content {
    width: 50%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.feature-item img {
    height:400px;
    width:400px;
}

@media
(min-width: 375px) and (max-width: 400px),
(min-width: 468px) {
    #CryptEx{
        top:40%;
    }
    section img {
        height:50%;
        width:50%;
    }
}

@media (max-width: 480px) {
    img {
        height:50%;
        width:50%;
    }
}