*{ 
    box-sizing: border-box; 
    font-family: 'Sarabun', sans-serif;
    letter-spacing: .4em;
    text-transform: uppercase;
    font-weight: 200;
    color: black;
    text-decoration: none;
  }
  body {
    position: relative;
    width: 100%;
    height: 100vh;
    font-size: .95em;
    margin: 0;
    overflow: hidden;
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    grid-template-rows: 80px auto 90px 90px;
    grid-template-areas:
      ". n n n n n n n n n n d"
      "m c c c c c c c c c c a"
      "s c c c c c c c c c c a"
      "s . . . . . . . . . . b";
    }
  .centerItem{
    display: flex !important;            /*center text in grid item*/
    align-items: center !important;      /*center text in grid item*/
    justify-content: center !important;  /*center text in grid item*/ 
  }
  .topBar{
    grid-area: n;
    display: flex;
    align-items: center;
    padding-right: 20px;
    animation: 5s ease-out 0s 1 fadeIn !important;
  }
  span{
    box-sizing: border-box;
    position: relative;
  /*   box-shadow: 0px 1px 0px 0px black; */
  }
  span:after{
    display: block;
    position: absolute;
    width: 100%;
    content: "";
    border-bottom: 1px solid black;
    padding: 0 0 .4em 2em;  /*top right bottom left*/
    left: -3em;
    animation: 3s ease-out 0s slideInFromLeft
  }
  strong{
    font-weight: 800;
    -webkit-text-stroke: 1px black;
  }
  .leftNavBar{
    grid-area: m;
    align-self: start;
  }
  .leftNavBar ul{
    list-style-type: none;
    margin: 0;
    padding: 0;
    transform: rotate(180deg);
  }
  .leftNavBar ul li{
    writing-mode: vertical-rl;
    padding-top: 6vh;
    transform: translateX(25%);
  }
  li a.active{
    display: block;
    padding-left: .5em;
    border-left: 1px solid black;
    animation: 3s ease-out 0s 1 slideInFromBottomActive;
  }
  .aside{
    grid-area: a;
    display: grid;
    position: relative;
    top: -2px;
    align-content: end;
  }
  .aside i{
    color: #632C65 !important;
  }
  .aside a{
    display: block;
    font-size: 1em;
    letter-spacing: 0 !important;
    padding-bottom: 2em;
    filter: drop-shadow(2px 2px 2px rgba(0,0,0,.1)) 
            drop-shadow(3px 3px 3px rgba(0,0,0,.1));
  /*   animation: slideInFromTop 5s ease-out 0s; */
  }
  .aside a:nth-child(1){
    animation: slideInFromTop 2s ease-out 0s;
  }
  .aside a:nth-child(2){
    animation: slideInFromTop 1s ease-out 0s;
  }
  .aside a:nth-child(3){
    animation: slideInFromTop .5s ease-out 0s;
  }
  .aside a:nth-child(4){
    animation: slideInFromTop .25s ease-out 0s;
  }
  .container{
    grid-area: c;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    grid-auto-rows: 200px;
    grid-gap: 20px;
    grid-auto-flow: dense;
    overflow: auto;
    padding-right: 20px;  /*fix box-shadow on right side cutting off*/
  }
  /*scrollbar stuff*/
  .container {
      -ms-overflow-style: none;  
      overflow: -moz-scrollbars-none;  
  }
  .container::-webkit-scrollbar { 
      display: none; 
  }
  .container>div{
    z-index: 1;
    position: relative;
    padding: 0;
    overflow: hidden;
    box-shadow: 5px 5px 10px rgba(0,0,0,.2), 
                5px 5px 25px rgba(0,0,0,.1);
    transition: all .3s ease-in-out;
  }
  .container div img{
    position: absolute;
    top: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    overflow: hidden;
    transition: all .6s ease-in-out;
    will-change: transform;
    backface-visibility: hidden;
    transform: translateZ(0);
  }

  /*make bIG*/
  .container>div:hover, .container>div:hover img{
    transform: scale(1.05);
    will-change: transform;
  }
  .container>div:hover img{
  /*   transform: scale(1.06); */
  }
  .card{
    padding: 0 !important;
    width: 100%;
    height: 50%;
    bottom: -50%;
    padding: 1em !important;
    box-sizing: border-box;
    background: rgba(255,255,255,.5);
    border-top-right-radius: 0 !important;
    border-top-left-radius: 0 !important;
  /*   transform: rotate(-90deg) translateX(-100%); */
  /*   transform-origin: 0% 0%; */
  }
  .vertical{
    grid-row: span 2;
  }
  .horizontal{
    grid-column: span 2;
  }
  .big{
    grid-row: span 2;
    grid-column: span 2;
  }
  .footer{
    position: relative;
    z-index: 2;
    grid-column: 2/span 9;
    grid-row: 4;
    background: #000000;
    display: grid;
    grid-template-columns: repeat(9, 1fr);
    align-content: center;
    justify-items: start;
    box-shadow: 0 -5px 10px rgba(0,0,0,.3),
                0 -5px 20px rgba(0,0,0,.2);
  }
  .scroll-icon-wrapper{
    position: relative;
    grid-column: 6;
  }
  .footer .scroll-icon{
    display: block;
    position: relative;
    width: 20px;
    left: -50%;
    filter: invert(100%);
  }
  .footer-right{
    z-index: 3;
    display: flex;
    grid-column: 11/13;
    grid-row: 4;
    background: black;
    align-items: center;
    justify-content: center;
    box-shadow: 0 -5px 10px rgba(0,0,0,.3),
                0 -5px 20px rgba(0,0,0,.2);
  }
  .footer-right h1{
    display: block;
    position: relative;
    color: white;
    font-weight: 900;
    letter-spacing: 0;
    font-family: 'Roboto', sans-serif;
  /*   border-top: 1px solid white; */
  }
  .footer-right h1:after{
    content: "";
    width: 100%;
    display: block;
    position: absolute;
    top: 50%;
    left: 120%;
    border-bottom: 1px solid white;
    animation: 3s ease-out 0s 1 slideInFromRight;
  }
  .palette{
    color: #ffffff; /*.arrowButton*/
    color: #ffffff; /*social media icons*/
    color: #fcfcfc; /*footer*/
  }
  
  /*button stuff*/
  
  .arrowButton{
    z-index: 3;
    grid-area: s;
    display: block;
    position: relative;
    width: 100%;
    height: 100%;
    border: none;
    box-shadow: 5px 5px 10px rgba(0,0,0,.1), 
                5px 5px 25px rgba(0,0,0,.1);
  }
  .arrowButton button{
    display: block;
    width: 100%;
    height: 50%;
    background: rgb(255, 0, 0);
    border: none;
    color: white;
  }
  
  div.arrowUpIcon, div.arrowDownIcon{
      width: 1.5vmin;
      height: 1.5vmin;
      box-sizing: border-box;
    border-width: 1px 0 0 1px;
    border-style: solid;
    border-color: white;
      position: absolute;
      left: 50%;
      top: 25%;
    transform-origin: 0 0;
      transform: rotate(45deg);
  }
  div.arrowDownIcon{
    top: 75%;
    transform: rotate(225deg);
  }
  .arrowUpIcon::before {
    content: '';
  }
  .arrowDownIcon:after {
    content: '';
  }
  button:focus{
    outline: none;
  }
  /*top right menu button*/
  .searchDiv{
    position: relative;
    display: flex;
    grid-area: d;
    align-items: center;
    justify-content: center;
  }
  .searchDiv img{
    display: block;
    box-sizing: content-box;
    width: 20px;
    object-fit: cover;
  }
  .searchDiv:after{
    display: block;
    position: absolute;
    height: 100%;
    width: 30%;
    content: "";
    border-bottom: 1px solid #ff4545;
  /*   padding: 0 12%; */
    animation: 3s ease-out fadeIn;
  }
  .menuButton{
    position: relative;
    border: none !important;
    width: 16px;
    height: 16px;
    padding: 0;
    margin-left: auto;
    margin-right: 0;
    background: none;
    outline: none;
  }
  button:hover{
    cursor: pointer;
  }
  .menu-icon {
    width: 16px;
    height: 1px;
    border: none !important;
    background: black;
    position: relative;
    transform: translateY(-700%);
    transition: opacity .2s ease-in-out;
    }
  .menu-icon::after {
      content: '';
      width: 6px;
      height: 1px;
      background: black;
      position: absolute;
      top: 10px;
      left: 0px;
    } 
  .menu-icon::before{
      content: '';
      width: 10px;
      height: 1px;
      background: black;
      position: absolute;
      top: 5px; 
      left: 0;
  }
  
  /* Animation Stuff */
  *:not(a){
    animation: 3s ease-out 0s 1 fadeIn;
  }
  @keyframes slideInFromLeft{
    0%{
      transform: translateX(-130%);
    }
    100%{
      transform: translateX(0);
    }
  }
  @keyframes slideInFromRight{
    0%{
      transform: translateX(300%);
    }
    100%{
      transform: translateX(0);
    }
  }
  @keyframes slideInFromBottomActive{
    0%{
      padding-bottom: 300px;
    }
    100%{
    }
  }
  @keyframes slideInFromTop{
    0%{
      opacity: 0;
      margin-bottom: -100%;;
    }
    100%{
      opacity: 1;
    }
  }
  @keyframes fadeIn{
    0% {
      opacity: 0;
    }
    100% {
      opacity: 1;
    }
  }