_fact.scss 2.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128
  1. .fact-one {
  2. padding-top: 120px;
  3. .container {
  4. z-index: 10;
  5. position: relative;
  6. }
  7. &__single {
  8. box-shadow: 0px 20px 60px 0px rgba(42, 40, 51, 0.05);
  9. width: 220px;
  10. height: 220px;
  11. border-radius: 50%;
  12. display: flex;
  13. justify-content: center;
  14. align-items: center;
  15. padding: 20px;
  16. position: relative;
  17. &:before {
  18. content: '';
  19. position: absolute;
  20. top: 10px;
  21. bottom: 10px;
  22. left: 10px;
  23. right: 10px;
  24. border-radius: 50%;
  25. background-image: linear-gradient(40deg, rgb(255, 67, 192) 0%, rgb(255, 169, 92) 100%);
  26. }
  27. }
  28. &__inner {
  29. width: 100%;
  30. height: 100%;
  31. box-shadow: 0px 20px 40px 0px rgba(255, 118, 142, 0.3);
  32. border-radius: 50%;
  33. position: relative;
  34. background-color: #fff;
  35. display: flex;
  36. justify-content: center;
  37. align-items: center;
  38. flex-direction: column;
  39. h3,
  40. p {
  41. margin: 0;
  42. }
  43. h3 {
  44. color: $thm-black;
  45. font-weight: 400;
  46. font-size: 40px;
  47. line-height: 1em;
  48. }
  49. p {
  50. text-transform: uppercase;
  51. letter-spacing: .2em;
  52. font-size: 12px;
  53. font-weight: 500;
  54. color: #74727a;
  55. line-height: 1em;
  56. margin-top: 10px;
  57. }
  58. }
  59. [class*=col-]:nth-child(1) {
  60. .fact-one__inner {
  61. box-shadow: inset 0px 20px 40px 0px rgba(255, 118, 142, 0.3);
  62. }
  63. .fact-one__single {
  64. &:before {
  65. background-image: linear-gradient(40deg, rgb(255, 67, 192) 0%, rgb(255, 169, 92) 100%);
  66. }
  67. }
  68. }
  69. [class*=col-]:nth-child(2) {
  70. .fact-one__inner {
  71. box-shadow: inset 0px 20px 60px 0px rgba(141, 142, 255, 0.3);
  72. }
  73. .fact-one__single {
  74. &:before {
  75. background-image: linear-gradient(40deg, rgb(13, 184, 255) 0%, rgb(243, 50, 255) 100%);
  76. ;
  77. }
  78. }
  79. }
  80. [class*=col-]:nth-child(3) {
  81. .fact-one__inner {
  82. box-shadow: inset 0px 20px 40px 0px rgba(58, 212, 173, 0.3);
  83. }
  84. .fact-one__single {
  85. &:before {
  86. background-image: linear-gradient(40deg, rgb(57, 174, 255) 0%, rgb(60, 255, 83) 100%);
  87. }
  88. }
  89. }
  90. [class*=col-]:nth-child(4) {
  91. .fact-one__inner {
  92. box-shadow: inset 0px 20px 40px 0px rgba(255, 178, 71, 0.3);
  93. }
  94. .fact-one__single {
  95. &:before {
  96. background-image: linear-gradient(40deg, rgb(255, 112, 62) 0%, rgb(255, 236, 78) 100%);
  97. }
  98. }
  99. }
  100. }