-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.css
137 lines (116 loc) · 3.45 KB
/
index.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
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
body {
font-family: 'Arial', sans-serif;
margin: 0;
padding: 0;
color: #eee; /* Light grey text for better readability */
background-color: #1f1f1f; /* Dark grey background */
height: 100vh;
display: flex;
flex-direction: column;
animation: fadeIn 1s ease-in;
}
header {
background-color: #2a2a2a; /* Dark grey header */
color: #fff; /* White text */
padding: 15px 0; /* Increased padding for better spacing */
text-align: center; /* Centered header content */
box-shadow: 0 2px 5px rgba(0, 0, 0, 0.5); /* Subtle shadow for depth */
}
#hero {
flex: 1;
background: url('logo.jpg') no-repeat center center/cover;
color: #fff; /* White text */
text-align: center;
padding: 60px 20px; /* Increased padding for more breathing room */
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
transition: background-color 0.3s ease; /* Smooth background transition */
}
#hero img {
max-width: 150px; /* Increased max width for a better view */
border-radius: 50%; /* Circular image */
margin-bottom: 20px; /* Space below the image */
}
#Begin {
background-color: #000; /* Black background */
border: none; /* Removed border */
padding: 15px 30px; /* Increased padding for a larger button */
font-size: 18px; /* Larger font size */
cursor: pointer;
border-radius: 10px;
transition: background-color 0.3s ease, transform 0.3s ease; /* Smooth transition */
}
#Begin a {
text-decoration: none; /* Remove underline */
color: #fff; /* White text */
}
#Begin:hover {
background-color: #28a745; /* Green on hover */
transform: scale(1.05); /* Slightly scale up on hover */
}
footer {
background-color: #2a2a2a;
color: #fff;
text-align: center;
padding: 15px; /* Increased padding for footer */
position: relative; /* Position relative for any adjustments */
box-shadow: 0 -2px 5px rgba(0, 0, 0, 0.5); /* Subtle shadow for depth */
}
/* Responsive Styles */
@media (max-width: 600px) {
header {
padding: 10px 0; /* Adjusted padding for smaller screens */
}
#hero h1 {
font-size: 1.8em; /* Responsive heading size */
}
#Begin {
padding: 10px 20px; /* Adjusted button padding */
font-size: 16px; /* Adjusted button font size */
}
}
/* Media Queries for Small Devices */
@media (max-width: 768px) {
header {
padding: 15px 0; /* Adjust header padding */
}
main {
width: 95%; /* Increase width for smaller screens */
margin: 10px; /* Reduce margin */
}
nav ul li {
margin: 0 10px; /* Reduce margin for navigation */
}
h1 {
font-size: 24px; /* Adjust heading size */
}
button {
padding: 8px 16px; /* Adjust button padding */
}
}
/* Media Queries for Extra Small Devices */
@media (max-width: 480px) {
header {
padding: 10px 0; /* Further reduce header padding */
}
main {
width: 100%; /* Full width on extra small screens */
margin: 5px; /* Reduce margin */
}
h1 {
font-size: 20px; /* Further adjust heading size */
}
button {
font-size: 14px; /* Adjust button font size */
}
}
@keyframes fadeIn {
from {
opacity: 0;
}
to {
opacity: 1;
}
}