-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathStartstyle.css
77 lines (68 loc) · 1.88 KB
/
Startstyle.css
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
/* Style for the body and background */
body {
margin: 0;
padding: 0;
height: 100vh;
display: flex;
justify-content: center;
align-items: center;
background-image: url('./assets/start.jpg');
background-size: cover;
background-position: center;
background-repeat: no-repeat;
}
/* Center the container and button */
.start-container {
display: flex;
flex-direction: column;
justify-content: flex-end;
align-items: center;
height: 80%;
width: 100%;
padding-bottom: 200px; /* Adjust spacing between button and the bottom */
}
/* Pokémon-themed button */
button {
padding: 40px 100px;
border: none;
border-radius: 50px; /* Pill-shaped button */
background-color: #FF1C1C; /* Poké Ball red */
color: white;
font-size: 22px;
font-family: 'Roboto', sans-serif;
font-weight: bold;
cursor: pointer;
transition: background-color 0.3s ease, transform 0.3s ease;
box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2); /* Add some shadow for a 3D effect */
position: relative;
text-align: center; /* Ensure text is centered */
}
/* Poké Ball-like circle in the center */
button::before {
content: '';
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
width: 65px;
height: 65px;
border-radius: 50%;
background-color: white;
border: 3px solid black;
z-index: 0;
}
button span {
position: relative;
z-index: 1;
color:rgb(234, 221, 35);
-webkit-text-stroke: 1px rgb(104, 164, 248);
}
/* Hover effect */
button:hover {
background-color: #E60000; /* Slightly darker red on hover */
transform: scale(1.05); /* Slight enlarging on hover */
}
/* Active button effect */
button:active {
transform: scale(0.98); /* Shrink slightly when pressed */
}