-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
103 lines (96 loc) · 2.01 KB
/
style.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
@import url('https://fonts.googleapis.com/css?family=Roboto:700&display=swap');
* {
padding: 0;
margin: 0;
}
.wrapper {
background: url(bg4.jpg) no-repeat;
background-size: cover;
height: 100vh;
}
.navbar {
position: fixed;
height: 80px;
width: 100%;
top: 0;
left: 0;
background: rgba(0, 0, 0, 0.4);
}
.navbar .logo {
width: 140px;
height: auto;
padding: 20px 100px;
}
.navbar ul {
float: right;
margin-right: 20px;
}
.navbar ul li {
list-style: none;
margin: 0 8px;
display: inline-block;
line-height: 80px;
}
.navbar ul li a {
font-size: 20px;
font-family: 'Roboto', sans-serif;
color: white;
padding: 6px 13px;
text-decoration: none;
transition: .4s;
}
.navbar ul li a.active,
.navbar ul li a:hover {
background: red;
border-radius: 2px;
}
.wrapper .center {
position: absolute;
left: 50%;
top: 50%;
transform: translate(-50%, -50%);
font-family: sans-serif;
text-align: center;
user-select: none;
}
.center h1 {
color: rgb(0, 0, 0);
font-size: 60px;
font-weight: bold;
margin: 0; /* No margin for h1 */
width: 100%;
}
.center h2 {
color: rgb(0, 0, 0);
font-size: 60px;
font-weight: bold;
margin: 0; /* No margin for h2 */
}
.center h1 {
margin-bottom: 20px; /* Gap between h1 and h2 (if needed) */
}
.center .buttons {
display: flex;
flex-wrap: wrap;
justify-content: center;
gap: 20px; /* Adds space between the buttons */
width: 100%;
max-width: 1100px;
margin-top: 40px; /* Add gap between buttons and heading */
}
.buttons button {
height: 70px;
width: 180px;
font-size: 18px;
font-weight: 600;
color: #050505;
background: rgb(78, 177, 202);
outline: none;
cursor: pointer;
border: 1px solid #4cbbe7;
border-radius: 25px;
transition: .4s;
}
.buttons button:hover {
background: #7ea4eb;
}