-
Notifications
You must be signed in to change notification settings - Fork 1
/
styles.css
135 lines (113 loc) · 2.92 KB
/
styles.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
body {
font-family: Inter, sans-serif;
text-align: center;
background-color: #fbf6e2;
margin: 0;
padding: 0;
color: rgba(37, 37, 37, 0.925); /* Adjust text color for contrast */
}
.content {
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
background: rgba(0, 0, 0, 0.5); /* Add transparency to make the text more readable */
padding: 20px;
border-radius: 10px;
}
h1 {
color: #4169e1;
margin: 0;
}
.hero-section {
padding: 50px 20px;
}
.hero-content {
max-width: 800px;
margin: auto;
}
.button-group {
display: flex;
justify-content: center;
gap: 10px; /* Adjust the spacing between buttons */
flex-wrap: wrap; /* Allow buttons to wrap to the next line */
}
.button-group a {
flex: 1;
max-width: 200px; /* Set a maximum width for the buttons */
text-align: center; /* Center the text inside the buttons */
}
.features-section, .about-section {
margin-top: 15vh; /* Push the section below the viewport height */
padding: 50px 20px;
}
h2 {
margin-bottom: 20px;
color: #000000;
}
.feature-grid {
display: flex; /* Activate Flexbox */
justify-content: center; /* Center horizontally */
gap: 20px; /* Adjust the spacing between boxes */
flex-wrap: wrap; /* Allows the boxes to wrap to the next line if needed */
flex: 1 1 250px; /* Allow flex items to grow and shrink, with a base size of 250px */
}
.feature-item {
background-color: rgba(245, 232, 181, 0.6); /* Semi-transparent background */
border-radius: 15px; /* Round the corners for aesthetics */
padding: 20px; /* Adds space inside the element */
margin: 15px 0; /* Space between the feature boxes */
box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
}
.button:hover {
opacity: 0.8;
}
.usualbutton {
display: inline-block;
padding: 10px 20px;
margin: 5px;
border-radius: 25px;
text-decoration: none;
font-size: 1em;
color: white;
background: #4169e1;
transition: background-color 0.3s ease;
}
.redbutton {
display: inline-block;
padding: 10px 20px;
margin: 5px;
border-radius: 25px;
text-decoration: none;
font-size: 1em;
color: white;
background: #de0a26;
transition: background-color 0.3s ease;
}
.purple {
display: inline-block;
padding: 10px 20px;
margin: 5px;
border-radius: 25px;
text-decoration: none;
font-size: 1em;
color: white;
background: #7289da;
transition: background-color 0.3s ease;
}
.usualbutton:hover,
.redbutton:hover,
.purple:hover,
.feature-item:hover {
transform: scale(1.05); /* Increase size by 5% */
transition: transform 0.2s; /* Smooth transition */
}
.usualbutton,
.redbutton,
.purple,
.feature-item {
transition: transform 0.2s; /* Smooth transition back */
}
h1, h2, h3, p, a, .button-group a {
text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3); /* Add drop shadow to text */
}