diff --git a/style.css b/style.css new file mode 100644 index 0000000..f6ea972 --- /dev/null +++ b/style.css @@ -0,0 +1,99 @@ +body { + font-family: Arial, sans-serif; + display: flex; + justify-content: center; + align-items: center; + height: 100vh; + background-color: #f4f4f4; + margin: 0; +} + +.container { + text-align: center; +} + +.input-group { + display: flex; + flex-direction: column; + align-items: center; + margin-bottom: 10px; +} + +.card-container { + perspective: 1000px; + display: flex; + justify-content: center; + align-items: center; + margin-top: 20px; +} + +.card { + position: relative; + width: 85.60mm; + height: 53.98mm; + transition: transform 0.6s; + transform-style: preserve-3d; + border-radius: 10px; + box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); +} + +.card-side { + position: absolute; + width: 100%; + height: 100%; + backface-visibility: hidden; + display: flex; + flex-direction: column; + justify-content: center; + align-items: center; + border-radius: 10px; +} + +.front { + background: linear-gradient(135deg, #7b4397, #dc2430); + color: white; +} + +.back { + background: linear-gradient(135deg, #7b4397, #dc2430); + color: white; + transform: rotateY(180deg); +} + +.card-detail { + margin: 10px; +} + +.magstripe { + height: 20%; + width: 100%; + background: black; + margin-top: 10px; +} + +#cvv { + margin-top: 10px; + text-align: right; + padding-right: 10px; +} + +button { + padding: 10px 20px; + background-color: #3498db; + color: white; + border: none; + border-radius: 5px; + cursor: pointer; + margin: 5px; +} + +button:hover { + background-color: #2980b9; +} + +input { + padding: 10px; + width: 200px; + border: 1px solid #ccc; + border-radius: 5px; +}