forked from zyfer416/GYM-WEBSITE
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathyoga_teacher.css
138 lines (120 loc) · 2.38 KB
/
yoga_teacher.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
/* General Styling */
.yoga-teacher {
padding: 60px 20px;
background-color: #000000;
text-align: center;
}
.yoga-teacher .heading {
font-size: 5rem;
margin-bottom: 40px;
color: #ffffff;
}
.yoga-teacher p {
font-family: Arial, Helvetica, sans-serif;
font-size: 2rem;
color: #6cff28;
margin-bottom: 40px;
}
/* Teacher Cards */
.teacher-list {
display: flex;
flex-wrap: wrap;
justify-content: center;
gap: 30px;
}
.teacher-card {
background: #4a4a4a;
border-radius: 10px;
padding: 20px;
max-width: 300px;
box-shadow: 0 4px 6px rgba(255, 255, 255, 0.308);
text-align: center;
transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.teacher-card:hover {
transform: translateY(-10px);
box-shadow: 0 6px 10px rgb(86, 255, 19);
}
.teacher-card img {
width: 100%;
border-radius: 10px;
margin-bottom: 15px;
}
.teacher-card h3 {
font-size: 2.5rem;
margin-bottom: 15px;
color: #6eff13;
}
.teacher-card p {
font-size: 1.5rem;
color: #ffffff;
}
header {
display: none;
}
/* Styles for Yoga Teacher Section */
.join-now-btn {
background-color: #28a745;
color: white;
border: none;
padding: 10px 20px;
font-weight: bold;
font-size: 2rem;
border-radius: 10px;
cursor: pointer;
margin-top: 20px;
transition: 0.3s ease;
}
.join-now-btn:hover {
background-color: #006115;
color: #000000;
}
/* Modal Styles */
.modal {
display: none; /* Hidden by default */
position: fixed;
z-index: 1000;
left: 0;
top: 0;
width: 100%;
height: 100%;
background: rgba(0, 0, 0, 0.5);
justify-content: center;
align-items: center;
}
.modal-content {
background: #fff;
padding: 20px;
border-radius: 8px;
text-align: center;
max-width: 400px;
margin: 0 auto;
position: relative;
}
.close-btn {
position: absolute;
top: 10px;
right: 15px;
font-size: 1.5rem;
color: #ffffff;
cursor: pointer;
}
.close-btn:hover {
color: #f00;
}
.modal h2{
color: #6cff28;
}
modal p{
color: #28a745;
}
/* Fade-in animation */
.fade-in {
opacity: 0; /* Initial state: completely invisible */
transform: translateY(20px); /* Slightly moved down */
transition: opacity 1s ease, transform 1s ease; /* Smooth animation */
}
.fade-in.active {
opacity: 1;
transform: translateY(0);
}