forked from Anup2601/advertisement-website
-
Notifications
You must be signed in to change notification settings - Fork 0
/
project.css
169 lines (162 loc) · 3.7 KB
/
project.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
@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,200;0,400;1,500&family=PT+Mono&family=Poppins:ital,wght@1,300;1,700&family=Roboto:wght@400;500&display=swap');
/* #####################body################## */
body{
font-family: 'Montserrat', sans-serif;
background: url("project2.jpg");
background-size: cover;
}
*{
margin-right: 0rem;
padding: 0rem;
box-sizing: border-box;
}
html{
font-size: 62.5%;
}
/* ########################header################## */
.header-contant{
font-size: large;
color: rgb(243, 241, 241);
text-align: center;
text-transform: capitalize;
}
a{
color: rgb(4, 4, 4);
text-decoration: none;
}
/* ##########################nave bar################### */
nav ul li{
text-align: center;
list-style: none;
display: inline-block;
font-size: 2.0rem;
text-transform: capitalize;
margin: 1.5rem 2.0rem;
/* margin-top: 100rem; */
}
nav{
display: flex;
justify-content: space-around;
text-align: center;
align-items: center;
height: 7.5rem;
/* width: 150rem; */
background-color: aqua;
float: inline-end;
position: sticky;
top: 0%;
/* margin-bottom: 400px; */
}
nav a:hover{
border-bottom: 0.2rem solid rgb(16, 12, 12);
font-size: 4rem;
}
.header-contant{
text-transform: capitalize;
font-weight: 700;
}
.btn{
display: inline-block;
padding: 0.5rem,1.5rem;
font-weight: 800;
text-transform: uppercase;
margin: 0.5rem 0;
color: red;
background-color: aliceblue;
border-radius: 50%;
padding: 2.0rem;
/* margin: px; */
}
.header-contant:hover{
color: red;
}
.btn:hover{
color: rgb(6, 6, 6);
box-shadow: 0 0 1rem cyan, 0 0 2rem cyan, 0 0 5rem cyan, 0 0 10rem cyan,0 0 20rem cyan;
opacity: 70%;
background-color: cyan;
}
.header-contant h1{
margin-top: 5.0rem;
}
.f1{
color: aliceblue;
}
.f2{
color: aqua;
}
/* #####################feature################### */
.feature{
max-width: 120rem;
width: 90%;
margin: 0 auto;
padding: 2rem 0;
}
.box-wrapper{
text-align: center;
color: white;
font-size: 2rem;
box-shadow: 0 0 1rem cyan, 0 0 2rem cyan, 0 0 5rem cyan, 0 0 10rem cyan,0 0 20rem cyan;
}
.box-wrapper::after{
display: block;
clear: both;
content: "";
}
.box1{
float: left;
width: 33.33%;
background-color: gray;
}
.box2{
float: left;
width: 33.33%;
background-color: red;
}
.box3{
float: left;
width: 33.33%;
background-color: gray;
}
h2{
text-transform: capitalize;
color: black;
}
.box1:hover{
color: black;
box-shadow: 0 0 1rem gray, 0 0 2rem gray, 0 0 5rem gray, 0 0 10rem gray,0 0 20rem gray;
}
.box2:hover{
color: black;
box-shadow: 0 0 1rem red, 0 0 2rem red, 0 0 5rem red, 0 0 10rem red,0 0 20rem red;
}
.box3:hover{
color: black;
box-shadow: 0 0 1rem gray, 0 0 2rem gray, 0 0 5rem gray, 0 0 10rem gray,0 0 20rem gray;
}
/* ####################footer################# */
.footer{
text-align: center;
color: aliceblue;
background-color: gray;
margin-top: 7.5rem;
position: sticky;
bottom: 0%;
font-size: 1.6rem;
}
.footer:hover{
background-color: black;
color: cyan;
box-shadow: 0 0 1rem cyan, 0 0 2rem cyan, 0 0 5rem cyan, 0 0 10rem cyan,0 0 20rem cyan;
}
/* ##################### meadia ################### */
@media(max-width:998px){
*{
font-size: 95%;
}
}
@media(max-width:767px){
*{
font-size: 75%;
}
}