/*** galary ***/
.gallerybody {
    background: url(https://res.cloudinary.com/ritalbradley/image/upload/v1657644013/pexels-elijah-o_donnell-3473569_o7ohfd.jpg)
        center center/cover no-repeat;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    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";
    }
.gallerybody img {
    width: 450px;
    height: 300px;
    margin: 10px;
    filter: grayscale(100%);
    transition-duration: 1s;
}
.gallerybody img:hover {
    transform: scale(1.1);
    filter: none;
}
.gallerybody .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*/ 
}
.gallerybody .topBar{
    grid-area: n;
    display: flex;
    align-items: center;
    padding-right: 20px;
    animation: 5s ease-out 0s 1 fadeIn !important;
  }
.gallerybody span{
    box-sizing: border-box;
    position: relative;
  /*   box-shadow: 0px 1px 0px 0px black; */
  }
.gallerybody 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
  }
.gallerybody strong{
    font-weight: 800;
    -webkit-text-stroke: 1px black;
  }
.gallerybody .leftNavBar{
    grid-area: m;
    align-self: start;
  }
.gallerybody .leftNavBar ul{
    list-style-type: none;
    margin: 0;
    padding: 0;
    transform: rotate(180deg);
  }
.gallerybody .leftNavBar ul li{
    writing-mode: vertical-rl;
    padding-top: 6vh;
    transform: translateX(25%);
  }
.gallerybody li a.active{
    display: block;
    padding-left: .5em;
    border-left: 1px solid black;
    animation: 3s ease-out 0s 1 slideInFromBottomActive;
  }
.gallerybody .aside{
    grid-area: a;
    display: grid;
    position: relative;
    top: -2px;
    align-content: end;
  }
.gallerybody .aside i{
    color: #632C65 !important;
  }
.gallerybody .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; */
  }
.gallerybody .aside a:nth-child(1){
    animation: slideInFromTop 2s ease-out 0s;
  }
.gallerybody .aside a:nth-child(2){
    animation: slideInFromTop 1s ease-out 0s;
  }
.gallerybody .aside a:nth-child(3){
    animation: slideInFromTop .5s ease-out 0s;
  }
.gallerybody .aside a:nth-child(4){
    animation: slideInFromTop .25s ease-out 0s;
  }
.gallerybody .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*/
.gallerybody .container {
      -ms-overflow-style: none;
      overflow: -moz-scrollbars-none;
  }
.gallerybody .container::-webkit-scrollbar { 
      display: none;
  }
.gallerybody .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;
  }
.gallerybody .container div img{
    position: absolute;
    top: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    overflow: hidden;
    transition: all .6s ease-in-out;
  }
.gallerybody .container>div, .container div img{
  /*   transition: all .6s ease-in-out; */
  }
  /*make bIG*/
.gallerybody .container>div:hover, .container>div:hover img{
    transform: scale(1.05);
  }
.gallerybody .container>div:hover img{
  /*   transform: scale(1.06); */
  }
.gallerybody .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%; */
  }
.gallerybody .vertical{
    grid-row: span 2;
    grid-column: span 2;
  }
.gallerybody .horizontal{
    grid-column: span 2;
    grid-row: span 2;
  }
.gallerybody .big{
    grid-row: span 2;
    grid-column: span 2;
  }
.gallerybody .footer{
    position: relative;
    z-index: 2;
    grid-column: 2/span 9;
    grid-row: 4;
    background: #4B384C;
    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);
  }
.gallerybody .scroll-icon-wrapper{
    position: relative;
    grid-column: 6;
  }
.gallerybody .footer .scroll-icon{
    display: block;
    position: relative;
    width: 20px;
    left: -50%;
    filter: invert(100%);
  }
.gallerybody .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);
  }
.gallerybody .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; */
  }
.gallerybody .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;
  }
.gallerybody .palette{
    color: #E2A9E5; /*.arrowButton*/
    color: #632C65; /*social media icons*/
    color: #4B384C; /*footer*/
  }
  
  /*button stuff*/
  
.gallerybody .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);
  }
.gallerybody .arrowButton button{
    display: block;
    width: 100%;
    height: 50%;
    background: #E2A9E5;
    border: none;
    color: white;
  }
  
.gallerybody 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);
  }
.gallerybody div.arrowDownIcon{
    top: 75%;
    transform: rotate(225deg);
  }
.gallerybody .arrowUpIcon::before {
    content: '';
  }
.gallerybody .arrowDownIcon:after {
    content: '';
  }
.gallerybody button:focus{
    outline: none;
  }
  /*top right menu button*/
.gallerybody .searchDiv{
    position: relative;
    display: flex;
    grid-area: d;
    align-items: center;
    justify-content: center;
  }
.gallerybody .searchDiv img{
    display: block;
    box-sizing: content-box;
    width: 20px;
    object-fit: cover;
  }
.gallerybody .searchDiv:after{
    display: block;
    position: absolute;
    height: 100%;
    width: 30%;
    content: "";
    border-bottom: 1px solid #E2A9E5;
  /*   padding: 0 12%; */
    animation: 3s ease-out fadeIn;
  }
.gallerybody .menuButton{
    position: relative;
    border: none !important;
    width: 16px;
    height: 16px;
    padding: 0;
    margin-left: auto;
    margin-right: 0;
    background: none;
    outline: none;
  }
.gallerybody button:hover{
    cursor: pointer;
  }
.gallerybody .menu-icon {
    width: 16px;
    height: 1px;
    border: none !important;
    background: black;
    position: relative;
    transform: translateY(-700%);
    transition: opacity .2s ease-in-out;
    }
.gallerybody .menu-icon::after {
      content: '';
      width: 6px;
      height: 1px;
      background: black;
      position: absolute;
      top: 10px;
      left: 0px;
    } 
.gallerybody .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;
    }
  }