@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;500;700&display=swap');

/* GENERAL ============================================================== */

    ::-webkit-scrollbar { 
        display: none;
    }

    html, body, main, div, header, aside, article, section, footer, p, a, ul, li, form, input, textarea, fieldset {
        font-family: Roboto;
        color: #fff;
        font-size: inherit;
        font-stretch: inherit;
        font-style: inherit;
        font-variant: inherit;
        font-weight: inherit;
        line-height: inherit;
        font-kerning: normal;
    }

    :root {
        --font-body-family: Roboto, sans-serif;
        --font-body-style: normal;
        --font-body-weight: 400;
        --font-heading-family: Roboto, sans-serif;
        --font-heading-style: normal;
        --font-heading-weight: 400;
        --font-body-scale: 1;
        --font-heading-scale: 1;
        --color-base-text: 255, 255, 255;
        --color-base-background-1: 4, 4, 4;
        --color-base-background-2: 255, 255, 255;
        --color-base-button: 255, 255, 255;
        --color-background-button: 255, 255, 255;
        --color-base-accent-1: 121, 37, 98;
        --color-base-accent-2: 76, 175, 1;
        --gradient-base-background-1: linear-gradient(180deg, #9c27b0, #3f51b5 75%, rgba(76, 175, 1, 1) 100%);
        --small-padding: 1rem;
        --medium-padding: 2rem;
        --large-padding: 3rem;
        --page-width: 97.5vw;
        --page-width-margin: 1.25vw;
    }

/* TEXT ================================================================= */

    h1 { font: normal normal      2rem/1.8rem      Roboto, Helvetica, sans-serif;    margin: 0;    letter-spacing: 0.02rem;}
    h2 { font: normal normal    1.45rem/1.6rem      Roboto, Helvetica, sans-serif;    margin: 0;    letter-spacing: 0.02rem;}
    h3 { font: normal normal      1.15rem/1.5rem      Roboto, Helvetica, sans-serif;    margin: 0;    letter-spacing: 0.02rem;}
    h4 { font: italic normal      1.6rem/1.4rem      Roboto, Helvetica, sans-serif;    margin: 0;    letter-spacing: 0.02rem;}
    h5 { font: normal normal      1rem/1.2rem      Roboto, Helvetica, sans-serif;    margin: 0;    letter-spacing: 0.02rem;}
    p  { font: normal normal      1rem/1.2rem      Roboto, Helvetica, sans-serif;    margin: 0;}
    li { font: normal normal      1rem/1.5rem      Roboto, Helvetica, sans-serif;    margin: 0;}
    label { font-weight: 300; }
    html,
    body {
        -webkit-touch-callout: none;
        -webkit-user-select: none;
        -khtml-user-select: none;
        -moz-user-select: none;
        -ms-user-select: none;
        user-select: none;
        -webkit-tap-highlight-color: rgba(0,0,0,0);
    }


/* KEYFRAMES ============================================================ */

    @-webkit-keyframes slideIn { 
        0% {
            right: unset; left: 200%;
        }
        100% { 
            right: unset; left: 0;
        }
    }
    @keyframes slideIn { 
        0% {
            right: unset; left: 200%;
        }
        100% {
            right: unset; left: 0;
        }
    }

    @-webkit-keyframes slideInRight {
        0% {
            left: unset; right: 200%;
        }
        100% {
            left: unset; right: 0;
        }
    }
    @keyframes slideInRight { 
        0% {
            left: unset; right: 200%;
        }
        100% {
            left: unset; right: 0;
        }
    }

    @-webkit-keyframes slideDown {
        0% {
            -webkit-transform: translateY(-1518px);
            -ms-transform: translateY(-1518px);
            transform: translateY(-1518px);
        }
        100% {
            -webkit-transform: translateY(0);
            -ms-transform: translateY(0);
            transform: translateY(0);
        }
    }
    @keyframes slideDown {
        0% {
            -webkit-transform: translateY(-1518px);
            -ms-transform: translateY(-1518px);
            transform: translateY(-1518px);
        }
        100% {
            -webkit-transform: translateY(0);
            -ms-transform: translateY(0);
            transform: translateY(0);
        }
    }
    @-webkit-keyframes slideUp {
        0% {
            -webkit-transform: translateY(100vh);
            -ms-transform: translateY(100vh);
            transform: translateY(100vh);
        }
        100% {
            -webkit-transform: translateY(0);
            -ms-transform: translateY(0);
            transform: translateY(0);
        }
    }
    @keyframes slideUp {
        0% {
            -webkit-transform: translateY(100vh);
            -ms-transform: translateY(100vh);
            transform: translateY(100vh);
        }
        100% {
            -webkit-transform: translateY(0);
            -ms-transform: translateY(0);
            transform: translateY(0);
        }
    }

    @-webkit-keyframes slideUpIndex {
        0% {
            top: calc((100vh - 60px) - 170px);
        }
        100% {
            top: 0;
        }
    }
    @keyframes slideUpIndex {
        0% {
            top: calc((100vh - 60px) - 170px);
        }
        100% {
            top: 0;
        }
    }

    @-webkit-keyframes pop {
        0% {
            opacity: 0; -webkit-transform: scale(0.8);
            -ms-transform: scale(0.8);
            transform: scale(0.8);
        }
        100% {
            opacity: 1;
            -webkit-transform: scale(1);
            -ms-transform: scale(1);
            transform: scale(1);
       }
    }
    @keyframes pop {
        0% {
            opacity: 0; -webkit-transform: scale(0.8);
            -ms-transform: scale(0.8);
            transform: scale(0.8);
        }
        100% {
            opacity: 1; -webkit-transform: scale(1);
            -ms-transform: scale(1);
            transform: scale(1);
       }
    }

    input, textarea {
        background-color: transparent;
        border: 1px solid white;
        color: white;
        margin-bottom: 1rem;
        font-family: Roboto;
        font-weight: 400;
        padding: 10px;
        width: 100%;
    }

    ::placeholder {
        color: rgba(255, 255, 255, 0.85);
        font-family: Roboto;
        font-weight: 400;
    }


/* BASE ================================================================= */

    body {
        position: relative;
        width: 100%;
        height: 100%;
        overflow: hidden;
        background-image: url('/assets/starb.png');
        background-size: cover;                 
        background-repeat: no-repeat;
        background-color: black;
        font-size: 1rem;
    }

    @media screen and ( max-width: 749px ) {
        body {
            background-size: auto 140vh;
        }

    }

    .container {
        position: relative;
        background-color: transparent;
        transition: transform 1.5s ease-in-out;
    }

    #magic {
        transform: scale(0.5);
        transition: all 600ms ease-in-out;
        top: 70vh;
        position: fixed;
        width: 100%;
        height: 100vh;
        display: block;
        top: 0;
        left: 0;
        z-index: 0;
    }

    #magic.live {
        transform: scale(1);
    }

    #magic.low {
        transform: scale(0.2);
        top: 43vh;
        cursor: not-allowed;
        pointer-events: none;
    }

/* HEADER =============================================================== */

    .header { 
        position: relative;
        z-index: 8;
    }

        .nav__link {  
            display: block;
            position: fixed;
            z-index: 9;
            cursor: pointer;
        }

        .nav__link span {  
            position: relative;
            font-size: 0.8rem;
            font-weight: bold;
            letter-spacing: .35rem;
            text-transform: uppercase;
        }

        .nav__link--top {
            top: 3.75rem;
            left: 7.5rem;
        }

        .nav__link--right, .nav__link--left { 
            top: 3.75rem;
        }

        .nav__link--left-down { 
            top: 11.75rem;
        }

        #home-left-down {
            top: 9.75rem;
        }

        .nav__link--right { 
            left: 200px;
        }

        .nav__link--left { 
            left: 3.75rem;
            -webkit-transform: rotate(-90deg) translate(0%);
                -ms-transform: rotate(-90deg) translate(0%);
                    transform: rotate(-90deg) translate(0%);
            -webkit-transform-origin: 44px 51px;
                -ms-transform-origin: 44px 51px;
                    transform-origin: 44px 51px;
                    /*transition: all 1s linear;*/  }
        
        .nav__link--left-down { 
            left: 3.75rem;
            -webkit-transform: rotate(-90deg) translate(0%);
                -ms-transform: rotate(-90deg) translate(0%);
                    transform: rotate(-90deg) translate(0%);
            -webkit-transform-origin: 44px 51px;
                -ms-transform-origin: 44px 51px;
                    transform-origin: 44px 51px;
                    /*transition: all 1s linear;*/  }

        .disabled {
            pointer-events: none;
            display: none;
        }

    @media only screen and (max-width: 768px) {

        .nav__link span {
            font-size: 0.8rem;
            line-height: 2.5rem;
            font-weight: bold;
            padding: 0;
            display: block;
        }

        .nav__link--top { 
            top: 0.3rem; 
            left: 1.65rem; 

        }

        .nav__link--right { 
            left: 105px; 
            top: 0.3rem; 
            width: auto;

        }

        .nav__link--left { 
            left: 1rem; 
            top: 1.75rem; 

        }

        .nav__link--left-down { 
            left: 1rem; 
            top: 9.65rem; 
        }

        #home-left-down { 
            top: 6.75rem;
        }
    }

/* CONTENT ============================================================== */

    .main { 
        position: relative;
        max-width: 100vw;
        min-width: 100vw;
        width: 100%;
        max-height: 100vh;
        min-height: 100vh;
        height: 100%;
        overflow: hidden;
    }

    /* CONTENT BLOCK */
    .main__home {
        position: absolute;
        padding: 0;
        opacity: 0;
        overflow: scroll;
        z-index: -1;
        transition: opacity 0.6s ease-in-out 0s;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        height: -webkit-fill-available;
        width: -webkit-fill-available;
        display: flex;
        align-items: center;
        justify-content: center;
        height: 100vh;
        flex-direction: column;
    }

    .blog,
    .contact {
        background-color: rgba(16 18 27 / 40%);
        border-radius: 14px;
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        padding: 0;
        border: 1px solid rgba(113 119 144 / 25%);
    }

    .work {
        background-color: rgba(16 18 27 / 40%);
        border-radius: 14px;
        border: 1px solid rgba(113 119 144 / 25%);
    }

    .work-inner {
        padding: 2rem;
    }

    .blog h2, .contact > h2, .work h2  {
        padding: 1.5rem 2rem;
        border-bottom: 1px solid rgba(113 119 144 / 25%);
        color: rgba(183, 195, 194, 0.78);
    }

    .blog > p {
        padding-left: 2rem;
        padding-right: 2rem;
    }

    .grid__content, .tab {
        background-color: rgb(146 151 179 / 13%);
        border-radius: 14px;
        min-height: 15rem;
    }

    .blog h3,  .tab p, .work h2 {
        padding: 1rem 1.5rem;
        border-bottom: 1px solid rgba(113 119 144 / 25%);
        color: rgba(183, 195, 194, 0.78);
    }

    @media screen and ( max-width: 749px ) {

        #contact-tag {
            top: 35%!important;
        }

        .blog h3,  .tab p {
            padding: 1rem;
            border-bottom: 1px solid rgba(113 119 144 / 25%);
            color: rgba(183, 195, 194, 0.78);
            font-size: 1rem;
        }

        .main__home {
            justify-content: start;
            padding-top: 12rem;
        }

        .main__home--text {
            width: 70vw;
        }
    }

    .main__home#team-tag {
        justify-content: start;
    }

    .main__home.live {
        opacity: 1;
        z-index: 4;
    }

    .team {
        margin-bottom: 200px;
    }

    @media screen and ( min-width: 749px ) {
        .team {
            margin-top: 200px;
        }
    }

    .work > .work-inner > a {
        display: block;
        position: relative;
        z-index: 2;
    }

    .work > .work-inner > a + div {
        display: block;
        position: absolute;
        background-image: url(starb.png);
        top: 0;
        bottom: 0;
        left: 0;
        right: 0;
        z-index: 1;
        opacity: 0;
        transition: opacity 200ms linear;
        background-position: center;
        background-repeat: no-repeat;
        background-size: cover;
    }

    #work-tag > div > div > div:nth-child(2) {
        background-image: url(1.png);
    }

    #work-tag > div > div > div:nth-child(6) {
        background-image: url(2.jpeg);
    }

    #work-tag > div > div > div:nth-child(10) {
        background-image: url(3.jpeg);
    }

    #work-tag > div > div > div:nth-child(14) {
        background-image: url(1.png);
    }

    .work > .work-inner > a:hover + div {
        opacity: 0.8;
    }

    .main__home--text a {
        font-size: 2rem;
        background: -webkit-linear-gradient(#cc99ef, #47ebd4);
        font-weight: bold;
        -webkit-background-clip: text;
                background-clip: text;
        -webkit-text-fill-color: transparent;
        text-decoration: none;
    }

    .blog {
        max-width: 70vw;
    }

    @media screen and ( min-width: 749px ) {
        .grid__services {
            padding: 2rem;
            display: grid;
            grid-template-columns: 1fr 1fr;
            grid-template-rows: 1fr 1fr;
            gap: 2rem;
        }

        .grid__services ul {
            margin-bottom: 1.5rem;
        }
     }

    @media screen and ( max-width: 749px ) {

        .main__home--text.blog {
            margin-bottom: 10rem;
        }

        .grid__services {
            padding: 1rem;
            gap: 2rem;

        }

        .grid__services ul {
            margin-bottom: 1.5rem;
            padding-left: 1.5rem;
            font-size: 1rem;
        }

        .grid__content {
            min-height: 12rem;
            margin-bottom: 1rem;
        }
     }

/* FOOTER =============================================================== */

    footer {
        position: fixed;
        z-index: 8;
        height: 80px;
        bottom: 0;
        left: 0;
        right: 0;
        transition: opacity 1s ease-in-out 2s;
    }

        footer .footer-left {
            position: fixed;
            width: 240px;
            bottom: 3.75em;
            left: 3.75em;
            right: 3.75em;
            z-index: 9;
        }

        footer .footer-right {
            position: fixed;
            width: 200px;
            bottom: 3.75em;
            right: 3.75em;
            z-index: 9;
        }

        .footer .links, .footer .mark {
            position: relative;
        }

        .footer .links {
            float: left;

            -webkit-transform: rotate(270deg) translate(0%);
                -ms-transform: rotate(270deg) translate(0%);
                    transform: rotate(270deg) translate(0%);
            -webkit-transform-origin: 9px 18px;
                -ms-transform-origin: 9px 18px;
                    transform-origin: 9px 18px;  }

        .footer .links button {
            background: none;
            border: none;
            padding: 0 10px 0 0;
            cursor: pointer;
            outline: none;
            font: normal bold 10.5px/1em Roboto, sans-serif;
            letter-spacing: 2px;
            opacity: 0.8;
            color: #fff;
        }

        .footer .mark {
            float: right;
        }

        .footer .mark a {
            font: normal bold 12.5px/1em Roboto, sans-serif;
            color: #fff;
        }

        footer .social {
            position: fixed;
            display: inline-block;
            top: 3.75em;
            right: 3.75em;
            z-index: -1;
        }

        footer .social a {
            display: block;
            margin: 20px 20px 20px 0;
        }

    @media only screen and (max-width: 768px) {
        footer .footer-left {
            position: fixed;
            bottom: 1.65em;
            left: 0.85em;
            z-index: 9;
        }
        footer .footer-right {
            position: fixed;
            bottom: 1.65em;
            right: 1.65em;
            z-index: 9;
        }

        .footer .links {
            -webkit-transform-origin: 28px 37px;
                -ms-transform-origin: 28px 37px;
                    transform-origin: 28px 37px;  }

        .footer .links button {
            padding: 20px 10px;
            font: normal bold 12.5px/1em Roboto, sans-serif;
        }
        footer .social {
            top: 0.65em;
            right: 0.65em;
        }

        footer .social a {
            margin: 20px 10px 20px 0;
        }
    }

/* MODALS =============================================================== */

    .modal-wrapper {
        position: fixed;
        display: block;
        overflow: hidden;
        width: 0px; height: 0px;
        top: 0;
        left: 0;
        z-index: 8;
        opacity: 0;
        transition: all 0.3s ease-in-out 0.3s, opacity 0.3s ease-in-out 0s;
        background-color: transparent;
    }

    .modal-wrapper.is-open {
        position: fixed;
        z-index: 12;
        width: 100%;
        height: 100%;
        opacity: 1;
        background-color: rgba(0, 0, 0, 0.9);
        overflow-y: scroll;
        transition: opacity 0.3s ease-in-out 0.2s, width 0.1s ease-in-out 0s, height 0.1s ease-in-out 0s;
    }

        .modal-body {
            width: 100%;
            max-width: 680px;
            height: 100%;
            margin: 0 auto;
            padding: 10% 2% 20% 6%;
            -webkit-animation: pop 0.5s ease;
                    animation: pop 0.5s ease;
                }

    @media only screen and (max-width: 768px) {
        .modal-body { padding: 20% 20% 0;
        }
    }

    div.close {
        position: absolute;
        top: 34px;
        right: 34px; 
        width: 22px;
        height: 22px;
        cursor: pointer;
        background-size: 22px;
        background-repeat: no-repeat;
        background-image: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4NCjwhLS0gR2VuZXJhdG9yOiBBZG9iZSBJbGx1c3RyYXRvciAxNi4wLjQsIFNWRyBFeHBvcnQgUGx1Zy1JbiAuIFNWRyBWZXJzaW9uOiA2LjAwIEJ1aWxkIDApICAtLT4NCjwhRE9DVFlQRSBzdmcgUFVCTElDICItLy9XM0MvL0RURCBTVkcgMS4xLy9FTiIgImh0dHA6Ly93d3cudzMub3JnL0dyYXBoaWNzL1NWRy8xLjEvRFREL3N2ZzExLmR0ZCI+DQo8c3ZnIHZlcnNpb249IjEuMSIgaWQ9IkNhcGFfMSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB4bWxuczp4bGluaz0iaHR0cDovL3d3dy53My5vcmcvMTk5OS94bGluayIgeD0iMHB4IiB5PSIwcHgiDQoJIHdpZHRoPSI1MTJweCIgaGVpZ2h0PSI1MTJweCIgdmlld0JveD0iMCAwIDUxMiA1MTIiIGVuYWJsZS1iYWNrZ3JvdW5kPSJuZXcgMCAwIDUxMiA1MTIiIHhtbDpzcGFjZT0icHJlc2VydmUiPg0KPGc+DQoJPGcgaWQ9ImNsb3NlIj4NCgkJPHBvbHlnb24gZmlsbD0iI0ZGRkZGRiIgcG9pbnRzPSI1MTIsNTEuMiA0NjAuOCwwIDI1NiwyMDQuOCA1MS4yLDAgMCw1MS4yIDIwNC44LDI1NiAwLDQ2MC44IDUxLjIsNTEyIDI1NiwzMDcuMiA0NjAuOCw1MTIgDQoJCQk1MTIsNDYwLjggMzA3LjIsMjU2IAkJIi8+DQoJPC9nPg0KPC9nPg0KPC9zdmc+DQo=);
        transition: transform 0.6s;
    }

    div.close:hover {
        -webkit-transform: rotate(90deg);
            -ms-transform: rotate(90deg);
                transform: rotate(90deg);
            }

