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;
+ }
+
+ .container {
+ perspective: 1000px;
+ }
+
+ .card {
+ width: 300px;
+ height: 400px;
+ position: relative;
+ transform-style: preserve-3d;
+ transition: transform 0.6s;
+ box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
+ }
+
+ .card .front, .card .back {
+ position: absolute;
+ width: 100%;
+ height: 100%;
+ backface-visibility: hidden;
+ display: flex;
+ flex-direction: column;
+ justify-content: center;
+ align-items: center;
+ background: white;
+ border-radius: 10px;
+ padding: 20px;
+ text-align: center;
+ }
+
+ .card .back {
+ transform: rotateY(180deg);
+ }
+
+ .card.flipped {
+ transform: rotateY(180deg);
+ }
+
+ h1, h2 {
+ margin: 0;
+ color: #333;
+ }
+
+ h1 {
+ font-size: 2.5em;
+ color: #ff6f61;
+ }
+
+ h2 {
+ font-size: 1.5em;
+ color: #333;
+ }
+
+ p {
+ font-size: 1.2em;
+ color: #555;
+ }
+
+ button {
+ margin-top: 20px;
+ padding: 10px 20px;
+ font-size: 1em;
+ color: white;
+ background: #ff6f61;
+ border: none;
+ border-radius: 5px;
+ cursor: pointer;
+ transition: background 0.3s;
+ }
+
+ button:hover {
+ background: #ff3b2f;
+ }
+
+ @media (max-width: 600px) {
+ .card {
+ width: 250px;
+ height: 350px;
+ }
+
+ h1 {
+ font-size: 2em;
+ }
+
+ h2 {
+ font-size: 1.2em;
+ }
+
+ p {
+ font-size: 1em;
+ }
+
+ button {
+ font-size: 0.9em;
+ }
+ }