-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathstyle.css
More file actions
128 lines (107 loc) · 2.54 KB
/
style.css
File metadata and controls
128 lines (107 loc) · 2.54 KB
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
*,::after,::before{
margin: 0px;
transition: all 0.2s;
}
.heading {
padding-top: 100px;
font-size: 80px;
color: #fff;
text-align: center;
-webkit-animation: glow 1s ease-in-out infinite alternate;
-moz-animation: glow 1s ease-in-out infinite alternate;
animation: glow 1s ease-in-out infinite alternate;
}
.service_header{
color: antiquewhite;
text-align: center;
margin-top: 50px;
text-decoration: underline;
}
.service_section{
margin-top: 50px;
display: flex;
flex-direction: row;
justify-content: space-evenly;
}
.cook{
width: 100%;
height: 100%;
object-fit: cover;
box-shadow: 5px 5px 15px -5px white;
transition: all 0.2s;
}
.container1{
width: 20%;
}
.container1:hover .cook{
transform: scale(1.1);
box-shadow: 15px 15px 25px -5px white;
}
.container1:hover .overlay{
animation: glow 1s ease-in-out infinite alternate;
}
.overlay{
text-align: center;
color: white;
margin-top: 20px;
margin-bottom: 20px;
}
@keyframes glow {
from {
text-shadow: 0 0 10px #fff, 0 0 20px #fff, 0 0 30px #e60073, 0 0 40px #e60073, 0 0 50px #e60073, 0 0 60px #e60073, 0 0 70px #e60073;
}
to {
text-shadow: 0 0 20px #fff, 0 0 30px #ff4da6, 0 0 40px #ff4da6, 0 0 50px #ff4da6, 0 0 60px #ff4da6, 0 0 70px #ff4da6, 0 0 80px #ff4da6;
}
}
@media (max-width: 989px) {
.container1{
width: 100%;
}
.service_section{
flex-direction: column;
}
.hero{
height: 100%;
background-image: url('background2.jpeg');
background-repeat: repeat-y;
background-attachment: fixed;
}
.overlay{
font-size: 2rem;
}
}
.copy-right{
color: white;
text-align: center;
width: 100%;
position: fixed;
bottom: 0px;
}
.copy-right2{
color: white;
text-align: center;
width: 100%;
margin-top: 80px;
padding-bottom: 50px;
}
@media (min-width: 989px) {
.hero{
height: 100vh;
/* position: relative; */
animation-name: example;
animation-duration: 30s;
animation-iteration-count: infinite;
}
@keyframes example {
0% { background-image: url('background2.jpeg');
background-repeat: no-repeat;
background-attachment: fixed;
animation-timing-function: linear;
}
100% { background-image: url('background3.jpg');
background-repeat: no-repeat;
background-attachment: fixed;
animation-timing-function: linear;}
}
}