html {
    width: 100vw;
    height: 100vh;
    min-width: 300px;
    min-height: 500px;
    margin: 0;
    padding: 0;
}

body {
    width: 100%;
    height: 100%;
    padding: 0;
}

.desktop {
    display: none;
}

@media (min-width: 576px) and (min-height: 480px) {
    html {
        width: 100vw;
        height: 100vw;
        overflow: hidden;
    }

    body {
        position: relative;
        width: 100vw;
        height: 100vh;
        background: #05050a;
        min-height: 300px;
        overflow: hidden;
    }
    .desktop.loaded {
        display: block;
    }
    .mobile {
        display: none;
    }
}

/*If on IE*/
@media all and (-ms-high-contrast: none), (-ms-high-contrast: active) {
    .desktop, .desktop.loaded {
        display: none;
    }
    .mobile {
        display: block;
    }
}

/*If on Edge*/
@supports (-ms-ime-align:auto) {
    .desktop, .desktop.loaded {
        display: none;
    }

    .mobile {
        display: block;
    }
}

/*Desktop*/
.mid-section {
    clip-path: polygon(400px 0, 100% 0, 100% calc(100% - 400px), calc(100% - 200px) calc(100% - 200px), calc(100% - 400px) 100%, 0 100%, 0 400px, 200px 200px);
    background: #0d0e22;
    background-size: cover;
}
.creative-active .mid-section {
    clip-path: polygon(
            300px 0,        /*top left top*/
            100% 0,         /*top right*/
            100% 0,         /*bottom right top*/
            150px 150px,    /*bottom right mid*/
            0 100%,         /*bottom right bottom*/
            0 100%,         /*bottom left*/
            0 300px,        /*top left bottom*/
            120px 120px     /*top left mid*/
    );
    cursor: pointer;
}
.finance-active .mid-section {
    clip-path: polygon(
            100% 0,                                     /*top left top*/
            100% 0,                                     /*top right*/
            100% calc(100% - 300px),                    /*bottom right top*/
            calc(100% - 120px) calc(100% - 120px),      /*bottom right mid*/
            calc(100% - 300px) 100%,                    /*bottom right bottom*/
            0 100%,                                     /*bottom left*/
            0 100%,                                     /*top left bottom*/
            calc(100% - 150px) calc(100% - 150px)       /*top left mid*/
    );
    cursor: pointer;
}

.creative-active .mid-section:hover, .finance-active .mid-section:hover {
    background: #191b4b;
}

.section-logo {
    position: absolute;
    top: calc(50% - 40px);
    left: calc(50% - 99px);
    height: 80px;
}

.finance-active .section-logo {
    top: calc(50% - 120px);
    left: calc(50% - 114px);
    height: 50px;
}
.creative-active .section-logo {
    top: calc(50% + 15px);
    left: calc(50% - 114px);
    height: 50px;
}

.finance-section {
    background: url("../img/finance-bg.jpg") no-repeat center center;
    background-size: cover;
    clip-path: polygon(
            0 0,
            350px 0,
            175px 175px,
            0 350px
    );
    cursor: pointer;
}
.creative-section {
    background: url("../img/creative-bg.jpg") no-repeat center center;
    background-size: cover;
    clip-path: polygon(
            100% 100%,
            100% calc(100% - 350px),
            calc(100% - 175px) calc(100% - 175px),
            calc(100% - 350px) 100%
    );
    cursor: pointer;
}

.finance-active .finance-section {
    clip-path: polygon(
            0 0,
            calc(100% - 60px) 0,
            calc(100% - 160px) calc(100% - 160px),
            0 calc(100% - 60px)
    );
    cursor: auto;
}
.finance-active .creative-section {
    clip-path: polygon(
            100% 100%,
            100% calc(100% - 240px),
            calc(100% - 110px) calc(100% - 110px),
            calc(100% - 240px) 100%
    );
}

.creative-active .finance-section {
    clip-path: polygon(
            0 0,
            235px 0,
            110px 110px,
            0 235px
    );
}
.creative-active .creative-section {
    clip-path: polygon(
            100% 100%,
            100% 60px,
            160px 160px,
            60px 100%
    );
    cursor: auto;
}

.finance-hover.creative-active .mid-section {
    clip-path: polygon(
            290px 0,        /*top left top*/
            calc(100% - 60px) 0,         /*top right*/
            calc(100% - 60px) 0,         /*bottom right top*/
            180px 180px,    /*bottom right mid*/
            0 calc(100% - 60px),         /*bottom right bottom*/
            0 calc(100% - 60px),         /*bottom left*/
            0 290px,        /*top left bottom*/
            145px 145px     /*top left mid*/
    );
}
.finance-hover.creative-active .finance-section {
    clip-path: polygon(
            0 0,
            235px 0,
            130px 130px,
            0 235px
    );
}
.finance-hover.creative-active .creative-section {
    clip-path: polygon(
            100% 100%,
            100% 45px,
            195px 195px,
            45px 100%
    );
}


.creative-hover.finance-active .mid-section {
    clip-path: polygon(
            100% 60px,
            100% 60px,
            100% calc(100% - 290px),
            calc(100% - 145px) calc(100% - 145px),
            calc(100% - 290px) 100%,
            60px 100%,
            60px 100%,
            calc(100% - 180px) calc(100% - 180px)
    );
}
.creative-hover.finance-active .finance-section {
    clip-path: polygon(
            0 0,
            calc(100% - 45px) 0,
            calc(100% - 195px) calc(100% - 195px),
            0 calc(100% - 45px)
    );
}
.creative-hover.finance-active .creative-section {
    clip-path: polygon(
            100% 100%,
            100% calc(100% - 240px),
            calc(100% - 130px) calc(100% - 130px),
            calc(100% - 240px) 100%
    );
}

.section {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.section-text {
    position: absolute;
    margin: 20px;
    width: 220px;
    text-align: center;
}
.creative-text {
    top: calc(100% - 150px);
    left: calc(100% - 260px);
    font-family: 'Sacramento', cursive;
    color: white;
    font-size: 75px;
    transform: rotateX(30deg) rotateY(-30deg) rotateZ(0) scaleX(.8);
}
.creative-active .creative-text {
    margin: 20px;
    top: calc(50% - 12px);
    left: calc(50% - 61px);
    font-size: 45px;
}
.creative-active .finance-text {
    margin: 20px;
    top: -5px;
    left: -40px;
}

.finance-text {
    top: 10px;
    left: 0;
    font-family: 'Lora', cursive;
    color: #0d0e22;
    font-size: 40px;
}
.finance-active .finance-text {
    margin: 20px;
    top: calc(50% - 145px);
    left: calc(50% - 60px);
    color: white;
    transform: scale(0.6);
}
.finance-active .creative-text {
    top: calc(100% - 120px);
    left: calc(100% - 220px);
}

.section-background {
    position: absolute;
    width: 100%;
    height: 100%;
}
.finance-section .section-background {
    background: rgba(255, 255, 255, .6);
}
.creative-section .section-background {
    background: rgba(0, 174, 239, .2);
}
.finance-active .finance-section .section-background {
    background: transparent;
}
.creative-active .creative-section .section-background {
    background: transparent;
}
.desktop:not(.finance-active) .finance-section:hover .section-background {
    background: rgba(255, 255, 255, .8);
}
.desktop:not(.creative-active) .creative-section:hover .section-background {
    background: rgba(0, 174, 239, .5);
}
.finance-active .finance-section:hover .section-background {
    background: rgba(255, 255, 255, 0);
}
.creative-active .creative-section:hover .section-background {
    background: rgba(0, 174, 239, 0);
}

.small-bg {
    position: absolute;
    width: 340px;
    height: 0px;
    background: rgba(13, 14, 34, 0);
    left: calc(50% - 170px);
    bottom: calc(50% - 170px);
    transition: .5s .1s all;
}
.finance-active .small-bg {
    height: 340px;
    left: calc(50% - 170px);
    bottom: calc(50% - 100px);
}
.creative-active .small-bg {
    height: 340px;
    left: calc(50% - 170px);
    bottom: calc(50% - 240px);
}

.finance-active .finance-section .small-bg {
    background: rgba(13, 14, 34, .8);
}
.creative-active .creative-section .small-bg {
    background: rgba(13, 14, 34, .8);
}

.section a.button {
    font-family: 'Roboto', sans-serif;
    border-radius: 999px;
    height: 40px;
    width: 130px;
    padding: 7px 10px;
    border: solid 2px;
    z-index: 10;
    transition: .5s top, .5s opacity, .25s background, .25s color, .25s text-shadow, .25s border, .75s width;
    font-weight: 400;
    color: white !important;
    border-color: white !important;
    position: absolute;
    left: 50%;
    text-align: center;
    transform: translateX(-50%);
    opacity: 0;
}
.finance-active .finance-section a.button, .creative-active .creative-section a.button {
    width: 230px;
}
.section a.button:hover {
    text-decoration: none !important;
    color: #0d0e22 !important;
    background: white !important;
    border-color: transparent !important;
}

.finance-section a {
    top: calc(50% - 50px);
}
.creative-section a {
    top: calc(50% + 85px);
}

.close {
    position: absolute;
    font-size: 14px;
    color: white;
    right: 10px;
    top: 10px;
    transition: .2s all;
    cursor: pointer;
}
.close img {
    width: 15px;
    height: auto;
    opacity: 0;
}

.finance-active .close img,.creative-active .close img, .finance-active a.button,.creative-active a.button {
    opacity: 1;
}

.blurred-circle {
    position: absolute;
    width: 1000px;
    height: 1000px;
    border-radius: 99999px;
    top: 50%;
    left: 50%;
    background: white;
    transform: translateX(-50%) translateY(-50%);
    filter: blur(300px);
    mix-blend-mode: overlay;
    opacity: .8;
}

.smooth-transition {
    transition: .5s all ease;
}

/*Mobile*/
.mobile {
    width: 100%;
    height: 100%;
}

.logo-mobile {
    background: #0d0e22;
    height: 80px;
}

.mobile-button {
    font-family: 'Roboto', sans-serif;
    border-radius: 999px;
    height: 40px;
    width: 240px;
    padding: 7px 10px;
    z-index: 10;
    transition: .5s top, .5s opacity, .25s background, .25s color, .25s text-shadow, .25s border;
    font-weight: 400;
    color: #0d0e22 !important;
    background: white;
}
.mobile-button:hover {
    text-decoration: none !important;
    background: #bbb !important;
}

.mobile-text {
    position: static;
    font-size: 14px;
    color: white;
    height: 100px;
    line-height: 100px;
}

.creative-mobile-text {
    font-family: 'Sacramento', cursive;
    font-size: 75px;
    transform: rotateX(30deg) rotateY(-30deg) rotateZ(0) scaleX(.8);
}

.finance-mobile-text {
    font-family: 'Lora', cursive;
    font-size: 40px;
}

.mobile-section {
    background: white;
    position: relative;
    float: left;
}

@media (max-width: 767px) {
    .mobile-section {
        width: 100%;
        height: 50% !important;
    }
}

@media (min-width: 768px) {
    .mobile-section {
        width: 50%;
        height: 100%;
    }
}

.mobile-section-finance {
    background: url("../img/finance-bg.jpg") no-repeat center center;
    background-size: cover;
}
.mobile-section-creative {
    background: url("../img/creative-bg.jpg") no-repeat center center;
    background-size: cover;
}

.mobile-section-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translateX(-50%) translateY(-50%);
    padding: 5px 30px 20px 30px;
    background: rgba(13, 14, 34, 0.8);
}
.mobile-content {
    height: calc(100% - 80px);
}

/**/

.social-link {
    width: 30px;
    height: 30px;
    text-align: center;
    border-radius: 9999px;
    background: white;
    color: #0d0e22;
    padding-top: 2px;
}
.social-link:hover {
    background: #bbb !important;
    color: #0d0e22 !important;
}

/*post-loading*/
.logo-post-loading {
    position: absolute;
    top: calc(50% - 40px);
    left: calc(50% - 32px);
    width: 80px;
    height: 80px;
    animation: logo-loading-apparition .5s 1s forwards;
}

.logo-mid {
    background: url("../img/logo-parts/mid.png") no-repeat;
    background-size: contain;
    width: 100%;
    height: 100%;
    position: absolute;
    animation: logo-mid-apparition .5s .5s forwards;
    left: -10px;
}
.logo-top {
    background: url("../img/logo-parts/top.png") no-repeat;
    background-size: contain;
    width: 100%;
    height: 100%;
    position: absolute;
    animation: logo-top-apparition .5s .5s forwards;
    opacity: 0;
}
.logo-bottom {
    background: url("../img/logo-parts/bottom.png") no-repeat;
    background-size: contain;
    width: 100%;
    height: 100%;
    position: absolute;
    animation: logo-bottom-apparition .5s .5s forwards;
    opacity: 0;
}
.logo-text {
    background: url(../img/logo-parts/logo-text.png) no-repeat;
    background-size: contain;
    top: calc(50% - 10px);
    left: calc(50% - 180px);
    width: 129px;
    height: 100px;
    position: absolute;
    animation: logo-text-apparition .5s 1s forwards;
    opacity: 0;
}
.logo-text-foreground {
    background: linear-gradient(to right, #0d0e22 90%, transparent 100%);
    background-size: contain;
    top: calc(50% - 50px);
    left: calc(50% - 220px);
    width: 250px;
    height: 100px;
    position: absolute;
    animation: logo-text-foreground-apparition .75s 1s forwards;
}

@keyframes logo-mid-apparition {
    0% {left: -10px}
    100% {left: 0}
}
@keyframes logo-top-apparition {
    0% {opacity: 0; left: 10px; transform: rotate(15deg) scale(.9)}
    100% {opacity: 1; left: 0; transform: rotate(0) scale(1)}
}
@keyframes logo-bottom-apparition {
    0% {opacity: 0; left: 10px; transform: rotate(-15deg) scale(.9)}
    100% {opacity: 1; left: 0; transform: rotate(0) scale(1)}
}
@keyframes logo-loading-apparition {
    0% {left: calc(50% - 32px);}
    100% {left: calc(50% - 98px);}
}
@keyframes logo-text-apparition {
    0% {left: calc(50% - 180px); opacity: 1;}
    100% {left: calc(50% - 32px); opacity: 1;}
}
@keyframes logo-text-foreground-apparition {
    0% {left: calc(50% - 220px);}
    100% {left: calc(50% - 286px);}
}
@keyframes page-loading-content-apparition {
    0% {transform: scale(2);}
    100% {transform: scale(1);}
}
@keyframes section-logo-apparition {
    0% {transform: scale(2);}
    100% {transform: scale(1);}
}
@keyframes page-loading-apparition {
    0% {}
    99% {opacity: 0; z-index:0;}
    100% {opacity: 0; z-index:-999; display: none}
}

.page-post-loading-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: scale(2);
    animation: page-loading-content-apparition .5s 1.75s forwards;
}

.page-post-loading {
    background: #0d0e22;
    animation: page-loading-apparition .5s 1.75s forwards;
}

.section-logo {
    transform: scale(2);
    animation: section-logo-apparition .5s 1.75s forwards;
}

/*Loading*/
#loading-page {
    background: #0d0e22;
}

@keyframes logo-pre-loading {
    0%   {d: path('M0,12.2c12,7.1,47.7,11.1,62.6,11.1c15.6,0,11-4.5,23.3-12.2C74,4.1,77.5,0,62.6,0C46.9,0,12.4,4.4,0,12.2z');}
    50%  {d: path('M0,12.2c12,7.1,7.7,11.1,22.6,11.1c15.6,0,51-4.5,63.3-12.2C74,4.1,37.5,0,22.6,0C6.9,0,12.4,4.4,0,12.2z');}
    100% {d: path('M0,12.2c12,7.1,47.7,11.1,62.6,11.1c15.6,0,11-4.5,23.3-12.2C74,4.1,77.5,0,62.6,0C46.9,0,12.4,4.4,0,12.2z');}
}

#loading-page {
    background: #0D0E22;
    width: 100vw;
    height: 100vh;
}
.loading {
    position: absolute;
    top: 50%;
    left: calc(50% - 45px);
}

.eye-logo {
    position: absolute;
    top: 50%;
    transform: translateY(-12px);
}
.st0 {
    animation: logo-pre-loading 1s infinite;
    fill: #00ADEE;
}

/*Social links*/
.social-links {
    position: absolute;
    bottom: 0;
    left: 0;
    padding-left: 3px;
    padding-bottom: 10px;
}

.finance-active .social-links a, .creative-active .social-links a {
    background: transparent;
    color: transparent;
    pointer-events: none;
    cursor: default;
}