psy_test.css 5.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295
  1. @import url("https://fonts.googleapis.com/css2?family=Nunito:wght@700&display=swap");
  2. a:hover {
  3. color: #727679;
  4. }
  5. .psyWrapper {
  6. max-width: 1310px;
  7. margin-left: auto;
  8. margin-right: auto;
  9. }
  10. @media (max-width: 576px) {
  11. .psyWrapper {
  12. background-color: #F6F6F6;
  13. }
  14. }
  15. .psy {
  16. padding: 3.5rem 0 0.5rem;
  17. -webkit-transition: all 300ms ease-in-out;
  18. transition: all 300ms ease-in-out;
  19. }
  20. @media (max-width: 576px) {
  21. .psy {
  22. padding: 0;
  23. }
  24. }
  25. .psy article {
  26. position: -webkit-sticky;
  27. position: sticky;
  28. top: 80px;
  29. }
  30. .psy__state {
  31. padding: 0;
  32. -webkit-transition: all 300ms ease-in-out;
  33. transition: all 300ms ease-in-out;
  34. }
  35. @media (max-width: 576px) {
  36. .psy__state {
  37. position: unset;
  38. padding: 0;
  39. }
  40. }
  41. .psy__state__img {
  42. width: 100%;
  43. }
  44. .psy__state__bgImg {
  45. height: 435px;
  46. background-position: center center;
  47. background-size: cover;
  48. background-repeat: no-repeat;
  49. -webkit-transition: all 300ms ease-in-out;
  50. transition: all 300ms ease-in-out;
  51. }
  52. @media (max-width: 576px) {
  53. .psy__state__bgImg {
  54. height: 250px;
  55. }
  56. }
  57. .psy__state__caption {
  58. padding: 1rem 0.5rem;
  59. -webkit-transition: all 300ms ease-in-out;
  60. transition: all 300ms ease-in-out;
  61. }
  62. @media (max-width: 576px) {
  63. .psy__state__caption {
  64. padding: 1rem;
  65. }
  66. }
  67. .psy__state h2 {
  68. color: #4D4D4D;
  69. font-size: 2rem;
  70. font-weight: bold;
  71. -webkit-transition: all 300ms ease-in-out;
  72. transition: all 300ms ease-in-out;
  73. }
  74. @media (max-width: 576px) {
  75. .psy__state h2 {
  76. font-size: 1.375rem;
  77. }
  78. }
  79. .psy__state p {
  80. color: #4D4D4D;
  81. font-size: 1.1875rem;
  82. letter-spacing: 0.9px;
  83. -webkit-transition: all 300ms ease-in-out;
  84. transition: all 300ms ease-in-out;
  85. }
  86. @media (max-width: 576px) {
  87. .psy__state p {
  88. font-size: 1rem;
  89. letter-spacing: 0.28px;
  90. }
  91. }
  92. .psy .ans {
  93. padding: 1rem 1.5rem 1.5rem;
  94. position: relative;
  95. -webkit-transition: all 300ms ease-in-out;
  96. transition: all 300ms ease-in-out;
  97. }
  98. @media (max-width: 576px) {
  99. .psy .ans {
  100. padding: 1.5rem;
  101. }
  102. }
  103. .psy .ans__option {
  104. display: -webkit-box;
  105. display: -ms-flexbox;
  106. display: flex;
  107. -webkit-box-pack: start;
  108. -ms-flex-pack: start;
  109. justify-content: flex-start;
  110. -webkit-box-align: center;
  111. -ms-flex-align: center;
  112. align-items: center;
  113. }
  114. .psy .ans__option span {
  115. color: #727679;
  116. font-size: 5rem;
  117. font-family: 'Nunito', sans-serif;
  118. -webkit-transition: all 300ms ease-in-out;
  119. transition: all 300ms ease-in-out;
  120. }
  121. @media (max-width: 576px) {
  122. .psy .ans__option span {
  123. font-size: 3.5rem;
  124. }
  125. }
  126. .psy .ans__option__letter {
  127. margin: 0 2rem 0 0.5rem;
  128. -webkit-transition: all 300ms ease-in-out;
  129. transition: all 300ms ease-in-out;
  130. }
  131. @media (max-width: 576px) {
  132. .psy .ans__option__letter {
  133. margin: 0 2rem;
  134. }
  135. }
  136. .psy .ans__option__title {
  137. font-size: 2rem;
  138. font-weight: bold;
  139. margin: 0;
  140. -webkit-transition: all 300ms ease-in-out;
  141. transition: all 300ms ease-in-out;
  142. }
  143. @media (max-width: 576px) {
  144. .psy .ans__option__title {
  145. font-size: 1.75rem;
  146. margin: 0 0.5rem;
  147. }
  148. }
  149. .psy .ans__content {
  150. text-align: left;
  151. letter-spacing: 0.19px;
  152. margin: -1rem 0 0;
  153. -webkit-transition: all 300ms ease-in-out;
  154. transition: all 300ms ease-in-out;
  155. }
  156. @media (max-width: 576px) {
  157. .psy .ans__content {
  158. letter-spacing: 0.16px;
  159. margin: -0.5rem 0 0;
  160. }
  161. }
  162. .psy .ansBlock {
  163. color: #727679;
  164. }
  165. .psy .ansBlock.active .ans {
  166. padding: 1rem 1.5rem 1.5rem;
  167. -webkit-transition: all 300ms ease-in-out;
  168. transition: all 300ms ease-in-out;
  169. }
  170. @media (max-width: 576px) {
  171. .psy .ansBlock.active .ans {
  172. padding: 1.5rem;
  173. }
  174. }
  175. .psy .ansBlock.active .ans__option__title {
  176. color: #EE7800;
  177. margin: 0;
  178. -webkit-transition: all 300ms ease-in-out;
  179. transition: all 300ms ease-in-out;
  180. }
  181. @media (max-width: 576px) {
  182. .psy .ansBlock.active .ans__option__title {
  183. margin: 0 0.5rem;
  184. }
  185. }
  186. .psy .ansBlock.active .ans__section {
  187. display: -webkit-box;
  188. display: -ms-flexbox;
  189. display: flex;
  190. -webkit-box-pack: center;
  191. -ms-flex-pack: center;
  192. justify-content: center;
  193. -webkit-box-align: center;
  194. -ms-flex-align: center;
  195. align-items: center;
  196. }
  197. .psy .ansBlock.active span {
  198. color: #EE7800;
  199. font-size: 6.5rem;
  200. font-family: 'Nunito', sans-serif;
  201. -webkit-transition: all 300ms ease-in-out;
  202. transition: all 300ms ease-in-out;
  203. }
  204. @media (max-width: 576px) {
  205. .psy .ansBlock.active span {
  206. font-size: 4.5rem;
  207. }
  208. }
  209. .psy .ansBlock.active .ans__content {
  210. margin: 0;
  211. -webkit-transition: all 300ms ease-in-out;
  212. transition: all 300ms ease-in-out;
  213. }
  214. @media (max-width: 576px) {
  215. .psy .ansBlock.active .ans__content {
  216. margin: 0 0 1.5rem 0;
  217. }
  218. }
  219. .psy .ansBlock.active p {
  220. margin: 1rem 0;
  221. -webkit-transition: all 300ms ease-in-out;
  222. transition: all 300ms ease-in-out;
  223. }
  224. @media (max-width: 576px) {
  225. .psy .ansBlock.active p {
  226. margin: 0;
  227. }
  228. }
  229. .psy .angle {
  230. width: 100%;
  231. height: 60px;
  232. background-repeat: no-repeat;
  233. background-size: cover;
  234. background-position: 100% 100%;
  235. position: absolute;
  236. right: 0;
  237. bottom: 0;
  238. }
  239. .scMedia__block {
  240. width: 70%;
  241. -webkit-transition: all 300ms ease-in-out;
  242. transition: all 300ms ease-in-out;
  243. }
  244. @media (max-width: 576px) {
  245. .scMedia__block {
  246. padding: 1rem 0 2rem 0;
  247. }
  248. }
  249. .scMedia__list {
  250. background-color: transparent;
  251. }
  252. /*# sourceMappingURL=psy_test.css.map */