@font-face {
  font-family: "TPU";
  src: url("../TPUBody-Regular.woff2");
}

@font-face {
  font-family: "velvelyne";
  src: url("../Velvelyne-Light.woff2");
}

@font-face {
  font-family: 'log';
  src: url("./Grotesk-01Extrafin.woff2");
}

:root {
  --main-bg-color: #091920;
  --main-text-color: rgb(173, 96, 61);
  --accent-color: rgb(45, 82, 81);
  --highlight-color: rgb(173, 96, 61);
  --button-bg-color: rgb(45, 82, 81); 
  --button-text-color: white;
}

body,
html {
  margin: 0;
  padding: 0;
  width: 100%;
  height: 100vh;
  background-color: var(--main-bg-color);
  color: var(--main-text-color);
  font-family: "velvelyne";
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px;
  justify-content: space-between;
  font-weight: 10 !important;
}

#afterClick {
  display: none;
  flex-direction: column;
}

.container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-evenly;
  height: 70vh;
}

.content-list {
  margin-top: 400px;
}

audio {
  opacity: 0;
}

.prog {
  width: 80vw;
}

progress {
  width: 100%;
  height: 10px;
  border-radius: 10px;
  background-color: var(--highlight-color);
}

progress::-moz-progress-bar {
  background: var(--accent-color);
}
progress::-webkit-progress-value {
  background: var(--accent-color);
}

#playback-bar {
  display: none;
}

button {
  background-color: var(--button-bg-color);
  color: var(--button-text-color);
  padding: 6px 20px;
  border-radius: 1em;
  font-size: 1.2em;
}
#download {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 10px;
}
#online-signal {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: solid;
}

@keyframes sonar {
  from {
    opacity: 1;
  }
  to {
    opacity: 0.1;
  }
}

#log{
  display: flex;
  flex-direction: column;
  height: 120px;
  overflow-y: scroll;
  position: relative;
  width: 50%;
  max-height: 210px;
  min-height: 150px;
  font-weight: thin;
  font-family: 'log';
  color: var(--button-text-color);
  margin: 0 15%;
  width: 70%;
}

#modal{
  display: none;
  width: 20vw;
  height: 20vh;
}

#beforeClick {
  display: none;
  position: fixed;
  color: var(--button-text-color);
  font-size: 4em;
  animation: sonar 0.04s infinite ease-in-out;
  top: 30%;
  /* rotate: -20deg; */
}

h1 {
  line-height: 1;
  text-align: center;
  /* font-family: "TPU"; */
  font-size: 100px;
  /* animation: simpie 6s linear infinite; */
  top: 5rem;
  margin: 0;
}
/* h1:nth-child(1) {
  animation: simpie 2s ease-in-out infinite;
}
h1:nth-child(2) {
  animation: simpie 7s reverse infinite;
  animation-delay: 0.5s;
}
h1:nth-child(3) {
  animation: simpie 1s linear infinite;
}
h1:nth-child(4) {
  animation: simpie 3s infinite alternate;
  animation-delay: 1.5s;
} */

@keyframes simpie {
  0% {
    transform: rotateY(360deg);
    filter: brightness(1.05) drop-shadow(0 0 2px var(--main-text-color));
  }
  20% {
    filter: brightness(0.95) drop-shadow(0 0 3px var(--accent-color));
  }
  40% {
    filter: brightness(1.1) drop-shadow(0 0 4px var(--main-text-color));
  }
  60% {
    filter: brightness(1) drop-shadow(0 0 3px var(--accent-color));
  }
  80% {
    filter: brightness(1.05) drop-shadow(0 0 2px var(--main-text-color));
  }
  100% {
    transform: rotate(0deg);
    filter: brightness(1) drop-shadow(0 0 2px var(--accent-color));
  }
}

@keyframes rotate {
  0% {
    transform: rotateY(360deg);
  }
  100% {
    transform: rotateY(0deg);
  }
}

#download {
  display: none; /* Inizialmente nascosto */
}

#content-list {
  display: none; /* Nascondi la lista dei contenuti */
}

#delete-container {
  display: none;
  text-align: center;
  margin: 10px 0;
}

#delete-button {
  background-color: #ff4444;
  color: white;
  border: none;
  padding: 10px 20px;
  border-radius: 5px;
  cursor: pointer;
}

#delete-button:hover {
  background-color: #cc0000;
}

@media (max-width: 768px) {
  #log{
    height: 75vh;

  }
}