*, *::before, *::after {
    box-sizing: border-box;
    user-select: none;
  }
  
  body {
    margin: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    font-family: 'Press Start 2P', cursive;
    background-color: #f7f7f7;
  }
  
  .world {
    overflow: hidden;
    position: relative;
  }
  
  .score {
    position: absolute;
    font-size: 2vmin;
    color: #535353;
    right: 1vmin;
    top: 1vmin;
  }
  
  .highscore {
    position: absolute;
    font-size: 2vmin;
    color: #535353;
    right: 10vmin;
    top: 1vmin;
  }
  .separator {
    position: absolute;
    font-size: 2vmin;
    color: #535353;
    right: 7vmin;
    top: 1vmin;
  }
  
  .start-screen {
    position: absolute;
    font-size: 2vmin;
    color: #535353;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
  }
  
  .hide {
    display: none;
  }
  
  .ground {
    --left: 0;
    position: absolute;
    width: 300%;
    bottom: 0;
    left: calc(var(--left) * 1%)
  }
  
  .clouds {
    --left: 0;
    top: 0;
    position: absolute;
    width: 150%;
    left: calc(var(--left) * 1%);
  }

  .dino {
    --bottom: 0;
    position: absolute;
    left: 1%;
    height: 30%;
    bottom: calc(var(--bottom) * 1%);
    border: 2px solid #01ff62; /* Viền màu xanh lá cây cho dino */
  }

.cactus {
  position: absolute;
  left: calc(var(--left) * 1%);
  height: 30%;
  bottom: 0;
  border-radius: 15px; /* Bo tròn các góc của cactus */
  border: 2px solid #f12020; /* Viền màu đỏ cho cactus */
}

.logo {
  position: absolute;
  left: 49%;
  top: 1%;
  right: 50%;
}

.logo-text {
  position: absolute;
  top: 11%; /* Đặt phần tử ở giữa theo chiều dọc */
  left: 51%; /* Đặt phần tử ở giữa theo chiều ngang */
  transform: translate(-50%, -50%); /* Căn giữa chính xác phần tử */
  font-size: 2vmin; /* Kích thước chữ tương đối với kích thước viewport */
  color: #535353; /* Màu chữ */
  text-align: center; /* Căn giữa nội dung văn bản */
  padding: 1em; /* Khoảng cách xung quanh nội dung */
  background-color: rgba(255, 255, 255, 0.8); /* Nền trắng với độ trong suốt */
  border-radius: 10px; /* Bo tròn các góc của phần tử */
}

.start-screen {
  position: absolute;
  top: 50%; /* Đặt phần tử ở giữa theo chiều dọc */
  left: 50%; /* Đặt phần tử ở giữa theo chiều ngang */
  transform: translate(-50%, -50%); /* Căn giữa chính xác phần tử */
  font-size: 2vmin; /* Kích thước chữ tương đối với kích thước viewport */
  color: #535353; /* Màu chữ */
  text-align: center; /* Căn giữa nội dung văn bản */
  padding: 1em; /* Khoảng cách xung quanh nội dung */
  background-color: rgba(255, 255, 255, 0.8); /* Nền trắng với độ trong suốt */
  border-radius: 10px; /* Bo tròn các góc của phần tử */
}

.notification {
  position: fixed;
  top: 10%;
  left: 50%;
  transform: translateX(-50%);
  background-color: rgba(0, 0, 0, 0.8);
  color: #fff;
  padding: 1em;
  border-radius: 5px;
  font-size: 2vmin;
  display: none;
  z-index: 1000;
  text-align: center;
}

#godmode-notification {
  position: absolute;
  top: 83%;
  left: 50%;
  transform: translateX(-50%);
  background-color: rgba(255, 0, 0, 0.8); /* Màu nền đỏ cho thông báo Godmode */
  color: white;
  padding: 10px 20px;
  border-radius: 5px;
  font-size: 18px;
  display: none; /* Ẩn thông báo mặc định */
  z-index: 1000;
}

#notification-link {
  display: inline-block;
  margin-top: 1em;
  color: #01ff62; /* Màu xanh lá cây cho liên kết */
  text-decoration: none; /* Bỏ gạch chân */
  font-weight: bold;
}

#notification-link:hover {
  text-decoration: underline; /* Gạch chân khi hover */
}