/* keyframes */
@keyframes logo-animation {
  from {
    opacity: 0;
    transform: rotate3d(0.5, 0.5, 1, 1turn) translateY(40px) scale(0);
  }
  to {
    opacity: 1;
    transform: rotate3d(1, 1, 0, 0) translateY(0) scale(1);
  }
}
@keyframes text-animation {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes repaetable-logo-animation {
  10% {
    transform: rotate3d(0.5, 0.5, 1, -1turn) translateY(40px) scale(0);
  }
  20% {
    transform: rotate3d(0.5, 0.5, 1, 1turn) translateY(40px) scale(0);
  }
  0%,
  40%,
  100% {
    transform: rotate3d(1, 1, 0, 0) translateY(0);
  }
}
@keyframes rotate360 {
  to {
    transform: rotate(1turn);
  }
}
@keyframes transition100 {
  to {
    transform: translatex(-50%);
  }
}
@media screen and (max-width: 1100px) {
  nav .links a span {
    position: absolute;
    bottom: -2.5rem;
    width: 100px;
    text-align: center;
    left: calc(50% - 50px);
    background: var(--MC);
    color: #fff;
    transform: scaleX(0);
    transition-duration: 0.2s;
    border-radius: var(--BR1);
    z-index: 4;
  }
  nav .links a:hover span {
    transform: scale(1);
  }
  nav .links a svg {
    margin: 0;
  }
  body .wrapper.division {
    grid-template-columns: calc(100% - 250px) 250px;
  }
  body .more a .info {
    width: calc(190px - 4rem);
  }
}
@media screen and (max-width: 1000px) {
  body .grid {
    grid-template-columns: repeat(3, 1fr);
  }
  body .wrapper.division {
    gap: 1rem;
    grid-template-columns: 100%;
  }
}
@media screen and (max-width: 850px) {
  body .wrapper {
    margin: 0;
  }
  body .wrapper.division {
    grid-template-columns: 100%;
    margin: 1rem;
  }
  body .more a .info {
    width: calc(100% - 4rem);
  }
  body .about-music .thumbnail {
    top: 2rem;
  }
  body nav,
  body nav.scrolled,
  body.light-bg nav,
  body.light-bg nav.scrolled {
    position: fixed;
    margin: unset;
    top: unset;
    height: 60px;
    bottom: 1rem;
    left: calc(50% - 160px);
    right: calc(50% - 160px);
    margin: 0;
    backdrop-filter: var(--BL1);
    box-shadow: var(--BSN) #0001;
    background: #fffd;
  }
  nav,
  nav > div:first-child,
  nav .user .user-data,
  nav .user svg {
    display: none;
  }
  nav .links a span {
    bottom: unset;
    top: -2.5rem;
  }
  nav .user {
    width: 50px;
    border-radius: 50px;
    height: 50px;
    justify-content: center;
    padding: 0;
  }
  nav .user .logo {
    width: 35px;
    height: 35px;
  }
  nav .user .logo img {
    width: 31px;
    height: 31px;
  }
  body nav .signin-login {
    padding: 0.6rem;
    margin: 0 0.3rem;
  }
  body nav .signin-login svg {
    margin: 0;
  }
  body nav .signin-login span {
    display: none;
  }
  body nav .links a {
    padding: 0.6rem;
    margin: 0 0.3rem;
    border-radius: var(--BR3);
  }
  .user *,
  .user {
    margin: 0 !important;
  }
  .search-box {
    top: unset !important;
    bottom: calc(2rem + 60px);
  }
  .user-items {
    top: unset !important;
    bottom: calc(2rem + 60px);
  }
  .show.user-items,
  .show.scrolled.user-items {
    left: calc(50% - 160px) !important;
  }
  body nav .links a svg {
    stroke: #000;
  }
  body .converstion {
    margin: 1rem 0;
    flex-direction: column;
    padding: 1rem;
  }
  body .converstion.type2 {
    margin: 2rem 1rem;
  }
  body .converstion .text {
    margin: 0;
    padding: 1rem;
    padding-top: 0;
  }
  h1.favorite-categories {
    margin-top: 2rem;
  }
  body div.favorite-categories .category {
    width: 150px;
    height: 150px;
  }
  body div.favorite-categories {
    height: 250px;
  }
  body .grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media screen and (max-width: 600px) {
  .comment h1 {
    flex-direction: column;
    align-items: flex-start;
  }
  body .wrapper.division {
    margin: 1rem 0;
  }
  body .about-music {
    grid-template-columns: 100%;
    gap: 1;
  }
  body .about-music .thumbnail {
    position: static;
  }
  body .grid {
    grid-template-columns: repeat(1, 1fr);
  }
  body .favorite-categories {
    display: none;
  }
  body .music-player .volume-menubtn {
    display: block;
  }
  body .music-player {
    padding: 1rem;
  }
  body .music-player .volume-menubox {
    position: absolute;
    z-index: 3;
    border-radius: var(--BR2);
    padding: 0.5rem 1.5rem;
    gap: 0.5rem;
    top: calc(50% - 27px);
    right: 0.5rem;
    visibility: hidden;
  }
  body .music-player .volume-menubox * {
    opacity: 0;
  }
  body nav,
  body nav.scrolled,
  body.light-bg nav {
    left: calc(50% - 100px) !important;
    right: calc(50% - 100px) !important;
    padding: 0 1rem;
  }
  nav .links a:nth-child(2),
  nav .links a:nth-child(4) {
    display: none;
  }
  body .search-box {
    width: 350px;
    right: calc(50% - 175px);
  }
  body .search-box .input-box {
    max-width: 224px;
    width: 224px;
  }
  body .search-box.show-result .input-box {
    max-width: 100%;
    width: 150px;
  }
  .show.user-items,
  .show.scrolled.user-items {
    left: calc(50% - 100px) !important;
  }
  body .converstion .photo img {
    width: 200px;
  }
  body .converstion .photo::after {
    width: 260px;
    height: 260px;
    top: calc(50% - 130px);
    left: calc(50% - 130px);
  }
  body div.favorite-categories .category {
    width: 120px;
    height: 120px;
  }
  .wrapper .converstion {
    margin-top: 0;
    margin-bottom: 2rem;
  }
  body > header {
    flex-direction: column !important;
    height: 300px;
    margin: 1rem;
    border-radius: var(--BR3);
  }
  body header .logo {
    border: unset;
    margin: 0;
    margin-bottom: 1rem;
  }
  body header .text {
    text-align: center;
    padding: 1rem 2rem;
  }
}
@media screen and (max-width: 400px) {
  body .music-player .progress-container {
    display: none;
  }
}
