/* ================== FONTS ================== */
@font-face {
  font-family: "CoolFont";
  src: url("uglyhandwriting.ttf") format("truetype");
  font-display: swap;
}



/* ================== GLOBAL ================== */
body {
  background-color: #141414;
  overflow-x: hidden;
  margin: auto;
  user-select: none;
  
}

hr {
  border: 4px solid #181818;
  border-radius: 5px;

}

p {
  font-family: "CoolFont", sans-serif;
  font-size: clamp(8px, 3vw, 26px);
  color: white;


  -webkit-text-stroke: 2px #191919;
  paint-order: stroke fill;
}

em {
  font-family: "CoolFont", sans-serif;
  font-size: clamp(8px, 3vw, 26px);
  color: rgb(232, 232, 72);
    -webkit-text-stroke: 2px #191919;
  paint-order: stroke fill;
}


::-webkit-scrollbar {
  width: auto;
  background-color: #e1fd64;
}


::-webkit-scrollbar-track {
  box-shadow: inset 0 0 5px rgba(0, 0, 0, 0); 
  border-radius: 10px;
}
 
::-webkit-scrollbar-thumb {
  background: rgb(27, 27, 27); 
  border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
  background: #000000; 
}

/* ================== NAVBAR ================== */
.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  display: flex;
  justify-content: center;
  background-color: #181818;
  z-index: 5;
}

.navbar a {
  font-family: "CoolFont", sans-serif;
  display: block;
  color: #f2f2f2;
  font-size: 20px;
  text-align: center;
  padding: 14px 16px;
  text-decoration: none;
  transition: 0.3s ease;
}

.navbar a:hover {
  background: #f3e97e;
  color: black;
  border-radius: 50px;
  transform: scale(1.2);
}

/* ================== LAYOUT ================== */
.main {
  margin-top: 5px; 
  
}

.other {
  margin-top: 70px;
  background-image: url("https://github.com/tvvistee/testing/blob/main/background2.png?raw=true");
  background-size: cover;
  background-repeat: repeat-x;
  background-position: 0 0;

  animation: moveBg 35s linear infinite;

  display: grid;
  place-items: center;
  padding: 0;
}

.maingame {
  display: flex;
  gap: 5vw;
}

.click {
  justify-content: left;
}

.click p {
  text-align: center;

}

.click img:hover {
  transform: scale(1.1);
  transition: 0.3s ease;
}

.click img:active {
  transform: scale(1.2);
  transition: 0.3s ease;
}

.click img:not(:hover) {
  transform: scale(1.0);
  transition: 0.3s ease;
}



@keyframes moveBg {
  from {
    background-position: 0 0;
  }
  to {
    background-position: 830px 0;
  }
}


.upgrades {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 34vw;
  height: 10vh;
  padding: 5px 10px;
  border: 4px solid white;
  border-radius: 10px;
  position: relative;
  margin-bottom: 20px;
}

.upg-image {
  width: 50px;
}

.click-img {
  width: 20px;
  height: 20px;
}

.mid-section p{
  margin: 0;
  margin-bottom: 5px;
}

.cost-info {
  display: flex;
  align-items: center;
  gap: 5px;
}

.next-level-info {
  position: absolute;
  right: -12vw;
  width: 10vw;
  display: none;
}

.upgrades:hover .next-level-info{
  display: block;

}

