No puede seleccionar más de 25 temas Los temas deben comenzar con una letra o número, pueden incluir guiones ('-') y pueden tener hasta 35 caracteres de largo.
 
 
 
 

175 líneas
3.0 KiB

  1. @use '../../_global/styles/mixins' as *;
  2. @use '../../_global/styles/vars' as *;
  3. @use '../../atoms/slider-tabs/slider-tabs';
  4. .quick-facts {
  5. position: relative;
  6. margin: var(--section-margin) 0;
  7. .container {
  8. position: relative;
  9. > h2, h3, h4 {
  10. position: absolute;
  11. left: 0;
  12. right: 0;
  13. top: 0;
  14. text-align: center;
  15. text-transform: uppercase;
  16. font-size: var(--font-size-xs);
  17. line-height: 1;
  18. z-index: 1;
  19. font-weight: 400;
  20. font-family: "Source Sans Pro", sans-serif;
  21. margin-top: 30px;
  22. @media(max-width: 567px) {
  23. margin-top: 20px;
  24. }
  25. }
  26. }
  27. .slider {
  28. position: relative;
  29. display: block;
  30. text-align: center;
  31. background-color: var(--theme-color-primary-dimmed-04);
  32. overflow: hidden;
  33. @media(max-width: 767px) {
  34. margin: 0 -20px;
  35. }
  36. &:before {
  37. content: "";
  38. position: absolute;
  39. width: 374px;
  40. height: 374px;
  41. background-color: #9AD7A3;
  42. top: 50%;
  43. left: 50%;
  44. border-radius: 50%;
  45. transform: translate(-50%, -50%);
  46. @media(max-width: 567px) {
  47. width: 110vw;
  48. height: 110vw;
  49. }
  50. }
  51. }
  52. .slide {
  53. position: relative;
  54. min-height: 400px;
  55. display: flex;
  56. align-items: center;
  57. justify-content: center;
  58. @media(max-width: 567px) {
  59. min-height: 100vw;
  60. }
  61. }
  62. p {
  63. max-width: 100%;
  64. }
  65. .counter {
  66. display: inline-block;
  67. font-size: 180px;
  68. line-height: 1;
  69. font-family: "Korb", sans-serif;
  70. font-weight: 700;
  71. text-align: center;
  72. max-width: 100%;
  73. @media(max-width: 999px) {
  74. font-size: calc(10vw + 50px);
  75. }
  76. }
  77. .fact-label {
  78. display: block;
  79. padding: 10px 20px 0;
  80. line-height: 1.4;
  81. @media(min-width: 768px) {
  82. padding-left: 60px;
  83. padding-right: 60px;
  84. }
  85. }
  86. .like-h4 {
  87. max-width: 60%;
  88. text-align: center;
  89. margin: 40px auto;
  90. @media(max-width: 999px) {
  91. max-width: 80%;
  92. padding: 0 20px;
  93. }
  94. @media(max-width: 767px) {
  95. max-width: 100%;
  96. padding: 0 20px;
  97. }
  98. }
  99. button {
  100. border: 0;
  101. background-color: transparent;
  102. padding: 0;
  103. cursor: pointer;
  104. }
  105. .slider-tabs, .tabs {
  106. bottom: 0;
  107. margin: 20px 0;
  108. @media(max-width: 567px) {
  109. margin-bottom: 12px;
  110. }
  111. }
  112. .prev, .next {
  113. position: absolute;
  114. top: 50%;
  115. width: 50px;
  116. height: 50px;
  117. text-align: center;
  118. line-height: 50px;
  119. right: 0;
  120. margin: -25px 10px;
  121. color: var(--theme-color-primary);
  122. @media(max-width: 767px) {
  123. display: none;
  124. }
  125. &:before {
  126. @include icon-small-arrow-right-simple;
  127. font-family: "Icons", sans-serif;
  128. font-size: 30px;
  129. }
  130. }
  131. .prev {
  132. left: 0;
  133. transform: rotate(180deg);
  134. }
  135. .count {
  136. position: absolute;
  137. bottom: 0;
  138. left: 0;
  139. right: 0;
  140. text-align: center;
  141. font-size: 18px;
  142. padding-bottom: 20px;
  143. font-family: var(--font-korb), sans-serif;
  144. visibility: hidden;
  145. span {
  146. margin: 0 5px;
  147. }
  148. }
  149. }