-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.css
159 lines (157 loc) · 3.18 KB
/
index.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
@import url('https://fonts.googleapis.com/css2?family=Merriweather:wght@400;700;900&family=Open+Sans:wght@400;500;600;700&family=Playfair+Display:wght@400;500;600;700&display=swap');
*{
margin: 0;
padding: 0;
}
.home{
height: 100vh;
width: 100%;
background-image: url(banner.jpg);
background-repeat: no-repeat;
background-position: left;
background-size: cover;
box-sizing: border-box;
align-items: center;
justify-content: center;
}
.home .text{
padding: 120px 0 0 600px;
}
.home h1{
color: transparent;
animation: text_reveal .5s ease forwards;
animation-delay: 1.5s;
display: block;
width: fit-content;
position: relative;
text-decoration: none;
font-size: 70px;
font-weight: 600;
font-family: 'Playfair Display', serif;
margin-bottom: 10px;
}
.home h1:nth-child(1) {
animation-delay: 1.5s;
}
.home h1:nth-child(2) {
animation-delay: 2.5s;
}
.home h1:nth-child(3) {
animation-delay: 3.5s;
}
.home a{
display: inline-block;
text-decoration: none;
padding: 10px 20px;
color: #6caaa8;
background-color: #fff;
border-radius: 4px;
border: 2px solid black;
font-size: 20px;
font-weight: 600;
text-transform: uppercase;
letter-spacing: .1rem;
margin-top: 30px;
transition: .3s ease background-color;
}
.home h1 span{
position: absolute;
top: 0;
left: 0;
height: 100%;
width: 0%;
background-color: #6CAAA8;
animation: text_reveal_box 1s ease;
animation-delay: 1s;
}
.home h1:nth-child(1) span{
animation-delay: 1s;
}
.home h1:nth-child(2) span{
animation-delay: 2s;
}
.home h1:nth-child(3) span{
animation-delay: 3s;
}
/* Bot */
.bot{
background-color: black;
}
/* Doshas */
.dosha{
padding-left: 30px;
padding-right: 30px;
padding-top: 10px;
}
.dosha h2{
text-align: center;
font-size: 30px;
font-family: 'Playfair Display', serif;
}
.dosha p{
margin-bottom: 30px;
text-align: justify;
font-size: 20px;
font-family: 'Open Sans', sans-serif;
}
.dosha .doshimg .dos{
height: 100%;
width: 100%;
align-items: center;
background-size: cover;
}
/* Best */
/* Yoga */
.yoga{
padding-left: 30px;
padding-right: 30px;
padding-top: 10px;
}
.yoga h2{
text-align: center;
font-size: 40px;
font-family: 'Playfair Display', serif;
}
.yoga h3{
text-align: center;
font-size: 25px;
font-family: 'Playfair Display', serif;
}
.yoga p{
text-align: justify;
font-size: 20px;
font-family: 'Open Sans', sans-serif;
}
.yoga img{
height: 100%;
width: 100%;
align-items: center;
}
.bar{
width: 100%;
height: 50px;
background-color: #6CAAA8;
}
/*Keyframes*/
@keyframes text_reveal_box{
50%{
width: 100%;
left: 0;
}
100%{
width: 0;
left: 100%;
}
}
@keyframes text_reveal{
100%{
color: #fff;
}
}
/* Media Query */
@media only screen and (min-width: 768px){
.cta{
font-size: 2.5rem;
padding: 150px 0 0 500px;
}
}