* { margin: 0; padding: 0; box-sizing: border-box; } body { font-family: 'Montserrat', sans-serif; background-color: #f5f5f5; display: flex; justify-content: center; align-items: center; min-height: 100vh; color: #333; } .container { display: flex; flex-direction: column; align-items: center; gap: 30px; } .card-container { width: 350px; height: 200px; perspective: 1000px; } .card { position: absolute; width: 100%; height: 100%; transform-style: preserve-3d; transition: transform 0.8s; border-radius: 10px; box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15); padding: 20px; } .card.front { background-color: var(--primary-color, #1a237e); color: white; display: flex; flex-direction: column; justify-content: space-between; backface-visibility: hidden; } .card.back { background-color: white; transform: rotateY(180deg); backface-visibility: hidden; display: flex; flex-direction: column; justify-content: space-between; } .card-container.flipped .card.front { transform: rotateY(180deg); } .card-container.flipped .card.back { transform: rotateY(0deg); } .logo { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; } .logo-symbol { width: 40px; height: 40px; background-color: white; color: var(--primary-color, #1a237e); border-radius: 50%; display: flex; justify-content: center; align-items: center; font-weight: bold; font-size: 24px; font-family: 'Playfair Display', serif; } .logo-text { font-size: 24px; font-weight: 700; letter-spacing: 2px; } .tagline { font-size: 14px; font-weight: 300; letter-spacing: 1px; margin-top: -5px; } .pattern { position: absolute; bottom: 0; right: 0; width: 150px; height: 80px; background: linear-gradient(135deg, transparent 25%, rgba(255, 255, 255, 0.1) 25%, rgba(255, 255, 255, 0.1) 50%, transparent 50%, transparent 75%, rgba(255, 255, 255, 0.1) 75%); background-size: 20px 20px; border-radius: 0 0 10px 0; } .info { padding: 10px 0; } .name { font-size: 18px; font-weight: 600; color: var(--primary-color, #1a237e); letter-spacing: 1px; } .title { font-size: 14px; color: #666; margin-bottom: 15px; } .divider { width: 40px; height: 3px; background-color: var(--primary-color, #1a237e); margin-bottom: 15px; } .contact { font-size: 12px; line-height: 1.6; } .contact p { display: flex; align-items: center; gap: 8px; } .contact i { color: var(--primary-color, #1a237e); width: 15px; } .social-icons { display: flex; gap: 15px; margin-top: 10px; justify-content: flex-end; padding: 0 10px 10px 0; } .social-icons i { color: var(--primary-color, #1a237e); font-size: 16px; cursor: pointer; transition: transform 0.3s; } .social-icons i:hover { transform: translateY(-3px); } .controls { display: flex; flex-direction: column; align-items: center; gap: 15px; } #flip-btn { background-color: var(--primary-color, #1a237e); color: white; border: none; padding: 10px 20px; border-radius: 5px; cursor: pointer; font-family: 'Montserrat', sans-serif; font-weight: 500; transition: background-color 0.3s; } #flip-btn:hover { background-color: #0d1642; } .color-options { display: flex; gap: 10px; } .color-option { width: 25px; height: 25px; border-radius: 50%; cursor: pointer; transition: transform 0.3s; border: 2px solid white; box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2); } .color-option:hover { transform: scale(1.1); } @media (max-width: 400px) { .card-container { width: 300px; height: 180px; } .logo-symbol { width: 35px; height: 35px; font-size: 20px; } .logo-text { font-size: 20px; } }