forked from dhairyagothi/100_days_100_web_project
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathflag.css
174 lines (150 loc) · 2.61 KB
/
flag.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
body {
font-family: Arial, sans-serif;
background-color: #f3f3f3;
text-align: center;
margin: 0;
padding: 0;
overflow: hidden;
}
.background-video {
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
overflow: hidden;
z-index: -1;
}
.background-video video {
min-width: 100%;
min-height: 100%;
width: auto;
height: auto;
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
background-size: cover;
}
.wrapper {
display: flex;
position: relative;
justify-content: left;
align-items: center;
height: 100vh;
}
.bar {
margin-left: 140px;
height: 650px;
width: 10px;
background: #222;
border-left: 2px solid rgb(167, 167, 167);
box-shadow: 10px 10px 20px #959595;
border-radius: 10px 10px 0px 0px;
}
.bar div{
background-color: #222;
height: 20px;
width: 130px;
left: -62px;
position: relative;
top: 92%;
border: 1px solid white;
}
.bar .bar-1{
width: 65px;
left: -27px;
}
.bar .bar-2{
width: 101px;
left: -44px;
}
.bar .bar-3{
width: 134px;
left: -62px;
}
.flag {
margin-top: -320px;
height: 300px;
width: 500px;
box-shadow: 10px 10px 20px #959595;
position: relative;
}
.top {
height: 100px;
width: 100%;
background-color: #FF671F;
}
.middle {
height: 100px;
width: 100%;
background-color: #fff;
display: flex;
justify-content: center;
align-items: center;
}
.middle img {
width: 80px;
animation: rotate 4s linear infinite;
}
.bottom {
height: 100px;
width: 100%;
background-color: #046A38;
}
@keyframes rotate {
from {
transform: rotate(0deg);
}
to {
transform: rotate(360deg);
}
}
.quote-container {
margin-left: 20px; /* Adjust margin for spacing */
padding: 20px;
background-color: #f9f9f9;
box-shadow: 5px 5px 15px rgba(0, 0, 0, 0.1);
border-radius: 10px;
text-align: center;
width: 450px; /* Adjust width as needed */
position: absolute;
top: 50%;
transform: translateY(-50%);
right: 190px; /* Adjust right position as needed */
}
.quote {
font-size: 1.5em;
font-weight: bold;
color: #333;
margin-bottom: 10px;
transition: color 0.3s ease;
}
.author {
font-size: 1.2em;
color: #555;
transition: color 0.3s ease;
}
.quote:hover {
color: #FF671F;
}
.quote:hover .author {
color: #046A38;
}
.quote-nav {
display: flex;
justify-content: space-between;
margin-top: 20px;
}
.quote-nav button {
background-color: #FF671F;
color: #fff;
border: none;
padding: 5px 10px;
border-radius: 5px;
cursor: pointer;
transition: background-color 0.3s ease;
}
.quote-nav button:hover {
background-color: #046A38;
}