_service.scss 3.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147
  1. .service-one {
  2. padding-bottom: 90px;
  3. .container {
  4. position: relative;
  5. z-index: 10;
  6. }
  7. &__single {
  8. border-style: solid;
  9. border-width: 1px;
  10. border-color: rgb(239, 239, 239);
  11. border-radius: 5px;
  12. padding: 2px;
  13. position: relative;
  14. margin-bottom: 30px;
  15. &:before {
  16. content: '';
  17. position: absolute;
  18. top: -1px;
  19. left: -1px;
  20. right: -1px;
  21. bottom: -1px;
  22. border-radius: 5px;
  23. opacity: 0;
  24. background-image: linear-gradient(40deg, #ff43c0 0%, #ffa95c 100%);
  25. transition: all .4s ease;
  26. }
  27. h3 {
  28. margin: 0;
  29. font-size: 20px;
  30. line-height: 34px;
  31. color: $thm-black;
  32. a {
  33. color: inherit;
  34. transition: all .4s ease;
  35. &:hover {
  36. color: $thm-base-color;
  37. }
  38. }
  39. }
  40. p {
  41. margin: 0;
  42. color: #74727a;
  43. font-size: 16px;
  44. line-height: 34px;
  45. margin-top: 35px;
  46. margin-bottom: 25px;
  47. }
  48. &:hover:before {
  49. opacity: 1;
  50. }
  51. }
  52. &__link {
  53. color: $thm-black;
  54. font-size: 22px;
  55. transition: all .4s ease;
  56. &:hover {
  57. color: $thm-base-color;
  58. }
  59. }
  60. &__inner {
  61. background-color: #fff;
  62. border-radius: 5px;
  63. position: relative;
  64. padding-top: 50px;
  65. padding-bottom: 35px;
  66. }
  67. &__icon {
  68. width: 108px;
  69. height: 108px;
  70. box-shadow: 0px 20px 40px 0px rgba(255, 118, 142, 0.8);
  71. border-radius: 5px;
  72. background-image: linear-gradient(40deg, rgb(255, 67, 192) 0%, rgb(255, 169, 92) 100%);
  73. margin-left: auto;
  74. margin-right: auto;
  75. display: flex;
  76. align-items: center;
  77. justify-content: center;
  78. color: #fff;
  79. font-size: 70px;
  80. margin-bottom: 30px;
  81. }
  82. [class*=col-]:nth-child(1) {
  83. .service-one__single:before,
  84. .service-one__icon {
  85. background-mage: linear-gradient(40deg, rgb(255, 67, 192) 0%, rgb(255, 169, 92) 100%);
  86. }
  87. .service-one__icon {
  88. box-shadow: 0px 20px 40px 0px rgba(255, 118, 142, 0.8);
  89. }
  90. }
  91. [class*=col-]:nth-child(2) {
  92. .service-one__single:before,
  93. .service-one__icon {
  94. background-image: linear-gradient(40deg, rgb(13, 184, 255) 0%, rgb(243, 50, 255) 100%);
  95. }
  96. .service-one__icon {
  97. box-shadow: 0px 20px 60px 0px rgba(141, 142, 255, 0.8);
  98. }
  99. }
  100. [class*=col-]:nth-child(3) {
  101. .service-one__single:before,
  102. .service-one__icon {
  103. background-image: linear-gradient(40deg, rgb(57, 174, 255) 0%, rgb(60, 255, 83) 100%);
  104. }
  105. .service-one__icon {
  106. box-shadow: 0px 20px 40px 0px rgba(58, 212, 173, 0.8);
  107. }
  108. }
  109. [class*=col-]:nth-child(4) {
  110. .service-one__single:before,
  111. .service-one__icon {
  112. background-image: linear-gradient(40deg, rgb(255, 112, 62) 0%, rgb(255, 236, 78) 100%);
  113. }
  114. .service-one__icon {
  115. box-shadow: 0px 20px 40px 0px rgba(255, 178, 71, 0.8);
  116. }
  117. }
  118. }