*{
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: 'Poppins' , sans-serif;
}
body{
    font-family: IRANSans;
}
a{
    text-decoration: none;
}
@font-face {
    font-family: IRANSans;
    src: url(/font/IRANSansWeb.woff2);
}












/* حذف کامل کادر فوکوس در همه حالت‌ها */
button,
a,
input,
textarea,
select,
div {
  outline: none !important;
  box-shadow: none !important;
}
/* حالت فوکوس کیبورد و کلیک */
button:focus,
button:focus-visible,
a:focus,
a:focus-visible,
input:focus,
input:focus-visible {
  outline: none !important;
  box-shadow: none !important;
}

/* حذف افکت لمس موبایل */
* {
  -webkit-tap-highlight-color: transparent;
}













.container{
    background-image: linear-gradient(to right, #16222A 0%, #3A6073 51%, #16222A 100%);
    width: 100%;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    position: relative;
    overflow: hidden;
}
.music-player{
    border: 2px solid lightseagreen;
    width: 350px;
    padding: 25px 35px;
    text-align: center;
    border-radius: 50px;
    position:fixed;
    font-family: IRANSans;
    transition: 0.3s;
    top: 0;
    margin-top: 5px;
}

/*nav tags */

nav{
    display: flex;
    justify-content: space-between;
    margin-bottom: 30px;
}

/* circles style */

nav .circle{
    border-radius: 50%;
    width: 40px;
    height: 40px;
    line-height: 40px;
    background:#fff ;
    color: #d481aa;
    box-shadow:0 5px 10px rgb(255, 26, 0.22);
    cursor: pointer;
}
.song-img{
    width: 270px;
    border-radius: 30px;
    box-shadow: 0 10px 60px rgba(11, 172, 145, 0.747);
}

.music-player h1{
    font-size: 25px;
    font-weight: 400;
    color: rgb(255, 255, 255);
    margin-top: 20px;
    font-family: IRANSans;
}

.music-player p {
    font-size: 14px;
    color: rgb(255, 255, 255);
    margin-bottom: 20px;
    font-family: IRANSans;
}

#progress{
    -webkit-appearance: none;
    width: 100%;
    height: 6px;
    background:#f53192;
    border-radius: 4px;
    cursor: pointer;
    margin: 40px 0;
}
#progress::-webkit-slider-thumb{
    -webkit-appearance: none;
    background: #f53192;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    border: 8px solid #fff;
    box-shadow: 0 5px 5px rgb(255 , 26 , 26 , 0.22);
}

.controls{
    display:grid;
    grid-template-columns:1fr auto auto auto auto;
    justify-content: center;
    align-items: center;
    gap: 22px;
}
.controls div{
    width: 52px;
    height: 52px;
    margin: 0px;
    background: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: #08061a;
    box-shadow: 0 10px 20px rgb(255, 26, 26 ,0.22);
    cursor: pointer;
}
.controls .mainplay{
    transform: scale(1.5);
    background:#f53192 ;
    color: #fff;
    z-index: 2;
}

#repeatBtn{
    width: 40px;
    height: 40px;
    opacity: 0.6;
}
#repeatBtn:hover{
    transform: scale(1.05);
    background: #0fe9d7;
}
#shareBtn{
    width: 40px;
    height: 40px;
    background: #fff;
}
#shareBtn:hover{
    background: #0fe9d7;
    color: #000;
    transform: scale(1.05);
}
.controls .spacer{
    width: 0;
    box-shadow: none;
    pointer-events: none;
    background: transparent;
}
#repeatBtn.active{
    color: #f53192;
    opacity: 1;
}
#song{
    display: none;
}







/*حالت برفییییییییی من*/

.snow-container{
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
}

.snow-container span{
  position: absolute;
  top: -10%;
  color: rgba(255,255,255,0.8);
  font-size: 18px;
  animation: snow-fall linear infinite;
  filter: drop-shadow(0 0 6px rgba(255,255,255,0.6));
}

.snow-container span:nth-child(1){ left: 5%; animation-duration: 8s; font-size:14px;}
.snow-container span:nth-child(2){ left: 15%; animation-duration: 12s;}
.snow-container span:nth-child(3){ left: 25%; animation-duration: 10s; font-size:20px;}
.snow-container span:nth-child(4){ left: 35%; animation-duration: 14s;}
.snow-container span:nth-child(5){ left: 45%; animation-duration: 9s; font-size:16px;}
.snow-container span:nth-child(6){ left: 55%; animation-duration: 11s;}
.snow-container span:nth-child(7){ left: 65%; animation-duration: 13s; font-size:22px;}
.snow-container span:nth-child(8){ left: 75%; animation-duration: 10s;}
.snow-container span:nth-child(9){ left: 85%; animation-duration: 15s;}
.snow-container span:nth-child(10){ left: 95%; animation-duration: 9s;}

@keyframes snow-fall{
  0%{
    transform: translateY(0) rotate(0deg);
    opacity: 0;
  }
  10%{
    opacity: 1;
  }
  100%{
    transform: translateY(120vh) rotate(360deg);
    opacity: 0;
  }
}








.time-box{
  display: flex;
  justify-content: space-between;
  margin-top: -25px;
  margin-bottom: 10px;
  font-size: 13px;
  color: #fff;
  opacity: 0.8;
  padding: 0 2px;
}