@import url("https://fonts.googleapis.com/css2?family=Marhey:wght@300..700&display=swap"); /**/ * { font-family: "Marhey", sans-serif; } header { padding: 50px 0 0; .container { display: flex; align-items: center; justify-content: space-between; gap: 20px; } } .game-box { padding-block: 140px; min-height: 600px; display: flex; align-items: center; .game-head { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 30px; span { font-size: 18px; font-weight: 600; } } .game-board { display: flex; align-items: center; justify-content: center; gap: 20px; flex-wrap: wrap; .card { width: calc(100% / 4 - 20px); border: 0; display: flex; align-items: center; justify-content: center; padding-top: 23%; position: relative; overflow: hidden; border-radius: 0; background-color: #f4f4f4; transition: 0.3s; cursor: pointer; img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; } &.match { opacity: 0; } } } } .bg-toggle { position: fixed; left: 30px; bottom: 30px; width: 50px; height: 50px; background-color: #00353b; border: 0; box-shadow: 0 0 0 5px rgba(0, 0, 0, 0.1); border-radius: 50%; cursor: pointer; display: flex; align-items: center; justify-content: center; z-index: 5; img { width: 24px; height: 24px; object-fit: contain; } } footer { background: url("../assets/path.svg") center; background-size: contain; height: 200px; } #result { background: #00813e; text-align: center; color: #fff; min-height: 200px; align-items: center; display: flex; justify-content: center; padding: 20px; font-weight: 700; font-size: 20px; }