Spaces:
Sleeping
Sleeping
:root { | |
--primary-color: #F97316; /* Orange */ | |
--secondary-color: #EA580C; /* Darker Orange */ | |
--accent-color: #FB923C; /* Lighter Orange */ | |
--dark-color: #202124; | |
--light-color: #FFFBEB; /* Creamy White */ | |
--border-radius: 8px; | |
} | |
body { | |
font-family: 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif; | |
margin: 0; | |
padding: 0; | |
background-color: var(--light-color); | |
color: var(--dark-color); | |
} | |
h1 { | |
text-align: center; | |
margin: 20px 0; | |
color: var(--primary-color); | |
font-size: 2.5rem; | |
text-shadow: 1px 1px 2px rgba(0,0,0,0.1); | |
} | |
#game-container { | |
display: flex; | |
justify-content: space-around; | |
margin: 20px; | |
height: 80vh; | |
gap: 20px; | |
display: none; /* Hidden by default */ | |
} | |
#streetview-container { | |
width: 50%; | |
height: 100%; | |
border-radius: var(--border-radius); | |
box-shadow: 0 4px 6px rgba(0,0,0,0.1); | |
} | |
#map-container { | |
width: 30%; | |
height: 100%; | |
border-radius: var(--border-radius); | |
box-shadow: 0 4px 6px rgba(0,0,0,0.1); | |
} | |
#chat-container { | |
width: 20%; | |
height: 100%; | |
display: flex; | |
flex-direction: column; | |
border-radius: var(--border-radius); | |
background-color: white; | |
padding: 15px; | |
box-shadow: 0 4px 6px rgba(0,0,0,0.1); | |
} | |
#streetview, #map, #result-map { | |
height: 100%; | |
width: 100%; | |
border-radius: var(--border-radius); | |
} | |
#chat-log { | |
flex-grow: 1; | |
overflow-y: auto; | |
margin-bottom: 15px; | |
padding: 10px; | |
background-color: #f8f9fa; | |
border-radius: var(--border-radius); | |
} | |
#chat-log div { | |
margin-bottom: 10px; | |
padding: 8px 12px; | |
background-color: white; | |
border-radius: 18px; | |
box-shadow: 0 1px 2px rgba(0,0,0,0.1); | |
} | |
#chat-log div strong { | |
color: var(--primary-color); | |
} | |
#controls { | |
display: flex; | |
justify-content: center; | |
} | |
button { | |
background: linear-gradient(135deg, var(--secondary-color), var(--primary-color)); | |
color: white; | |
border: none; | |
padding: 10px 20px; | |
border-radius: var(--border-radius); | |
cursor: pointer; | |
font-weight: 500; | |
transition: all 0.2s; | |
box-shadow: 0 2px 4px rgba(0,0,0,0.1); | |
} | |
button:hover { | |
background: linear-gradient(135deg, #D9500B, #E56A15); /* Slightly darker gradient on hover */ | |
transform: translateY(-1px); | |
box-shadow: 0 4px 8px rgba(0,0,0,0.15); | |
} | |
#result-screen { | |
margin: 20px auto; | |
max-width: 800px; | |
text-align: center; | |
background-color: white; | |
padding: 30px; | |
border-radius: var(--border-radius); | |
box-shadow: 0 4px 12px rgba(0,0,0,0.1); | |
} | |
#result-summary { | |
margin: 20px 0; | |
font-size: 1.2rem; | |
} | |
#result-summary p { | |
margin: 10px 0; | |
} | |
.marker-label { | |
color: white; | |
font-weight: bold; | |
text-align: center; | |
padding: 2px 6px; | |
border-radius: 50%; | |
} | |
#lobby-container { | |
max-width: 500px; | |
margin: 40px auto; | |
padding: 30px; | |
background-color: white; | |
border-radius: var(--border-radius); | |
box-shadow: 0 4px 12px rgba(0,0,0,0.1); | |
text-align: center; | |
} | |
#lobby-container h2 { | |
margin-top: 0; | |
margin-bottom: 20px; | |
} | |
#lobby-container hr { | |
margin: 20px 0; | |
border: 0; | |
border-top: 1px solid #eee; | |
} | |
#lobby-container input { | |
width: calc(100% - 22px); | |
padding: 10px; | |
margin-bottom: 10px; | |
border: 1px solid #ccc; | |
border-radius: var(--border-radius); | |
} | |
/* Hide the address text in Street View */ | |
.gm-iv-address { | |
display: none ; | |
} | |