nav {
  position: sticky;
  top: 0;
  left: 12px;
  z-index: 1000;
  width: 121px;
  height: 121px;
  border-radius: 10px;
  background: linear-gradient(#eebd89, #d13abd);
  padding: 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 6px;
  margin-right: 6px;
}

.first-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  margin-bottom: 10px;
}

.home {
  font-size: 45px;
  color: black;
}

.home:hover,
.logo-dice:hover {
  filter: opacity(0.5) drop-shadow(0 0 0 white);
}

.logo-dice {
  width: 45px;
}

.logo-container {
  display: flex;
  justify-content: center;
  width: 100%;
}

.logo {
  width: 100%;
  filter: opacity(0.8) drop-shadow(0 0 0 black);
}

.logo-dice:hover {
  filter: opacity(0.5) drop-shadow(0 0 0 white);
  animation: rotation 1s infinite linear;
}

@keyframes slideToBottom {
  0% {
    height: 120px;
  }

  100% {
    height: fit-content;
  }
}

@keyframes rotation {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(359deg);
  }
}

@media screen and (max-width: 1024px) {
  nav {
    width: 121px;
    height: 121px;
    padding: 0%;
  }
  .logo-dice {
    width: 4.5rem;
  }
  .home {
    font-size: 4.5rem !important;
  }
}

@media screen and (width: 320px) {
  nav {
    width: 90px;
    height: 90px;
    padding: 0%;
  }
  .logo-dice {
    width: 3rem;
  }
  .home {
    font-size: 3rem !important;
  }
}

@media screen and (width: 360px) {
  nav {
    width: 78px;
    height: 78px;
    padding: 0%;
  }
  .logo-dice {
    width: 3rem;
  }
  .home {
    font-size: 3rem !important;
  }
}

@media screen and (width: 375px) {
  nav {
    width: 80px;
    height: 80px;
    padding: 0%;
  }
  .logo-dice {
    width: 3rem;
  }
  .home {
    font-size: 3rem !important;
  }
}

@media screen and (width: 411px) {
  nav {
    width: 90px;
    height: 90px;
    padding: 0%;
  }
  .logo-dice {
    width: 3rem;
  }
  .home {
    font-size: 3rem !important;
  }
}

@media screen and (width: 414px) {
  nav {
    width: 90px;
    height: 90px;
    padding: 0%;
  }
  .logo-dice {
    width: 3rem;
  }
  .home {
    font-size: 3rem !important;
  }
}

@media screen and (width: 568px) {
  nav {
    width: 85px;
    height: 85px;
    padding: 0%;
  }
  .logo-dice {
    width: 3rem;
  }
  .home {
    font-size: 3rem !important;
  }
}

@media screen and (width: 640px) {
  nav {
    width: 83px;
    height: 83px;
    padding: 0%;
  }
  .logo-dice {
    width: 3rem;
  }
  .home {
    font-size: 3rem !important;
  }
}

@media screen and (width: 667px) {
  nav {
    width: 75px;
    height: 75px;
    padding: 0%;
  }
  .logo-dice {
    width: 3rem;
  }
  .home {
    font-size: 3rem !important;
  }
}

@media screen and (width: 731px) {
  nav {
    width: 83px;
    height: 83px;
    padding: 0%;
  }
  .logo-dice {
    width: 3rem;
  }
  .home {
    font-size: 3rem !important;
  }
}

@media screen and (width: 736px) {
  nav {
    width: 84px;
    height: 84px;
    padding: 0%;
  }
}

@media screen and (width: 812px) {
  nav {
    width: 82px;
    height: 82px;
    padding: 0%;
  }
  .logo-dice {
    width: 3rem;
  }
  .home {
    font-size: 3rem !important;
  }
}

@media screen and (width: 823px) {
  nav {
    width: 84px;
    height: 84px;
    padding: 0%;
  }
  .logo-dice {
    width: 3rem;
  }
  .home {
    font-size: 3rem !important;
  }
}

@media screen and (width: 1366px) {
  nav {
    width: 84px;
    height: 84px;
    padding: 0%;
  }
  .logo-dice {
    width: 3rem;
  }
  .home {
    font-size: 3rem !important;
  }
}
