File size: 3,088 Bytes
9952873 6989afc 9952873 6989afc 9952873 29919c6 8d8c8c0 9952873 847c930 9952873 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 |
/* Root theme variables */
:root {
--bg: #f9fafc;
--card: #ffffff;
--primary: #6c63ff;
--primary-dark: #5548d3;
--muted: #6b7280;
--radius: 24px;
--transition: 0.25s ease;
font-family: "Inter", sans-serif;
}
body {
margin: 0;
/* background: var(--bg); */
min-height: 100vh;
display: flex;
justify-content: center;
align-items: flex-start;
padding: 20px;
background-image: url("https://picsum.photos/1200/800");
background-repeat: no-repeat;
background-size: cover;
background-attachment: fixed;
}
/* Main grid scene */
.scene {
display: flex;
justify-content: center;
align-items: flex-start;
grid-template-columns: 2fr 1fr;
gap: 22px;
width: 100%;
max-width: 1080px;
position: relative;
}
/* Responsive: stack layout on mobile */
@media (max-width: 768px) {
.scene {
grid-template-columns: 1fr;
}
.panel {
order: -1; /* Show info panel above form */
}
}
/* Background blob */
.blob {
position: absolute;
inset: 0;
background: radial-gradient(circle at 30% 20%, #6c63ff22, transparent 70%),
radial-gradient(circle at 80% 80%, #00c2a822, transparent 70%);
z-index: -1;
}
/* Card */
.card {
background: var(--card);
padding: 28px;
border-radius: var(--radius);
box-shadow: 0 12px 36px rgba(0, 0, 0, 0.08);
transition: box-shadow var(--transition);
}
.card:hover {
box-shadow: 0 16px 40px rgba(0, 0, 0, 0.12);
}
.hero h1 {
font-size: clamp(1.5rem, 4vw, 2.2rem);
font-weight: 800;
margin: 0;
color: #111827;
}
.hero p {
font-size: 0.95rem;
color: var(--muted);
margin-top: 6px;
}
/* Form */
form {
display: flex;
flex-direction: column;
gap: 20px;
margin-top: 20px;
}
.row {
display: flex;
gap: 20px;
}
/* Stack fields on mobile */
@media (max-width: 600px) {
.row {
flex-direction: column;
gap: 14px;
}
}
.field {
flex: 1;
display: flex;
flex-direction: column;
}
label {
font-size: 0.85rem;
font-weight: 600;
margin-bottom: 6px;
}
input {
padding: 14px 16px;
font-size: 1rem;
border-radius: var(--radius);
border: 1px solid #e5e7eb;
transition: border var(--transition), box-shadow var(--transition);
outline: none;
}
input:focus {
border-color: var(--primary);
box-shadow: 0 0 0 3px #6c63ff33;
}
/* Button */
.btn {
background: var(--primary);
color: #fff;
border: none;
padding: 14px 20px;
border-radius: var(--radius);
font-size: 1.1rem;
font-weight: 600;
cursor: pointer;
transition: background var(--transition), transform var(--transition);
width: 100%;
}
.btn:hover {
background: var(--primary-dark);
transform: translateY(-2px);
}
.result {
margin-top: 16px;
font-size: 1.05rem;
font-weight: 600;
text-align: center;
color: #111827;
}
/* Side panel */
.panel {
background: var(--card);
padding: 20px;
border-radius: var(--radius);
box-shadow: 0 6px 18px rgba(0, 0, 0, 0.05);
font-size: 0.9rem;
color: #374151;
}
.iris-illustration {
width: 100%;
height: auto;
margin-bottom: 10px;
}
.small {
font-size: 0.85rem;
color: var(--muted);
}
|