@import url(reset.css);

html {
  scroll-behavior: smooth;
}
body {
  font-family: "Roboto", sans-serif;
  color: #fff;
  font-weight: 400;
  font-size: 16px;
  line-height: 28px;
  background: rgb(21, 21, 21);
}
html,
body {
  /* height: 100%; */
  overflow-x: hidden;
}
main {
  flex-grow: 1;
  width: 100%;
}
.wrapper {
  min-height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
  align-items: center;
}
.container {
  max-width: 1220px;
  margin: 0 auto;
  padding: 0 10px;
}
section:nth-child(n + 1) {
  min-height: 100vh;
}
section:nth-child(1) {
  min-height: 80vh;
}
h1 {
  font-size: 70px;
  font-weight: 700;
  padding-top: 140px;
  line-height: 80px;
}
span {
  color: rgb(238, 28, 37);
}
h2 {
  font-size: 56px;
  font-weight: 700;
  text-align: center;
  margin-bottom: 60px;
  line-height: 36px;
}
/* Header START */
.header {
  padding: 20px 0;
  background-color: rgb(238, 28, 37);
  position: fixed;
  width: 100%;
  top: 0;
  left: 0;
  z-index: 10;
}
.header_content {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.header_logo img {
  height: auto;
  width: 100px;
  display: flex;
  align-items: center;
  transition: 0.5s;
  /* margin-left: 16.6px; */
}
.header_logo img:hover {
  transform: scale(1.1);
}
.header_nav {
  display: flex;
  gap: 40px;
}
.header_nav_link {
  color: black;
  font-weight: 500;
  font-size: 18px;
}
.langs a {
  color: #fff;
}
.header_nav_link-profi {
  color: #fff;
  font-weight: 500;
  font-size: 18px;
}
.header_nav_link:hover {
  color: #fff;
}

.hamburger {
  display: none;
  cursor: pointer;
  /* background: #214e41; */
  font-size: 36px;
  margin-left: 40px;
  border-radius: 10px;
}
.hamburger_exit {
  position: absolute;
  right: 15px;
  top: 25px;
  cursor: pointer;
}
.hamburger_exit img {
  max-width: 30px;
}
.header_mobile {
  display: none;
  position: fixed;
  z-index: 10;
  top: 0;
  right: 0;
  padding: 100px 25px;
  max-width: 300px;
  width: 100%;
  background-color: rgb(238, 28, 37);
  border-left: 2px solid #fff;
  height: 100%;
  text-align: center;
  transition: transform 0.5s ease;
}
.header_mobile_nav {
  display: flex;
  flex-direction: column;
  gap: 30px;
}
/* Header END */

/* Home START */
.home {
  position: relative;
  padding-bottom: 45px;
}
.home-fon {
  position: absolute;
  top: 75px;
  right: 0;
  height: 90vh;
  opacity: 0.6;
  z-index: -1;
}
.home_content {
  max-width: 712px;
}
.home_inf_anim-text {
  font-size: 54px;
  font-weight: 700;
  color: transparent;
  -webkit-text-stroke: 1px rgb(238, 28, 37);
  margin: 40px 0;
  line-height: 65px;
}
.home_inf_text {
  color: #fff;
}
.home_inf_social {
  display: flex;
  gap: 20px;
  margin-top: 40px;
}
.home_inf_social a {
  color: rgb(238, 28, 37);
  font-size: 32px;
  padding: 5px;
  position: relative;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 50px;
  height: 50px;
  background: transparent;
  border: 2px solid rgb(238, 28, 37);
  border-radius: 50%;
  z-index: 1;
  overflow: hidden;
  transition: 0.5s;
}
.home_inf_social a:hover {
  color: #fff;
}
.home_inf_social a::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 0%;
  height: 100%;
  z-index: -1;
  background: rgb(238, 28, 37);
  transition: 0.5s;
}
.home_inf_social a:hover::before {
  width: 100%;
}
/* Home END */

/* About START */
.about {
  padding: 45px 0 45px;
  background: #1d1c1c;
}
.about_content {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.about-img {
  position: relative;
  width: 250px;
  height: 250px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
}
.about-img img {
  width: 90%;
  border-radius: 50%;
  border: 2px solid #fff;
}
.about-img .circle-spin {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100%;
  height: 100%;
  transform: translate(-50%, -50%) rotate(0);
  border-radius: 50%;
  border-top: 0.2rem solid transparent;
  border-bottom: 0.2rem solid transparent;
  border-left: 0.2rem solid rgb(238, 28, 37);
  border-right: 0.2rem solid rgb(238, 28, 37);
}
.about_info {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.about_info p {
  margin-bottom: 40px;
}
.about_mini-title {
  text-align: center;
  font-size: 28px;
  margin: 40px 0 20px;
  text-transform: uppercase;
  font-weight: 600;
  color: rgb(238, 28, 37);
}
.btn-box.btns {
  display: inline-block;
  width: 15rem;
}
.btn-box.btns a::before {
  background: #fff;
}
.btn-box {
  position: relative;
  display: flex;
  justify-content: space-between;
  width: 34.5rem;
  height: 5rem;
}
.btn-box .btn {
  position: relative;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 250px;
  height: 100%;
  background: rgb(238, 28, 37);
  border: 0.2rem solid rgb(238, 28, 37);
  border-radius: 10px;
  font-size: 28px;
  font-weight: 600;
  letter-spacing: 2px;
  color: #fff;
  z-index: 1;
  overflow: hidden;
  transition: 0.5s;
}
.btn-box .btn:hover {
  color: #000;
}
.btn-box .btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 0%;
  height: 100%;
  background: #fff;
  z-index: -1;
  transition: 0.5s;
}
.btn-box .btn:hover::before {
  width: 100%;
}
/* About END */

/* Facts START */
.facts {
  padding: 45px 0;
}
.facts_cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}
.facts_cards_card {
  width: 100%;
  min-height: 300px;
  padding: 20px;
  transform-style: preserve-3d;
  transition: transform 2s;
  text-align: center;
  box-shadow: 10px 10px 10px #ae14148c;
  border-radius: 20px;
  position: relative;
  animation: rotatingBorder 10s linear infinite;
}
@keyframes rotatingBorder {
  0% {
    border: 3px solid transparent;
  }
  25% {
    border: 3px solid rgb(238, 28, 37);
  }
  50% {
    border: 3px solid transparent;
  }
  75% {
    border: 3px solid rgb(238, 28, 37);
  }
  100% {
    border: 3px solid transparent;
  }
}
.facts_cards_card:hover {
  transform: rotateY(180deg);
}
.facts_cards_card_front {
  position: relative;
}
.facts_cards_card_front .facts_cards_card_name {
  position: absolute;
  font-size: 36px;
  font-weight: 500;
  line-height: 36px;
  color: rgb(238, 28, 37);
}
.facts_cards_card_front,
.facts_cards_card_back {
  width: 100%;
  backface-visibility: hidden;
}
.facts_cards_card_name {
  font-size: 24px;
}
.facts_cards_card_back {
  transform: rotateY(180deg);
}
.facts_cards_card_back {
  color: #fff;
}
.facts_cards_card_text {
  margin-top: 20px;
}
/* Facts END */

/* Music START */
.music {
  padding: 90px 0 45px;
  background: #1d1c1c;
}
.music_items {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px 40px;
}
.music_items_item_name {
  margin-bottom: 10px;
}
.music_items_item audio {
  width: 100%;
}
.details {
  display: flex;
  align-items: center;
  flex-direction: column;
  justify-content: center;
}

.track-art {
  margin: 25px;
  height: 250px;
  width: 250px;
  border: 2px solid #fffafa;
  background-size: cover;
  background-position: center;
  border-radius: 50%;
  -moz-box-shadow: 0px 6px 5px black;
  -webkit-box-shadow: 0px 6px 5px black;
  box-shadow: 0px 6px 5px black;
  -moz-border-radius: 190px;
  -webkit-border-radius: 190px;
  border-radius: 190px;
  transition: 0.5s;
}
.track-art:hover {
  scale: 1.1;
  transition: 0.5s;
}
.now-playing {
  font-size: 1rem;
}
.track-name {
  font-size: 36px;
  font-weight: 600;
}
.track-artist {
  margin-top: 10px;
  font-size: 24px;
}

.buttons {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  margin-bottom: 30px;
}
.buttons div:hover {
  scale: 1.1;
  color: rgb(238, 28, 37);
}
.active {
  color: black;
}
.repeat-track,
.random-track,
.playpause-track,
.prev-track,
.next-track {
  padding: 25px;
  opacity: 0.8;
  transition: opacity 0.2s;
}
.repeat-track:hover,
.random-track:hover,
.playpause-track:hover,
.prev-track:hover,
.next-track:hover {
  opacity: 1;
}
.slider_container {
  display: flex;
  justify-content: center;
  align-items: center;
}
.seek_slider,
.volume_slider {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  height: 5px;
  background: rgb(238, 28, 37);
  -webkit-transition: 0.2s;
  transition: opacity 0.2s;
}
.seek_slider::-webkit-slider-thumb,
.volume_slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  width: 15px;
  height: 15px;
  background: #fff;
  border: 3px solid rgb(6, 120, 146);
  cursor: grab;
  border-radius: 100%;
}
.seek_slider:hover,
.volume_slider:hover {
  opacity: 1;
}
.seek_slider {
  width: 60%;
}
.volume_slider {
  width: 30%;
}
.current-time,
.total-duration {
  padding: 10px;
}
i.fa-volume-down,
i.fa-volume-up {
  padding: 10px;
}
i,
i.fa-play-circle,
i.fa-pause-circle,
i.fa-step-forward,
i.fa-step-backward {
  cursor: pointer;
}
.randomActive {
  color: black;
}
.rotate {
  animation: rotation 8s infinite linear;
}
@keyframes rotation {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(359deg);
  }
}
.loader {
  height: 70px;
  display: flex;
  justify-content: center;
  align-items: center;
}
.loader .stroke {
  background: #f1f1f1;
  height: 150%;
  width: 10px;
  border-radius: 50px;
  margin: 0 5px;
  animation: animate 1.4s linear infinite;
}
@keyframes animate {
  20% {
    height: 20%;
    background: rgb(238, 28, 37);
  }

  40% {
    background: rgb(211, 234, 10);
    height: 100%;
  }
  60% {
    background: rgb(0, 250, 71);
    height: 100%;
  }
  80% {
    background: rgb(190, 5, 251);
    height: 100%;
  }
  100% {
    background: rgb(0, 216, 216);
    height: 100%;
  }
}
.stroke:nth-child(1) {
  animation-delay: 0s;
}
.stroke:nth-child(2) {
  animation-delay: 0.3s;
}
.stroke:nth-child(3) {
  animation-delay: 0.6s;
}
.stroke:nth-child(4) {
  animation-delay: 0.9s;
}
.stroke:nth-child(5) {
  animation-delay: 0.6s;
}
.stroke:nth-child(6) {
  animation-delay: 0.3s;
}
.stroke:nth-child(7) {
  animation-delay: 0s;
}
/* Music END */
.active {
  color: #fff;
}
/* User START */
.user {
  position: relative;
  padding: 90px 0 45px;
}
.user .container {
  display: flex;
  justify-content: center;
  flex-direction: column;
  align-items: center;
}
.user_content {
  background-color: #fff;
  border-radius: 10px;
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.25), 0 10px 10px rgba(0, 0, 0, 0.22);
  position: relative;
  overflow: hidden;
  width: 768px;
  max-width: 100%;
  min-height: 480px;
}
.user_content_login {
  width: 394px;
}
.user_content_login .sign-in-container {
  width: 100%;
}
.user_content_register {
  width: 394px;
  background: rgb(238, 28, 37);
}
.user_content_register .sign-up-container {
  width: 100%;
  opacity: 1;
}
.user_content_register .sign-up-container form input {
  /* background: #fff; */
  z-index: 10;
}
.user button.ghost {
  background-color: transparent;
  border-color: #ffffff;
  margin-top: 30px;
}
.user button {
  border-radius: 20px;
  background-color: rgb(238, 28, 37);
  color: #fff;
  font-size: 12px;
  font-weight: 500;
  padding: 14px 40px;
  margin-top: 24px;
  letter-spacing: 1px;
  text-transform: uppercase;
  transition: transform 80ms ease-in;
}
.user .overlay button {
  background-color: #fff;
  color: #000;
}
.user button:active {
  transform: scale(0.95);
}
.user button:focus {
  outline: none;
}
.user form {
  background-color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  padding: 0 50px;
  height: 100%;
  text-align: center;
}
.sign_title {
  color: rgb(238, 28, 37);
  font-size: 28px;
  margin-bottom: 12px;
  font-weight: 500;
}
.user form input {
  background-color: rgb(238, 28, 37);
  border: none;
  padding: 12px 15px;
  margin: 8px 0;
  width: 100%;
  border-radius: 10px;
}
.user form input::placeholder {
  color: #000;
}
.form-container {
  position: absolute;
  top: 0;
  height: 100%;
  transition: all 0.6s ease-in-out;
}
.sign-in-container {
  left: 0;
  width: 50%;
  z-index: 2;
}
.container.right-panel-active .sign-in-container {
  transform: translateX(100%);
}
.sign-up-container {
  left: 0;
  width: 50%;
  opacity: 0;
  z-index: 1;
}
.container.right-panel-active .sign-up-container {
  transform: translateX(100%);
  opacity: 1;
  z-index: 5;
  animation: show 0.6s;
}
@keyframes show {
  0%,
  49.99% {
    opacity: 0;
    z-index: 1;
  }
  50%,
  100% {
    opacity: 1;
    z-index: 5;
  }
}
.overlay-container {
  position: absolute;
  top: 0;
  left: 50%;
  width: 50%;
  height: 100%;
  overflow: hidden;
  transition: transform 0.6s ease-in-out;
  z-index: 10;
}
.container.right-panel-active .overlay-container {
  transform: translateX(-100%);
}
.overlay {
  background: rgb(238, 28, 37);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: 0 0;
  color: #fff;
  position: relative;
  left: -100%;
  height: 100%;
  width: 200%;
  transform: translateX(0);
  transition: transform 0.6s ease-in-out;
}
.overlay_title {
  font-size: 28px;
  margin-bottom: 12px;
  font-weight: 500;
}
.container.right-panel-active .overlay {
  transform: translateX(50%);
}
.overlay-panel {
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  padding: 0 40px;
  text-align: center;
  top: 0;
  height: 100%;
  width: 50%;
  transform: translateX(0);
  transition: transform 0.6s ease-in-out;
}
.overlay-left {
  transform: translateX(-20%);
}
.container.right-panel-active .overlay-left {
  transform: translateX(0);
}
.overlay-right {
  right: 0;
  transform: translateX(0);
}
.container.right-panel-active .overlay-right {
  transform: translateX(20%);
}
/* User END */

/* Footer START */
.footer {
  padding: 15px 0;
  background: rgb(238, 28, 37);
  width: 100%;
}
.footer_content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 30px;
}
.footer_logo img {
  height: auto;
  width: 100px;
  min-width: 100px;
  display: flex;
  align-items: center;
  transition: 0.5s;
  /* margin-left: 16.6px; */
}
.footer_logo img:hover {
  scale: 1.1;
}
.footer_and_top_copy {
  display: flex;
  align-items: center;
  gap: 30px;
}
.footer_and_top_copy_left {
  display: flex;
  gap: 30px;
}
.footer_copy_link {
  color: #fff;
}
.footer_copy_link:hover {
  text-decoration: underline;
}
.footer-iconTop a {
  position: relative;
  margin-left: 20px;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  padding: 10px;
  background: #fff;
  border: 3px solid #fff;
  border-radius: 10px;
  z-index: 1;
  overflow: hidden;
}
.footer-iconTop a::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 100%;
  background: #000;
  z-index: -1;
  transition: 0.5s;
}
.footer-iconTop a:hover::before {
  width: 100%;
}
.footer-iconTop a i {
  font-size: 36px;
  color: #000;
  transition: 0.5s;
}
.footer-iconTop a:hover i {
  color: #fff;
}
/* Footer END */

/* Cabinet START */
.cabinet .main {
  padding-top: 80px;
  padding-bottom: 20px;
}
.cabinet .main form {
  margin-top: 30px;
}
.cabinet .main form input {
  background: #fff;
  padding: 10px;
  border-radius: 10px;
  color: #000;
  max-width: 700px;
}
.cabinet .main .photo input {
  background: transparent;
  color: #fff;
  margin-bottom: 20px;
}
.cabinet .main form button {
  padding: 10px;
  background: #fff;
  color: #000;
  border-radius: 10px;
}
.photo_profile {
  height: 150px;
  width: 150px;
  text-align: center;
  margin-left: 50%;
  transform: translate(-50%, 0%);
  color: #000;
}
.cabinet .mani p {
  margin-bottom: 20px;
}
h4 {
  margin-bottom: 20px;
  color: #000;
  font-size: 24px;
  text-align: center;
}

body.cabinet {
  background-color: #f0f0f0;
}

.cabinet .main h2 {
  color: #333;
  margin-bottom: 30px;
}

.cabinet .main .container {
  background-color: #fff;
  padding: 50px 20px 20px;
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
}

.cabinet .main form {
  margin-top: 20px;
}

.cabinet .main form label {
  font-weight: bold;
  color: #333;
}

.cabinet .main form input[type="text"],
.cabinet .main form input[type="password"] {
  width: 100%;
  padding: 10px;
  margin: 5px 0;
  border: 1px solid #ccc;
  border-radius: 5px;
}

.cabinet .main form button {
  background-color: #238bd3;
  color: #fff;
  padding: 10px 20px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
}

.cabinet .main form button:hover {
  background-color: #155c98;
}

/* Стилізація посилань */
.cabinet .main a {
  text-decoration: none;
  margin: 0 10px;
  background: rgb(238, 28, 37);
  padding: 10px 20px;
  border-radius: 10px;
  margin-right: 20px;
  margin-top: 20px;
  color: #fff;
}

.cabinet .main a:hover {
  background: rgb(143, 20, 26);
}
/* Cabinet END */

@media (max-width: 1000px) {
  .facts_cards {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer_and_top_copy {
    gap: 0;
  }
  .footer_and_top_copy_left {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px 20px;
  }
}
@media (max-width: 650px) {
  h2 {
    font-size: 48px;
  }
  .about_info p {
    font-size: 14px;
  }
  .header_nav {
    display: none;
  }
  .hamburger {
    display: block;
  }
  .header_mobile {
    display: block;
    transform: translateX(110%);
  }
  .header_mobile.is-active {
    transform: none;
  }
  h1 {
    padding-top: 100px;
    font-size: 56px;
  }
  .home_inf_anim-text {
    font-size: 42px;
    margin: 20px 0;
    line-height: 45px;
  }
  .home-fon {
    display: none;
  }
  .facts_cards {
    grid-template-columns: repeat(1, 1fr);
  }
  .user_content {
    display: flex;
    flex-direction: column-reverse;
  }
  .sign_title {
    margin-top: 40px;
  }
  .overlay-container {
    display: none;
  }
  .form-container {
    position: static;
  }
  .form-container form button {
    margin-bottom: 20px;
  }
  .sign-up-container {
    width: 100%;
    opacity: 1;
  }
  .sign-in-container {
    width: 100%;
  }
  .container.right-panel-active .sign-in-container,
  .container.right-panel-active .sign-up-container {
    transform: none;
  }
  .footer_and_top_copy {
    width: 100%;
    justify-content: space-between;
    text-align: center;
  }
  .footer_and_top_copy_left {
    grid-template-columns: repeat(1, 1fr);
  }
  .footer_copy_link {
    font-size: 14px;
  }
}
@media (max-width: 420px) {
  .home {
    text-align: center;
  }
  .home_inf {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .form-container form {
    padding: 0 15px;
  }
  .repeat-track,
  .random-track,
  .playpause-track,
  .prev-track,
  .next-track {
    padding: 10px;
  }
}
