styles.css 4.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225
  1. /* Основные стили для PhotoPlaces */
  2. * {
  3. margin: 0;
  4. padding: 0;
  5. box-sizing: border-box;
  6. }
  7. body {
  8. font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  9. overflow: hidden;
  10. background: #000;
  11. }
  12. #map-container {
  13. width: 100vw;
  14. height: 100vh;
  15. position: absolute;
  16. top: 0;
  17. left: 0;
  18. z-index: 1;
  19. }
  20. .welcome-overlay {
  21. position: absolute;
  22. top: 0;
  23. left: 0;
  24. width: 100%;
  25. height: 100%;
  26. display: flex;
  27. flex-direction: column;
  28. justify-content: center;
  29. align-items: center;
  30. z-index: 1000;
  31. background: radial-gradient(circle at center, transparent 0%, rgba(0, 0, 0, 0.4) 100%);
  32. pointer-events: none;
  33. }
  34. .welcome-content {
  35. text-align: center;
  36. color: white;
  37. z-index: 1001;
  38. pointer-events: auto;
  39. }
  40. h1 {
  41. font-size: 3.5rem;
  42. margin-bottom: 1rem;
  43. text-shadow: 0 0 20px rgba(255, 255, 255, 0.5),
  44. 0 0 40px rgba(255, 255, 255, 0.3),
  45. 2px 2px 4px rgba(0, 0, 0, 0.8);
  46. font-weight: 300;
  47. letter-spacing: 2px;
  48. }
  49. .subtitle {
  50. font-size: 1.2rem;
  51. margin-bottom: 3rem;
  52. opacity: 0.9;
  53. text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8);
  54. }
  55. .login-button {
  56. padding: 18px 50px;
  57. font-size: 1.3rem;
  58. font-weight: 600;
  59. color: white;
  60. background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  61. border: none;
  62. border-radius: 50px;
  63. cursor: pointer;
  64. transition: all 0.3s ease;
  65. box-shadow: 0 10px 30px rgba(102, 126, 234, 0.4),
  66. 0 0 20px rgba(102, 126, 234, 0.2);
  67. text-transform: uppercase;
  68. letter-spacing: 1px;
  69. position: relative;
  70. overflow: hidden;
  71. }
  72. .login-button::before {
  73. content: '';
  74. position: absolute;
  75. top: 50%;
  76. left: 50%;
  77. width: 0;
  78. height: 0;
  79. border-radius: 50%;
  80. background: rgba(255, 255, 255, 0.3);
  81. transform: translate(-50%, -50%);
  82. transition: width 0.6s, height 0.6s;
  83. }
  84. .login-button:hover::before {
  85. width: 300px;
  86. height: 300px;
  87. }
  88. .login-button:hover {
  89. transform: translateY(-3px);
  90. box-shadow: 0 15px 40px rgba(102, 126, 234, 0.6),
  91. 0 0 30px rgba(102, 126, 234, 0.3);
  92. }
  93. .login-button:active {
  94. transform: translateY(-1px);
  95. }
  96. .login-button span {
  97. position: relative;
  98. z-index: 1;
  99. }
  100. /* Модальные окна */
  101. .modal {
  102. display: none;
  103. position: fixed;
  104. z-index: 2000;
  105. left: 0;
  106. top: 0;
  107. width: 100%;
  108. height: 100%;
  109. background-color: rgba(0, 0, 0, 0.7);
  110. }
  111. .modal-content {
  112. background-color: #1a1a1a;
  113. margin: 15% auto;
  114. padding: 30px;
  115. border-radius: 15px;
  116. width: 90%;
  117. max-width: 400px;
  118. color: white;
  119. position: relative;
  120. }
  121. .close {
  122. color: #aaa;
  123. float: right;
  124. font-size: 28px;
  125. font-weight: bold;
  126. cursor: pointer;
  127. position: absolute;
  128. right: 20px;
  129. top: 15px;
  130. }
  131. .close:hover {
  132. color: white;
  133. }
  134. .modal-content h2 {
  135. margin-bottom: 20px;
  136. text-align: center;
  137. }
  138. .modal-content input {
  139. width: 100%;
  140. padding: 12px;
  141. margin: 10px 0;
  142. border: 1px solid #333;
  143. border-radius: 5px;
  144. background: #2a2a2a;
  145. color: white;
  146. }
  147. .modal-content button {
  148. width: 100%;
  149. padding: 12px;
  150. background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  151. color: white;
  152. border: none;
  153. border-radius: 5px;
  154. cursor: pointer;
  155. margin-top: 10px;
  156. }
  157. .modal-content a {
  158. color: #667eea;
  159. text-decoration: none;
  160. }
  161. .modal-content a:hover {
  162. text-decoration: underline;
  163. }
  164. /* Карточка места */
  165. .place-card {
  166. background: white;
  167. border-radius: 10px;
  168. padding: 20px;
  169. max-width: 300px;
  170. }
  171. .place-card h3 {
  172. color: #333;
  173. margin-bottom: 10px;
  174. }
  175. .place-card p {
  176. color: #666;
  177. margin-bottom: 5px;
  178. }
  179. /* Адаптивность */
  180. @media (max-width: 768px) {
  181. h1 {
  182. font-size: 2.5rem;
  183. }
  184. .subtitle {
  185. font-size: 1rem;
  186. margin-bottom: 2rem;
  187. }
  188. .login-button {
  189. padding: 15px 40px;
  190. font-size: 1.1rem;
  191. }
  192. .modal-content {
  193. margin: 20% auto;
  194. width: 95%;
  195. padding: 20px;
  196. }
  197. }