-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathwelcomePage.css
109 lines (93 loc) · 2.16 KB
/
welcomePage.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
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
body {
background-color: #000; /* Dark background */
color: #eee; /* Light text color */
font-family: Arial, sans-serif;
display: flex;
flex-direction: column;
justify-content: flex-start;
align-items: center;
min-height: 100vh;
margin: 0;
overflow-x: hidden; /* Allow vertical scrolling, hide horizontal scrolling */
}
.container {
text-align: center;
max-width: 100%;
}
#text-container {
position: relative;
z-index: 2;
margin-bottom: 20px;
}
h1 {
font-size: 48px;
margin: 20px 0;
color: #e0e0e0;
animation: fadeIn 3s ease-out forwards;
animation-delay: 2s;
opacity: 0;
text-shadow: 0px 0px 10px #ff0000; /* Add subtle glow effect */
}
#delayed-image {
animation: fadeIn 3s ease-out forwards;
animation-delay: 4s;
max-height: 50vh;
width: auto;
}
#text-container:hover h1 {
opacity: 1;
transition: opacity 0.5s ease-in-out;
}
#text-container h1:active {
transform: scale(0.95);
transition: transform 0.1s;
}
@keyframes fadeIn {
0% { opacity: 0; }
100% { opacity: 1; }
}
.responsive-image {
max-width: 100%;
height: auto;
display: block;
margin: 0 auto;
}
/* Additions for Pill Images and Links */
.choice-container {
margin: 5px 0; /* Adjusts space around the pill links */
}
.pill-link {
display: inline-block;
padding: 10px 20px;
margin: 10px;
color: #fff;
text-decoration: none;
font-size: 20px;
border-radius: 5px;
transition: background-color 0.3s ease, box-shadow 0.3s ease;
text-shadow: 0px 0px 5px rgba(255, 255, 255, 0.6); /* Adds a glowing text effect */
}
.red-pill {
background-color: #e53935;
}
.red-pill:hover {
background-color: #c62828;
box-shadow: 0px 0px 15px rgba(229, 57, 53, 0.7);
}
.blue-pill {
background-color: #1e88e5;
}
.blue-pill:hover {
background-color: #1565c0;
box-shadow: 0px 0px 15px rgba(30, 136, 229, 0.7);
}
/* Styling the pill image container */
.pill-image-container {
margin: 10px 0; /* Space between buttons and image */
}
.pill-image {
max-width: 80%;
height: auto;
display: block;
margin: 0 auto; /* Center the image */
}