game-C4P66qFB.css 19 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104
  1. :root {
  2. --dark-purple: #6d3154;
  3. --light-purple: #a94e83;
  4. --light-brown: #7c603f;
  5. --dark-brown: #433321;
  6. --tan: #efe4d6;
  7. }
  8. button {
  9. font-family: 'Alice', serif;
  10. }
  11. /****************
  12. * Main Menu UI *
  13. ****************/
  14. #main-menu-container {
  15. position: fixed;
  16. top: 0;
  17. left: 0;
  18. display: flex;
  19. width: 100%;
  20. height: 100vh;
  21. flex-direction: column;
  22. justify-content: center;
  23. cursor: default;
  24. }
  25. #main-menu-display {
  26. display: flex;
  27. width: 50%;
  28. min-width: 320px;
  29. height: 100vh;
  30. min-height: 560px;
  31. background-color: rgba(64, 64, 64, 0.6);
  32. background: linear-gradient(to right, rgba(64, 64, 64, 0.6), 60%, rgba(64, 64, 64, 0.6), 90%, rgba(0, 0, 0, 0));
  33. flex-direction: column;
  34. justify-content: space-around;
  35. align-items: center;
  36. }
  37. #main-menu-header-container {
  38. color: white;
  39. width: 100%;
  40. text-align: center;
  41. padding: 16px;
  42. }
  43. #main-menu-title {
  44. font-weight: normal;
  45. font-size: 72px;
  46. padding: 0;
  47. margin: 0;
  48. }
  49. #main-menu-subtitle {
  50. font-weight: normal;
  51. font-size: 36px;
  52. padding: 0;
  53. margin: 0;
  54. }
  55. #main-menu-button-list {
  56. display: flex;
  57. flex-direction: column;
  58. width: 100%;
  59. padding: 16px;
  60. }
  61. #main-menu-button-list .button-inner-container {
  62. margin: 8px;
  63. padding: 4px;
  64. border-radius: 32px;
  65. background-color: transparent;
  66. }
  67. #main-menu-button-list button {
  68. width: 100%;
  69. font-size: 24px;
  70. border: none;
  71. color: white;
  72. padding: 8px;
  73. background-color: transparent;
  74. }
  75. #main-menu-button-list button:hover {
  76. cursor: pointer;
  77. color: var(--light-purple);
  78. }
  79. #main-menu-button-list .button-inner-container.primary {
  80. width: 60%;
  81. margin: 8px;
  82. margin-left: auto;
  83. margin-right: auto;
  84. padding: 4px;
  85. border-radius: 32px;
  86. background-color: var(--light-purple);
  87. }
  88. #main-menu-button-list button.primary {
  89. font-size: 24px;
  90. border: 4px solid var(--dark-purple);
  91. color: white;
  92. padding: 8px;
  93. border-radius: 32px;
  94. background-color: var(--light-purple);
  95. }
  96. #main-menu-button-list button.primary:hover {
  97. cursor: pointer;
  98. border-color: white;
  99. }
  100. #main-menu-button-list .button-inner-container:first-child {
  101. height: 120px;
  102. border-radius: 60px;
  103. }
  104. #main-menu-button-list .button-inner-container:first-child button {
  105. border-radius: 60px;
  106. font-size: 48px;
  107. height: 100%;
  108. }
  109. /**************
  110. * Options UI *
  111. **************/
  112. #options-container {
  113. position: fixed;
  114. top: 0;
  115. left: 0;
  116. display: none;
  117. width: 100%;
  118. height: 100vh;
  119. flex-direction: column;
  120. justify-content: center;
  121. cursor: default;
  122. }
  123. #options-panel {
  124. display: flex;
  125. width: 50%;
  126. min-width: 320px;
  127. height: 100vh;
  128. min-height: 560px;
  129. background-color: rgba(64, 64, 64, 0.6);
  130. background: linear-gradient(to right, rgba(64, 64, 64, 0.6), 60%, rgba(64, 64, 64, 0.6), 90%, rgba(0, 0, 0, 0));
  131. flex-direction: column;
  132. justify-content: space-around;
  133. align-items: center;
  134. translate: -1024px 0;
  135. }
  136. #options-back-button {
  137. color: white;
  138. font-size: 72px;
  139. position: absolute;
  140. top: 0;
  141. left: 0;
  142. padding-left: 16px;
  143. }
  144. #options-back-button:hover {
  145. cursor: pointer;
  146. }
  147. #options-header-container {
  148. color: white;
  149. width: 100%;
  150. text-align: center;
  151. padding: 16px;
  152. }
  153. #options-list-container {
  154. color: white;
  155. flex-grow: 1;
  156. }
  157. .option-container {
  158. padding: 16px;
  159. margin: 8px;
  160. }
  161. /**************
  162. * Credits UI *
  163. **************/
  164. #credits-container {
  165. position: fixed;
  166. top: 0;
  167. left: 0;
  168. display: none;
  169. width: 100%;
  170. height: 100vh;
  171. flex-direction: column;
  172. justify-content: center;
  173. cursor: default;
  174. }
  175. #credits-panel {
  176. display: flex;
  177. width: 50%;
  178. height: 100%;
  179. background-color: rgba(64, 64, 64, 0.6);
  180. background: linear-gradient(to right, rgba(64, 64, 64, 0.6), 60%, rgba(64, 64, 64, 0.6), 90%, rgba(0, 0, 0, 0));
  181. flex-direction: column;
  182. justify-content: space-around;
  183. align-items: center;
  184. translate: -1024px 0;
  185. position: relative;
  186. }
  187. #credits-back-button {
  188. color: white;
  189. font-size: 72px;
  190. position: absolute;
  191. top: 0;
  192. left: 0;
  193. padding-left: 16px;
  194. }
  195. #credits-back-button:hover {
  196. cursor: pointer;
  197. }
  198. #credits-text {
  199. width: 512px;
  200. text-align: center;
  201. color: white;
  202. overflow-y: auto;
  203. height: 100%;
  204. padding: 32px;
  205. }
  206. .credits-section {
  207. padding: 32px;
  208. }
  209. .credits-section h3 {
  210. margin: 0;
  211. }
  212. .credits-section p {
  213. margin: 0;
  214. }
  215. .credits-section a {
  216. color: white;
  217. text-decoration: none;
  218. }
  219. .credits-section a:hover {
  220. text-decoration: underline;
  221. }
  222. /**************
  223. * Navigation *
  224. **************/
  225. #room-navigation {
  226. display: none;
  227. }
  228. #next {
  229. position: absolute;
  230. right: 20px;
  231. bottom: 20px;
  232. fill: #ffffff;
  233. text-shadow: 2px 2px 5px black;
  234. }
  235. #next:hover {
  236. fill: var(--light-purple);
  237. cursor: pointer;
  238. }
  239. #prev {
  240. position: absolute;
  241. left: 20px;
  242. bottom: 20px;
  243. fill: #ffffff;
  244. text-shadow: 2px 2px 5px black;
  245. }
  246. #prev:hover {
  247. fill: var(--light-purple);
  248. cursor: pointer;
  249. }
  250. /******************
  251. * Game Status UI *
  252. ******************/
  253. #game-status-container {
  254. position: fixed;
  255. top: 0;
  256. left: 0;
  257. display: none;
  258. color: #7E674F;
  259. font-family: 'Quicksand', sans-serif;
  260. font-weight: bold;
  261. transition: opacity 2s;
  262. }
  263. #game-status-container:hover {
  264. /* opacity: 0.3; */
  265. }
  266. #game-status-panel {
  267. width: 280px;
  268. height: 100px;
  269. background-color: var(--light-brown);
  270. border-radius: 16px;
  271. margin: 8px;
  272. padding: 8px;
  273. display: flex;
  274. flex-direction: column;
  275. gap: 8px;
  276. }
  277. #currency-meter-container {
  278. width: 256px;
  279. background-color: var(--tan);
  280. border-radius: 8px;
  281. display: flex;
  282. justify-content: start;
  283. gap: 8px;
  284. padding: 12px;
  285. }
  286. #currency-meter-container .meter-start,.meter-end {
  287. color: #7E674F;
  288. }
  289. #currency-meter-icon {
  290. /* padding: 12px; */
  291. }
  292. #currency-progress {
  293. width: 170px;
  294. height: 10px;
  295. border-radius: 8px;
  296. background-color: #dcd4ca;
  297. position: relative;
  298. display: inline-block;
  299. flex-grow: 1;
  300. margin: 6px;
  301. }
  302. #currency-meter-container:hover #currency-amount {
  303. opacity: 1;
  304. }
  305. #currency-progress-amount {
  306. width: 50%;
  307. height: 10px;
  308. border-radius: 8px;
  309. background-color: #ebac51;
  310. }
  311. #currency-amount {
  312. display: block;
  313. opacity: 0;
  314. text-align: right;
  315. line-height: 8px;
  316. margin-right: 8px;
  317. transition: 0.3s opacity;
  318. }
  319. #current-day-container {
  320. width: 100%;
  321. height: 46px;
  322. background-color: var(--tan);
  323. border-radius: 8px;
  324. display: flex;
  325. gap: 0;
  326. }
  327. #current-day-icon {
  328. padding: 12px 12px 12px 12px;
  329. }
  330. #current-day-icon img {
  331. width: 100%;
  332. }
  333. #current-day-text {
  334. flex-grow: 2;
  335. padding: 12px 12px 12px 0;
  336. }
  337. /***********
  338. * Brew UI *
  339. ***********/
  340. #brew-container {
  341. position: fixed;
  342. top: 0;
  343. right: 0;
  344. display: none;
  345. width: 100%;
  346. height: 100vh;
  347. }
  348. #brew-right-side {
  349. margin-top: auto;
  350. margin-bottom: auto;
  351. display: flex;
  352. flex-direction: column;
  353. flex-wrap: nowrap;
  354. position: fixed;
  355. right: 0;
  356. width: 512px;
  357. translate: 1024px 0;
  358. min-width: 460px;
  359. background-color: var(--tan);
  360. margin: 30px;
  361. border-radius: 8px;
  362. border: 8px solid var(--light-brown);
  363. box-shadow: 0 8px var(--dark-brown);
  364. }
  365. #brew-header-container {
  366. background-color: var(--light-brown);
  367. box-shadow: 0 8px var(--dark-brown);
  368. }
  369. #brew-header-container h1 {
  370. color: white;
  371. text-align: center;
  372. margin: 16px;
  373. }
  374. #brew-ingredients-container {
  375. height: 110px;
  376. margin: 15px;
  377. display: flex;
  378. flex-direction: row;
  379. gap: 10px;
  380. flex-wrap: nowrap;
  381. }
  382. .ingredient-container {
  383. border: 4px dashed #dec8ad;
  384. flex-grow: 1;
  385. border-radius: 8px;
  386. padding: 4px;
  387. position: relative;
  388. }
  389. .ingredient-container img {
  390. width: 100%;
  391. height: 100%;
  392. }
  393. .ingredient-container .ingredient-inventory-brew-count {
  394. position: absolute;
  395. border-radius: 50%;
  396. color: white;
  397. text-align: right;
  398. line-height: 24px;
  399. right: 0;
  400. bottom: 0;
  401. width: 24px;
  402. height: 24px;
  403. font-size: 24px;
  404. padding: 8px 12px;
  405. }
  406. .ingredient-container:hover {
  407. border: 4px dashed var(--light-brown);
  408. cursor: pointer;
  409. }
  410. #brew-selected-container {
  411. height: 220px;
  412. margin: 0 15px;
  413. display: flex;
  414. flex-direction: column;
  415. gap: 10px;
  416. }
  417. .ingredient-selected-container {
  418. border: 4px dashed #dec8ad;
  419. flex-grow: 1;
  420. border-radius: 8px;
  421. padding: 4px;
  422. max-height: 80px;
  423. }
  424. .ingredient-selected-container.disabled {
  425. border: 4px dashed #adadad;
  426. cursor: pointer;
  427. }
  428. .ingredient-selected-container .disabled-selected-ingredient {
  429. text-align: center;
  430. vertical-align: middle;
  431. color: gray;
  432. }
  433. .ingredient-selected-container .active-selected-ingredient {
  434. display: none;
  435. }
  436. .ingredient-selected-container .active-selected-ingredient .selected-ingredient-image {
  437. border: 4px dashed #dec8ad;
  438. border-radius: 40px;
  439. margin: 4px;
  440. width: 60px;
  441. height: 60px;
  442. padding: 4px;
  443. text-align: center;
  444. vertical-align: middle;
  445. }
  446. .ingredient-selected-container .active-selected-ingredient .selected-ingredient-image img {
  447. width: 100%;
  448. height: 100%;
  449. border-radius: 40px;
  450. }
  451. .ingredient-selected-container .active-selected-ingredient .selected-ingredient-description {
  452. margin: 12px;
  453. }
  454. .ingredient-selected-container .active-selected-ingredient .selected-ingredient-description h2 {
  455. margin: 0;
  456. padding: 0;
  457. }
  458. .ingredient-selected-container .active-selected-ingredient .selected-ingredient-description p {
  459. margin: 0;
  460. padding: 0;
  461. }
  462. .ingredient-selected-container:hover {
  463. border: 4px dashed var(--light-brown);
  464. cursor: pointer;
  465. }
  466. .ingredient-selected-container.disabled:hover {
  467. border: 4px dashed #adadad;
  468. cursor: auto;
  469. }
  470. #brew-potion-summary-container {
  471. height: 110px;
  472. margin: 15px;
  473. display: flex;
  474. flex-direction: row;
  475. }
  476. #potion-icon-container {
  477. border: 4px dashed #dec8ad;
  478. border-radius: 50px;
  479. margin: 15px;
  480. width: 80px;
  481. height: 80px;
  482. padding: 4px;
  483. text-align: center;
  484. vertical-align: middle;
  485. position: relative;
  486. }
  487. #potion-icon {
  488. display: block;
  489. width: 80px;
  490. height: 80px;
  491. border-radius: 40px;
  492. background-color: #15122f;
  493. }
  494. #potion-icon img {
  495. width: 100%;
  496. height: 100%;
  497. border-radius: 40px;
  498. }
  499. #potion-icon-container .potion-inventory-count {
  500. position: absolute;
  501. border-radius: 50%;
  502. color: white;
  503. text-align: right;
  504. line-height: 24px;
  505. right: 0;
  506. bottom: 0;
  507. width: 24px;
  508. height: 24px;
  509. font-size: 24px;
  510. padding: 8px 12px;
  511. }
  512. #potion-description {
  513. margin-left: 0;
  514. }
  515. #potion-description h2 {
  516. margin: 0px;
  517. }
  518. #potion-properties-list {
  519. margin: 16px;
  520. padding: 0;
  521. }
  522. ul#potion-properties-list li {
  523. list-style: none;
  524. }
  525. #brew-button-container {
  526. height: 50px;
  527. }
  528. #brew-button-inner-container {
  529. position: fixed;
  530. right: 70px;
  531. padding: 2px;
  532. margin-top: 25px;
  533. border-radius: 32px;
  534. width: 180px;
  535. background-color: var(--light-purple);
  536. }
  537. #brew-button-container button {
  538. font-size: 24px;
  539. border: 4px solid var(--dark-purple);
  540. color: white;
  541. padding: 8px;
  542. border-radius: 32px;
  543. width: 180px;
  544. background-color: var(--light-purple);
  545. }
  546. #brew-button-container button:hover {
  547. cursor: pointer;
  548. border-color: white;
  549. }
  550. /***********
  551. * Shop UI *
  552. ***********/
  553. #shop-container {
  554. position: fixed;
  555. top: 0;
  556. right: 0;
  557. display: none;
  558. width: 100%;
  559. height: 100vh;
  560. }
  561. #shop-panel {
  562. margin-top: auto;
  563. margin-bottom: auto;
  564. display: flex;
  565. flex-direction: column;
  566. flex-wrap: nowrap;
  567. position: fixed;
  568. right: 0;
  569. translate: 1024px 0;
  570. background-color: var(--tan);
  571. margin: 30px;
  572. border-radius: 8px;
  573. border: 8px solid var(--light-brown);
  574. box-shadow: 0 8px var(--dark-brown);
  575. }
  576. #shop-sides {
  577. display: flex;
  578. flex-direction: row;
  579. }
  580. #shop-header-container {
  581. background-color: var(--light-brown);
  582. box-shadow: 0 8px var(--dark-brown);
  583. }
  584. #shop-header-container h1 {
  585. color: white;
  586. text-align: center;
  587. margin: 8px;
  588. }
  589. #shop-left-side {
  590. width: 330px;
  591. padding: 16px;
  592. }
  593. #shop-potions-container {
  594. display: flex;
  595. flex-wrap: wrap;
  596. padding: 8px;
  597. gap: 8px;
  598. }
  599. .potion-container {
  600. position: relative;
  601. border: 4px dashed #dec8ad;
  602. border-radius: 16px;
  603. padding: 4px;
  604. width: 80px;
  605. }
  606. .potion-container:hover {
  607. border: 4px dashed var(--light-brown);
  608. cursor: pointer;
  609. }
  610. .potion-container img {
  611. width: 100%;
  612. height: 100%;
  613. border-radius: 8px;
  614. }
  615. .potion-container .potion-inventory-count {
  616. position: absolute;
  617. border-radius: 50%;
  618. color: white;
  619. text-align: right;
  620. line-height: 24px;
  621. right: 0;
  622. bottom: 0;
  623. width: 24px;
  624. height: 24px;
  625. font-size: 24px;
  626. padding: 8px 12px;
  627. }
  628. #shop-right-side {
  629. padding: 16px;
  630. }
  631. #shop-shelves-container {
  632. display: flex;
  633. flex-direction: column;
  634. padding: 8px;
  635. gap: 24px;
  636. }
  637. .shop-shelf {
  638. display: flex;
  639. flex-direction: row;
  640. gap: 16px;
  641. border-bottom: 16px solid #8c5a4f;
  642. margin-bottom: 16px;
  643. padding-bottom: 8px;
  644. }
  645. .stocked-potion-container {
  646. border: 4px dashed #dec8ad;
  647. border-radius: 16px;
  648. padding: 4px;
  649. width: 80px;
  650. height: 80px;
  651. }
  652. .stocked-potion-container:hover {
  653. border: 4px dashed var(--light-brown);
  654. cursor: pointer;
  655. }
  656. .stocked-potion-container img {
  657. width: 100%;
  658. height: 100%;
  659. border-radius: 8px;
  660. }
  661. .disabled-stocked-potion {
  662. border: 4px dashed #adadad;
  663. cursor: auto;
  664. }
  665. .disabled-stocked-potion:hover {
  666. border: 4px dashed #adadad;
  667. cursor: auto;
  668. }
  669. #shop-button-container {
  670. position: relative;
  671. }
  672. #shop-button-inner-container {
  673. position: absolute;
  674. padding: 2px;
  675. margin-top: -25px;
  676. border-radius: 32px;
  677. width: 180px;
  678. right: 25px;
  679. background-color: var(--light-purple);
  680. }
  681. #shop-button-container button {
  682. font-size: 24px;
  683. border: 4px solid var(--dark-purple);
  684. color: white;
  685. padding: 8px;
  686. border-radius: 32px;
  687. width: 180px;
  688. background-color: var(--light-purple);
  689. }
  690. #shop-button-container button:hover {
  691. cursor: pointer;
  692. border-color: white;
  693. }
  694. /*************
  695. * Market UI *
  696. *************/
  697. #market-container {
  698. position: fixed;
  699. top: 0;
  700. right: 0;
  701. display: none;
  702. width: 100%;
  703. height: 100vh;
  704. }
  705. #market-panel {
  706. margin-top: auto;
  707. margin-bottom: auto;
  708. display: flex;
  709. flex-direction: column;
  710. flex-wrap: nowrap;
  711. position: fixed;
  712. right: 0;
  713. width: 512px;
  714. translate: 1024px 0;
  715. background-color: var(--tan);
  716. margin: 30px;
  717. border-radius: 8px;
  718. border: 8px solid var(--light-brown);
  719. box-shadow: 0 8px var(--dark-brown);
  720. }
  721. #market-header-container {
  722. background-color: var(--light-brown);
  723. box-shadow: 0 8px var(--dark-brown);
  724. }
  725. #market-header-container h1 {
  726. color: white;
  727. text-align: center;
  728. margin: 16px;
  729. }
  730. .ingredient-sell-container {
  731. display: flex;
  732. flex-direction: row;
  733. height: 100px;
  734. }
  735. .ingredient-icon-container {
  736. border: 4px dashed #dec8ad;
  737. border-radius: 50px;
  738. margin: 15px;
  739. width: 70px;
  740. height: 70px;
  741. padding: 4px;
  742. position: relative;
  743. }
  744. .ingredient-icon-container {
  745. position: relative;
  746. border: 4px dashed #dec8ad;
  747. border-radius: 16px;
  748. padding: 4px;
  749. }
  750. .ingredient-icon-container:hover {
  751. border: 4px dashed var(--light-brown);
  752. cursor: pointer;
  753. }
  754. .ingredient-icon-container img {
  755. width: 100%;
  756. height: 100%;
  757. border-radius: 8px;
  758. }
  759. .ingredient-icon-container .ingredient-inventory-count {
  760. position: absolute;
  761. border-radius: 50%;
  762. color: white;
  763. text-align: right;
  764. line-height: 24px;
  765. right: 0;
  766. bottom: 0;
  767. width: 24px;
  768. height: 24px;
  769. font-size: 24px;
  770. padding: 8px 12px;
  771. }
  772. .ingredient-description {
  773. display: flex;
  774. flex-grow: 2;
  775. flex-direction: column;
  776. align-items: start;
  777. padding: 8px;
  778. justify-content: center;
  779. }
  780. .ingredient-description h2 {
  781. margin: 0;
  782. padding: 0;
  783. font-size: 18px;
  784. }
  785. .ingredient-price {
  786. padding: 4px;
  787. }
  788. .ingredient-price .ingredient-price-value {
  789. margin-top: -24px;
  790. margin-left: 24px;
  791. }
  792. .ingredient-price img {
  793. padding-right: 8px;
  794. }
  795. .call-to-action {
  796. font-size: 12px;
  797. color: gray;
  798. }
  799. .add-ingredient-button {
  800. border: none;
  801. width: 40px;
  802. height: 40px;
  803. margin-top: 50px;
  804. background-color: transparent;
  805. font-size: 32px;
  806. font-weight: bold;
  807. }
  808. .add-ingredient-button:hover {
  809. color: gray;
  810. cursor: pointer;
  811. }
  812. .remove-ingredient-button {
  813. border: none;
  814. width: 40px;
  815. height: 40px;
  816. margin-top: 50px;
  817. background-color: transparent;
  818. font-size: 32px;
  819. font-weight: bold;
  820. }
  821. .remove-ingredient-button:hover {
  822. color: gray;
  823. cursor: pointer;
  824. }
  825. .ingredient-in-cart-container {
  826. display: flex;
  827. flex-direction: column;
  828. justify-content: center;
  829. }
  830. .ingredient-in-cart-container:hover {
  831. cursor: pointer;
  832. }
  833. .ingredient-in-cart-amount {
  834. height: 24px;
  835. padding: 16px;
  836. font-weight: bold;
  837. font-size: 32px;
  838. }
  839. #total-container {
  840. border-top: 1px dotted gray;
  841. text-align: right;
  842. padding: 16px;
  843. margin-bottom: 20px;
  844. display: flex;
  845. flex-direction: column;
  846. }
  847. #total-icon-container {
  848. margin-left: auto;
  849. margin-top: 8px;
  850. padding: 8px;
  851. }
  852. #total-title {
  853. font-size: 18px;
  854. }
  855. #total-amount {
  856. display: flex;
  857. flex-direction: row;
  858. }
  859. #total-amount-value {
  860. font-size: 42px;
  861. text-align: right;
  862. }
  863. #market-button-container {
  864. height: 0;
  865. }
  866. #market-button-inner-container {
  867. position: relative;
  868. padding: 2px;
  869. margin-top: -25px;
  870. margin-left: 300px;
  871. border-radius: 32px;
  872. width: 180px;
  873. background-color: var(--light-purple);
  874. }
  875. #market-button-container button {
  876. font-size: 24px;
  877. border: 4px solid var(--dark-purple);
  878. color: white;
  879. padding: 8px;
  880. border-radius: 32px;
  881. width: 180px;
  882. background-color: var(--light-purple);
  883. }
  884. #market-button-container button:hover {
  885. cursor: pointer;
  886. border-color: white;
  887. }
  888. /****************
  889. * Game Over UI *
  890. ****************/
  891. #game-over-container {
  892. position: fixed;
  893. top: 0;
  894. left: 0;
  895. display: none;
  896. width: 100%;
  897. height: 100vh;
  898. }
  899. #game-over-blackout {
  900. width: 100%;
  901. height: 100%;
  902. background-color: black;
  903. opacity: 0;
  904. display: flex;
  905. justify-content: center;
  906. align-items: center;
  907. }
  908. #game-over-panel {
  909. width: 600px;
  910. height: 400px;
  911. text-align: center;
  912. padding: 32px;
  913. color: white;
  914. }
  915. #play-again-button-container {
  916. width: 184px;
  917. margin-left: auto;
  918. margin-right: auto;
  919. }
  920. #play-again-button-inner-container {
  921. padding: 2px;
  922. border-radius: 32px;
  923. width: 180px;
  924. background-color: var(--light-purple);
  925. }
  926. #play-again-button-container button {
  927. font-size: 24px;
  928. border: 4px solid var(--dark-purple);
  929. color: white;
  930. padding: 8px;
  931. border-radius: 32px;
  932. width: 180px;
  933. background-color: var(--light-purple);
  934. }
  935. #play-again-button-container button:hover {
  936. cursor: pointer;
  937. border-color: white;
  938. }