2025-11-29 22:02:13 +07:00

134 lines
3.2 KiB
CSS

body {
background-color: rgb(24, 24, 24);
color: white;
text-align: left;
font-family: "Comic Sans MS", cursive, sans-serif;
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;
align-items: left;
justify-content: left;
padding-bottom: 20px;
padding-top: 20px;
}
.starting {
position: absolute;
top: 21px;
left: 51px;
width: 1056px;
height: 480px;
background-color: rgba(100, 100, 100, 0.8);
display: flex;
align-items: center;
justify-content: center;
z-index: 10;
}
#start {
position: absolute;
top: 21px;
left: 51px;
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;
}
.popAwal 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://upload.wikimedia.org/wikipedia/commons/thumb/9/9c/Nazi_Swastika.svg/2048px-Nazi_Swastika.svg.png");
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: white;
}
#gameover {
color: red;
font-size: 90px;
position: absolute;
top: 280px;
left: 300px;
}
#game {
background: rgb(192, 232, 255);
border: 1px solid white;
}
.modegame {
padding: 15px 30px;
font-size: 20px;
cursor: pointer;
color: white;
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;
}
#mode-normal {
background-color: #73e4c2;
}
#mode-normal:hover {
background-color: #57c9aa;
}
#mode-tambahan {
background-color: #9572e7;
}
#mode-tambahan:hover {
background-color: #703db3;
}