/* Variables */ :root { --body-color: #050505; --body-text-color: #f5f5f5; --checkout-color: #8f6ed5; --elements-color: #7c7cff; --h1-color: #f9fafb; --h2-color: #e5e7eb; --h3-color: #9ca3af; --radius: 6px; --container-width-max: 1280px; --page-width-max: 600px; --transition-duration: 2s; } body { margin: 0; padding: 0; background: var(--body-color); color: var(--body-text-color); overflow-y: scroll; } * { box-sizing: border-box; -webkit-tap-highlight-color: rgba(255, 255, 255, 0); } #__next { display: flex; justify-content: center; } .container { max-width: var(--container-width-max); padding: 45px 25px; display: flex; flex-direction: row; } .page-container { padding-bottom: 60px; max-width: var(--page-width-max); } h1 { font-weight: 600; color: var(--h1-color); margin: 6px 0 12px; font-size: 27px; line-height: 32px; } h1 span.light { color: var(--h3-color); } h2 { color: var(--h2-color); margin: 8px 0; } h3 { font-size: 17px; color: var(--h3-color); margin: 8px 0; } a { color: #ffffff; text-decoration: none; } header { position: relative; flex: 0 0 250px; padding-right: 48px; } .header-content { position: sticky; top: 45px; } .logo img { height: 20px; margin-bottom: 52px; } ul, li { list-style: none; padding: 0; margin: 0; } .card-list { display: flex; flex-wrap: wrap; align-content: flex-start; padding-top: 64px; } .card { display: block; border-radius: 10px; position: relative; padding: 12px; height: 320px; flex: 0 0 33%; min-width: 304px; width: 33%; margin: 0 20px 20px 0; text-decoration: none; box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(255, 255, 255, 0.08); background: #0b0b0f; } .card h2 { color: #fff; } .card h2.bottom { position: absolute; bottom: 10px; } .card img { width: 80%; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); } .error-message { color: #ef2961; } .FormRow, fieldset, input[type="number"], input[type="text"] { border-radius: var(--radius); padding: 5px 12px; width: 100%; background: #111827; color: var(--body-text-color); appearance: none; font-size: 16px; margin-top: 10px; } input[type="range"] { margin: 5px 0; width: 100%; } button { border-radius: var(--radius); color: white; font-size: larger; border: 0; padding: 12px 16px; margin-top: 10px; font-weight: 600; cursor: pointer; transition: all 0.2s ease; display: block; width: 100%; } button:disabled { opacity: 0.5; cursor: not-allowed; } .elements-style { color: var(--elements-color); border: 1px solid var(--elements-color); } .elements-style-background { background: var(--elements-color); transition: box-shadow var(--transition-duration); } .card.elements-style-background:hover { box-shadow: 20px 20px 60px #464e9c, -20px -20px 60px #8896ff; } .checkout-style { color: var(--checkout-color); border: 1px solid var(--checkout-color); } .checkout-style-background { background: #000000; color: #ffffff; border: 1px solid #ffffff; transition: box-shadow var(--transition-duration), transform 0.15s ease; } .card.checkout-style-background:hover { box-shadow: 0 0 0 2px #ffffff; transform: translateY(-2px); } /* Test card number */ .test-card-notice { display: block; margin-block-start: 1em; margin-block-end: 1em; margin-inline-start: 0px; margin-inline-end: 0px; } .card-number { display: inline; white-space: nowrap; font-family: Menlo, Consolas, monospace; color: #3c4257; font-weight: 500; } .card-number span { display: inline-block; width: 4px; } /* Code block */ code, pre { font-family: "SF Mono", "IBM Plex Mono", "Menlo", monospace; font-size: 12px; background: rgba(255, 255, 255, 0.04); padding: 12px; border-radius: var(--radius); max-height: 500px; width: var(--page-width-max); overflow: auto; } .banner { max-width: 825px; margin: 0 auto; font-size: 14px; background: #111827; color: #e5e7eb; border-radius: 50px; box-shadow: 0 12px 30px rgba(0, 0, 0, 0.8), 0 0 0 1px rgba(255, 255, 255, 0.08); display: flex; align-items: center; box-sizing: border-box; padding: 15px; line-height: 1.15; position: fixed; bottom: 2vh; left: 0; right: 0; text-align: center; justify-content: center; } @media only screen and (max-width: 980px) { .container { flex-direction: column; } .header-content { max-width: 280px; position: relative; top: 0; } .card { margin: 0 20px 20px 0; box-shadow: none; } .card-list { padding-top: 0; } .banner { box-shadow: none; bottom: 0; } } @media only screen and (max-width: 600px) { .container { flex-direction: column; } .card { display: block; border-radius: 8px; flex: 1 0 100%; max-width: 100%; padding-left: 0; padding-right: 0; margin: 0 0 20px 0; box-shadow: none; } .card-list { padding-top: 0; } code, pre, h3 { display: none; } .banner { box-shadow: none; bottom: 0; } }