body { background-color: rgb(24, 24, 24); color: white; text-align: left; font-family: "Pixelify Sans", sans-serif; font-optical-sizing: auto; font-weight: 900; font-style: normal; font-size: 24px; } header, footer, .HalamanFull { padding-left: 50px; padding-right: 50px; } header, footer { background-color: rgb(18, 18, 18); display: flex; align-items: center; justify-content: space-between; } .HalamanFull { position: relative; background-color: rgb(28, 28, 28); color: white; height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; padding-bottom: 20px; padding-top: 20px; background-image: url("halamanFull/cherryBlossom.png"); background-size: cover; background-position: center; background-repeat: no-repeat; } .HalamanFull::before { content: ""; position: absolute; inset: 0; background: rgba(0,0,0, var(-- overlay-opacity, 0.4)); /* 0.4 = opacity overlay */ pointer-events: none; } .game-container { position: relative; width: 1056px; height: 480px; } .starting { position: absolute; top: 0; left: 0; width: 1056px; height: 480px; background-color: rgba(100, 100, 100, 0.8); display: flex; align-items: center; justify-content: center; z-index: 10; } .popAwal { text-align: center; border-radius: 10px; background-color: rgb(50, 50, 50); padding: 30px; box-shadow: 0 0 10px rgba(0, 0, 0, 0.5); width: 80%; max-width: 400px; background-image: url("gameOver/gameOver.png"); background-size: cover; background-position: center; background-repeat: no-repeat; } .popAwal1 { text-align: center; border-radius: 10px; background-color: rgb(50, 50, 50); padding: 30px; box-shadow: 0 0 10px rgba(0, 0, 0, 0.5); width: 80%; height: 60%; max-width: 400px; background-image: url("gameOver/gameOver.png"); background-size: cover; background-position: center; background-repeat: no-repeat; } .popAwal h1 { margin-left: 30px; margin-right: 25px; } #keluar { background-color: #f44336; } #keluar:hover { background-color: #d32f2f; } .starting h1 { margin-left: 30px; margin-right: 25px; } #keluar { background-color: #f44336; } #keluar:hover { background-color: #d32f2f; } .icon { width: 70px; height: 70px; background-image: url("https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcS0u9JtOtWHBixNexCHGzcnrI3bbe1SxzjJtQ&s"); background-size: cover; margin-right: 20px; margin-left: 20px; } .centered { display: flex; align-items: center; justify-content: center; } h1 { font-size: 40px; margin-right: 100px; } .text { padding-top: 30px; padding-left: 50px; color: rgb(255, 255, 255); font-weight: 90px; text-shadow: black 3px 4px 1px; } .text-spd { padding-bottom: 0px; padding-left: 50px; font-size: 28px; color: rgb(255, 255, 255); font-weight: 1000; text-shadow: black 3px 4px 1px; } #gameover { color: red; font-size: 90px; position: absolute; top: 280px; left: 300px; } #game { background: rgb(192, 232, 255); border: 1px solid white; background-image: url("mapGame/mapgame\ .png"); background-size: 50% 50%; background-position: center; background-repeat: repeat } .modegame { padding: 15px 30px; font-size: 20px; cursor: pointer; color: rgb(0, 0, 0); border: none; border-radius: 5px; margin: 10px 5px; display: block; width: 90%; max-width: 300px; margin-left: auto; margin-right: auto; transition: background-color 0.2s, color 0.25s; font-family: "Pixelify Sans", sans-serif; font-optical-sizing: auto; font-weight: 400; font-style: normal; } #mode-normal { background-color: #73e4c2; } #mode-normal:hover { background-color: #57c9aa; } #mode-tambahan { background-color: #9572e7; } #mode-tambahan:hover { background-color: #703db3; }