1
0

style.css 12 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727
  1. @import url('https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;700&display=swap');
  2. @import url('https://fonts.googleapis.com/css2?family=Open+Sans:wght@400;500;600;700&display=swap');
  3. *{
  4. margin: 0;
  5. padding: 0;
  6. font-family: 'Roboto', sans-serif;
  7. }
  8. main {
  9. margin-top: 156px;
  10. }
  11. .wrapper {
  12. display: flex;
  13. justify-content: space-between;
  14. align-items: center;
  15. flex-wrap: wrap;
  16. }
  17. h2 {
  18. font-size: 24px;
  19. }
  20. section {
  21. margin-top: 26px;
  22. }
  23. section h2 {
  24. margin-bottom: 35px;
  25. }
  26. input[type="number"]::-webkit-outer-spin-button,
  27. input[type="number"]::-webkit-inner-spin-button {
  28. -webkit-appearance: none;
  29. margin: 0;
  30. }
  31. /* header */
  32. header {
  33. position: fixed;
  34. margin-top: 11px;
  35. top: 0;
  36. left: 50%;
  37. transform: translateY(-50%);
  38. transform: translateX(-50%);
  39. width: clamp(300px, 60vw, 1040px);
  40. background: #FFFFFF;
  41. box-shadow: 4px 5px 40px 0px #EEEEEE;
  42. border-radius: 15px;
  43. height: 60px;
  44. }
  45. header img {
  46. margin: 9px 30px;
  47. }
  48. .logout {
  49. position: fixed;
  50. padding: 0;
  51. margin-top: 15px;
  52. top: 0;
  53. left: 82%;
  54. height: 70px;
  55. width: 55px;
  56. }
  57. .logoutCircle {
  58. position: absolute;
  59. width: 55px;
  60. height: 55px;
  61. border-radius: 100%;
  62. background: #FFFFFF;
  63. box-shadow: 4px 5px 40px #EEEEEE;
  64. }
  65. .logoutText {
  66. font-family: 'Open Sans', sans-serif;
  67. position: absolute;
  68. left: 0;
  69. right: 0;
  70. bottom: 0;
  71. text-align: center;
  72. font-size: 10px;
  73. text-decoration: none;
  74. color: #b20000;
  75. }
  76. .logoutCircle img {
  77. display: block;
  78. margin: auto;
  79. margin-top: 30%;
  80. margin-bottom: 5px;
  81. }
  82. /* footer */
  83. footer {
  84. padding-top: 23px;
  85. padding-bottom: 23px;
  86. margin-top: 48px;
  87. background: #F3F3F3;
  88. }
  89. footer>ul {
  90. margin-left: auto;
  91. margin-right: auto;
  92. width: clamp(300px, 60vw, 1174px);
  93. list-style: none;
  94. display: flex;
  95. justify-content: end;
  96. flex-wrap: wrap;
  97. }
  98. footer li {
  99. margin-left: 20px;
  100. }
  101. footer a {
  102. color: #000;
  103. text-decoration: none;
  104. font-size: 14px;
  105. }
  106. footer #deleteAcc {
  107. margin-right: auto;
  108. margin-left: 0;
  109. }
  110. @media (max-width: 1000px) {
  111. footer>ul {
  112. flex-direction: column;
  113. }
  114. footer #deleteAcc {
  115. margin-right: 0;
  116. margin-left: 0;
  117. }
  118. footer li {
  119. margin-left: 0px;
  120. }
  121. }
  122. /* personal_acc */
  123. .container-acc {
  124. width: clamp(300px, 60vw, 650px);
  125. margin-left: auto;
  126. margin-right: auto;
  127. margin-top: 10vh;
  128. }
  129. .container-acc .person {
  130. display: flex;
  131. justify-content: space-between;
  132. align-items: center;
  133. border: 1px solid #C4C4C4;
  134. box-sizing: border-box;
  135. border-radius: 32px;
  136. padding: 25px 32px;
  137. margin-bottom: 24px;
  138. }
  139. .container-acc #userPhoto {
  140. border-radius: 100%;
  141. }
  142. .container-acc .aboutUser {
  143. margin-right: auto;
  144. margin-left: 32px;
  145. }
  146. .container-acc .name {
  147. font-size: 36px;
  148. margin-bottom: 22px;
  149. }
  150. .container-acc .email {
  151. font-size: 18px;
  152. color: #A3A3A3;
  153. }
  154. .container-acc #settings {
  155. margin-bottom: 32px;
  156. cursor: pointer;
  157. }
  158. @media (max-width: 740px) {
  159. .container-acc .person {
  160. flex-direction: column;
  161. text-align: center;
  162. }
  163. .container-acc .aboutUser {
  164. margin: 0;
  165. margin-top: 10px;
  166. }
  167. .container-acc #settings {
  168. margin-bottom: 0;
  169. margin-top: 20px;
  170. }
  171. }
  172. .container-acc .bnh>div {
  173. border: 1px solid #C4C4C4;
  174. box-sizing: border-box;
  175. width: 311px;
  176. min-height: 144px;
  177. border-radius: 32px;
  178. padding: 33px 21px;
  179. margin-bottom: 24px;
  180. }
  181. .container-acc .bnh h2 {
  182. display: inline-block;
  183. margin-bottom: 20px;
  184. }
  185. .container-acc .bnh img {
  186. float: right;
  187. margin-right: 19px;
  188. }
  189. .container-acc .balance img {
  190. margin-top: 5px;
  191. }
  192. .container-acc .history img {
  193. margin-top: 10px;
  194. }
  195. .container-acc .balanceValue {
  196. font-size: 24px;
  197. }
  198. .container-acc .historyElement {
  199. font-size: 18px;
  200. width: 30px;
  201. color: #4a4a4a;
  202. }
  203. .container-acc .historyElement p {
  204. white-space: nowrap;
  205. overflow: hidden;
  206. text-overflow: ellipsis;
  207. }
  208. .container-acc .service {
  209. border: 1px solid #C4C4C4;
  210. box-sizing: border-box;
  211. width: 311px;
  212. min-height: 140px;
  213. border-radius: 32px;
  214. display: flex;
  215. justify-content: center;
  216. align-items: center;
  217. margin-bottom: 24px;
  218. }
  219. @media (max-width: 1040px) {
  220. .container-acc .bnh,
  221. .container-acc .services,
  222. .container-acc .courses {
  223. flex-direction: column;
  224. }
  225. }
  226. .container-acc .course {
  227. box-sizing: border-box;
  228. width: 317px;
  229. min-height: 188px;
  230. background: #4a4a4a;
  231. border: 1px solid #000;
  232. box-sizing: border-box;
  233. border-radius: 30px;
  234. padding-top: 18px;
  235. padding-left: 22px;
  236. padding-bottom: 18px;
  237. margin-bottom: 24px;
  238. }
  239. .container-acc .courses a {
  240. color: #fff;
  241. font-size: 32px;
  242. font-weight: 700;
  243. text-decoration: none;
  244. }
  245. .container-acc .courses p {
  246. margin-top: 15px;
  247. }
  248. .container-acc .modal {
  249. display: none; /* Hidden by default */
  250. position: fixed; /* Stay in place */
  251. z-index: 1; /* Sit on top */
  252. padding-top: 30vh; /* Location of the box */
  253. left: 0;
  254. top: 0;
  255. width: 100%; /* Full width */
  256. height: 100%; /* Full height */
  257. overflow: scroll; /* Enable scroll if needed */
  258. background-color: rgb(0,0,0); /* Fallback color */
  259. background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
  260. }
  261. @media (max-width: 800px) {
  262. .container-acc .modal {
  263. padding-top: 20px;
  264. }
  265. }
  266. .container-acc .modal-content {
  267. position: relative;
  268. margin: auto;
  269. padding-left: 24px;
  270. padding-right: 24px;
  271. padding-bottom: 30px;
  272. width: clamp(300px, 60vw, 493px);
  273. background: #FFFFFF;
  274. border: 1px solid #CACACA;
  275. box-sizing: border-box;
  276. border-radius: 24px;
  277. }
  278. .container-acc .modal form {
  279. display: flex;
  280. flex-wrap: wrap;
  281. justify-content: space-between;
  282. }
  283. .container-acc .modal input {
  284. padding: 15px;
  285. margin-top: 15px;
  286. background: #FFFFFF;
  287. border: 1px solid #9D9D9D;
  288. box-sizing: border-box;
  289. border-radius: 6px;
  290. height: 45px;
  291. }
  292. .container-acc .formElement {
  293. margin-top: 32px;
  294. font-size: 14px;
  295. font-weight: 600;
  296. }
  297. .container-acc #name {
  298. width: 216px;
  299. }
  300. .container-acc #surname {
  301. width: 208px;
  302. }
  303. .container-acc #email {
  304. width: 253px;
  305. }
  306. .container-acc #phone {
  307. width: 171px;
  308. }
  309. .container-acc .formBtns {
  310. margin-top: 58px;
  311. margin-left: auto;
  312. font-family: 'Open Sans', sans-serif;
  313. }
  314. .container-acc #closeModal {
  315. font-size: 14px;
  316. font-weight: 600;
  317. color: #479FF8;
  318. margin-right: 30px;
  319. }
  320. .container-acc #save {
  321. font-size: 14px;
  322. font-weight: 700;
  323. outline: none;
  324. border: none;
  325. width: 135px;
  326. height: 35px;
  327. color: #fff;
  328. background: linear-gradient(226.01deg, #00A4FF -13.24%, #0076C7 119.18%);
  329. border-radius: 6px;
  330. cursor: pointer;
  331. }
  332. /* payment */
  333. .column-wrapper {
  334. width: clamp(300px, 60vw, 790px);
  335. display: flex;
  336. flex-direction: column;
  337. align-items: center;
  338. text-align: center;
  339. margin-left: auto;
  340. margin-right: auto;
  341. }
  342. .column-wrapper p {
  343. font-family: 'Open Sans', sans-serif;
  344. font-size: 18px;
  345. color: #5F5E5E;
  346. line-height: 24.51px;
  347. margin-bottom: 25px;
  348. }
  349. .column-wrapper form {
  350. display: flex;
  351. flex-direction: column;
  352. align-items: center;
  353. text-align: center;
  354. margin-left: auto;
  355. margin-right: auto;
  356. }
  357. .req-wrapper .payImages {
  358. width: clamp(300px, 60vw, 315px);
  359. display: flex;
  360. justify-content: space-around;
  361. flex-wrap: wrap;
  362. align-items: center;
  363. margin-top: 9px;
  364. }
  365. .req-wrapper .payImages img {
  366. height: 100%;
  367. width: auto;
  368. margin-bottom: 40px;
  369. }
  370. .req-wrapper #sum {
  371. width: 309px;
  372. height: 52px;
  373. background: #FFFFFF;
  374. border: 1px solid #9D9D9D;
  375. box-sizing: border-box;
  376. border-radius: 6px;
  377. padding-left: 10px;
  378. margin-top: 15px;
  379. margin-bottom: 34px;
  380. font-size: 18px;
  381. }
  382. .req-wrapper #sum::placeholder{
  383. color: #C4C4C4;
  384. }
  385. .req-wrapper #pay {
  386. font-size: 18px;
  387. font-weight: 700;
  388. outline: none;
  389. border: none;
  390. width: 211px;
  391. height: 52px;
  392. color: #fff;
  393. background: #4a4a4a;
  394. border-radius: 11px;
  395. cursor: pointer;
  396. }
  397. .req-wrapper #back {
  398. color: #4a4a4a;
  399. font-family: 'Open Sans', sans-serif;
  400. font-weight: 600;
  401. font-size: 18px;
  402. margin-top: 20px;
  403. }
  404. .req-wrapper + hr {
  405. margin-left: auto;
  406. margin-right: auto;
  407. margin-top: 60px;
  408. margin-bottom: 14px;
  409. width: clamp(300px, 60vw, 750px);
  410. }
  411. .container-req {
  412. width: clamp(300px, 60vw, 820px);
  413. margin-left: auto;
  414. margin-right: auto;
  415. margin-top: 40px;
  416. }
  417. .requisites>div {
  418. background: #FFFFFF;
  419. border: 1px solid #C4C4C4;
  420. box-sizing: border-box;
  421. border-radius: 32px;
  422. padding-left: 34px;
  423. padding-right: 34px;
  424. padding-top: 20px;
  425. padding-bottom: 10px;
  426. }
  427. .requisites>div p {
  428. font-size: 18px;
  429. color: #5F5E5E;
  430. margin-bottom: 20px;
  431. }
  432. .requisites>div a {
  433. color: #004879;
  434. }
  435. .footer-pay {
  436. margin-top: 25px;
  437. }
  438. .getPay-footer {
  439. margin-top: 0;
  440. }
  441. /* payment_mess */
  442. .fullH {
  443. text-align: center;
  444. display: flex;
  445. flex-direction: column;
  446. margin-top: 0;
  447. height: 50em;
  448. }
  449. .fullH p {
  450. font-size: 36px;
  451. font-weight: 700;
  452. margin-top: 230px;
  453. margin-bottom: 37px;
  454. }
  455. .fullH #back {
  456. font-family: 'Roboto', sans-serif;
  457. font-weight: 600;
  458. color: #4a4a4a;
  459. font-size: 18px;
  460. }
  461. /* auths */
  462. .auth-block,
  463. .authfog-block {
  464. width: clamp(300px, 60vw, 544px);
  465. min-height: 559px;
  466. border-radius: 32px;
  467. box-sizing: border-box;
  468. padding: 86px 106px;
  469. border: 1px solid #9d9d9de3;
  470. margin-left: auto;
  471. margin-right: auto;
  472. margin-top: 25vh;
  473. }
  474. .logo400 {
  475. display: block;
  476. width: 204px;
  477. margin-left: auto;
  478. margin-right: auto;
  479. }
  480. .auth-block form,
  481. .authfog-block form {
  482. margin-top: 60px;
  483. margin-left: auto;
  484. margin-right: auto;
  485. width: 312px;
  486. }
  487. .auth-block input,
  488. .authfog-block input {
  489. display: block;
  490. height: 45px;
  491. box-sizing: border-box;
  492. width: 100%;
  493. border-radius: 6px;
  494. padding: 0px 12px;
  495. background: #FFFFFF;
  496. border: 1px solid #9D9D9D;
  497. font-size: 18px;
  498. }
  499. .auth-block input[name="password"] {
  500. margin-top: 20px;
  501. margin-bottom: 15px;
  502. }
  503. .auth-block #incorrect {
  504. display: none;
  505. color: #ff1616;
  506. font-size: 14px;
  507. margin-top: 30px;
  508. margin-bottom: 30px;
  509. }
  510. .auth-block #forgot-pass {
  511. color: #4a4a4a;
  512. font-weight: 700;
  513. font-size: 14px;
  514. }
  515. .auth-block .buttons,
  516. .authfog-block .buttons {
  517. margin-top: 35px;
  518. display: flex;
  519. justify-content: space-between;
  520. flex-wrap: wrap;
  521. align-items: center;
  522. }
  523. .auth-block #register,
  524. .authfog-block #enter {
  525. color: #4a4a4a;
  526. font-weight: 600;
  527. font-size: 14px;
  528. }
  529. .auth-block .enter,
  530. .authfog-block .next {
  531. box-sizing: border-box;
  532. width: 103px;
  533. height: 35px;
  534. font-weight: 700;
  535. font-family: 'Open Sans', sans-serif;
  536. color: #fff;
  537. font-size: 14px;
  538. cursor: pointer;
  539. outline: none;
  540. border: none;
  541. background: #4a4a4a;
  542. border-radius: 7px;
  543. }
  544. .authfog-block {
  545. padding: 60px 98px;
  546. }
  547. .authfog-block form {
  548. text-align: center;
  549. width: 337px;
  550. }
  551. .authfog-block form p {
  552. font-size: 18px;
  553. }
  554. .authfog-block .userNum {
  555. margin-top: 44px;
  556. font-weight: 700;
  557. }
  558. .authfog-block input[name="phone"] {
  559. margin-top: 20px;
  560. margin-bottom: 20px;
  561. width: 207px;
  562. margin-left: auto;
  563. margin-right: auto;
  564. }
  565. .authfog-block .resend {
  566. font-weight: 700;
  567. color: #a7a7a7;
  568. }
  569. .authfog-block #secLeft {
  570. color: #a7a7a7;
  571. font-weight: 300;
  572. margin-top: 8px;
  573. }
  574. .authfog-block .buttons {
  575. margin-top: 42px;
  576. }
  577. @media (max-width: 830px) {
  578. .auth-block,
  579. .authfog-block {
  580. padding: 100px 10px;
  581. }
  582. .auth-block form,
  583. .authfog-block form {
  584. margin-top: 30px;
  585. width: 200px;
  586. }
  587. }