@import url("https://fonts.googleapis.com/css2?family=Bai+Jamjuree:wght@400;500;600;700&display=swap");

:root {
  --color-body: #b6cbce;
  --font-base: "Bai Jamjuree";
}
* {
  font-family: var(--font-base);
}

body {
  background-color: black;
}
.bg-nav {
  background-color: white;
  font-weight: 600;
}
.logo {
  max-width: 160px;
}
#search-form label {
  color: rgb(255, 255, 255);
}
#search-results p {
  font-size: 14px;
  text-align: center;
  color: white;
  margin-bottom: 50px;
}

#search-results h2 {
  margin-top: 30px;
  text-align: center;
  background: linear-gradient(to bottom, #510c79, #3c47e2);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-color: #000000;
  font-weight: bold;
  font-size: 26px;
  animation: horizontal-shaking 2s;
}

@keyframes horizontal-shaking {
  0% {
    transform: translateX(0);
  }
  25% {
    transform: translateX(5px);
  }
  50% {
    transform: translateX(-5px);
  }
  75% {
    transform: translateX(5px);
  }
  100% {
    transform: translateX(0);
  }
}

#search-button {
  background: linear-gradient(to bottom, #81236a, #101780);
  border: none;
  color: #fff;
  padding: 2px 50px;
  border-radius: 2px;
  font-size: 1.2em;
  cursor: pointer;
  transition: all 0.2s ease-in-out;
  animation: pulse 6s ease-in-out infinite;
}

#search-button:hover {
  background: linear-gradient(to bottom, #3d092e, #4c9aff);
}

.search-bar {
  width: 450px;
}
.headerImg {
  margin-top: 150px;
  width: 50vh;
  animation: pulse 5s ease-in-out infinite;
}

/* animations */
@keyframes pulse {
  0% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    transform: scale(1.1);
    opacity: 0.5;
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}

/* kontakt */

.logo-contact {
  margin-top: 100px;
  max-width: 450px;
}

.contact-info {
  color: white;
}

.contact-table {
  margin-top: 80px;
  margin-bottom: 50px;
}

.email {
  background: linear-gradient(to bottom, #510c79, #3c47e2);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-color: #000000;
  font-weight: bold;
  font-size: 26px;
}

/* Płyty */
.album-covers h2 {
  font-weight: 600;
  color: rgb(202, 0, 253);
  text-transform: uppercase;
  background-image: linear-gradient(
    -225deg,
    #231557 0%,
    #44107a 29%,
    #ff1361 67%,
    #7700ff 100%
  );
  background-size: auto auto;
  background-clip: border-box;
  background-size: 200% auto;
  color: #fff;
  background-clip: text;
  text-fill-color: transparent;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: textclip 3s linear infinite;
  display: inline-block;
  font-size: 28px;
}

@keyframes textclip {
  to {
    background-position: 200% center;
  }
}

.album-covers {
  margin-top: 50px;
  color: white;
}
.covers-img {
  box-shadow: rgba(78, 11, 204, 0.25) 20px 54px 55px,
    rgba(64, 18, 231, 0.12) 0px -12px 30px, rgba(79, 4, 219, 0.12) 20px 4px 26px,
    rgba(76, 14, 190, 0.17) 0px 12px 23px,
    rgba(32, 12, 218, 0.09) 0px -33px 35px;

  filter: contrast(120%);

  border: 3px solid rgb(58, 56, 56);
}
/* .covers-img:hover {
  border-radius: 500px 500px 500px 500px;
} */

/* channels */
.channels p {
  font-size: 14px;
  margin-bottom: 40px;
}

.channels img {
  width: 80px;
  height: auto;
  animation: pulse 6s ease-out infinite;
}

.channels img:hover {
  width: 80px;
  height: auto;
  transform: rotate(10deg);
}

.channels h2 {
  margin-top: 15px;
  background: linear-gradient(to bottom, #510c79, #3c47e2);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-color: #000000;
  font-weight: bold;
  font-size: 26px;
  /* color animation */
  color: rgb(202, 0, 253);
  text-transform: uppercase;
  background-image: linear-gradient(
    -225deg,
    #231557 0%,
    #44107a 29%,
    #ff1361 67%,
    #7700ff 100%
  );
  background-size: auto auto;
  background-clip: border-box;
  background-size: 200% auto;
  color: #fff;
  background-clip: text;
  text-fill-color: transparent;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: textclip 3s linear infinite;
}

/* LOS */

.lso {
  height: 350px;
  animation: pulse 5s infinite;
}

.names2 {
  background: linear-gradient(to bottom, #510c79, #3c47e2);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-color: #000000;
  font-size: 50px;
  /* color animation */
  color: rgb(202, 0, 253);
  text-transform: uppercase;
  background-image: linear-gradient(
    -225deg,
    #231557 0%,
    #44107a 29%,
    #ff1361 67%,
    #7700ff 100%
  );
  background-size: auto auto;
  background-clip: border-box;
  background-size: 200% auto;
  color: #fff;
  background-clip: text;
  text-fill-color: transparent;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: textclip 3s linear infinite;
}

.error {
  width: 320px;
  height: auto;
  border-radius: 12px;
}

.eso {
  width: 300px;
  height: 180px;
  border-radius: 12px;
}
/* media */
@media (max-width: 992px) {
  .headerImg {
    margin-top: 20px;
    width: 50vh;
    animation: pulse 5s ease-in-out infinite;
  }
  .covers-img {
    box-shadow: none;
  }
}

@media (max-width: 500px) {
  .search-bar {
    width: 290px;
  }
  .logo-contact {
    margin-top: 50px;
    max-width: 250px;
  }
  .lso {
    height: 250px;
    animation: pulse 5s infinite;
  }
}
@media (max-width: 400px) {
  .lso {
    height: 200px;
    animation: pulse 5s infinite;
  }
}
/*  LIGHT MODE */

.light-mode {
  background-color: white;
  color: black;
}

.light-mode .bg-nav {
  /* background-color: black; */
  color: black;
  font-weight: 600;
}

.light-mode #search-results p {
  color: black;
}

.light-mode #search-form label {
  color: black;
}

.light-mode #search-input {
  color: white;
  background-color: #000000;
  border: 2px solid violet;
}

.light-mode .headerImg {
  /* margin-top: 100px; */
  width: 40vh;
  animation: glitch-anim-1-vertical 0.7s linear 2;
}

/* animacje 
 */

@keyframes glitch-anim-1-vertical {
  0% {
    -webkit-clip-path: polygon(2% 0, 5% 0, 5% 100%, 2% 100%);
    clip-path: polygon(2% 0, 5% 0, 5% 100%, 2% 100%);
  }
  10% {
    -webkit-clip-path: polygon(15% 0, 15% 0, 15% 100%, 15% 100%);
    clip-path: polygon(15% 0, 15% 0, 25% 100%, 15% 100%);
    transform: scale(1.1);
  }
  20% {
    -webkit-clip-path: polygon(10% 0, 20% 0, 20% 100%, 10% 100%);
    clip-path: polygon(10% 0, 20% 0, 20% 100%, 10% 80%);
  }
  30% {
    -webkit-clip-path: polygon(1% 0, 2% 0, 2% 100%, 1% 100%);
    clip-path: polygon(1% 0, 2% 0, 2% 100%, 19% 100%);
    transform: scale(1.2);
  }
  40% {
    -webkit-clip-path: polygon(33% 0, 33% 0, 33% 100%, 33% 100%);
    clip-path: polygon(33% 0, 33% 0, 33% 100%, 33% 100%);
  }
  50% {
    -webkit-clip-path: polygon(44% 0, 44% 0, 44% 100%, 44% 100%);
    clip-path: polygon(44% 0, 44% 0, 44% 100%, 44% 100%);
    transform: scale(0.5);
  }
  60% {
    -webkit-clip-path: polygon(50% 0, 20% 0, 20% 100%, 50% 100%);
    clip-path: polygon(50% 0, 20% 0, 20% 100%, 50% 100%);
    transform: scale(1.2);
  }
  70% {
    -webkit-clip-path: polygon(70% 0, 70% 0, 70% 100% 70%, 70% 100%);
    clip-path: polygon(70% 0, 70% 0, 70% 100% 70%, 10% 100%);
  }
  80% {
    -webkit-clip-path: polygon(80% 0, 80% 0, 80% 100% 80%, 80% 100%);
    clip-path: polygon(80% 0, 80% 0, 8% 100% 80%, 0% 100%);
    transform: scale(1.1);
  }
  90% {
    -webkit-clip-path: polygon(50% 0, 55% 0, 55% 100%, 50% 100%);
    clip-path: polygon(50% 0, 55% 0, 55% 100%, 0% 100%);
    transform: scale(0.7);
  }
  100% {
    -webkit-clip-path: polygon(70% 0, 80% 0, 80% 100%, 70% 100%);
    clip-path: polygon(70% 0, 80% 0, 80% 100%, 0% 100%);
    transform: scale(1);
  }
}

.radlink {
  color: purple;
  font-weight: 700;
  animation: shaking 10s infinite;
}

@keyframes shaking {
  0% {
    transform: translate(1px, 1px) rotate(0deg);
  }
  10% {
    transform: translate(-1px, -2px) rotate(-1deg);
  }
  20% {
    transform: translate(-3px, 0px) rotate(1deg);
  }
  40% {
    transform: translate(1px, -1px) rotate(1deg);
  }
  50% {
    transform: translate(-1px, 2px) rotate(-1deg);
  }
  70% {
    transform: translate(3px, 1px) rotate(-1deg);
  }
  80% {
    transform: translate(-1px, -1px) rotate(1deg);
  }
  90% {
    transform: translate(1px, 2px) rotate(0deg);
  }
  100% {
    transform: translate(1px, -2px) rotate(-1deg);
  }
}

.progress {
  margin: 1px auto; /* Margines odstępu od góry i dołu, automatyczne centrowanie */
  max-width: 200px; /* Maksymalna szerokość, aby nie rozciągać się zbyt szeroko */
}

.progress-bar {
  color: black;
  font-size: 12px;
}
