body {
    text-align: center;
    font-family: Arial, sans-serif;
    background-color: #000080;
    margin: 0;
    padding: 0;
}

/* Headings */
h1 {
    font-size: 3rem;
    margin-top: 10px;
    font-family: "Grenze Gotisch", serif;
    color: whitesmoke;
}

h2 {
    font-size: 1.5rem;
    margin-top: 10px;
    color: #555;
    font-family: "Bitcount Prop Single Ink", system-ui;
}

h3 {
    font-family: "Gruppo", cursive;
    margin-bottom: 20px;
    color: whitesmoke;
}

/* Button container */
.btn-container {
    display: flex;
    flex-wrap: wrap; /* allows wrapping on smaller screens */
    justify-content: center;
    margin-top: 40px;
    gap: 10px;
}

/* Start button */
.start {
    font-size: 1.5rem;
    /* padding: 10px 20px; */
    border-radius: 10px;
    background-color: #04993d; 
    color: white;               /* Text/icon contrast */
    border: none;
    /* background-color: lightgray; */
    cursor: pointer;
    transition: background-color 0.3s, transform 0.1s;
    height: 50px;
    width: 120px;
}

/* Game buttons */
.btn {
    width: 200px;
    height: 200px;
    margin: 10px;
    border-radius: 20%;
    border: 10px solid black;
    cursor: pointer;  
    transition: transform 0.1s;
}

.btn:active {
    transform: scale(0.95);
}

.start:active {
    transform: scale(0.95);
}

/* Colors */
.red {
    background-color: red;
}
.blue {
    background-color: blue;
}
.green {
    background-color: green;
}
.yellow {
    background-color: yellow;
}

/* Flash effect */
.flash {
    opacity: 0.5;
    box-shadow: 0 0 20px white;
    transition: opacity 0.2s, box-shadow 0.2s;
}

/* Video tutorial */
.video-tutorial {
    max-width: 100%;
    width: 600px;
    margin: 40px auto;
    border: #555 2px solid;
    display: block;
    padding: 10px;
}

#scoreboard {
  /*position: fixed;       /* Stick to screen */
  /*top: 50%;              /* Middle vertically */
  /*right: 0;              /* Stick to right side */
  /*transform: translateY(-50%); /* Perfect vertical center */
  
  /*width: 200px;
  background-color: #222;  /* Dark sidebar */
  /*color: #fff;
  padding: 20px;
  border-radius: 10px 0 0 10px; /* Rounded left side */
  /*box-shadow: -5px 0 10px rgba(0,0,0,0.3);
  font-family: Arial, sans-serif; */
  position: absolute;
  top: 10px;
  right: 10px;
  background: rgba(0,0,0,0.8);
  color: white;
  padding: 10px 15px;
  border-radius: 12px;
  font-size: 16px;
  text-align: right;
  box-shadow: 0 4px 8px rgba(0,0,0,0.3);
  transition: all 0.3s ease-in-out;
}
#scoreboard h2 {
  margin-bottom: 15px;
  font-size: 20px;
  text-align: center;
}
#scoreboard p {
  font-size: 16px;
  margin: 10px 0;
}

.footer-credit {
  position: fixed;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  font-family: Arial, sans-serif;
  font-size: 14px;
  color: #fff;
  background: rgba(0, 0, 0, 0.5);
  padding: 5px 12px;
  border-radius: 20px;
  box-shadow: 0 0 5px rgba(0,0,0,0.3);
}

.footer-credit a {
  color: #ff4081;
  /* text-decoration: none; */
}

.footer-credit .heart {
  color: red;
  animation: pulse 1s ease-in-out infinite;
}

@keyframes pulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.2); }
  100% { transform: scale(1); }
}

/* =====================
   RESPONSIVENESS
   ===================== */

/* Medium screens (tablets, small laptops) */
@media (max-width: 1024px) {
    h1 {
        font-size: 2.5rem;
    }
    .btn {
        width: 150px;
        height: 150px;
    }
    .start {
        font-size: 1.2rem;
        padding: 8px 16px;
    }
}

/* Small screens (mobiles) */
@media (max-width: 600px) {
    h1 {
        font-size: 2rem;
    }
    h2 {
        font-size: 1.2rem;
    }
    .btn {
        width: 120px;
        height: 120px;
        border: 6px solid black;
    }
    .start {
        font-size: 1rem;
        padding: 6px 12px;
    }
}

/* Tablet */
@media screen and (max-width: 768px) {
  #scoreboard {
    font-size: 14px;
    padding: 8px 12px;
    position: static;
    display: flex;
    align-self: center; 
    align-items: center;
    justify-content: center;
    flex-direction: column;
  }
  #scoreboard p {
    margin: 0;
    padding: 0;
  }
}

/* Small Mobile */
@media screen and (max-width: 480px) {
  #scoreboard {
    font-size: 12px;
    padding: 6px 10px;
    position: static;
    display: flex;
    align-self: center;
    align-items: center;
    justify-content: center;
    flex-direction: column;
  }
  #scoreboard p {
    margin: 0;
    padding: 0;
  }
}













