/*Portfolio Structure
-------------------------------------------------*/
.portfolio{ scroll-behavior: smooth; }
.portfolio section{ float: left}
.portfolio .portfolio-column{float: left;}

@media (min-width: 1000px) {
  .portfolio{
    margin-left: 185px;
    overflow-x: visible;
    width: max-content;
  }
  
  .portfolio section{ height:100vh; }
  .portfolio-individual-page section:nth-child(n + 3){ padding-left: 5vw; }
  .portfolio-page section:nth-child(1){padding:0 3vh 0 2vh;}

  .portfolio .portfolio-column{
    float: left;
    height: 100vh;
    padding: 0 6vh 0 6vh;
  }

  .portfolio .portfolio-column:nth-last-child(1){ padding: 0 0 0 6vh; }
}

@media (max-width:999px){
  .portfolio{overflow-x:hidden;}
  .portfolio section{ overflow-x: hidden;}
  .portfolio .portfolio-column{ padding: 0 7vw 80px 7vw; width: 84vw; }
  .portfolio .portfolio-column:nth-last-child(1){ padding: 0 7vw 10px 7vw; }
}

/*Portfolio Title
-------------------------------------------------*/

.title .title-num{
  float: left;
  position: relative;
  
}

.portfolio .title svg{
  fill: white;
  height: 66px;
  width: 40px;
  transform-origin: top left;
}

@media (min-width: 1000px) {
  .portfolio .title h1::before{
    content: attr(data-title);
    font-family: acier-bat-strokes;
    position: absolute;
    left: 33px;
    font-weight:100;
    opacity: 0.7;
    z-index:-2;
    letter-spacing:8px;
  }
  
  .portfolio .title{
    width: 800px;
    margin-top:12vh;
    position: absolute;
  }

  .title .title-num{ top:-30px; }
  .portfolio .title h1{ position: relative; left: 25px; }
  .portfolio .title svg{ transform:scale(1.27); /*TODO: Change to Viewbox*/ }
  .portfolio .title h1::before{ top:-6.5vh; font-size: 9rem; }
}

@media (max-width:999px){
  .title .title-num{
    position: absolute;
    top: -100px;
    right:25px;
    z-index:999;
  }
  
  .portfolio .title-first{margin-top:14vh;}
  .portfolio .title svg{ transform:scale(0.9); /*TODO: Change to Viewbox*/ }
  /* .portfolio .title h1{ position: relative; } */
  .portfolio .title h1{
    position:relative;
    top:-5px;
    font-size: 6rem;
  }

  .portfolio .title{
    margin-top:14vh;
  }
  
}

/*Portfolio Content
-------------------------------------------------*/

.content-container .content .triangle{ margin-bottom: 3vh; }
.content-container .content .body-copy{ line-height: 1.4; margin-bottom: 4rem;}

.content-container .content .description{
  font-weight: 800;
  line-height: 1.4;
  font-size: 2rem;
  margin-bottom: 4rem;
}

.content-container .content .labels{
  display: inline-block;
  font-family: acier-bat-solid, Helvetica, Arial, sans-serif;
}

.content-container .content .labels li{
  padding: 4px 10px;
  margin-right: 10px;
  margin-bottom: 8px;
  color:black;
  background-color: #FFF;
  font-size: 2rem;
  text-rendering: optimizeLegibility;
  letter-spacing:1px;
  filter:drop-shadow(0px 5px 4px rgba(255, 255, 255, .3))
}

@media (max-width: 1600px){
  .content-container .content .labels{
    display: none;
  }
}

@media (min-width: 1000px) {
  .portfolio .content-container:first-child{
    width: 19vw;
    max-width: 320px;
  }

  .portfolio .content-container{
    min-width:250px;
    overflow-y: hidden;
  }

  .portfolio .content-three-column{ width:19vw; }
  .portfolio .content-six-column{ width: 38vw; }
  .portfolio .content-eight-column{ width: 52vw; }

  .content-container .content{ margin-top: 28vh; }
  .content-container .content .triangle{ margin-bottom: 5vh; }
  .content-container .content .labels{ margin-bottom: 6rem; }
  .content-container .content .labels li{ font-size: 1.4rem; }
  .content-container .content .description{ font-size: 1.3rem; }
  
}

@media (max-width: 999px){
  .portfolio .content-container{
    padding-bottom:40px;
  }
}

/*Content Page Content
-------------------------------------------------*/
.content-container .content-full-height{ margin-top:10vh; }

.blog-end{
  background-image: url("../images/svg/pattern-line-diagonal-css-bg.svg");
  background-repeat:repeat;
  background-size:10px;
}

.blog-header h1{
  left:0px;
}

.blog-container{
  background-color:black;
  padding: 30px 6vw 100px 30px;
  width: 25vw;
  min-width:320px;
  max-width: 400px;
}
.blog-container .blog-post-container{ padding: 0 0 30px 0; }

.blog-container .blog-post-container-last{ padding: 0; }

.blog-end-title{
  font-size: 3rem;
  line-height:3rem;
}

.blog-h1{
  left:0px!important;
  margin-bottom:0px;
}

.blog-end-date{
  font-size: 1.6rem;
  font-style:normal!important;
}

.blog-end-date a{
  font-weight:400;
  font-style:normal;
}

.fullscreen-column-stacked{
  width:400px;
}

.fullscreen-column-stacked img{
  width: 400px;
}

.byline{ font-size:1.2rem; }

.blog-divider{
  height:5px;
  padding:40px 0 30px 0;
}

.blog-socials svg{ padding: 15px 5px 15px 0; }
.blog-socials .linkedin{ height:20px; }
.blog-socials .twitter{ height:18px; }

@media (min-width: 1000px){
  .blog-end{ padding: 3vw 0 0 2vw!important; }
}

@media (max-width: 999px){
  .blog-end{ padding-top:30px!important; }
  .fullscreen-column{ display:none; }
}

/*Portfolio Go Back Module
-------------------------------------------------*/
#go-back{
  bottom: 5vh;
  position: fixed;
  width: 400px;
  z-index:4;
  margin-left:7px;
}

#go-back svg{
  width: 33px;
  height:33px;
  fill: #FFF;
  float: left;
  transform: scale(0.58) rotate(180deg);
  position: relative;
  top:1px;
}

#go-back h4{
  float: left;
  line-height: 1.55;
  letter-spacing:.2rem;
}

#go-back .original{ position: absolute; }

@media (max-width:999px){
  #go-back{ display: none;}
}

/*Portfolio Img Structure
-------------------------------------------------*/
.portfolio-column .img-container{
  position: relative;
  z-index:1;
  opacity: 0;
  transition:1.5s;
}

.portfolio-img{
  z-index:3;
  position: relative;
}

.portfolio-img-dropshadow{
  background: linear-gradient(
    0deg,
  rgba(255,255,255,0) 0%,
  rgba(255,255,255,0.05) 22%,
  rgba(255,255,255,0.1) 100%);
  position: absolute;
  width:100%;
  height:calc(100% + 50px);
  z-index: -1;
  pointer-events:none;
  overflow:hidden;
  display:none; /*TODO: Have this appear on mobile, currently causes a scroll issue*/
}

@media (min-width: 1000px) {
  .portfolio-column .vertical{ max-width: 21vw; }
  .portfolio-column .horizontal{ max-width: 45vw; }
  .portfolio-img-dropshadow{ display: block; }
}

@media (max-width:999px){
  .portfolio-column .vertical{ width:100%; }
  .portfolio-column .horizontal{ width:100%; }
}

/*Subtitle Structure
-------------------------------------------------*/

.subtitle{
  position: absolute;
  display: flex;
  width:100%;
  top: -25px;
  z-index:2;
}

.subtitle span{
  font-size: 1rem;
  font-weight: 400;
  white-space: nowrap;
}

.subtitle svg{
  display: block;
  float: left;
  height: 10px;
  flex-grow: 1;
  margin-left: 20px;
}

.subtitle svg rect{
  height: 100%;
  width: 100vw;
  fill: url('#pattern-line-diagonal');
  opacity: .8;
}

.credit-subtitle{
  float: right;
  font-size:1rem;
  padding-top:10px;
  z-index:1;
}

/*Fullscreen Structure
-------------------------------------------------*/
.fullscreen{
  position: relative;
  padding: 0px;
  float: left;
  z-index: -1;
}

.fullscreen-column{ float: left; position: relative; }

.fullscreen-column img{
  height: auto;
  width: 18vw; /*TODO: Make this work on vertical windows*/
  max-width: 320px;
  min-width:150px;
  padding: 2.5vh 2.5vh 0px 0px;
}

.portfolio-page .bottom-anchor svg,
.portfolio-page .top-anchor svg{
  opacity: 0.8;
  position: absolute;
}

@media (min-width:1000px){
  .fullscreen{
    height:100vh;
  }
}


/*Arrow Wall, Next Page
-------------------------------------------------*/
.arrow-wall li{
  list-style:none;
  display: flex;
}

.arrow-wall li span{ font-family: acier-bat-solid, Helvetica, Arial, sans-serif; }
.arrow-wall .decoration{ font-size: 10vh; }

.arrow-wall .decoration .end-page{
  height:6.2vh;
  position: relative;
  top:-3vh;
  fill:white;
  left:20px;
}

.arrow-wall .content .arrow{
  height:5.3vh;
  position: relative;
  top:-1.4vh;
  fill:white;
  left:20px;
}

.arrow-wall .content{ font-size: 4vh; }
.arrow-wall-container{ position: relative; }

.gradient-fade{
  background: rgb(0,0,0);
  background: linear-gradient(90deg, rgba(0,0,0,0) 0%, rgba(0,0,0,1) 96%, rgba(0,0,0,1) 100%);
  height:100vh;
  width: 300px;
  position: absolute;
  z-index:9999;
  right: 0px;
}

@media (min-width:1000px){
  .arrow-wall li{ line-height:0; height:9.62vh;}
}
@media (max-width:999px){
  .arrow-wall .decoration,
  .arrow-wall li span{ width: 75vw; }
  .arrow-wall .decoration{ display: none;}
  .arrow-wall .content .arrow{ left: 0px; position: relative; top:0px; height:33px; }
}

/*Video custom overrides
-------------------------------------------------*/
.video-js{ z-index:1; }
.vjs-volume-panel,
.vjs-play-control,
.vjs-remaining-time,
.vjs-picture-in-picture-control{
  display:none!important; /*TODO: Remove from installed videojs*/
}

/*TODO: ew, fix this please*/
.vjs-control-bar{ opacity:1!important; }
.vjs-progress-control{ opacity:0; }

/*Video loading bar
-------------------------------------------------*/
.video-loading-anim-container{
  width:100%;
  height:100%;
  position:absolute;
  left:0px;
  top:0px;
}
.video-loading-anim{
  width:80px;
  height:8px;
  overflow-x:hidden;
  overflow-y:hidden;
  position: relative;
  left:50%;
  transform: translateX(-50%);
}

.video-loading-anim svg{
  position: absolute;
  width:400px;
  height:8px;
  animation: loadingbar 12s infinite linear;
}

.loading-text{
  margin-top:0;
  text-align:center;
  width:100%;
  margin-top:15px;
  margin-left:3px; /*kerning*/
}
.loading-text span{
  font-size:1rem;
  color: #FFF;
  animation: textloading 1s linear;
}

@keyframes loadingbar {
  0% {
    transform: translateX(-310px)
  }
  100%{
    transform: translateX(0px);
  }
}
@keyframes textloading {
  0%{
    opacity:0;
  }
  100%{
    opacity:1;
  }
}

.loading-screen{
  width:100vw;
  height:100vh;
  position: fixed;
  background-color:rgba(0,0,0,.8);
  z-index:9999;
  opacity:1;
  transition:.25s;
  pointer-events: none
}

/*Parallax Structures
-------------------------------------------------*/
.parallax-obj{
  opacity:0;
  transition:1s;
  z-index: -2;
}

.portfolio-misctext{ left: 5vh; } /*TODO: Make this align more on smaller window heights*/

.portfolio-misctext span{
  font-family: acier-bat-strokes;
  -webkit-user-select: none; /* Safari */        
  -moz-user-select: none; /* Firefox */
  -ms-user-select: none; /* IE10+/Edge */
  user-select: none; /* Standard */
  letter-spacing:10px;
}

.end-diagonal-horizontal,
.end-diagonal-vertical{
  position:absolute;
}

.end-diagonal-horizontal{ left: -29vw; }
.end-diagonal-vertical{ left: -35vw; }
.end-diagonal-horizontal svg,
.end-diagonal-vertical svg{
  height: 100vh;
  width: 1000px;
  position:absolute;
}

@media (max-width:999px){
  .end-diagonal-vertical,
  .end-diagonal-horizontal{
    display: none;
    visibility:hidden;
  }
  .portfolio-misctext span{
    display:none;
    visibility:hidden;
  }
}

@media (min-width: 1000px){
  .end-diagonal-mobile{
    display: none;
  }
}

/*Nintendo Adjustments
-------------------------------------------------*/
@media (min-width:1000px){
  .nin-prlx-obj-1 { left: 40vw; top:-2vh; }
  .nin-prlx-obj-2 { left:15vw; bottom:20vh; }
}
@media (max-width:999px){
  .nin-prlx-obj-1 { left: -2vw; top:20vh; }
  .nin-prlx-obj-2 { right: -10vw; bottom:20vh; }
}

.nin-prlx-obj-1 svg { width:60px; height:60px; }
.nin-prlx-obj-1 svg:first-child{ opacity:0.8; }


.nin-prlx-obj-2 svg { width:20px; height:5px; }

.nin-prlx-obj-3 { left:30vw; bottom:12vh; }
.nin-prlx-obj-3 svg { width:25px; height:25px; }

.nin-prlx-obj-4 { left: 10vw; top:3vh; }
.nin-prlx-obj-4 svg { width:20px; height:10px; }

.nin-prlx-obj-5 { left: 20vw; top: 5vh; }
.nin-prlx-obj-5 svg { width:120px; height:5px; }

.nin-prlx-obj-6 { left: 12vw; bottom: 40px; }
.nin-prlx-obj-6 svg { width:600px; height:60px; }

.nin-prlx-obj-7 { left: 12vw; bottom: 4px; }
.nin-prlx-obj-7 svg { width:15px; height:15px; fill:#fff }

.nin-prlx-obj-8 { left: 10vw; top:-20px; }
.nin-prlx-obj-8 svg { width:420px; height:45px; }

.find-your-way-to-play span{
  font-size:11vh;
  line-height:9.5vh;
  opacity: .8;
}

.labo span{
  font-size:30vh;
  line-height:9.5vh;
}

.pikachu span{
  position: relative;
  left: -13vw;
  font-size: 26vh;
  line-height:13vh;
  opacity: 0.9;
}

.eevee span{
  position: relative;
  font-size: 26vh;
  line-height:13vh;
  opacity: 0.9;
}

/*vertical template*/
@media (min-width:1000px){
  .vertical-template{
    width:70vw!important; /*TODO: Fix*/
    max-width:70vw!important;
    overflow-y: initial!important;
  }
}

/*About Me Page*/
.about-me-img{ position: absolute; right:0px; }

.about-obj-1{ right:30vw; bottom:250px; }
.about-obj-1 svg,
.about-obj-1 rect{ height:45vh; width:100px; }

.about-obj-2{ right:40vw; top:-10px; }
.about-obj-2 svg,
.about-obj-2 rect{ height:45px; width:300px; }

.about-obj-3{ right:8vw; bottom:300px; }
.about-obj-3 svg,
.about-obj-3 rect{ width:25px; height:25px; }

.about-me-img img{ height:100vh; }

@media (min-width:1000px){
  .about-title h1::before{ left:0px!important; /*TODO: Fix*/ }
  .about-adjust{ padding-top:60px; }
}

@media (max-width:999px){
  .about-me-img{display: none;}
  .about-obj-1,
  .about-obj-2,
  .about-obj-3{ display: none; }
}

/*Controls Container
-------------------------------------------------*/

.controls-container{
  background-color:rgba(0,0,0,.8);
  width:100vw;
  height:100vh;
  position: absolute;
  z-index:9;
  padding-left:160px;
}

.controls-container-inner{
  padding: 100px;
}

.controls-text-container{
  width:90%; /*TODO: Actually get this width properly*/
  text-align:center;
}

.controls-column{
  width:30%; /*TODO: Actually get this width properly*/
  float: left;
  text-align:center;
}

.controls-column .icon-container{ min-height:200px; }
.controls-column{ border-right:#fff 1px solid; }
.controls-column:nth-last-child(1){ border-right:none; }

.controls-column .keyboard,
.controls-column .mousewheel,
.controls-column .scrollbar{
  max-width:160px;
  max-height:130px;
  padding:20px;
}