-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
161 lines (118 loc) · 2.42 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
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
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
@import url('https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,300..800;1,300..800&family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&family=Titillium+Web:wght@400;700&display=swap');
* {
margin: 0;
padding: 0;
box-sizing: border-box;
font-family: "Titillium Web",sans-serif;
}
.container {
width: 100%;
height: 100vh;
padding-left: 8%;
padding-right: 8%;
background-image: linear-gradient(rgba(0,0,0,0.6),rgba(0,0,0,0.6) ) ,url(./images/bg.png);
background-position: center;
background-size: cover;
}
p {
font-size: 10px;
color: #fff;
line-height: 55px;
}
.navbar {
height: 12%;
display: flex;
justify-content: space-between;
align-items: center;
}
nav ul {
list-style: none;
display: flex;
column-gap: 20px;
}
nav ul li a {
color: white;
text-decoration: none;
transition: ease 0.5s;
}
nav ul li a:hover {
color: rgb(14, 13, 13);
}
.row {
display: flex;
column-gap: 10px;
align-items: center;
height: 88%;
}
.col {
flex-basis: 50%;
}
h1 {
color: #fff;
font-size:100px;
}
.desc {
font-size: 16px;
}
.btn {
padding: 12px 28px;
font-size: 12px;
font-weight: 700;
margin-top: 30px;
cursor: pointer;
color: #000;
background-color: #fff;
border-radius: 20px;
border: 1px solid red;
transition: ease 0.5s;
text-decoration: none;
}
.btn:hover {
background-color: #000;
color: #fff;
}
.cards {
max-width: 500px;
margin: auto;
}
.card {
width: 200px;
height: 230px;
display: inline-block;
background-position: center;
background-size: cover;
border-radius: 10px;
padding: 15px 25px;
cursor: pointer;
border: 1px solid red;
position: relative;
transition: ease 0.5s;
margin: 10px 15px;
}
.card:hover {
transform: translateY(-10px);
border-color: #fff;
}
.card .card-head {
background-color: rgba(0,0,0, 0.7 );
color: #fff;
border-radius: 6px;
padding: 6px;
}
.card .card-bottom {
position: absolute;
bottom: 26px;
}
.card.card-1 {
background-image:url(./images/pic-1.png) ;
}
.card.card-2 {
background-image:url(./images/pic-2.png) ;
}
.card.card-3 {
background-image:url(./images/pic-3.png) ;
}
.card.card-4 {
background-image:url(./images/pic-4.png) ;
}
@media(max-width:)