Main.css 3.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209
  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), inset 0 -1px 0px rgba(63, 59, 113, 0.2),
  64. 0 9px 16px 0 rgba(0, 0, 0, 0.3), 0 4px 3px 0 rgba(0, 0, 0, 0.3), 0 0 0 1px #150a1e;
  65. background-image: linear-gradient(#3b2751, #271739);
  66. text-shadow: 0 0 21px rgba(223, 206, 228, 0.5), 0 -1px 0 #311d47;
  67. }
  68. .btn_form:not(.active):hover,
  69. .btn_form:not(.active):focus {
  70. transition: color 200ms linear, text-shadow 500ms linear;
  71. color: #fff;
  72. text-shadow: 0 0 21px rgba(223, 206, 228, 0.5), 0 0 10px rgba(223, 206, 228, 0.4), 0 0 2px #2a153c;
  73. }
  74. .btn_form:not(:hover) {
  75. transition: 0.6s;
  76. }
  77. .card {
  78. width: 500px;
  79. height: 360px;
  80. padding-left: 100px;
  81. margin-left: 470px;
  82. margin-top: 100px;
  83. padding-top: 10px;
  84. background: linear-gradient(#f0e2ef, #faf5f5);
  85. -webkit-box-shadow: inset 0 0 40px rgb(36, 16, 61);
  86. -moz-box-shadow: inset 0 0 40px rgb(37, 12, 58);
  87. box-shadow: inset 0 0 40px rgb(26, 10, 48);
  88. }
  89. .nick_style {
  90. display: block;
  91. width: 100px;
  92. margin-left: 115px;
  93. }
  94. .block_search {
  95. display: flex;
  96. justify-content: center;
  97. align-items: center;
  98. }
  99. .btn_search {
  100. width: 180px;
  101. height: 40px;
  102. text-decoration: none;
  103. color: #b5a2bb;
  104. margin-right: 200px;
  105. text-align: center;
  106. line-height: 20px;
  107. font: normal 17px arial;
  108. cursor: pointer;
  109. margin-bottom: 10px;
  110. }
  111. .btn_search:not(.active) {
  112. box-shadow: inset 0 1px 1px rgba(111, 55, 125, 0.8), inset 0 -1px 0px rgba(63, 59, 113, 0.2),
  113. 0 9px 16px 0 rgba(0, 0, 0, 0.3), 0 4px 3px 0 rgba(0, 0, 0, 0.3), 0 0 0 1px #150a1e;
  114. background-image: linear-gradient(#3b2751, #271739);
  115. text-shadow: 0 0 21px rgba(223, 206, 228, 0.5), 0 -1px 0 #311d47;
  116. }
  117. .btn_search:not(.active):hover,
  118. .btn_search:not(.active):focus {
  119. transition: color 200ms linear, text-shadow 500ms linear;
  120. color: #fff;
  121. text-shadow: 0 0 21px rgba(223, 206, 228, 0.5), 0 0 10px rgba(223, 206, 228, 0.4), 0 0 2px #2a153c;
  122. }
  123. .btn_search:not(:hover) {
  124. transition: 0.6s;
  125. }
  126. .block_button_back {
  127. padding-top: 20px;
  128. }
  129. .field_for_search {
  130. width: 50%;
  131. margin-left: 370px;
  132. }
  133. ::-webkit-input-placeholder {
  134. text-align: center;
  135. }
  136. .btn_block_search {
  137. margin-top: 10px;
  138. margin-left: 44%;
  139. margin-bottom: 10px;
  140. }
  141. .btn_block_back {
  142. padding: 10px;
  143. }
  144. .snippet_block {
  145. display: flex;
  146. flex-wrap: wrap;
  147. flex-direction: column;
  148. justify-content: center;
  149. align-items: center;
  150. }
  151. .snippet {
  152. margin-bottom: 10px;
  153. border: 1px solid rgb(131, 111, 145);
  154. border-radius: 10px;
  155. }
  156. .snippet img {
  157. width: 100%;
  158. padding: 10px;
  159. height: 300px;
  160. box-shadow: 0 6px 10px 0 rgba(152, 128, 168, 0.4);
  161. transition: 0.3s;
  162. border-radius: 10px;
  163. }
  164. .snippet img:hover {
  165. box-shadow: 0 8px 16px 0 rgba(0, 0, 0, 0.2);
  166. }
  167. .block_content {
  168. display: flex;
  169. flex-wrap: wrap;
  170. flex-direction: column;
  171. justify-content: center;
  172. align-items: center;
  173. }
  174. .block_content p {
  175. font-size: 18px;
  176. font-family: "Telefon Black", Sans-Serif;
  177. line-height: 7px;
  178. }
  179. .btn_center {
  180. margin-left: 200px;
  181. }