-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
181 lines (153 loc) · 3.02 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
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
@import url(https://fonts.google.com/specimen/Lexend+Deca);
@import url(https://fonts.google.com/specimen/Big+Shoulders+Display);
*{
margin: 0;
padding: 0;
box-sizing: border-box;
}
body{
background-color: hsl(0, 0%, 95%);
}
nav{
display: flex;
padding: 2% 0%;
justify-content: space-between;
align-items: center;
}
.nav-links{
flex: 1;
text-align: right;
}
.nav-links ul li{
list-style: none;
display:inline-block;
padding: 8px 12px;
position: relative;
}
.nav-links ul li a{
color: rgb(226, 37, 78);
text-decoration: none;
font-size: 15px;
}
.nav-links ul li::after{
content: '';
width: 0%;
height: 2px;
background: #f44336;
display: block;
margin: auto;
transition: 0.5s;
}
.nav-links ul li:hover::after{
width: 100%;
}
main{
width: 50%;
margin: auto;
display: flex;
justify-content: center;
height:100vh ;
flex-direction: column;
}
.firstbox{
background-color: hsl(31, 77%, 52%);
padding: 2em;
width: 50%;
}
.firstbox h2{
color: hsl(0, 0%, 95%);
padding-bottom: 5px;
padding-top: 70px;
font-weight: 700;
font-family:Big Shoulders Display ;
}
.firstbox p{
color:hsla(0, 0%, 100%, 0.75);
font-size: 15px;
font-weight: 400;
font-family:Lexend Deca ;
}
.firstbox button{
margin-top: 100px;
margin-bottom: 10px;
background-color:hsl(0, 0%, 95%);
font-size: 13px;
padding:10px 30px 10px 30px ;
border-radius: 500px;
border: 2px solid hsl(0, 0%, 95%);
color: hsl(31, 77%, 52%);
}
.sedan{
padding-top: 30px;
}
.secondbox{
background-color: hsl(184, 100%, 22%) ;
padding: 2em;
width: 50%;
}
.secondbox h2{
color: hsl(0, 0%, 95%);
padding-bottom: 5px;
padding-top: 70px;
font-weight: 700;
font-family:Big Shoulders Display ;
}
.secondbox p{
color:hsla(0, 0%, 100%, 0.75);
font-size: 15px;
font-weight: 400;
font-family:Lexend Deca ;
}
.secondbox button{
margin-top: 100px;
margin-bottom: 10px;
background-color:hsl(0, 0%, 95%);
font-size: 13px;
padding:10px 30px 10px 30px ;
border-radius: 500px;
border: 2px solid hsl(0, 0%, 95%);
color: hsl(184, 100%, 22%);
}
.suv{
padding-top: 30px;
}
.thirdbox{
background-color:hsl(179, 100%, 13%) ;
padding: 2em;
width: 50%;
}
.thirdbox h2{
color: hsl(0, 0%, 95%);
padding-bottom: 5px;
padding-top: 70px;
font-weight: 700;
font-family:Big Shoulders Display ;
}
.thirdbox p{
color:hsla(0, 0%, 100%, 0.75);
font-size: 15px;
font-weight: 400;
font-family:Lexend Deca ;
}
.thirdbox button{
margin-top: 100px;
margin-bottom: 10px;
background-color:hsl(0, 0%, 95%);
font-size: 13px;
padding:10px 30px 10px 30px ;
border-radius: 500px;
border: 2px solid hsl(0, 0%, 95%);
color:hsl(179, 100%, 13%) ;
}
.luxury{
padding-top: 30px;
}
.mainbox{
display: flex;
}
@media (max-width: 375px){
#mainbox{
display: flex;
flex-direction: column;
}
}