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

:root {
  --background: #e0e5ec;
  --gray: #797d7f;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Raleway", sans-serif;
}

img {
  max-width: 100%;
}

  #particles-js {
    height: 100vh;
    width: 100%;
    position: fixed;
    z-index: -1;
  }



.container {
  background-color: var(--background);
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  /* background-color: green;
  /* background-image: url(/oropesa.jpg); */
  /* background-color: #eae2e2;*/
  background: -webkit-linear-gradient(90deg, #fb6a6a,#858dff,#c1bdfa);/* Chrome 10-25, Safari 5.1-6 */                          background: linear-gradient(90deg, #fb6a6a,#858dff,#c1bdfa);/* W3C, IE 10+/ Edge, Firefox 16+, Chrome 26+, Opera 12+, Safari 7+ */                                             

}

.player {
  width: 350px;
  height: 580px;
  background-color: var(--background);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  box-shadow: 9px 9px 16px rgba(73, 73, 73, 0.6),
    -9px -9px 16px rgba(59, 59, 59, 0.5);
    position: relative;
    z-index: 99;
    opacity: .88;
    border: solid 2px #e0dede ;

    /*  */
}

.player__controls {
  display: flex;
  width: 95%;
  justify-content: space-evenly;
  align-items: center;
  margin-bottom: 25px;
}

.player__btn {
  cursor: pointer;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: -8px -8px 20px 0px #fff9, -6px -6px 6px 0px #fff9,
    8px 8px 20px #0001, 5px 5px 6px 0px #0001;
  color: var(--gray);
  /* background-color: aqua; */
}

.player__btn:active {
  box-shadow: inset -8px -8px 20px #fff9, inset -5px -5px 6px #fff9,
    inset 8px 8px 20px #0003, inset 5px 5px 6px #0001;
}

.player__btn--small {
  min-width: 50px;
  min-height: 50px;
}

.player__title {
  font-weight: 600;
  font-size: 0.8em;
  color: #a1a1a1;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin: 0;
}

.player__album {
  width: 150px;
}

.player__img {
  border-radius: 50%;
    /* box-shadow: 2px 2px 7px rgb(163, 177, 198), -2px -2px 7px rgb(163, 177, 198),
    -8px -8px 50px rgba(255, 255, 255, 0.8), 3px 3px 25px rgba(0, 0, 0, 0.6);*/

     /* box-shadow: 2px 2px 7px rgb(163, 177, 198), -2px -2px 7px rgb(163, 177, 198),
    -8px -8px 50px rgba(255, 255, 255, 0.8), 3px 3px 25px rgba(0, 0, 0, 0.6);*/
    box-shadow: 5px 5px 5px lightblue;  
}

.player__artist {
  font-size: 1.2em;
  font-weight: 500;
  opacity: 0.5;
  margin: 20px 0px 0px 0px;
}

.player__song {
  position: relative;
  width: 100%;
  text-align: center;
  font-weight: 400;
  font-size: 1em;
  opacity: 0.5;
  margin: 0;
}

.player__level {
  width: 80%;
  -webkit-appearance: none;
  outline: none;
  border: none;
  padding: 0;
  margin-top: 40px;
}

.player__level::-webkit-slider-runnable-track {
  background-color: #d7dbdd;
  height: 6px;
  border-radius: 3px;
}

.player__level::-webkit-slider-thumb {
  -webkit-appearance: none;
  border-radius: 100%;
  background-color: #00589c;
  height: 18px;
  width: 18px;
  margin-top: -7px;
}

.audio-duration {
  margin-top: -30px;
  display: flex;
  width: 78%;
  font-size: 10px;
  font-weight: 600;
  color: #a1a1a1;
  letter-spacing: 1px;
}

.start {
  flex: 1;
}

.player__audio {
  visibility: hidden;
}

.player__btn--medium {
  min-height: 70px;
  min-width: 70px;
}

.blue {
  background-color: #00589c;
  color: #fff;
}

.hide {
  display: none;
}

#botones{
  /* background-color: #ff0037; */
  width: 80%;
  display: flex;
  height: 40px;
  justify-content: space-between;
}

#botones div{
  height: 50px;
  width: 50px;
  
  
}

.btn {
  min-height: 40px;
  min-width: 40px;
}

/* borde animado */
.animated-border {
  /* width: 200px; */
  /* height: 200px; */
  /* border-radius: 50%; */
  position: relative;
  overflow: hidden;
}

.animated-border::before {
  content: "";
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  border: 2px solid;
  border-radius: inherit;
  animation: animatedBorder 6s linear infinite;
  background-image: linear-gradient(45deg, #ff0000, #00ff00, #0000ff, #ffff00, #ff00ff, #ff0000);
  background-size: 600% 100%;
}

@keyframes animatedBorder {
  0% {
    background-position: 0% 0%;
  }
  20% {
    background-position: -100% 0%;
  }
  40% {
    background-position: -200% 0%;
  }
  60% {
    background-position: -300% 0%;
  }
  80% {
    background-position: -400% 0%;
  }
  100% {
    background-position: -500% 0%;
  }
}
