/* styles.css */

body {
  margin: 0;
  overflow: hidden;
}

#gameContainer {
  position: relative;
  width: 800px;
  height: 400px;
  margin: 0 auto;
  border: 1px solid #000;
  overflow: hidden;
}

#background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #b3e0ff; /* Sky blue background color */
  background-image: url("10.png"); /* Add a cloud background image */
  background-repeat: repeat-x;
  background-position: center top; /* Set the background to start at the center horizontally and at the top vertically */
}
#gameCanvas {
  position: absolute;
  top: 0;
  left: 0;
}
@keyframes scrollBackground {
  from {
    background-position: 0 0;
  }
  to {
    background-position: 34% 0;
  }
}

#ground {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 50px;
  background-color: #663300; /* Brown ground color */
}

#obstacleContainer {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

#character {
  position: absolute;
  bottom: 0;
  left: 50px;
  width: 100px;
  height: 100px;
}
