File size: 3,467 Bytes
1ac84c3
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
: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 !important;
}