@import url('https://fonts.googleapis.com/css2?family=Big+Shoulders+Text:wght@100..900&family=IBM+Plex+Sans:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;1,100;1,200;1,300;1,400;1,500;1,600;1,700&family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap');

body {
    margin: 0;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    background: url('background.png') no-repeat center center fixed;
    background-size: cover;
}

#game-container {
    position: relative;
    width: 800px;
    height: 600px;
    border: 2px solid #333;
    overflow: hidden;
    background-image: url("George_Floyd_neck_knelt_on_by_police_officer-Photoroom.png");
    background-size:cover;
}

#fent-overlay {
    position: absolute;
    width: 100%;
    height: 100%;
    background: magenta;
    z-index: 1000;

    mix-blend-mode: overlay;
}

#bird {
    position: absolute;
    width: 40px;
    height: 60px;
    top: 250px;
    left: 100px;
    background: url('bird.png') no-repeat center center;
    background-size: cover;
    user-select: none;
    pointer-events: none;
    z-index: 20;
}

.pipe {
    position: absolute;
    width: 70px;
   user-select: none;
   background: url("pipe.png") no-repeat center center;
   background-size: 100% 100%;
}

#score {
    position: absolute;
    top: 10px;
    left: 10px;
    font-size: 36px;
    font-family: "Roboto", serif;
    font-weight: 700;
    font-style: italic;
    color: black;
    user-select: none;
    pointer-events: none;
    z-index: 100;
}

#gameOver{
    font-family: "Roboto", serif;
    font-weight: 700;
    user-select: none;
}

#heading {
    display: block;
    text-align: center;
    font-size: 24px;
    font-family: "Roboto", serif;
    font-weight: 700;
    font-style: italic;
    text-shadow: 1px 1px 2px black;
}

#game-over-screen {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    background-color: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 20px;
    border-radius: 10px;
    z-index: 10000;
    user-select: none;
}

.sparkle {
    position: absolute;
    width: 10px;
    height: 10px;
    background: url("sparkle.png") no-repeat center center;
    background-size: 100% 100%;
}

.powerup {
    position: absolute;
    width: 50px;
    height: 50px;
    z-index: 10;
    background: url("powerup.png") no-repeat center center;
    background-size: 100% 100%;
}

#powerup-timer {
    position: absolute;
    top: 56px;
    left: 10px;
    font-size: 36px;
    font-family: "Roboto", serif;
    font-weight: 700;
    font-style: italic;
    color: black;
    user-select: none;
    pointer-events: none;
    z-index: 100;
}

#title-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2000;
    background-color: rgba(0, 0, 0, 0.7);
}

#title {
    position: absolute;
    z-index: 10000;
    width: 100%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
}

.hidden {
    display: none;
}

.restart-button {
    appearance: none;
    background-color: #FFFFFF;
    border-radius: 40em;
    border-style: none;
    box-shadow: #ADCFFF 0 -12px 6px inset;
    box-sizing: border-box;
    color: #000000;
    cursor: pointer;
    display: inline-block;
    font-family: -apple-system,sans-serif;
    font-size: 1.2rem;
    font-weight: 700;
    letter-spacing: -.24px;
    margin: 0;
    outline: none;
    padding: 1rem 1.3rem;
    quotes: auto;
    text-align: center;
    text-decoration: none;
    transition: all .15s;
    user-select: none;
    -webkit-user-select: none;
    touch-action: manipulation;
  }
  
  .restart-button:hover {
    background-color: #FFC229;
    box-shadow: #FF6314 0 -6px 8px inset;
    transform: scale(1.125);
  }
  
  .restart-button:active {
    transform: scale(1.025);
  }
  
  @media (min-width: 768px) {
    .restart-button {
      font-size: 1.5rem;
      padding: .75rem 2rem;
    }
  }