Spaces:
Sleeping
Sleeping
File size: 2,166 Bytes
bf8d320 2928498 bf8d320 2928498 bf8d320 2928498 bf8d320 2928498 bf8d320 2928498 |
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 |
/* Base reset */
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
/* Page background */
body {
min-height: 100vh;
background: radial-gradient(circle at top, #1b1b2f, #0f0f1a);
font-family: "Inter", sans-serif;
color: #e6e6f0;
}
/* Main container */
.container {
max-width: 850px;
margin: 60px auto;
padding: 40px;
}
/* Title */
h1 {
font-family: "Playfair Display", serif;
font-size: 3rem;
text-align: center;
color: #f5d78e;
letter-spacing: 1px;
}
.subtitle {
text-align: center;
margin-top: 10px;
margin-bottom: 40px;
color: #c7c7d9;
}
/* Form */
form {
display: flex;
gap: 12px;
margin-bottom: 30px;
}
input {
flex: 1;
padding: 14px 16px;
border-radius: 10px;
border: none;
font-size: 1rem;
outline: none;
background: #111122;
color: #fff;
}
input::placeholder {
color: #8f8fa8;
}
button {
padding: 14px 24px;
border-radius: 10px;
border: none;
font-size: 1rem;
cursor: pointer;
background: linear-gradient(135deg, #f5d78e, #caa64b);
color: #1a1a1a;
font-weight: 500;
}
button:hover {
opacity: 0.9;
}
/* Current answer box */
.answer-box {
margin-bottom: 30px;
padding: 20px;
border-radius: 14px;
background: rgba(20, 20, 40, 0.85);
border-left: 4px solid #f5d78e;
}
/* History */
.history {
margin-top: 40px;
}
.history h2 {
font-family: "Playfair Display", serif;
color: #f5d78e;
margin-bottom: 20px;
}
/* History cards */
.history-item {
background: rgba(10, 10, 25, 0.85);
border-radius: 14px;
padding: 20px;
margin-bottom: 18px;
border-left: 3px solid rgba(245, 215, 142, 0.6);
box-shadow: inset 0 0 16px rgba(255, 215, 100, 0.04);
animation: fadeIn 0.4s ease;
}
.history-question {
font-weight: 500;
color: #f5d78e;
margin-bottom: 10px;
}
.history-answer {
font-size: 0.95rem;
line-height: 1.6;
color: #e6e6f0;
}
/* Footer */
.footer {
margin-top: 50px;
text-align: center;
font-size: 0.85rem;
color: #9a9ab3;
}
.footer span {
color: #f5d78e;
}
/* Animation */
@keyframes fadeIn {
from {
opacity: 0;
transform: translateY(6px);
}
to {
opacity: 1;
transform: translateY(0);
}
}
|