@font-face {
    font-family: 'Paperozi 700';
    src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/2408-3@1.0/Paperlogy-7Bold.woff2') format('woff2');
    font-weight: 700;
    font-display: swap;
}
@font-face {
    font-family: 'Paperozi 300';
    src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/2408-3@1.0/Paperlogy-3Light.woff2') format('woff2');
    font-weight: 300;
    font-display: swap;
}

body {
    background: rgb(4, 2, 29);
    display: flex;
    font-family: 'Paperozi 300', sans-serif;
}

h1 {
  font-size: 50px;
}

span {
  color: rgb(255, 255, 255);
  font-size: 30px;
}

.frame {
  display: flex;
  gap: 20px;
  justify-content: center;
}

.main {
  width: 600px;
  margin: 0 auto; 
  background: rgb(40, 43, 63);
  color: white;
  padding: 10px;
  border-radius: 20px;
  font-family: 'Paperozi 700', sans-serif;
  justify-content: center;
  text-align: center;
  box-shadow: 0 0 20px rgba(0,0,0,0.4);
}

.main5 {
  width: 400px;
  margin: 0 auto; 
  background: rgb(40, 43, 63);
  color: white;
  padding: 10px;
  border-radius: 20px;
  font-family: 'Paperozi 700', sans-serif;
  justify-content: center;
  text-align: center;
  box-shadow: 0 0 20px rgba(0,0,0,0.4);
}

.main6 {
  width: 200px;
  margin: 0 auto; 
  background: rgb(40, 43, 63);
  color: white;
  padding: 10px;
  border-radius: 20px;
  font-family: 'Paperozi 700', sans-serif;
  justify-content: center;
  text-align: center;
  box-shadow: 0 0 20px rgba(0,0,0,0.4);
}

.main2 {
  background: rgb(73, 77, 107);
  display: flex;
  color: white;
  padding: 10px;
  border-radius: 28px;
  font-family: 'Paperozi 700', sans-serif;
  justify-content: center;
  align-items: center;
  text-align: center;
  gap: 12px;
  margin-bottom: 10px;
}

.main3 {
  background: rgb(40, 43, 63);
  color: white;
  padding: 10px;
  border-radius: 28px;
  font-family: 'Paperozi 700', sans-serif;
  justify-content: center;
  text-align: center;
}

.main4 {
  display: flex;
  background: rgb(40, 43, 63);
  color: white;
  padding: 5px;
  border-radius: 12px;
  font-family: 'Paperozi 700', sans-serif;
  justify-content: center;
  text-align: center;
  gap: 12px;
}

button {
  font-size: 20px;
  background: rgb(228, 237, 255);
  color: rgb(71, 24, 83);
  padding: 10px;
  border-radius: 20px;
  font-family: 'Paperozi 700', sans-serif;
  justify-content: center;
  text-align: center;
  transition: all 0.1s ease;
}

#feed {
  font-size: 30px;
  padding: 20px;
  width: 500px;
}

button:hover {
  background: #ffffff;
  transform: translateY(-3px)
}

button:active {
  transform: scale(0.97);
}

#counter {
  margin-left: 12px;
  margin-right: 12px;
  transition: all 0.1s ease;
}

#counter.pop {
  color: #8dffa6;
  animation: fly 1s ease;
  transform: translateY(-2px) scale(1.2);
}

#pet {
  transition: all 0.2s ease-out;
}

#pet.levelup {
  transform: scale(1.2);
}

#level {
  font-family: 'Paperozi 300', sans-serif;
}

#exp_ind {
  color: #5cff9d;
  font-size: 20px;
  font-family: 'Paperozi 700', sans-serif;
}

#exp_ind2 {
  color: #2affc6;
  font-size: 20px;
  font-family: 'Paperozi 300', sans-serif;
}

#exp {
  height: 100%;
  width: 100%;
  background: linear-gradient(90deg, #5cff9d, #2affc6);
  transition: width 0.2s ease;
}

.bar {
  width: 100%;
  height: 16px;
  background: #000000;
  border-radius: 10px;
  overflow: hidden;
  margin-top: 10px;
}

.itemcost {
  font-size: 20px;
  font-family: 'Paperozi 300', sans-serif;
  margin-left: auto;
}

.buy {
  margin-left: auto;
}