Changed around line 1
+ body {
+ margin: 0;
+ padding: 0;
+ display: flex;
+ justify-content: center;
+ align-items: center;
+ height: 100vh;
+ background: linear-gradient(135deg, #ff9a9e 0%, #fad0c4 100%);
+ font-family: 'Arial', sans-serif;
+ color: #333;
+ }
+
+ .card {
+ width: 300px;
+ height: 400px;
+ perspective: 1000px;
+ position: relative;
+ transform-style: preserve-3d;
+ transition: transform 0.8s;
+ }
+
+ .card.flipped {
+ transform: rotateY(180deg);
+ }
+
+ .front, .back {
+ width: 100%;
+ height: 100%;
+ position: absolute;
+ backface-visibility: hidden;
+ display: flex;
+ flex-direction: column;
+ justify-content: center;
+ align-items: center;
+ text-align: center;
+ padding: 20px;
+ border-radius: 15px;
+ box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
+ background: white;
+ }
+
+ .back {
+ transform: rotateY(180deg);
+ }
+
+ h1, h2 {
+ margin: 0;
+ font-size: 24px;
+ color: #ff6f61;
+ }
+
+ p {
+ margin: 10px 0;
+ font-size: 16px;
+ }
+
+ button {
+ margin-top: 20px;
+ padding: 10px 20px;
+ font-size: 16px;
+ color: white;
+ background-color: #ff6f61;
+ border: none;
+ border-radius: 5px;
+ cursor: pointer;
+ transition: background-color 0.3s;
+ }
+
+ button:hover {
+ background-color: #ff3b2f;
+ }
+
+ @media (max-width: 600px) {
+ .card {
+ width: 90%;
+ height: auto;
+ padding: 20px;
+ }
+
+ h1, h2 {
+ font-size: 20px;
+ }
+
+ p {
+ font-size: 14px;
+ }
+
+ button {
+ font-size: 14px;
+ }
+ }