#smol-nav {
    /* background-color:rgba(9, 91, 167, 0.8); */
    /* background-color: rgba(9, 91, 167, 0.6);
    box-shadow: 0 2px 4px 0 rgba(0,0,0,0.2); */
    top: 0;
    left: 0;
    right: 0;
    height: 0;
    display: none;
    z-index: 15;
    padding: 15px;
    position: relative;
    transition: 1.5s;
    overflow-x: hidden; 
}


.nav-table tr {
    padding: 10px 0;
    text-align: left;
}

.navWidth {
    width: 100px;
}

.smol-nav-img {
    width: 50px;
    padding: 3px;
    vertical-align: center;
    position: absolute;
    left: 10px;
    top: 8px;
}

.smol-right-nav {
    padding: 5px;
    position: absolute;
    right: 25px;
    width: 25px;
    height: 15px;
    top: 25px;
    cursor: pointer;
    overflow-x: hidden; 
    background:linear-gradient(to bottom, #fff 0%, #fff 20%, transparent 20%, transparent 40%, #fff 40%, #fff 60%, transparent 60%, transparent 80%, #fff 80%, #fff 100%);
    border: 0;
}

#sideBar {
    height: 100%;
    width: 0;
    position: fixed;
    z-index: 20;
    top: 0;
    right: 0;
    background-color: rgb(61, 95, 129);
    overflow-x: hidden;
    transition: 0.5s;
    padding-top: 150px;
    font-family: 'Kumbh Sans', sans-serif;
    box-shadow: 0 0 .8rem 0 rgba(0,0,0,.3);
    font-size: 30px!important;
}

#sideBar .closebtn {
    position: absolute;
    top: 7px;
    right: 30px;
    font-size: 48px;
    margin-left: 50px;
}

.nav-table {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    font-size: 22px;
}

.nav-table td {
    border-top:rgba(0,0,0,.3);
    border-bottom: rgba(0,0,0,.3);
    border-radius: 10px;
    padding: 10px;
}

.nav-table tr:hover {
    text-decoration: underline;
}

.yelo {
    color: gold;
    font-family: 'Luckiest Guy', sans-serif;
}

.nav-bite {
    border-radius: 1rem;
    padding: 5px 4px 4px;
    box-shadow: 0 0 6px rgba(17, 17, 17, 0.1333333333) inset;
    transition: 0.6s;
    background-color: #edd;
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
    position: absolute;
    top: 5px;
    z-index: 12;
    left: 320px;
    cursor: pointer;
}

aside.nav {
  background-image: url(/clash/assets/grad_gray_back.webp);
  width: 320px;
  box-shadow: 0 0 6px rgba(0, 0, 0, 0.4);
  overflow-y: auto;
}

.spinning-logo {
  width: 40px;
  height: auto;
  opacity: 1;
  z-index: 99;
}
.spinning-logo.visible {
  animation: fadeSpinIn 1.2s forwards;
  visibility: visible;
}

.nav {
  width: 0;
  background-color: #fefefe;
  height: 100dvh;
  box-shadow: 0 0 2px 0 rgba(0, 0, 0, 0.0666666667);
  transition: 0.6s;
  z-index: 99;
  position: absolute;
  left: -320px;
}


@media (min-width: 768px) {
  .nav {
    padding-bottom: 60px;
  }
}
@media (min-width: 480px) {
  .nav {
    padding-bottom: 60px;
  }
}
.nav.open {
  width: 320px;
  position: relative;
  left: 0;
}
.nav-container {
  width: 250px;
  margin: 25px auto 5px;
  height: calc(100% - 30px);
  display: flex;
  flex-direction: column;
  gap: 60px;
  opacity: 1;
  visibility: visible;
  position: relative;
}
.nav-container-logo {
  display: grid;
  grid-template-columns: 1fr 1fr;
  justify-content: unset;
  flex-direction: row;
  width: 100%;
  gap: 10px;
  height: 70px;
  margin: auto 0;
  font-size: 1.2rem;
}
.nav-container-logo img {
  width: 65px;
}
.nav-container-logo a {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: row;
  gap: 14px;
}
.nav-container-logo a p {
  font-family: "Lexend", sans-serif;
}
.nav-container-pages {
  height: 100%;
  display: flex;
  flex-direction: column;
  gap: 10px;
  position: relative;
}
.nav-container .pages-jellybean-counter {
  right: 0;
  width: 160px !important;
  display: flex;
  align-items: center;
  justify-content: end;
  padding-right: 0 !important;
}
.nav-container .pages-jellybean-counter .jellybeans {
  display: inherit;
  align-items: center;
  flex-direction: row;
  position: relative;
  border-radius: 1rem;
  padding: 8px 6px;
  box-shadow: 0 0 6px rgba(17, 17, 17, 0.1333333333) inset;
  transition: 0.3s;
  justify-content: flex-end;
  background-color: rgba(204, 204, 204, 0.4666666667);
  height: 40px;
  gap: 20px;
}
.nav-container .pages-jellybean-counter .jellybeans img {
  margin-left: 5px;
}
.nav-container .pages-jellybean-counter .jellybeans p {
  font-family: "Bowlby One", sans-serif;
  text-transform: uppercase;
  font-size: 14px;
  color: #333;
  margin-right: 10px;
}
.nav-container .pages-item {
  display: flex;
  align-items: flex-start;
  flex-direction: row;
  position: relative;
  border-radius: 10px;
  background-color: #fdfdfd;
  box-shadow: 0 0 6px rgba(17, 17, 17, 0.1333333333) inset;
  transition: 0.3s;
}
.nav-container .pages-item:last-child {
  text-shadow: 2px 2px rgba(51, 51, 51, 0.6);
  background-color: #4848eb;
  border: 1px solid #6969fc;
  border: 0;
  border-radius: 10px;
  min-height: 50px;
  align-items: center;
  justify-self: center;
  padding-left: 0;
} 
.nav-container .pages-item:last-child:hover {
  background-color: #4848eb;
}
.nav-container .pages-item #discordBtn {
  width: 100%;
  height: 100%;
  margin: 0;
  justify-content: flex-start;
  padding-left: 18px;
}
.nav-container .pages-item #discordBtn p {
  color: #fff;
  font-size: 12px;
}
.nav-container .pages-item span {
  position: absolute;
  background-color: #FF6B6B;
  border-radius: 10px;
  width: 80px;
  display: none;
  justify-content: center;
  top: -34px;
  color: white;
  font-family: "Bowlby One", sans-serif;
  text-transform: uppercase;
  font-size: 12px;
  font-weight: 400;
  text-align: left;
  border-bottom: 0;
  z-index: 1;
  right: 0px;
  height: 28px;
  align-items: center;
  transition: 0.3s;
}
.nav-container .pages-item span:hover {
  opacity: 0.7;
}
.nav-container .pages-item span.logopen {
  display: flex;
}
.nav-container .pages-item #dailyBtn {
  position: absolute;
  background-color: #ffc26b;
  border-top-left-radius: 10px;
  border-top-right-radius: 10px;
  width: 165px;
  justify-content: center;
  color: white;
  font-family: "Bowlby One", sans-serif;
  text-transform: uppercase;
  font-size: 12px;
  font-weight: 400;
  text-align: left;
  border-top: 0;
  z-index: 1;
  left: 0;
}
.nav-container .pages-item #dailyBtn.disabled {
  background-color: rgba(51, 51, 51, 0.4666666667);
  pointer-events: none;
}
.nav-container .pages-item a {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: row;
    gap: 14px;
    margin-left: 5px;
    z-index: 2;
    text-decoration: none;
}
.nav-container .pages-item a img {
  width: 35px;
  height: 35px;
  align-self: center;
}
.nav-container .pages-item a p {
  font-family: "Bowlby One", sans-serif;
  text-transform: uppercase;
  font-size: 16px;
  color: #333;
  line-height: 100%;
  margin: 18px 0;
  text-shadow: none!important;
  text-decoration: none!important;
}
.nav-container .pages-item a.logged-in img {
  border-radius: 999px;
}
.nav-container .pages-item:hover {
  background-color: #B0D9B1;
  box-shadow: 0 0 4px rgba(255, 255, 255, 0.6666666667) inset;
}
.nav-container .pages-item.selected {
  background-color: #618264;
}
.nav-container .pages-item.selected a p {
  color: #fff;
  text-shadow: 2.5px 2.5px rgba(51, 51, 51, 0.2);
}
.nav-container .pages-item.end {
  margin: auto 0 40px;
}
/* .nav-container .pages-item.end p {
  margin-top: 12px;
} */
.nav-container-login {
  display: flex;
  align-items: center;
  justify-content: center;
  justify-content: unset;
  flex-direction: row;
  width: 100%;
  gap: 10px;
  height: 60px;
  margin: 0 0 15px;
}
.nav-container-login img {
  width: 55px;
}
.nav-container-login a {
  display: flex;
  align-items: flex-start;
  flex-direction: row;
  gap: 14px;
}
.nav-container-login a p {
  font-family: "Bowlby One", sans-serif;
  text-transform: uppercase;
  font-size: 14px;
  color: #618264;
}

@media screen and (max-width: 1150px) {

    header .img-logo {
        margin-top: 50px;
        width: 350px;
    }

    nav {
        visibility: hidden;
        display: none;
        height: 150px;
    }

    #smol-nav {
        display: block;
        height: 40px;
        overflow-x: hidden; 
    }
    
    .navWidth {
        width: 50%!important;
    }
    
}

@media screen and (max-width: 1700px) {
    .navWidth {
        width: 40%!important;
    }
}