-
Notifications
You must be signed in to change notification settings - Fork 0
/
green.css
158 lines (139 loc) · 2.79 KB
/
green.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
* {
margin: 0;
padding: 0;
box-sizing: border-box;
font-family: 'Poppins', sans-serif;
}
body {
display: flex;
justify-content: center;
align-items: center;
height: 100vh;
background: linear-gradient(135deg, #f0f0f0, #e5f0ff);
}
.container {
width: 100%;
height: 100%;
background: #fff;
display: flex;
box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
border-radius: 15px;
overflow: hidden;
}
.left-section, .right-section {
padding: 20px;
}
.left-section {
flex: 3;
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
background: #fff;
text-align: center;
}
.animated-heading {
font-size: 50px;
font-weight: 600;
margin-bottom: 20px;
color: #000000;
animation: fadeIn 2s ease-in-out;
}
.description {
font-size: 16px;
color: #555;
margin-bottom: 20px;
line-height: 1.5;
}
.left-section h5 {
font-size: 32px;
font-weight: 600;
margin-bottom: 20px;
color: #0060B9;
}
.left-section .buttons {
display: flex;
flex-direction: column;
gap: 20px;
margin-bottom: 20px;
}
.left-section .buttons button {
background-color: #0060B9;
border: none;
color: white;
padding: 12px 20px;
font-size: 16px;
cursor: pointer;
border-radius: 90px;
transition: background-color 0.3s, color 0.3s, transform 0.3s;
width: 100%;
box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}
.left-section .buttons button:hover {
background-color: white;
color: #0060B9;
border: 2px solid #0060B9;
transform: scale(1.05);
}
.quote {
font-size: 14px;
color: #777;
margin-top: 20px;
font-style: italic;
}
.right-section {
flex: 7;
display: flex;
justify-content: center;
align-items: center;
background: #f0f0f0;
position: relative;
overflow: hidden;
padding: 0;
}
.transition-image {
position: absolute;
width: 100%;
height: 100%;
object-fit: cover;
opacity: 0;
transition: opacity 1s ease-in-out;
}
.transition-image:first-child {
opacity: 1;
}
@keyframes fadeIn {
0% { opacity: 0; transform: translateY(-20px); }
100% { opacity: 1; transform: translateY(0); }
}
.blinking-cursor {
font-weight: 100;
font-size: 50px;
color: #000000;
animation: blink 1s step-end infinite;
}
@keyframes blink {
from, to {
color: transparent;
}
50% {
color: black;
}
}
.back-button {
position: absolute;
top: 20px;
left: 20px;
background-color: white;
border: none;
color: white;
padding: 0px;
font-size: 16px;
cursor: pointer;
border-radius: 1%;
transition: background-color 0.3s, color 0.3s, transform 0.3s;
}
.back-button:hover {
transform: scale(1.25);
color: #000000;
}