Spaces:
Runtime error
Runtime error
File size: 4,132 Bytes
d0b09d6 | 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 | @import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;600;700&display=swap');
html, body {
height: 100%;
margin: 0;
padding: 0;
}
body {
height: 100vh;
width: 100vw;
overflow: hidden;
font-family: 'Inter', Arial, sans-serif;
background: #e0eafc;
display: flex;
}
.main-layout {
display: flex;
width: 100%;
height: 100%;
}
#map {
flex: 1;
height: 100vh;
z-index: 1;
}
.container {
flex: 0 0 480px;
margin: auto 2rem;
position: relative;
top: auto;
left: auto;
transform: none;
height: fit-content;
background: rgba(255, 255, 255, 0.25);
border-radius: 28px;
box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.37);
padding: 3rem 2.5rem 2.5rem 2.5rem;
max-width: 440px;
width: 100%;
text-align: center;
z-index: 10;
backdrop-filter: blur(12px) saturate(180%);
border: 1.5px solid rgba(255,255,255,0.18);
animation: floatIn 0.8s cubic-bezier(.68,-0.55,.27,1.55);
}
@keyframes floatIn {
0% { opacity: 0; transform: translateY(20px) scale(0.98); }
100% { opacity: 1; transform: translateY(0) scale(1); }
}
h1 {
margin-bottom: 1.5rem;
color: #185a9d;
font-size: 2.3rem;
letter-spacing: 1.5px;
font-weight: 700;
text-shadow: 0 2px 8px rgba(24,90,157,0.08);
}
form {
display: flex;
flex-direction: column;
gap: 1.5rem;
}
label {
font-weight: 600;
color: #185a9d;
margin-bottom: 0.3rem;
text-align: left;
font-size: 1.08rem;
}
input, select {
padding: 1rem 0.9rem;
border: 1.5px solid #b2dfdb;
border-radius: 14px;
font-size: 1.08rem;
outline: none;
background: rgba(255,255,255,0.7);
transition: border 0.2s, box-shadow 0.2s;
box-shadow: 0 2px 8px rgba(24,90,157,0.04);
}
input:focus, select:focus {
border: 1.5px solid #185a9d;
box-shadow: 0 0 0 3px #b2dfdb;
}
button {
background: linear-gradient(90deg, #43cea2 0%, #185a9d 100%);
color: #fff;
border: none;
border-radius: 14px;
padding: 1.1rem;
font-size: 1.18rem;
font-weight: 700;
cursor: pointer;
margin-top: 0.7rem;
transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
box-shadow: 0 4px 16px rgba(24,90,157,0.10);
letter-spacing: 0.5px;
}
button:hover {
background: linear-gradient(90deg, #185a9d 0%, #43cea2 100%);
transform: translateY(-2px) scale(1.04);
box-shadow: 0 8px 24px rgba(24,90,157,0.13);
}
.result {
margin-top: 2.2rem;
padding: 1.3rem;
background: rgba(67,206,162,0.13);
border-radius: 12px;
color: #185a9d;
font-size: 1.22rem;
font-weight: 600;
display: none;
box-shadow: 0 2px 8px rgba(24,90,157,0.08);
border: 1.2px solid #b2dfdb;
}
.button-link {
display: inline-block;
background: linear-gradient(90deg, #43cea2 0%, #185a9d 100%);
color: #fff;
border: none;
border-radius: 14px;
padding: 1.1rem;
font-size: 1.18rem;
font-weight: 700;
cursor: pointer;
margin-top: 0.7rem;
transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
box-shadow: 0 4px 16px rgba(24,90,157,0.10);
letter-spacing: 0.5px;
text-decoration: none;
text-align: center;
}
.button-link:hover {
background: linear-gradient(90deg, #185a9d 0%, #43cea2 100%);
transform: translateY(-2px) scale(1.04);
box-shadow: 0 8px 24px rgba(24,90,157,0.13);
}
@media (max-width: 900px) {
.main-layout {
flex-direction: column;
}
.container {
flex: 0 0 auto;
width: 90%;
margin: 1rem auto;
}
#map {
flex: 1;
height: 50vh;
}
}
@media (max-width: 600px) {
.container {
max-width: 98vw;
padding: 1.2rem 0.5rem 1rem 0.5rem;
}
h1 {
font-size: 1.5rem;
}
input, select {
font-size: 1rem;
padding: 0.8rem 0.7rem;
}
button {
font-size: 1rem;
padding: 0.9rem;
}
}
|