@font-face { font-family: "GT-Sectra-Fine-Book"; src: url('GT-Sectra-Fine-Book.otf'); }
@font-face { font-family: "GT"; src: url('GT-America-Standard-Light.otf'); }
html,body {
    cursor: url(arrow.png), auto;
    margin: 0;
    border: 0;
    padding: 0;
    height: 100%;
    width: 100%;
    display: flex;
    background-color: #E2E2E2;
}
a, p, div {
    text-decoration: none;
    font-family: Arial,"Helvetica Neue",Helvetica,Arial,sans-serif;
    font-size: 50px;
    font-weight: bold;
    /*line-height: 50px;*/
    color: #0C9B00;
    hyphens: auto;
    -webkit-hyphens: auto;
    -moz-hyphens: auto;
}
::selection {
    background: white;
}
::-moz-selection {
    background: white;
}
::-webkit-scrollbar {
    display: none;
    width: 0;
    background: transparent;
}

#partProjects{
    position: absolute;
    width: 100vw;
    /*display: flex;*/
    font-size: 0;
    padding-bottom: 150px;
    -webkit-backface-visibility: hidden;
    -webkit-transform: translate3d(0, 0, 0);
    -webkit-perspective: 1000;
}
.partDetails{
    display: none;
    position: relative;
    top: -100%;
    padding: 40% 20px;
}
.projectDetail{
    color: #ff4a4a;
    font-size: 30px;
    white-space: normal;
    transform: translateY(-35%);
}
#partBar{
    position: fixed;
    height: 150px;
    /*min-height: 20vh;*/
    width: 100vw;
    bottom: 0;
}



#partLogo{
    cursor: url(table.svg), auto;
    /*width: 150px;*/
    width: auto;
    height: 100%;
    position: absolute;
    left: 0;
    background-color: white;
    border: 20px solid #FF0000;
    box-sizing: border-box;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    display: flex;
    justify-content: center;
    align-items: center;
}
#partTitle{
    position: absolute;
    left: 150px;
    width: 30vw;
    /*max-width: 400px;*/
    height: 100%;
    background-color: #FF4A4A;
    display: flex;
    align-items: center;
    overflow: hidden;
}
#partInfo{
    width: calc(70vw - 150px);
    height: 100%;
    float: right;
    background-color: white;
    border: 10px solid #979797;
    box-sizing: border-box;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    display: flex;
    align-items: center;
}
@keyframes contentUp {
    from {
        bottom: 130px;
    }
    to {
        bottom: 180px;
    }
}
@keyframes contentDown {
    from {
        bottom: 180px;
    }
    to {
        bottom: 130px;
    }
}
#textSlide1, #textSlide2{
    position: absolute;
    padding-top: 2px;
}
.marquee {
    cursor: url(ttt.png), auto;
    margin: 0 auto;
    overflow: hidden;
    white-space: nowrap;
    position: absolute;
    bottom: 150px;
    background-color: white;
    height: 30px;
    width: 100vw;
    font-size: 20px;
    line-height: 30px;
    font-family: "GT",Didot,Serif;
    color: red;
}
.marquee0{
    position: fixed;
    bottom: 130px;
    width: 100vw;
    height: 50px;
    background-color: pink;
    display: flex;
    align-items: center;
    overflow: hidden;
    cursor: url(ttt.png), auto;
    margin: 0 auto;
    white-space: nowrap;
    font-size: 30px;
    color: #D20000;
    z-index: -9;
}
.informationContent, .informationContent a{
    font-size: 30px;
}
.marquee span{
    /*padding-top: 5px;*/
    display: inline-block;
    position: relative;
    left: 0;
    animation: marquee 30s linear infinite;
}
.marquee0 span {
    padding-left: 80px;
    display: inline-block;
    position: relative;
    left: 100%;
    /*animation: marquee0 20s linear infinite;*/
}

.marquee:hover span {
    /*animation-play-state: paused;*/
}

.marquee span:nth-child(1) {
    animation-delay: 0s;
}
.marquee span:nth-child(2) {
    animation-delay: 15s;
}
@keyframes marquee {
    0%   { left: 0; }
    100% { left: -100%; }
}

@keyframes marquee0 {
    0%   { left: 100%; }
    100% { left: -2344.72px; }
}

.marqueeTitle {
    margin: 0 auto;
    overflow: hidden;
    white-space: nowrap;
}
.marqueeTitle span {
    width: auto;
    padding-top: 5px;
    display: inline-block;
    position: relative;
    left: 30vw;
    animation: marquee1 10s linear infinite;
}

.marquee1 span:nth-child(1) {
    animation-delay: 0s;
}
.marquee1 span:nth-child(2) {
    animation-delay: 10s;
}
@keyframes marquee1 {
    0%   { left: 30vw; }
    100% { left: -50vw; }
}

.projectName{
    display: none;
    width: 100%;
    line-height: 50px;
}
#imgLogo{
    /*width: 35px;*/
    height: 100%;
}
#textInfo, #textDetail{
    padding: 0 20px;
    overflow-x: scroll;
    overflow-y: hidden;
    white-space: nowrap;
    line-height: 50px;
    /*-webkit-overflow-scrolling: touch;*/
}
#textDetail, #textDetail1 {
    /*position: absolute;*/
    opacity: 0;
}
#textInfo1, #textDetail1{
    display: none;
}
#textInfo2{
    margin-left: 10vw;
    line-height: 50px;
}
.textInformation{
    cursor: url(info.png), auto;
}
.textContact{
    cursor: url(contact.png), auto;
}
.textTop{
    cursor: url(top.png), auto;
}
/*#textTitle{*/
    /*white-space: nowrap;*/
    /*overflow: hidden;*/
    /*position: absolute;*/
    /*width: auto;*/
    /*margin: 0;*/
    /*line-height: 50px;*/
/*}*/
#textLogo{
    padding: 0 25px;
    font-size: 50px;
    line-height: 50px;
}
.project{
    width: calc(100vw/4);
    height: calc(100vw/4);
    float: left;
    margin: 0;
    border: 0;
    padding: 0;
    -webkit-backface-visibility: hidden;
    -webkit-transform: translate3d(0, 0, 0);
    -webkit-perspective: 1000;
}
.projectImg{
    width: 100%;
    height: 100%;
    margin: 0;
    border: 0;
    padding: 0;
}
@keyframes blurUp {
    0% {
        filter: blur(0px);
        -webkit-filter: blur(0px);
    }
    100% {
        filter: blur(20px);
        -webkit-filter: blur(20px);
    }
}
@keyframes blurDown {
    0% {
        filter: blur(20px);
        -webkit-filter: blur(20px);
    }
    100% {
        filter: blur(0px);
        -webkit-filter: blur(0px);
    }
}
@-moz-keyframes scroll-left {
    0% {
        -moz-transform: translateX(50%);
    }
    100% {
        -moz-transform: translateX(-100%);
    }
}

@-webkit-keyframes scroll-left {
    0% {
        -webkit-transform: translateX(50%);
    }
    100% {
        -webkit-transform: translateX(-100%);
    }
}

@keyframes scroll-left {
    0% {
        -moz-transform: translateX(50%);
        /* Browser bug fix */

        -webkit-transform: translateX(50%);
        /* Browser bug fix */

        transform: translateX(50%);
    }
    100% {
        -moz-transform: translateX(-100%);
        /* Browser bug fix */

        -webkit-transform: translateX(-100%);
        /* Browser bug fix */

        transform: translateX(-100%);
    }
}




@media (min-width: 2000px) {
    #textInfo2{
        margin-left: 5vw;
    }
    .project{
        width: calc(100vw/5);
        height: calc(100vw/5);
        float: left;
        margin: 0;
        border: 0;
        padding: 0;
    }
}

@media (max-width: 1500px) {
    #textInfo2{
        margin-left: 5vw;
    }
    .project{
        width: calc(100vw/3);
        height: calc(100vw/3);
        float: left;
        margin: 0;
        border: 0;
        padding: 0;
    }
}


@media (max-width: 1200px) {
    .project{
        width: calc(100vw/2);
        height: calc(100vw/2);
    }
    #textInfo2{
        display: none;
    }
}

@media (max-aspect-ratio: 1/1) and (max-width: 600px){
    html,body {
        overflow-y: hidden;
    }
    a, p, div {
        /*font-size: 45px;*/
        /*line-height: 45px;*/
    }
    #partProjects{
        scroll-snap-type: x mandatory;
        -ms-scroll-snap-type: mandatory; /* IE/Edge */
        -webkit-scroll-snap-type: x mandatory; /* Safari */
        -webkit-overflow-scrolling: touch; /* important for iOS */
        overflow-x:scroll;
        overflow-y: hidden;
        padding-bottom: 0;
        position: sticky;
        width: 100vw;
        height: 100vw;
        font-size: 0;
        white-space: nowrap;
    }
    .project{
        scroll-snap-align: start;
        width: 100vw;
        height: 100vw;
        float: none;
        display:inline-block;
        vertical-align:top;
    }
    #partBar{
        height: calc(100% - 100vw);
    }
    #partLogo{
        border: 20px solid #FF0000;
        position: relative;
        height: 50%;
        float: left;
    }
    #partTitle{
        position: relative;
        left: 0;
        top: 0;
        width: 100vw;
        height: 50%;
        padding-right: 100%;
    }
    #partInformation{
        position: fixed;
        bottom: calc(100% - 100vw - 24px);
        width: 100vw;
    }
    .projectImg{
        -webkit-backface-visibility: hidden;
        -webkit-transform: translate3d(0, 0, 0);
        -webkit-perspective: 1000;
    }
    @keyframes contentUp {
        from {
            bottom: calc(100% - 100vw - 24px);
        }
        to {
            bottom: calc(100% - 100vw + 26px);
        }
    }
    @keyframes contentDown {
        from {
            bottom: calc(100% - 100vw + 26px);
        }
        to {
            bottom: calc(100% - 100vw - 24px);
        }
    }
    .partDetails{
        padding: 38% 20px;
    }
    #partInfo{
        border: 10px solid #979797;
        position: relative;
        top: 0;
        width: auto;
        margin: 0;
        height: 50%;
        float: none;
    }
    .marquee {
        margin: 0;
        bottom: auto;
        position: fixed;
        top: calc(100vw - 26px) ;
        height: 26px;
        line-height: 26px;
        font-size: 18px;
        -webkit-text-size-adjust: none;
    }
    .marquee span{
        font-size: 18px;
    }
    #textInfo1, #textDetail1{
        display: none;
    }
    #textTitle{
        padding: 0 30px;
    }
    #textInfo a, #textDetail a{
        padding: 0 -5px;
        font-size: 4.5vh;
    }
    #textInfo, #textDetail{
        display: block;
        font-size: 4vh;
        line-height: 4vh;
        transform: translateY(-2px);
    }
}

@media (max-width: 375px) {
    #textInfo, #textDetail{
        display: none;
    }
    #textInfo1, #textDetail1{
        display: block;
    }
    #partInfo{
        border: 20px solid #979797;
    }
    #partLogo{
        border: 30px solid #FF0000;
    }
}

@media (max-height: 650px) {
    #textLogo{
        font-size: 6vh;
        line-height: 6vh;
    }
    .projectName{
        font-size: 6vh;
        line-height: 6vh;
    }
    .informationContent, .informationContent a{
        font-size: 5vh;
    }
}
@media (max-height: 580px) {
    #textInfo1, #textDetail1{
        display: none;
    }
    #textInfo, #textDetail{
        display: block;
    }
    #textInfo a, #textDetail a{
        font-size: 4.5vh;
    }
    #textInfo, #textDetail{
        line-height: 4.5vh;
        font-size: 4.5vh;
        transform: translateY(-2px);
        padding: 0 15px;
    }
    #partLogo{
        border: 20px solid #ff0000;
    }
}
@media (max-height: 560px) {
    #textInfo a, #textDetail a{
        font-size: 6vh;
    }
    #textInfo, #textDetail{
        font-size: 6vh;
        line-height: 6vh;
        /*transform: translateY(-4px);*/
    }
    #partInfo{
        border: 10px solid #979797;
    }
    #partLogo{
        border: 16px solid #ff0000;
    }
    /*.informationContent{*/
        /*padding: 16px;*/
    /*}*/
}
/*@media (max-height: 530px) {*/
/*    #textInfo a, #textDetail a{*/
/*        font-size: 3.5vh;*/
/*    }*/
/*}*/
@keyframes fade-in {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}
@keyframes fade-out {
    from {
        opacity: 1;
    }
    to {
        opacity: 0;
    }
}

@media (max-width: 400px) and (min-aspect-ratio: 1/1){
    #textInfo2{
        margin-left: 5vw;
    }
    .project{
        width: calc(100vw/5);
        height: calc(100vw/5);
        float: left;
        margin: 0;
        border: 0;
        padding: 0;
    }
    a, p, div {
        font-size: 50px;
    }
    ::selection {
        background: white;
    }
    ::-moz-selection {
        background: white;
    }
    ::-webkit-scrollbar {
        display: none;
        width: 0;
        background: transparent;
    }

    #partProjects{
        position: absolute;
        width: 100vw;
        /*display: flex;*/
        font-size: 0;
        padding-bottom: 20vh;
        -webkit-backface-visibility: hidden;
        -webkit-transform: translate3d(0, 0, 0);
        -webkit-perspective: 1000;
    }
    .partDetails{
        display: none;
        position: relative;

        top: -55%;
        padding: 0;
    }
    .projectDetail{
        color: #ff4a4a;
        font-size: 2vw;line-height: 2vw;
        white-space: normal;
        transform: translateY(-35%);
    }
    #partBar{
        position: fixed;
        max-height: 150px;
        height: 20vh;
        width: 100vw;
        bottom: 0;
    }
    #partLogo{
        height: 100%;
        border: 3vw solid #FF0000;
    }
    #partTitle{
        position: absolute;
        left: 20vh;
        width: calc(70vw - 20vh);
        /*max-width: 400px;*/
        height: 100%;
        background-color: #FF4A4A;
        display: flex;
        align-items: center;
        overflow: hidden;
    }
    #partInfo{
        width: 30vw;
        height: 100%;
        float: right;
        background-color: white;
        border: 3vw solid #979797;
        box-sizing: border-box;
        -moz-box-sizing: border-box;
        -webkit-box-sizing: border-box;
        display: flex;
        align-items: center;
    }
    @keyframes contentUp {
        from {
            bottom: calc(20vh);
        }
        to {
            bottom: calc(20vh + 3vw);
        }
    }
    @keyframes contentDown {
        from {
            bottom: calc(20vh + 3vw);
        }
        to {
            bottom: calc(20vh);
        }
    }
    #textSlide1, #textSlide2{
        position: absolute;
        padding-top: 2px;
    }
    .marquee {
        top: auto;
        cursor: url(ttt.png), auto;
        margin: 0 auto;
        overflow: hidden;
        white-space: nowrap;
        position: absolute;
        bottom: 20vh;
        height: 3vw;
        width: 100vw;
        font-size: 2vw;
        line-height: 3vw;
    }
    .marquee0{
        bottom: calc(20vh - 3vw);
        height: 3vw;
        font-size: 2.8vw;
    }
    .informationContent, .informationContent a{
        font-size: 2.8vw;
    }
    .marquee span{
        /*padding-top: 5px;*/
        display: inline-block;
        position: relative;
        left: 0;
        font-size: 2vw;
        animation: marquee 30s linear infinite;
    }
    .marquee0 span {
        padding-left: 80px;
        display: inline-block;
        position: relative;
        left: 100%;
        /*animation: marquee0 20s linear infinite;*/
    }

    .marquee:hover span {
        /*animation-play-state: paused;*/
    }

    .marquee span:nth-child(1) {
        animation-delay: 0s;
    }
    .marquee span:nth-child(2) {
        animation-delay: 15s;
    }
    @keyframes marquee {
        0%   { left: 0; }
        100% { left: -100%; }
    }

    @keyframes marquee0 {
        0%   { left: 100%; }
        100% { left: -2344.72px; }
    }

    .marqueeTitle {
        margin: 0 auto;
        overflow: hidden;
        white-space: nowrap;
    }
    .marqueeTitle span {
        width: auto;
        padding-top: 5px;
        display: inline-block;
        position: relative;
        left: 30vw;
        animation: marquee1 10s linear infinite;
    }

    .marquee1 span:nth-child(1) {
        animation-delay: 0s;
    }
    .marquee1 span:nth-child(2) {
        animation-delay: 10s;
    }
    @keyframes marquee1 {
        0%   { left: 30vw; }
        100% { left: -50vw; }
    }

    .projectName{
        display: none;
        width: 100%;
        /*line-height: 50px;*/
    }
    #imgLogo{
        /*width: 35px;*/
        height: 100%;
    }
    #textInfo, #textDetail{
        transform: translateY(0);
        padding: 3vw;
        overflow-x: scroll;
        overflow-y: hidden;
        white-space: nowrap;
        /*line-height: 50px;*/
        /*-webkit-overflow-scrolling: touch;*/
    }
    #textDetail, #textDetail1 {
        /*position: absolute;*/
        opacity: 0;
    }
    #textInfo1, #textDetail1{
        display: none;
    }
    #textInfo2{
        margin-left: 10vw;
        line-height: 50px;
    }
    .textInformation{
        cursor: url(info.png), auto;
    }
    .textContact{
        cursor: url(contact.png), auto;
    }
    .textTop{
        cursor: url(top.png), auto;
    }
    /*#textTitle{*/
    /*white-space: nowrap;*/
    /*overflow: hidden;*/
    /*position: absolute;*/
    /*width: auto;*/
    /*margin: 0;*/
    /*line-height: 50px;*/
    /*}*/
    #textLogo{
        padding: 0 25px;
        font-size: 5vw;
        line-height: 6vw;
    }
    .project{
        font-size: 0;
        line-height: 0;
        width: calc(100vw/4);
        height: calc(100vw/4);
        float: left;
        margin: 0;
        border: 0;
        padding: 0;
        -webkit-backface-visibility: hidden;
        -webkit-transform: translate3d(0, 0, 0);
        -webkit-perspective: 1000;
    }
    .projectImg{
        width: 100%;
        height: 100%;
        margin: 0;
        border: 0;
        padding: 0;
    }
    @keyframes blurUp {
        0% {
            filter: blur(0px);
            -webkit-filter: blur(0px);
        }
        100% {
            filter: blur(5px);
            -webkit-filter: blur(5px);
        }
    }
    @keyframes blurDown {
        0% {
            filter: blur(5px);
            -webkit-filter: blur(5px);
        }
        100% {
            filter: blur(0px);
            -webkit-filter: blur(0px);
        }
    }
    @-moz-keyframes scroll-left {
        0% {
            -moz-transform: translateX(50%);
        }
        100% {
            -moz-transform: translateX(-100%);
        }
    }

    @-webkit-keyframes scroll-left {
        0% {
            -webkit-transform: translateX(50%);
        }
        100% {
            -webkit-transform: translateX(-100%);
        }
    }

    @keyframes scroll-left {
        0% {
            -moz-transform: translateX(50%);
            /* Browser bug fix */

            -webkit-transform: translateX(50%);
            /* Browser bug fix */

            transform: translateX(50%);
        }
        100% {
            -moz-transform: translateX(-100%);
            /* Browser bug fix */

            -webkit-transform: translateX(-100%);
            /* Browser bug fix */

            transform: translateX(-100%);
        }
    }
}