Chicken_Run/styles.css

94 lines
1.6 KiB
CSS

@font-face {
font-family: 'SuperMario';
src: url('font/SuperMario256.ttf') format('truetype');
}
body {
background-color: #2f2f2f;
display: flex;
justify-content: center;
align-items: center;
height: 80vh;
font-family: Arial, sans-serif;
margin: 0;
color: #fff;
}
.start-screen {
text-align: center;
position: relative;
}
.title-image {
width: 700px;
height: auto;
margin-bottom: 20px;
border-radius: 15px; /* Abrundung der Ecken */
}
.menu-button {
display: block;
margin: 10px auto;
padding: 10px 20px;
font-size: 1.5em;
background-color: red;
color: white;
border: none;
cursor: pointer;
transition: background-color 0.3s ease, transform 0.3s ease;
}
.menu-button:hover {
background-color: rgb(15, 194, 53);
transform: scale(1.1);
}
.bottom-images {
display: flex;
justify-content: space-between;
margin-top: 50px;
position: absolute;
bottom: 20px;
left: 1%;
right: 1%;
}
.bottom-image {
width: 100px;
height: auto;
}
.left {
position: absolute;
bottom: 20px;
left: 0;
}
.right {
position: absolute;
bottom: 20px;
right: 0;
}
.high-score-screen {
text-align: center;
margin-top: 50px;
}
.ready-screen {
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
height: 100vh;
text-align: center;
}
#countdown {
font-family: 'SuperMario', sans-serif;
font-size: 100px;
color: yellow;
font-weight: bold;
margin-top: 20px;
}