:root{
  width: auto;
  background-color: #222222;
}

body{
  font-family:'Roboto';
  width: 1800px;
  background-color: #222222;
  justify-content: center;
  margin: auto;
  margin-top: 1rem;
}


header{
  display: flex;
  border-bottom: #111111 solid;
}

footer{
  background-color: linear-gradient(90deg,rgba(34, 34, 34, 1) 0%, rgba(87, 199, 133, 1) 50%, rgba(237, 221, 83, 1) 100%);
}

h1{
  font-size: 37px;
  width: 600;
  color: #ffffff;
  margin-bottom: 1rem;
  margin-left: 0;
}
h2{
  font-size: 32px;
  width: 400;
  color: #ffffff;

}
h3{
  font-size: 27px;
  color: #ffffff;
}
h4{
  font-size: 19px;
  color: #ffffff;

}
p{
  font-size: 10px;
  color: #ffffff;

}

/* Spinner principal:
#cargaspinner{
    align-content: center;
    align-items: center;
    justify-content: center;
    width: auto;
}
.spinner {
    background-image: url("img/load_icon.png");
    width: 157px;
    height: 157px;
    aborder: 4px solid #ccc;
    border-top: 4px solid #240a9c;
    border-radius: 50%;
    margin: 20px auto;
}
.textospinner{
    text-align: center;
    font-size: 20px;
    margin-bottom: 2rem !important;
}
@keyframes spin {
  100% { transform: rotate(360deg); }
}*/

/*Nuevo botón de carga, extraido desde repositorio universe.io*/

.liquid-loader {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 9999;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #111;
  padding: 100%;
}
#loader {
  opacity: 1;
  transition: opacity 0.6s ease;
}
#loader.hidden {
  opacity: 0;
  pointer-events: none;
}
.loader-track {
  position: relative;
  width: 180px;
  height: 32px;
  background: linear-gradient(135deg, #2a2a2a, #1a1a1a);
  border-radius: 16px;
  overflow: hidden;
  box-shadow:
  inset 0 2px 4px rgba(0, 0, 0, 0.6),
  0 1px 3px rgba(255, 255, 255, 0.1);
}
.rellenoliquido{
  position: absolute;
  top: 2px;
  left: 2px;
  height: calc(100% - 4px);
  background: linear-gradient(90deg, #4f46e5, #7c3aed, #ec4899, #f59e0b);
  border-radius: 14px;
  animation:
  rellenoliquido 1s ease-out infinite,
  colorShift 1s linear infinite;
  box-shadow:
  0 0 12px rgba(124, 58, 237, 0.4),
  inset 0 1px 2px rgba(255, 255, 255, 0.2);
}
.loading-text {
  color: white;
  font-size: 18px;
  font-weight: 600;
  letter-spacing: 1px;
  animation: textGlow 1s ease-in-out infinite;
}
.dot {
  margin-left: 3px;
  animation: blink 0.5s infinite;
}
.dot:nth-of-type(1) {
  animation-delay: 0s;
}
.dot:nth-of-type(2) {
  animation-delay: 0.3s;
}
.dot:nth-of-type(3) {
  animation-delay: 0.6s;
}
@keyframes rellenoliquido {
  0% {width: 4px;}
  25% {width: 25%;}
  50%{width: 50%;}
  75% {width: 75%;}
  100% {width: calc(100% - 4px);}
}
@keyframes colorShift {
  0% {filter: hue-rotate(0deg) brightness(1);}
  33% {filter: hue-rotate(120deg) brightness(1.1);}
  66% {filter: hue-rotate(240deg) brightness(0.9);}
  100% {filter: hue-rotate(360deg) brightness(1);}
}

@keyframes textGlow {
  0%,
  100% {opacity: 0.7;
  text-shadow: 0 0 8px rgba(139, 92, 246, 0.3);}
  50% {opacity: 1;text-shadow: 0 0 16px rgba(139, 92, 246, 0.6);}
}

@keyframes blink {
  0%,
  50% {
  opacity: 1;}
  51%, 100% {
  opacity: 0;
  }
}

.estiloheader{
  padding-bottom: 1rem;
}

.botonrefrescar{
  margin-top: -1.6rem;
}
.estiloheader{
  display: flex;
  align-items: center;

}
.estilobotonrefrescar{
  padding: 0.4rem 3rem 0.4rem 3rem;
  margin-left: 2rem;
  border-radius: 10px;
  border: solid #222222;
  background-color: #000000;
}

.search-box {
  
  display: flex;
  align-items: center;
  width: 300px;
  border: 2px solid #ffffff;
  border-radius: 25px;
  padding: 5px 10px;
  background: #111111;
  margin-left: 10%;
}

.search-box input {
  color: #fff;
  border: none;
  outline: none;
  flex: 1;
  font-size: 16px;
  background: #111111;

}

.search-box button {
  background: none;
  border: none;
  cursor: pointer;
  font-size: 18px;
}

.textobotonout{
  margin-left:10%;
  margin-bottom: -0.5px;
  font-size: 20px;
  color: #ffffff;
  width: 600 !important;
}

.textoboton{
  margin: 0px;
  font-size: 20px;
  color: #ffffff;
  width: 600 !important;
}

.coinspace {
  display: block !important;
}

#block{
    display: block !important;
}


.bloquemoneda{
  display: flex;
  margin: 0;
}

.moneda{
  margin: 2rem;
  min-width: 520px;
  border:3px solid;
  background-color: #000000;
  border-radius: 10px;
}

#idprincipal{
  display: none;
}

.datosporcentajemoneda{
  display: flex;
  gap: 1rem;
  margin: 1rem 0rem -1rem 0rem;
}

.columnasfooter{
  display: flex;
}

.columnasfooterin{
  margin: 2rem;
}

.headcriptomoneda{
  display: flex;
  margin-bottom: -2rem;
}

.titleheadcripto h3{
  color:#ffffff;
}
.titleheadcripto{
  margin-right: 3rem;
}
.imagenmoneda img{
  margin: 1rem;
}

.simbolomoneda{
  margin-top: -2rem;

}

/*Estilo datos criptomonedas*/
.precioactualcrip{
  color: #ffffff;
  font-size: 27px;
  font-weight: 800;
  padding: 0px 7px 0px 7px;
}
.maxmoneda{
  text-align: center;
  font-size: 17px;
  font-weight: 600;
  border-radius: 5px;
  margin: 1rem;
  padding: 3px 7px 3px 7px;
  background-color: rgb(74, 201, 48);
}
.minmoneda{
  text-align: center;
  font-size: 17px;
  font-weight: 600;
  border-radius: 5px;
  margin: 1rem;
  padding: 3px 7px 3px 7px;
  background-color: rgb(207, 22, 15);
}

/*Boton desplegable de datos de moneda*/
.desplegablestyle {
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.4s ease;
}

.desplegablestyle.abierto {
  max-height: 1000px;
}

.datossecundarios{
  margin: 1rem 0rem 1rem 1rem;
}
.toggle-btn {
  background: #2b2b2b;
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  border: none;
  padding: 10px 16px;
  cursor: pointer;
  border-radius: 6px;
}
.desplegablestyle p {
  margin-left: 1rem;
  margin: 1rem 1rem -0.7rem 1rem;

}

.toggle-btn:hover {
  background: #333;
}

.piefirma{
  background-color: #000000;
  border-radius: 10px;
}

.piefirma p {
font-size: 15px;
padding: 10px;
text-align: center;
}