body:after {
    position: absolute;
    width: 0;
    height: 0;
    overflow: hidden;
    z-index: -1;
    content: url(../Image/Logo/FaceBookHover.png);
    content: url(../Image/Logo/FiverHover.png);
    content: url(../Image/Logo/GithubHover.png);
}

a {
    cursor: pointer;
}

ul {

    list-style-type: none;
    margin-block-start: 1em;
    margin-block-end: 1em;
    margin-inline-start: 0px;
    margin-inline-end: 0px;
    padding-inline-start: 40px;
    unicode-bidi: isolate;
}

h1 {
    font-size: 5rem;
    font-weight: 500;
    font-family:Impact, Haettenschweiler, 'Arial Narrow Bold', sans-serif ;
}

/* original
:root {
    --colourMain: #ad3c34; 
    --colourText: #ffbbbb; 
    --colourOff: #17b50c; 
    --colourCover: #4e1c1c; 
    --colourB-H: #232323; 
}*/

/*WorkPage
:root {
    --colourMain: #7d34ad;
    --colourText: #f4bbff; 
    --colourOff: #1d0cb5; 
    --colourCover: #341c4e; 
    --colourB-H: #232323;
}*/

:root {
    --colourMain: #000000; /*Main*/
    --colourText: #000000; /*text*/
    --colourOff: #000000; /*off*/
    --colourCover: #000000; /*Cover*/
    --colourB-H: #232323; /*background&Hover*/
    --logo_FB: url(../Image/Logo/FaceBookHover.png);
    --logo_FB_Hover: url(../Image/Logo/FaceBookHover.png);
    --logo_FV: url(../Image/Logo/FiverHover.png);
    --logo_FV_Hover: url(../Image/Logo/FiverHover.png);
    --logo_GH: url(../Image/Logo/GithubHover.png);
    --logo_GH_Hover: url(../Image/Logo/GithubHover.png);

    --logo_FB: url(../Image/Logo/FiverHome.png);
}

.button { 
    box-shadow: 0 0 0 .1em inset var(--colourMain); 
    --_g: linear-gradient(var(--colourMain) 0 0) no-repeat;
    background: 
      var(--_g) calc(var(--_p,0%) - 100%) 0%,
      var(--_g) calc(200% - var(--_p,0%)) 0%,
      var(--_g) calc(var(--_p,0%) - 100%) 100%,
      var(--_g) calc(200% - var(--_p,0%)) 100%;
    background-size: 50.5% calc(var(--_p,0%)/2 + .5%);
    outline-offset: .1em;
    transition: background-size .4s, background-position 0s .4s;
    width: 220px;
    height: 50px;
    text-align: center;
    font-size: 1.5rem;
    padding: 6px 0px;
    cursor: pointer;

}
.button:hover {
    --_p: 100%;
    transition: background-position .4s, background-size 0s;
  }
.button:active {
    box-shadow: 0 0 9e9q inset #0009; 
    background-color: var(--colourMain);
    color: #fff;
}


body {

    background: var(--colourB-H);
    min-height: calc(100vh - 40px);
    position: relative;
    padding: 20px;
    line-height: 1;
    z-index: 1;
}

span {
margin: 0;
padding: 0;
border: 0;
font-size: 100%;
font: inherit;
vertical-align: baseline;
}

.punc {
    color: var(--colourMain);
}

.pagewrap {
    min-height: calc(100vh - 40px);
    position: relative;
    background: var(--bg);
    overflow: hidden;
    transition: background 1s cubic-bezier(.165,.84,.44,1);
    z-index: 100;
    background-color: var(--colourCover);
}

.mainnav {
    z-index: 100000000;
    display: flex;
    vertical-align: middle;
    position: fixed;
    top: 60px;
    left: 65px;
}

.logo-wrap {
    max-width: 100px;
    position: relative;
    z-index: 10000;
    display: inline-block;
    vertical-align: middle;
    width: 100%;
}

.logo-wrap .logo {
    position: relative;
    display: block;
    animation: logoIn .45s ease-out .2s backwards;
}
.logo-img {
    cursor: pointer;
    background-image: var(--logo_FV);
    width: 100px;
    height: 100px;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
}

.logo-img:hover {
    background-image: var(--logo_FV_Hover);
}

.menu_link {
    z-index: 100000000;
}

.menu-link__label {
    display: inline-block;
    height: 20px;
    visibility: visible;
    transform: translateY(-20px);
    transition: transform .25s cubic-bezier(.175,.885,.32,1.3);
}

.menu-link__trigger {
    vertical-align: middle;
    overflow: hidden;
    width: 90px;
    height: 24px;
    position: relative;
    background: transparent;
    border: none;
    font-weight: 700;
    font-size: 1.2rem;
    line-height: 1.2rem;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: var(--colourText);
    outline: none;
    cursor: pointer;
    margin-top: 40px;
    margin-left: 35px;
    transition: all .12s cubic-bezier(.25,.46,.45,.94);
    animation: menuTextIn .5s cubic-bezier(.25,.46,.45,.94) .75s backwards;
}

.menu-link__trigger:hover {
    letter-spacing: 6px;
    color: var(--colourB-H);
}

.menu-link__mask {
    padding: 4px 0;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
}

@media (max-width: 511px) {
    .hire-me {
        right: 20px;
        top: 38px;
    }
}

.projectpunc {
 margin-left: 3px;
}

.hire-me {
    vertical-align: middle;
    text-align: center;
    width: 120px;
    height: 18px;
    font-family: 'Courier New', Courier, monospace;
    position: fixed;
    right: 105px;
    top: 105px;
    background: transparent;
    border: none;
    font-weight: 700;
    font-size: 1.2rem;
    line-height: 1.2rem;
    letter-spacing: 4px;
    text-transform: uppercase;
    text-decoration: none;
    color: var(--colourText);
    outline: none;
    transition: all .3s ease-in-out;
    z-index: 90000;
    visibility: hidden;
    opacity: 0;
}

.main-menu{
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    overflow: hidden;
    z-index: -10000;
    visibility: hidden;
    background-color: var(--colourB-H);
}

.main-menu__mask {
    position: absolute;
    overflow: hidden;
    top: 20px;
    left: 20px;
    backface-visibility: hidden;
    min-height: calc(100vh - 40px);
    min-width: calc(100vw - 60px);
    padding: 20px;
    transition: transform .7s cubic-bezier(.165,.84,.44,1);
    min-height: calc(100vh - 40px);
    background-color: var(--colourMain);
    z-index: 10;
}

.main-menu__flyout {
    padding: 200px 55px 80px 65px;
}

.main-menu__inr, .main-menu__links {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.main-menu__links {
    justify-content: space-between;
    height: 350px;
    padding-inline-start: 0px;
    z-index: 11;
    padding-top: 20px;
}

.social-links {
    position: relative;
    display: flex;
    padding-left: 2px;
    padding-top: 10px;
    z-index: 11;
}

.social-links__item {
    display: inline-block;
    vertical-align: middle;
    margin: 0 15px 0 0 !important;
    visibility: hidden;
}

.social-links__link--fb {
    background-image: var(--logo_FB);
}

.social-links__link--fv {
    background-image: var(--logo_FV);
}

.social-links__link--gh {
    background-image: var(--logo_GH);
}

.social-links__link--fb:hover {
    background-image: var(--logo_FB_Hover);
}

.social-links__link--fv:hover {
    background-image: var(--logo_FV_Hover);
}

.social-links__link--gh:hover {
    background-image: var(--logo_GH_Hover);
}

.social-links__link {
    display: block;
    overflow: hidden;
    text-indent: -999px;
    width: 22px;
    height: 22px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center 100%;
    transition: all .3s ease-in-out;
    opacity: 0;

}

.primary-links__item {
    opacity: 1;
    transform: none;

}

.primary-links__link {
    color: var(--colourText);
    display: inline-block;
    font-weight: 700;
    letter-spacing: -.01em;
    text-decoration: none;
    transition: all .3s ease-in-out;
    width: 360px;
    font-size: 4rem;
    line-height: 1.25;
    width: 200px;
    font-family: 'Courier New', Courier, monospace;
    letter-spacing: 4px;
    text-transform: uppercase;
    outline: none;
    cursor: pointer;
    width: auto;
    visibility: hidden;
    opacity: 0;
}

.primary-links__link:hover {
    color: var(--colourB-H)
}

.primary-links__summary {
    -webkit-font-smoothing: antialiased;
    font-family:'Courier New', Courier, monospace;
    margin: 30px auto;
    font-size: 1.8rem;
    line-height: 1.45;
    font-weight: 400;
    color: var(--colourText);
    display: none;

}

#main-content {
    max-width: 1200px;
    margin: 250px auto 0 auto;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.section {
    height: 500px;
    max-width: 100%;
    z-index: 1000000;
    text-align: center;
    padding-top: 60px;
    color: var(--colourText);
}

main {
    display: block;
}

.header-title {
    font-size: 5rem;
    color: var(--colourText);
}

.header-desc {
    margin-top: 50px;
    max-width: 70%;
}

.values-overall-section{
    margin-top: 950px;
    margin-bottom: 50px;
    display: flex;
    flex-direction: column;
    color: var(--colourText);
}

.values-section {
    margin: 80px 0px 100px 0px;
    display: flex;
    flex-direction: column;
}

.values-header {
    margin-bottom: 30px;
}

.bottom-header-desc {
    display: flex;
    flex-direction: column;
}

#footer-desc {
    align-self: center;
}

#work-page {
    text-align: left;
    margin-top: 100px;
}
.values-2 {
    text-align: end;
}

.scroll-section {
    padding-top: 50px;
    display: flex;
    justify-content: end;
    align-self: flex-end;
}

.scroll {
    margin-right: 20px;
    padding-top: 100px;
    text-align: end;
    color: var(--colourMain);
}
.line {
    width: 1px;
    height: 900px;
    z-index: 1000000;
    background-color: var(--colourMain);
}

b {
    font-weight: 700;
}
.desc {
    margin-top: 100px;
    max-width:  50%;
    margin-bottom: 200px;
    color: var(--colourText);
    align-self: flex-start;
    height: 300px;
}

#desc-header {
    margin-bottom: 25px;
}

h2 {
    font-family:'Segoe UI', Tahoma, Geneva, Verdana, sans-serif ;
    font-size: 2.8rem;
    font-weight: 700;
    line-height: 45px;
}

p {
    font-family:'Segoe UI', Tahoma, Geneva, Verdana, sans-serif ;
    font-size: 1.2rem;
    margin-bottom: 20px;
    line-height: 25px;
}

#desc-content {
    max-height: 500px;
    display: flex;
    flex-direction: column;
}


.button-text {
    will-change: transform;
    backface-visibility: hidden;
    user-select: none;
    transition: transform 1.5s ease-out, background .15s ease-out;
    display: inline-block;
    position: absolute;
    padding: 16px 0;
    top: 4px;
    left: 4px;
    right: 4px;
    bottom: 4px;
    color: var(--colourOff);
    text-align: center;
    z-index: 1;
    border-radius: 8px;
    display: inline-block;
    position: relative;
    padding: 15px 45px;
    background-color: var(--colourCover);
    border: 3px solid var(--colourOff);
    border-radius: 8px;
    margin-bottom: 30px;
    margin-top: 30px;
    z-index: 2;
}

.projects-desc {
    margin-bottom: 80px;  
    margin-right: 30px;
    display: flex;
    align-self: center;
    flex-direction: column;
    max-width: 40%;
    text-align: center;
    color: var(--colourText);
}

.projects-desc-header {
    margin-bottom: 20px;
}

h3 {
    font-family:'Segoe UI', Tahoma, Geneva, Verdana, sans-serif ;
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 30px;
}

.game-promo-group {
    display: flex;
    flex-direction: column;
}

.game-promo {
    margin-bottom: 20px;
    max-width: 80%;
    color: var(--colourText);
    min-height: 300px;
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
}

.promo-line {
    height: 1px;
    max-width: 100vw;
    background-color: var(--colourMain);
    margin-bottom: 40px;
}

#openchess {
    text-align: end;
    align-self: flex-end;
}

.game-promo-details-sc {
    align-items: flex-start;
    display: flex;
    flex-direction: column;
}

.openchess-button {
    align-self: flex-end;

}

#values-1 {
    max-width: 50%;
}

#values-2 {
    text-align: end;
    display: flex;
    flex-direction: column;
    align-self: flex-end;
    max-width: 50%;
}

#values-3 {
    max-width: 50%;
}

.values-line {
    height: 1px;
    max-width: 100vw;
    background-color: var(--colourMain);
    margin-top: 150px;
}

.work-with-me_section {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 0px;
    align-self: center;
    max-width: 80vw;
    text-align: center;
}

.pricing-section {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    margin: 0px 10px 0px 10px;
    visibility: hidden;
    display: none;
    text-align: center;
    height: 1200px;
}

.pricing {
    margin: 0 10 0 10;
}

.price-button-text {
    will-change: transform;
    backface-visibility: hidden;
    user-select: none;
    transition: transform 1.5s ease-out, background .15s ease-out;
    display: inline-block;
    position: absolute;
    padding: 16px 20px;
    margin: 4px 4px 4px 4px;
    color: var(--colourCover);
    text-align: center;
    z-index: 1;
    border-radius: 8px;
    display: inline-block;
    position: relative;
    background-color: var(--colourOff);
    border: 3px solid #000000;
    border-radius: 8px;
    margin-bottom: 30px;
    margin-top: 30px;
    z-index: 2;
}

.pricing-line {
    width: 1px;
    height: 100%;
    z-index: 1000000;
    background-color: var(--colourMain);
}

.about-section {
    margin: 400px 20vw 100px 0;
    color: var(--colourText);
}

.about-header {
    margin-bottom: 10px;
}

.about-desc {
    width: 70%;
    
}

.about-desc p {
    font-size: 1.5rem;
}

.history-section {
    margin-top: 0px;
    margin-bottom: 50px;
    display: flex;
    flex-direction: column;
    color: var(--colourText);
    width: 80%;
}

.history-description1{
    text-align: end;
    display: flex;
    flex-direction: column;
    align-self: flex-end;
    max-width: 70%;
    margin-bottom: 100px;
}

.history-description2{
    width: 60%;
    margin-bottom: 50px;

}

.history-description2 h2 {
    padding-bottom: 40px;
}

.art-section {
    width: 80%;
    align-self: center;
    text-align: center;
    color: var(--colourText);
}

.art-header {
    margin-bottom: 50px;
}

.art-grid {
    margin: 100px 0 50px;
    overflow: hidden;
}

.art-grid-content {
    display: flex;
    justify-content: space-between;
    margin: 0 -25px;
    flex-direction: row;
}

.col {
    width: 50%;
    padding: 0 25px;
}

.art-grid-item {
    margin-bottom: 50px;
    scale: 100%;
    position: relative;
    border: 5px 5px solid #000000;
}



/*video Gallery*/
.v-bananas {
    width: 100%;
    overflow: hidden;
    display: block;
    height: 900px;
}

.v-bananas-src {
    zoom: 30%;
}

.v-particle {
    width: 100%;
    overflow: hidden;
    display: block;
    height: 400px;
    
}

.v-particle-src {
    zoom: 40%;
    margin-left: -800px;
}

.v-globe {
    width: 100%;
    overflow: hidden;
    display: block;
    height: 300px;
}

.v-globe-src {
    zoom: 30%;
    margin-left: -350px;
}

.v-tree {
    width: 100%;
    overflow: hidden;
    display: block;
    height: 500px;
}

.v-tree-src {
    zoom: 50%;
}

.v-vis {
    width: 100%;
    overflow: hidden;
    display: block;
    height: 320px;
}

.v-vis-src {
    zoom: 30%;
    margin-left: -300px;
}

#wps {
    padding-top: 100px;
}

.bottom-text {
    text-align: center;
    margin: 0px 0 10px 0;
    color: var(--colourText);
}

.bottom-text-h {
    text-align: center;
    margin: 70px 0 10px 0;
    color: var(--colourText);
}

.bottom-text-a {
    text-align: center;
    margin: 50px 0 10px 0;
    color: var(--colourText);
}

.bottom-text-d {
    text-align: center;
    margin: 210px 0 10px 0;
    color: var(--colourText);
}

button {
    cursor: pointer;
}

.work-desc {
    text-align: left;
}

/*Demo Pages */
.whole-video-section {
    display: flex;
    flex-direction: row;
    height: auto;
}

.demo-text {
    text-align: left;
    width: 50%;
    margin-right: 5%;
}

.demo-header {
    margin-bottom: 18px;
}

iframe {
    margin-top: 30px;
    width: 100%;
    height: 430px;
}

.future-list {
    margin-bottom: 5px;
    list-style:circle;
}

.demo-line {
    height: 1.5px;
    max-width: 15%;
    background-color: var(--colourOff);
    margin-bottom: 20px;
    margin-left: 10px;
}

.sc-header {
    align-self: end;
}


/* Responsive Content Area */

@media only screen and (max-width: 541px){
    /*Main-nav*/
    .mainnav {
        top: 36px;
        left: 36px;
    }
    .logo-wrap {
        max-width: 50px;
    }
    .logo-img {
        width: 50px;
        height: 50px;
    }
    .menu-link__trigger {
        margin-top: 13px;
        margin-left: 15px;
        font-size: 1rem;
    }
    /*Main-Menu*/
    .hire-me {
        right: 55px;
        top: 53.5px;
        font-size: 1rem;
    }
    .main-menu__flyout {
        padding: 70px 55px 20px 35px;
    }
    .social-links {
        padding-left: px;
        align-self: flex-end;
    }
    .main-menu__links {
        padding-left: 5px;
    }

    /*Main Content*/
    .hide {
        visibility: hidden;
        display: none;
    }
    h1 {
        font-size: 3rem;
    }
    p {
        font-size: 1.1rem;
    }
    h3 {
        font-size: 1rem;
    }
    #main-content {
        margin: 100px 20px 0px 20px;
    }
    .header-title {
        font-size: 2.5rem;
    }
    .header-desc-mobile {
        margin-top: 200px;
    }
    .scroll {
        font-size:1rem;

    }
    #wps {
        padding-top: 20px;
    }
    .line {
        height: 400px;
    }
    .desc {
        max-width: 100vw;
        text-align: center;
        margin-bottom: 200px;
    }
    .projects-desc {
        max-width: 100vw;
        text-align: center;
        margin-right: 0px;
        margin-bottom: 40px;
    }
    .section {
        padding-top: 80px;
        display: flex;
        flex-direction: column;

    }

    #work-page {
        text-align: center;
        margin-top: 10px;
    }

    .header-desc {
        margin-top: 10px;
        font-size: .8rem;
        max-width: 90%;
        align-self: center;
    }
    .scroll-section {
        padding-top: 10px;
    }
    .values-overall-section {
        margin-top: 320px;
        text-align: center;

    }
    #values-1 {
        max-width: 100vw;

    }
    #values-2 {
        max-width: 100vw;
        text-align: center;
        margin-top: 10px;
    }
    #values-3 {
        max-width: 100vw;
        margin-top: 10px;
    }
    .values-section {
        margin-bottom: 70px;
    }
    .values-line {
        margin-top: 50px;
    }
    .pricing-section {
    margin: 0px 0px 0px 0px;
    }
    .price-button-text {
    padding: 5px 4px;
    }
    .about-section {
        margin: 100px 10vw 0 0
    }
    .about-desc p {
        font-size: 1.1rem;
    }
    .history-description1 {
        text-align: center;
        align-self: center;
        max-width: 90vw;
    }
    .history-description2 {
        align-self: center;
        width: 70vw;
    }
    .bottom-header-desc {
        max-width: 90vw;
    }
    .work-with-me_section {
        margin-bottom: 30px;
    }
    .art-grid-content {
        flex-direction: column;
    }
    .col {
        width: 100%;
        padding: 0 0;
    }
    .art-section {
        width: 100%;
    }
    .v-vis-src {
        margin-left: -225px;
    }
    .v-globe-src {
        margin-left: -250px;
    }
    .bottom-text {
        margin-top: 10px;
    }
    .button {
        width: 120px;
        height: 30px;
        font-size: 1rem;
    }
    .promo-line {
        margin-bottom: 20px;
    }
    .whole-video-section {
        flex-direction: column;

    }
    .demo-text {
        width: 100%;
    }
    .demo-text p {
        font-size: 1rem;
    }
    
}

@media only screen and (max-width: 376px){
    .v-vis-src {
        margin-left: -250px;
    }
    .v-globe-src {
        margin-left: -300px;
    }
}

@media only screen and (max-width: 391px){
    .v-vis-src {
        margin-left: -275px;
    }
    .v-globe-src {
        margin-left: -275px;
    }
}

@media only screen and (max-width: 431px){
    .v-vis-src {
        margin-left: -200px;
    }
    .v-globe-src {
        margin-left: -215px;
    }
}

@media only screen and (min-width: 451px){
    .demo-content {
        margin: 150px 50px 0 50px;
        height: 60vh;
    }
    .work-content {
        min-height: 437vh;
    }
    .demo-section {
        padding-top: 0px;
    }
    #main-content {
        margin: 250px 50px 0 50px;
    }
    .values-overall-section {
        height:0px;
    }
    
}

@media only screen and (min-width: 750px){
    .v-vis-src {
        margin-left: -400px;
    }
    .v-globe-src {
        margin-left: -450px;
    }
    .demo-text p {
        font-size: 1rem;
    }
    iframe {
        margin-top: 110px;
        width: 60%;
    }
    .page-wrap {
        min-height: 50vh;
    }
    .button {
        padding: 12px 0px;
    }
}

@media only screen and (min-width: 900px){
    .v-globe-src {
        margin-left: -400px;
    }
}

@media only screen and (min-width: 1000px){
    .v-vis-src {
        margin-left: -325px;
    }
    .v-globe-src {
        margin-left: -350px;
    }
    iframe {
        margin-top: 20px;
    }
    .demo-content {
        padding-top: 100px;
    }
    .work-content {
        min-height: 3800px;
    }
}

@media only screen and (min-width: 1400px){
    #main-content {
        margin: 250px auto 0 auto;
    }
}