* {
    font-family: Arial, Helvetica, sans-serif;
    margin: 0;
    padding: 0;
}

body {
  margin: 0;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
}

body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url("fundo.png");
  background-size: cover;
  background-repeat: no-repeat;
  filter: blur(8px);
  filter: brightness(50px);
  z-index: -1;
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.8);
  z-index: -1;
  height: 100vh;
}

button {
    animation: loop-bottom 2s ease-in-out infinite;
    cursor: pointer;
    background-color: #27AE60;
    color: rgb(230, 229, 229);
    border-radius: 5px;
    font-size: 18px;
    font-weight: bold;
    border: none;
    padding: 15px;
}

.box {
    background-color: #eee;
    width: 80vw;
    padding: 20px;
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    box-shadow: inset 0px 5px 0px 0px #27AE60;
}

.span-contador {
    display: flex;
    gap: 5px;
    align-self: center;
    color: red;
}

.contador {
    font-size: 20px;
    display: flex;
    font-weight: 700;
}

@media (min-width: 600px) {
  .box {
    width: 25vw;
    gap: 10px;
  }
}

.box > h1 {
    font-size: 28px;
    align-self: center;
    margin-top: 10px;
}

.box > p {
    font-size: 16px;
}

.stock {
    font-size: 12px;
    color: #222;
    position: relative;
    align-self: center;
}

.stock::before {
    content: "";
    width: 5px;
    height: 5px;
    background-color: red;
    left: -5%;
    top: 25%;
    border-radius: 100%;
    position: absolute;
}

.loading {
    background-color: #111111;
    position: fixed;
    top: 0;
    left: 0;
    height: 100vh;
    width: 100vw;
    z-index: 1000;
}

.loading-url {
    position: absolute;
    width: 40px;
    top: 50%;
    left: 50%;
    transform: translate(-25%, -25%);
    z-index: 2000;
}

@keyframes loop-bottom {
    0% {
        scale: 1;
        box-shadow: 0px 0px 10px 5px rgba(7, 211, 24, 0.5);
    }
    50% {
        scale: 1.05;
        box-shadow: 0px 0px 0px 10px rgba(7, 211, 24, 0)
    }
    100% {
        scale: 1;
        box-shadow: 0px 0px 10px 5px rgba(7, 211, 24, 0.5)
    }
}
