| 1 |
.couplet-container { |
| 2 |
padding: 80px 24px; |
| 3 |
margin: 0 auto; |
| 4 |
max-width: 800px; |
| 5 |
position: relative; |
| 6 |
} |
| 7 |
|
| 8 |
.couplet-content { |
| 9 |
position: relative; |
| 10 |
z-index: 1; |
| 11 |
} |
| 12 |
|
| 13 |
.couplet-title { |
| 14 |
font-size: 2.5rem; |
| 15 |
font-weight: 700; |
| 16 |
color: #1a1a1a; |
| 17 |
margin-bottom: 1rem; |
| 18 |
font-family: "Playfair Display", serif; |
| 19 |
} |
| 20 |
|
| 21 |
.couplet-subtitle { |
| 22 |
font-size: 1.2rem; |
| 23 |
color: #666; |
| 24 |
margin-bottom: 3rem; |
| 25 |
font-style: italic; |
| 26 |
} |
| 27 |
|
| 28 |
.couplet-verse { |
| 29 |
max-width: 600px; |
| 30 |
margin: 0 auto; |
| 31 |
padding: 40px; |
| 32 |
background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%); |
| 33 |
border-radius: 16px; |
| 34 |
box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05); |
| 35 |
position: relative; |
| 36 |
} |
| 37 |
|
| 38 |
.couplet-verse::before, |
| 39 |
.couplet-verse::after { |
| 40 |
content: '"'; |
| 41 |
position: absolute; |
| 42 |
font-size: 5rem; |
| 43 |
color: #2563eb; |
| 44 |
opacity: 0.1; |
| 45 |
font-family: "Playfair Display", serif; |
| 46 |
} |
| 47 |
|
| 48 |
.couplet-verse::before { |
| 49 |
top: -20px; |
| 50 |
left: 20px; |
| 51 |
} |
| 52 |
|
| 53 |
.couplet-verse::after { |
| 54 |
bottom: -40px; |
| 55 |
right: 20px; |
| 56 |
} |
| 57 |
|
| 58 |
.couplet-line { |
| 59 |
font-size: 1.3rem; |
| 60 |
line-height: 1.8; |
| 61 |
color: #333; |
| 62 |
margin-bottom: 1rem; |
| 63 |
font-family: "Playfair Display", serif; |
| 64 |
} |
| 65 |
|
| 66 |
.couplet-line:last-of-type { |
| 67 |
margin-bottom: 0; |
| 68 |
} |
| 69 |
|
| 70 |
.couplet-author { |
| 71 |
font-size: 1.1rem; |
| 72 |
color: #666; |
| 73 |
margin-top: 2rem; |
| 74 |
font-style: italic; |
| 75 |
} |
| 76 |
|
| 77 |
/* Hover Effects */ |
| 78 |
.couplet-verse:hover { |
| 79 |
transform: translateY(-5px); |
| 80 |
transition: transform 0.3s ease; |
| 81 |
} |
| 82 |
|
| 83 |
.couplet-verse:hover::before, |
| 84 |
.couplet-verse:hover::after { |
| 85 |
opacity: 0.2; |
| 86 |
transition: opacity 0.3s ease; |
| 87 |
} |
| 88 |
|
| 89 |
/* Responsive Styles */ |
| 90 |
@media (max-width: 768px) { |
| 91 |
.couplet-container { |
| 92 |
padding: 60px 16px; |
| 93 |
} |
| 94 |
|
| 95 |
.couplet-title { |
| 96 |
font-size: 2rem; |
| 97 |
} |
| 98 |
|
| 99 |
.couplet-subtitle { |
| 100 |
font-size: 1.1rem; |
| 101 |
margin-bottom: 2rem; |
| 102 |
} |
| 103 |
|
| 104 |
.couplet-verse { |
| 105 |
padding: 30px 20px; |
| 106 |
} |
| 107 |
|
| 108 |
.couplet-line { |
| 109 |
font-size: 1.1rem; |
| 110 |
line-height: 1.6; |
| 111 |
} |
| 112 |
|
| 113 |
.couplet-author { |
| 114 |
font-size: 1rem; |
| 115 |
margin-top: 1.5rem; |
| 116 |
} |
| 117 |
} |
| 118 |
|
| 119 |
/* Animation */ |
| 120 |
@keyframes fadeIn { |
| 121 |
from { |
| 122 |
opacity: 0; |
| 123 |
transform: translateY(20px); |
| 124 |
} |
| 125 |
to { |
| 126 |
opacity: 1; |
| 127 |
transform: translateY(0); |
| 128 |
} |
| 129 |
} |
| 130 |
|
| 131 |
.couplet-container { |
| 132 |
animation: fadeIn 0.8s ease-out; |
| 133 |
} |
| 134 |
|
| 135 |
/* Decorative Elements */ |
| 136 |
.couplet-verse::before { |
| 137 |
content: "❝"; |
| 138 |
} |
| 139 |
|
| 140 |
.couplet-verse::after { |
| 141 |
content: "❞"; |
| 142 |
} |