Main.css 4.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213
  1. #body {
  2. margin: 0;
  3. padding: 0;
  4. display: flex;
  5. justify-content: center;
  6. align-items: center;
  7. min-height: 90vh;
  8. font-family: "Telefon Black", Sans-Serif;
  9. }
  10. .box {
  11. position: relative;
  12. display: flex;
  13. justify-content: center;
  14. align-items: center;
  15. background: #170422;
  16. max-width: 500px;
  17. }
  18. .box::before {
  19. content: "";
  20. position: absolute;
  21. top: -2px;
  22. left: -2px;
  23. right: -2px;
  24. bottom: -2px;
  25. background: #fff;
  26. z-index: -1;
  27. }
  28. .box::after {
  29. content: "";
  30. position: absolute;
  31. top: -2px;
  32. left: -2px;
  33. right: -2px;
  34. bottom: -2px;
  35. background: #fff;
  36. z-index: -2;
  37. filter: blur(40px);
  38. }
  39. .box::before,
  40. .box::after {
  41. background: linear-gradient(235deg, #89ff00, #060c21, #00bcd4);
  42. }
  43. .content {
  44. padding: 40px;
  45. box-sizing: border-box;
  46. color: #ffffff;
  47. font-size: 20px;
  48. }
  49. .btn_form {
  50. width: 180px;
  51. height: 40px;
  52. text-decoration: none;
  53. color: #c9b6cf;
  54. text-align: center;
  55. line-height: 20px;
  56. display: block;
  57. margin-left: 10px;
  58. margin-right: 10px;
  59. font: normal 17px arial;
  60. cursor: pointer;
  61. }
  62. .btn_form:not(.active) {
  63. box-shadow: inset 0 1px 1px rgba(111, 55, 125, 0.8),
  64. inset 0 -1px 0px rgba(63, 59, 113, 0.2), 0 9px 16px 0 rgba(0, 0, 0, 0.3),
  65. 0 4px 3px 0 rgba(0, 0, 0, 0.3), 0 0 0 1px #150a1e;
  66. background-image: linear-gradient(#3b2751, #271739);
  67. text-shadow: 0 0 21px rgba(223, 206, 228, 0.5), 0 -1px 0 #311d47;
  68. }
  69. .btn_form:not(.active):hover,
  70. .btn_form:not(.active):focus {
  71. transition: color 200ms linear, text-shadow 500ms linear;
  72. color: #fff;
  73. text-shadow: 0 0 21px rgba(223, 206, 228, 0.5),
  74. 0 0 10px rgba(223, 206, 228, 0.4), 0 0 2px #2a153c;
  75. }
  76. .btn_form:not(:hover) {
  77. transition: 0.6s;
  78. }
  79. .card {
  80. width: 500px;
  81. height: 360px;
  82. padding-left: 100px;
  83. margin-left: 470px;
  84. margin-top: 100px;
  85. padding-top: 10px;
  86. background: linear-gradient(#f0e2ef, #faf5f5);
  87. -webkit-box-shadow: inset 0 0 40px rgb(36, 16, 61);
  88. -moz-box-shadow: inset 0 0 40px rgb(37, 12, 58);
  89. box-shadow: inset 0 0 40px rgb(26, 10, 48);
  90. }
  91. .nick_style {
  92. display: block;
  93. width: 100px;
  94. margin-left: 115px;
  95. }
  96. .block_search {
  97. display: flex;
  98. justify-content: center;
  99. align-items: center;
  100. }
  101. .btn_search {
  102. width: 180px;
  103. height: 40px;
  104. text-decoration: none;
  105. color: #b5a2bb;
  106. margin-right: 200px;
  107. text-align: center;
  108. line-height: 20px;
  109. font: normal 17px arial;
  110. cursor: pointer;
  111. margin-bottom: 10px;
  112. }
  113. .btn_search:not(.active) {
  114. box-shadow: inset 0 1px 1px rgba(111, 55, 125, 0.8),
  115. inset 0 -1px 0px rgba(63, 59, 113, 0.2), 0 9px 16px 0 rgba(0, 0, 0, 0.3),
  116. 0 4px 3px 0 rgba(0, 0, 0, 0.3), 0 0 0 1px #150a1e;
  117. background-image: linear-gradient(#3b2751, #271739);
  118. text-shadow: 0 0 21px rgba(223, 206, 228, 0.5), 0 -1px 0 #311d47;
  119. }
  120. .btn_search:not(.active):hover,
  121. .btn_search:not(.active):focus {
  122. transition: color 200ms linear, text-shadow 500ms linear;
  123. color: #fff;
  124. text-shadow: 0 0 21px rgba(223, 206, 228, 0.5),
  125. 0 0 10px rgba(223, 206, 228, 0.4), 0 0 2px #2a153c;
  126. }
  127. .btn_search:not(:hover) {
  128. transition: 0.6s;
  129. }
  130. .block_button_back {
  131. padding-top: 20px;
  132. }
  133. .field_for_search {
  134. width: 50%;
  135. margin-left: 370px;
  136. }
  137. ::-webkit-input-placeholder {
  138. text-align: center;
  139. }
  140. .btn_block_search {
  141. margin-top: 10px;
  142. margin-left: 44%;
  143. margin-bottom: 10px;
  144. }
  145. .btn_block_back {
  146. padding: 10px;
  147. }
  148. .snippet_block {
  149. display: flex;
  150. flex-wrap: wrap;
  151. flex-direction: column;
  152. justify-content: center;
  153. align-items: center;
  154. }
  155. .snippet {
  156. margin-bottom: 10px;
  157. border: 1px solid rgb(131, 111, 145);
  158. border-radius: 10px;
  159. }
  160. .snippet img {
  161. width: 100%;
  162. padding: 10px;
  163. height: 300px;
  164. box-shadow: 0 6px 10px 0 rgba(152, 128, 168, 0.4);
  165. transition: 0.3s;
  166. border-radius: 10px;
  167. }
  168. .snippet img:hover {
  169. box-shadow: 0 8px 16px 0 rgba(0, 0, 0, 0.2);
  170. }
  171. .block_content {
  172. display: flex;
  173. flex-wrap: wrap;
  174. flex-direction: column;
  175. justify-content: center;
  176. align-items: center;
  177. }
  178. .block_content p {
  179. font-size: 18px;
  180. font-family: "Telefon Black", Sans-Serif;
  181. line-height: 7px;
  182. }
  183. .btn_center {
  184. margin-left: 200px;
  185. }