@font-face {
  font-family: font1;
  src: url("../fonts/Game\ On_PersonalUseOnly.ttf");
}
@font-face {
  font-family: font2;
  src: url("../fonts/Comfortaa-Bold.ttf");
}
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
  background: linear-gradient(90deg, hsla(186, 33%, 94%, 1) 0%, hsla(216, 41%, 79%, 1) 100%);
  /* background-image: url("images/The Gabba at sunset _ ESPNcricinfo_com.jpeg");
  background-repeat: no-repeat;
  background-size:contain; */
  text-align: center;
  padding-top: 155px;
  /* background-attachment: fixed; */
}



.header {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100px;
  width: 100%;
  position: absolute;
  top: 0;
  left: 0;
  margin-top: 22px;
}

.logo {
  width: 150px;
  height: auto;
  vertical-align: middle;
}

#firsth {
  color: rgb(0, 49, 92);
  font-family: font1;
  font-size: 7rem;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 10px;
}


.click {
  height: 250px;
  width: 250px;
  margin: 40px 20px;
  border-radius: 200px;
  background: linear-gradient(90deg, hsla(186, 33%, 94%, 1) 0%, hsla(216, 41%, 79%, 1) 100%);
  box-shadow: 4px 4px 5px rgb(0, 0, 0);
  padding: 10px 20px;
  font-size: 18px;
  border: none;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.3s ease-in-out;
}

.click:hover {
  transform: scale(1.07);
  background: linear-gradient(90deg, rgb(233, 233, 233) 0%, rgb(41, 120, 205)  100%);
  box-shadow:none;
}

.image {
  height: 160px;
}

.result-display {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  line-height: 1.5;
  gap: 10px;
}

/* Hide empty result bars when reset */
.hidden {
  display: none;
}

/* Common styling for result bars */
.display {
  font-family: font2;
  font-weight: bold;
  font-size: 25px;
  text-transform: uppercase;
  padding: 10px 20px; /* Added padding to prevent text overflow */
  background: linear-gradient(90deg, hsla(186, 33%, 94%, 1) 0%, hsla(216, 41%, 79%, 1) 100%);
  color: rgb(55, 55, 55);
  width: 500px;
  height: auto;
  border-radius: 100px;
  border: 1px solid black;
  box-shadow: 2px 2px 3px black;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px; /* Space between emoji and text */
}

/* Score bar should always be visible with better spacing */
#score {
  padding: 15px 20px; /* More padding to keep content inside */
}

/* Reset Button */
.reset {
  margin-top: 50px;
  margin-bottom: 5px;
  background-color: red;
  padding: 5px;
  width: 150px;
  height: 50px;
  border-radius: 100px;
  border: none;
  box-shadow: 2px 2px 3px rgb(62, 62, 62);
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  font-size: 20px;
  font-weight: 900;
  text-transform: uppercase;
  color: white;
  letter-spacing: 5px;
  transition: background-color 0.3s ease-in, transform 0.2s ease-in;
}

.reset:hover {
  background-color: rgb(222, 1, 1);
  transform: scale(1.07);
  box-shadow: 2px 2px 3px rgb(209, 209, 209);
}
