h1,h2,h3,h4,h5,h6,p,a {
  margin: 0 0;
  padding: 0 0;
}

body {
	--belyy: #fff;
	--seryy: #909090;

  --font-family: "Jost", sans-serif;
  --second-family: "Jost", sans-serif;

  --text30_18:calc(18px + (30 - 18) * ((100vw - 360px) / (1920 - 360))); 
  --text40_25:calc(25px + (40 - 25) * ((100vw - 360px) / (1920 - 360))); /*h1*/
  --text20_14:calc(14px + (20 - 14) * ((100vw - 360px) / (1920 - 360))); 
  --text20_18:calc(18px + (20 - 18) * ((100vw - 360px) / (1920 - 360))); /*h2*/
  --text18_14:calc(14px + (18 - 14) * ((100vw - 360px) / (1920 - 360))); /*a*/

  font-size: 12px;
  background: url('./../img/main-bg.png') center no-repeat;
  background-color: #fafafa;
  background-size: cover;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
	font-smooth: always;
	-moz-osx-font-smoothing: grayscale;
}

/*Контейнер*/

.overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ffffff;
  opacity: 0.5;
  z-index: 10;
  display: none;
  transition: 500ms;
}

.visible {
  display: block;
}

.container-fluid {
  max-width: 850px;
  border-radius: 10px;
  margin: 27px auto 0;
  box-shadow: 0 4px 20px 0 rgba(0, 0, 0, 0.25);
  background: var(--belyy);
  position: relative;
  transition: 500ms;
}

/*Бургер меню*/

.burger {
  position: absolute;
  top: 10px;
  right: 10px;
  display: none;
}

.burger-menu {
  display: block;
  width: 20px;
  height: 2px;
  background: #d9d9d9;
  position: relative;
}

.burger-menu::before {
  content: '';
  display: block;
  width: 20px;
  height: 2px;
  background: #d9d9d9;
  position: absolute;
  top: -5px;
  left: 0;
}

.burger-menu::after {
  content: '';
  display: block;
  width: 20px;
  height: 2px;
  background: #d9d9d9;
  position: absolute;
  bottom: -5px;
  left: 0;
}

/*Хедер*/

header {
  padding: 10px 0;
  background: url('./../img/top-banner.png') center no-repeat;
  background-size: cover;

  height: 100%;
  border-top-left-radius: 10px;
  border-top-right-radius: 10px;
}

.header__content {
  width: 100%;
  min-height: 236px;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
}

.top__block {
  text-align: center;
}

.top__subtitle {
  font-family: var(--second-family);
  font-weight: 700;
  font-size: var(--text30_18);
  line-height: 1.625em;
  color: var(--belyy);
}

.main_title {
  font-family: var(--second-family);
  font-weight: 700;
  font-size: var(--text40_25);
  line-height: 1.625em;
  color: var(--belyy);
}

.bottom__subtitle {
  font-family: var(--font-family);
  font-weight: 700;
  font-size: var(--text20_14);
  line-height: 1.625em;
  color: var(--belyy);
}


/*ПЛЕЕР*/

.my-container {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh; /* Высота родительского элемента */
}

.my-player {
  width: 400px;
  height: 80px;
}

.box__section {
  margin-top: 32px;
}

.box-player {
  border: 1px solid var(--seryy);
  border-radius: 40px;
  width: 820px;
  height: 70px;
  overflow: hidden;
}

.audioplayer_container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 25px;
  overflow: hidden;
}

.audioplayer_remote,
.play-icon {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: 19px;
  border-width: 0;
  background-color: #fff;
}

.play {
  margin-left: 4px;
}

.play.playing{
  margin-left: 0;
}

.play-button-wrapper,
.stop-button-wrapper {
  width: 35px;
  height: 35px;
  display: flex;
  justify-content: center;
  align-items: center;
  box-sizing: border-box;
  position: relative;
}

.button-active {
  border-radius: 100%;
  border: 1px solid rgba(0, 0, 0, 0.3);
}

.hidden {
  display: none;
}

.zero-opacity {
  opacity: 0 !important;
}

.audioplayer_remote {
  width: 161px;
}

.current {
  font-family: var(--font-family);
  font-style: normal;
  font-weight: 400;
  font-size: 14px;
  line-height: 18px;
  color: rgba(0, 0, 0, 0.5);
}

.audioplayer_volume {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 8px;
  width: 161px;
}

.muted {
  opacity: 0.3;
}

.playbutton-label {
  transition: 500ms;
  cursor: pointer;
  opacity: 0.3;
}

.playbutton-label:hover {
  transform: scale(1.25);
  transition: 500ms;
  opacity: 0.8;
}

input[type=range] {
  -webkit-appearance: none;
  appearance: none;
  width: 85px;
  height: 3px;
  outline: none;
  border: none;
  vertical-align: text-top;
  background: #d9d9d9;
}

input[type=range]::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width:8px;
  height:8px;
  background:#000000;
  border-radius:18px;
  cursor:pointer;
}

/*ПЛЕЙЛИСТ РАЗДЕЛ*/

.playerlist__section {
  margin-top: 25px;
  padding: 0 3px;
}
    
/*Подраздел с ссылками и для бургер меню в мобильном */

h2 {
  font-family: var(--font-family);
  font-weight: 600;
  font-size: var(--text20_18);
  line-height: 1.625em;
  color: #000;
}

.sidebar a {
  font-family: var(--font-family);
  font-weight: 400;
  font-size: var(--text18_14);
  line-height: 1.625em;
  color: #4095d2;
  text-decoration: none;
}

.sidebar__part {
  margin-bottom: 15px;
}

/*Сам плейлист*/

.nowplaying,
.nexttrack,
.recent_track {
  border-radius: 10px;
  width: 535px;
  height: 80px;
  background: rgba(237, 234, 234, 0.8);
  padding: 10px 14px;

  display: flex; 
  align-items: center; 
  margin: 15px 0;
}

.nowplaying img,
.nexttrack img,
.recent_track img {
  width: 60px;
  height: 60px;
  border-radius: 10px;
}

.np_wrapper,
.nt_wrapper,
.recent_artist_wrapper {
  display: flex;
  flex-wrap: wrap;
  margin-left: 23px !important;

}

.t_minus {
  display: block;
  margin: 0 12px;
}

.t_title{
  font-size: var(--text18_14);
  line-height: 1.625em;
  font-family: var(--font-family);
  font-weight: 400;
  color: rgba(0, 0, 0, 0.5);
}

.t_artist,
.t_minus{
  font-size: var(--text18_14);
  line-height: 1.625em;
  font-family: var(--font-family);
  font-weight: 450;
  color: #000;
}

/*Футер*/

footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 113px;
  color: #5c5c5c;
  padding: 0 0 !important;
  background-color: #ffffff00;
  font-size: 0.9em;
  border-top-width: 0;
  margin: 0 0 !important;
}

footer div p,
footer div p a {
   color: rgba(0, 0, 0, 0.50);
    font-family: var(--second-family);
    font-size: 12px;
    font-style: normal;
    font-weight: 400;
    line-height: normal; 
}

footer .copyright {
  text-align: left;
}

footer .copyright__info {
  text-align: right;
}

.fluid2 {
    max-width: 850px;
    border-radius: 0;
    margin: 0 auto;
    box-shadow: none;
    background: #ffffff00;
    position: relative;
    transition: 500ms;
}



/*Медиа-запросы*/

@media only screen and (max-width: 992px) {
  .container-fluid {
    margin: 0 auto;
    border-radius: 0;
  }

  header {
    border-top-left-radius: 0;
    border-top-right-radius: 0;
  }

  .burger {
    display: block;
    z-index: 200;
  }

  .box-player {
    width: 100%;
  }

  .nowplaying,
  .nexttrack,
  .recent_track {
    width: 100%;
  }

  .sidebar {
    position: fixed;
    top: 0;
    right:-217px;
    width: 217px;
    height: 100%;
    background: #fff;
    padding: 46px 10px 10px;
    z-index: 100;
    transition: 500ms;
  }

  .active {
    transform: translateX(-217px);
    transition: 500ms;
  }

  .half-opacity {
    opacity: 0.5;
    transition: 500ms;
  }

  .sidebar__part h2 {
    margin-bottom: 10px;
  }

  .sidebar__part a {
    margin-bottom: 5px;
  }

  footer {
    padding: 0 12px !important;
  }
}

@media only screen and (max-width: 576px) {
  header {
    background-image: url('./../img/top-banner-360.png');
  }
  
  #seek-slider {
    width: 60%;
  }

  .audioplayer_container {
    padding: 0 5px;
  }

  .audioplayer_remote,
  .play-icon {
    gap: 0;
  }

  footer .copyright__info {
    width: 60%;
  }
}

.popup_wrapper {
  display: flex;
  visibility: hidden;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  z-index: 2000;
  background: rgba(0, 0, 0, 0.8);
  align-items: center;
  opacity: 0;
  justify-content: center;
  transition:all 0.5s ease-in;
}

.popup_wrapper.active {
  opacity: 1;
  visibility: visible;
}

.popup_wrapper img {
  height: auto;
  max-width: 70%;
  border-radius: 20px;
}
