@media screen and (max-width: 900px) {
  nav {
    position: fixed;
    bottom: 215px;
    right: -1230px;
    z-index: 100;
    transform: rotate(-20deg);
    height: 300px;
    text-align: center;
  }
}

@media screen and (max-width: 768px) {
  .nav_title_img {
      /* height: 160px; */
      width: 300px;
      position: relative;
      top: 55px;
      left: -50px;
  }

  nav {
    position: fixed;
    bottom: 140px;
    right: -1180px;
    z-index: 100;
    transform: rotate(-45deg);
    height: 300px;
    text-align: center;
  }
}

@media screen and (max-width: 468px) {
  body {
    /* background: lightgreen !important; */
  }

  .tab:hover {
    cursor: pointer;
    transform: none;
    /* animation: .5s quickLift ease-in-out; */
  }

  @keyframes quickLift {
    0% {

    }
    50% {
      /* border: 15px solid rgba(0,0,0,.1); */
      /* transform: rotate(.5deg); */
      transform: translateY(25px);
    }
    100% {

    }
  }

  nav {
    position: fixed;
    bottom: 30px;
    /* right: -1330px; */
    right: -1375px;
    margin-left: 0;
    margin-right: 0;
    z-index: 100;
    transform: rotate(-15deg);
    height: 300px;
    text-align: center;
  }

  .tab {
    height: 8000px;
    width: 3000px;
    text-align: center;
    box-shadow: 0 0 13px rgba(0,0,0, .5);
    color: white;
    box-sizing: border-box;
    padding-top: 10px;
    /* opacity: 0; */
    /* transition: transform .2s ease-in-out; */
    margin-top: 0;
  }
    
  .tab1 {
    background: #F06236;
    position: relative;
    top: 30px;
    animation: .7s tabAppear forwards;
    animation-delay: .3s;
  }

  .tab2 {
    background: rgb(78, 78, 78);
    position: relative;
    top: -7910px;
    z-index: 101;
    animation: .7s tabAppear forwards;
    animation-delay: .5s;
  }

  .tab3 {
    background: rgb(40,40,40);
    position: relative;
    top: -15850px;
    z-index: 102;
    animation: .7s tabAppear forwards;
    animation-delay: .7s;
  }

  .tab4 {
    background: rgb(0,0,0);
    position: relative;
    top: -23795px;
    z-index: 103;
    animation: .7s tabAppear forwards;
    animation-delay: .9s;
  }

  @keyframes tabAppear {
    0% { margin-top: 0px; }
    50% { margin-top: -15px; }
    100% { margin-top: 0; }
  }

  .nav_title_img {
    /* display: none; */
    height: 60px;
    width: 160px;
    position: relative;
    top: 25px;
    left: -48px;
    transform: rotate(15deg);
  }

  .bottom-border-1 {
    bottom: 0;
    right: 30px;
  }

  .tab h1 {
    font-weight: 100;
    font-size: 22px;
    margin-top: -2px;
  }

  .go-home {
    display: grid;
    position: fixed;
    top: -300px;
    right: -300px;
    width: 400px;
    height: 400px;
    transform: rotate(45deg);
    background-color: rgb(78, 78, 78);
    text-align: center;
    color: white;
    z-index: 3000;
    transition: all .2s ease-in-out;
  }

  .go-home h1 {
    align-self: end;
    font-size: 16px;
  }
}

@media screen and (max-width: 376px) {
  body {
    /* background: pink !important; */
  }

  nav {
    position: fixed;
    bottom: 10px;
    /* right: -1330px; */
    right: -1360px;
    margin-left: 0;
    margin-right: 0;
    z-index: 100;
    transform: rotate(-20deg);
    height: 300px;
    text-align: center;
  }

  .tab {
    height: 8000px;
    width: 3000px;
    text-align: center;
    box-shadow: 0 0 13px rgba(0,0,0, .5);
    color: white;
    box-sizing: border-box;
    padding-top: 10px;
    transition: transform .2s ease-in-out;
  }
    
  .tab1 {
    background: #F06236;
    position: relative;
    top: 0px;
  }

  .tab2 {
    background: rgb(78, 78, 78);
    position: relative;
    top: -7955px;
    z-index: 101;
  }

  .tab3 {
    background: rgb(40,40,40);
    position: relative;
    top: -15910px;
    z-index: 102;
  }

  .tab4 {
    background: rgb(0,0,0);
    position: relative;
    top: -23865px;
    z-index: 103;
  }
  
  .tab:hover {
    cursor: pointer;
    /* transform: translateY(-40px); */
  }
  
  .tab h1 {
    margin: 0;
    font-size: 15px;
    font-weight: normal;
    position: relative;
    top: -2px;
  }
  
  .tab p {
    margin: 0;
    font-size: 12px;
    position: relative;
    top: -3px;
  }

  .nav_title_img {
    /* display: none; */
    height: 120px;
    width: 200px;
    position: relative;
    top: 14px;
    left: 0px;
  }
}

@media screen and (max-width: 321px) {
  nav {
    position: fixed;
    bottom: 10px;
    /* right: -1330px; */
    right: -1340px;
    margin-left: 0;
    margin-right: 0;
    z-index: 100;
    transform: rotate(-0deg);
    height: 300px;
    text-align: center;
  }
}