-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathaboutus.css
161 lines (136 loc) · 2.95 KB
/
aboutus.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
body{
background-color: rgb(238, 138, 70);
}
html{
height: 100%;
overflow: hidden;
}
body{
margin: 0;
padding: 0;
perspective: 1px;
transform-style: preserve-3d;
height: 100%;
overflow-y: scroll;
overflow-x: hidden;
font-family: Cambria, Cochin, Georgia, Times, 'Times New Roman', serif;
}
h1{
font-size: 250%;
}
p{
font-size: 140%;
line-height: 150%;
color: #333;
}
.slide{
position: relative;
padding: 25vh 10%;
min-height: 110vh;
box-sizing: border-box;
box-shadow: 0 -1px 10px rgba(0,0,0.7);
transform-style: inherit;
}
img{
position: absolute;
top: 50%;
left: 35%;
width: 320px;
height: 240px;
transform: translateZ(.25px) scale(.75) translateX(-94%) translateY(-100%) rotate(2deg);
padding: 10px;
border-radius: 5px;
background: rgba(240, 230, 220, 0.7);
box-shadow: 0 0 8px rgba(0,0,0.7);
}
img:last-of-type{
transform: translateZ(.4px) scale(.6) translateX(-104%) translateY(-40%) rotate(-5deg);
}
.slide:before{
content: "";
position: absolute;
top: 0;
bottom: 0;
left: 0;
right: 0;
box-shadow: 0 0 8px 1px rgba(0,0,0.7);
}
.title{
width: 50%;
padding: 5%;
border-radius: 5px;
background: rgba(240, 230, 220, 0.7);
box-shadow: 0 0 8px rgba(0,0,0,0.7);
}
.slide:nth-child(2n) .title{
margin-left: 0;
margin-right: auto;
}
.slide:nth-child(2n+1) .title{
margin-left: auto;
margin-right: 0;
}
.slide, .slide:before{
background: 50% 50% / cover;
}
.header{
text-align: center;
font-size: 275%;
color: #fff;
text-shadow: 2px 2px 9px #0ba7c2;
}
#title{
background-image:url("aa.jpg");
background-repeat: no-repeat;
background-size: cover;
z-index: 2;
}
#title h1{
transform: translateZ(0.25px) scale(.75);
transform-origin: 50% 100%;
}
#slide1:before{
background-image:url("cc.jpg");
background-repeat: no-repeat;
background-size: cover;
transform: translateZ(-1px) scale(2);
}
#slide2{
background-image: url("bb.jpg");
z-index: 2;
}
#slide3::before{
background-image: url("dd.png");
transform: translateZ(-1px) scale(2);
}
#slide4{
background-image: url("vecteezy_abstract-blue-fluid-wave-background_.jpg");
/* z-index: 2; */
}
#slide4{
text-align: left;
color: #fff;
text-shadow: #333;
}
#slide4 h1{
max-width: 360px;
text-align: center;
margin-left: 35%;
}
.container2 {
max-width: 800px;
margin: 10px auto;
padding: 0 10px;
}
/* Elevated Image Styles */
.elevated-image {
display: block;
max-width: 100%;
border-radius: 10px;
overflow: hidden;
box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
transition: transform 0.3s ease-in-out;
}
.elevated-image:hover {
transform: translateY(-5px);
}