|
- @import '../../_global/styles/mixins';
- @import '../../_global/styles/vars';
-
- .quick-facts {
- position: relative;
- margin: var(--section-margin) 0;
-
- .container {
- position: relative;
-
- > h2, h3, h4 {
- position: absolute;
- left: 0;
- right: 0;
- top: 0;
- text-align: center;
- text-transform: uppercase;
- font-size: var(--font-size-xs);
- line-height: 1;
- z-index: 1;
- font-weight: 400;
- font-family: "Source Sans Pro", sans-serif;
- margin-top: 30px;
-
- @media(max-width: 567px) {
- margin-top: 20px;
- }
- }
- }
-
- .slider {
- position: relative;
- display: block;
- text-align: center;
- background-color: var(--theme-color-primary-dimmed-04);
- overflow: hidden;
-
- @media(max-width: 767px) {
- margin: 0 -20px;
- }
-
- &:before {
- content: "";
- position: absolute;
- width: 374px;
- height: 374px;
- background-color: #9AD7A3;
- top: 50%;
- left: 50%;
- border-radius: 50%;
- transform: translate(-50%, -50%);
-
- @media(max-width: 567px) {
- width: 110vw;
- height: 110vw;
- }
- }
- }
-
- .slide {
- position: relative;
- min-height: 400px;
- display: flex;
- align-items: center;
- justify-content: center;
-
- @media(max-width: 567px) {
- min-height: 100vw;
- }
- }
-
- p {
- max-width: 100%;
- }
- .counter {
- display: inline-block;
- font-size: 180px;
- line-height: 1;
- font-family: "Korb", sans-serif;
- font-weight: 700;
- text-align: center;
- max-width: 100%;
-
- @media(max-width: 999px) {
- font-size: calc(10vw + 50px);
- }
- }
-
- .fact-label {
- display: block;
- padding: 10px 20px 0;
- line-height: 1.4;
-
- @media(min-width: 768px) {
- padding-left: 60px;
- padding-right: 60px;
- }
- }
-
- .like-h4 {
- max-width: 60%;
- text-align: center;
- margin: 40px auto;
-
- @media(max-width: 999px) {
- max-width: 80%;
- padding: 0 20px;
- }
- @media(max-width: 767px) {
- max-width: 100%;
- padding: 0 20px;
- }
- }
-
- button {
- border: 0;
- background-color: transparent;
- padding: 0;
- cursor: pointer;
- }
-
- .slider-tabs, .tabs {
- position: absolute;
- bottom: 0;
- left: 50%;
- right: 0;
- padding: 0;
- list-style: none;
- transform: translate(-50%, 0);
- text-align: center;
- font-size: 0;
- line-height: 0;
- margin: 20px 0;
-
- @media(max-width: 567px) {
- margin-bottom: 12px;
- }
-
- li {
- display: inline-block;
- vertical-align: top;
-
- &.active button:before {
- background-color: var(--theme-color-primary);
- box-shadow: 0 0 0 2px var(--theme-color-primary);
- }
- }
-
- .btn {
- --button-min-size: 24px;
- font-size: 0;
- line-height: 0;
- display: flex;
- align-items: center;
- justify-content: center;
-
- &::before {
- content: "";
- position: relative;
- display: block;
- width: 10px;
- height: 10px;
- border: 2px solid var(--theme-color-primary);
- border-radius: 5px;
- transition: 0.2s ease;
- }
-
- &::after {
- display: none;
- }
-
- &:hover {
- background-color: transparent;
-
- &::before {
- background-color: var(--theme-color-primary);
- }
- }
- }
- }
-
- .prev, .next {
- position: absolute;
- top: 50%;
- width: 50px;
- height: 50px;
- text-align: center;
- line-height: 50px;
- right: 0;
- margin: -25px 10px;
- color: var(--theme-color-primary);
-
- @media(max-width: 767px) {
- display: none;
- }
-
- &:before {
- @include icon-small-arrow-right-simple;
- font-family: "Icons", sans-serif;
- font-size: 30px;
- }
- }
-
- .prev {
- left: 0;
- transform: rotate(180deg);
- }
-
- .count {
- position: absolute;
- bottom: 0;
- left: 0;
- right: 0;
- text-align: center;
- font-size: 18px;
- padding-bottom: 20px;
- font-family: var(--font-korb);
- visibility: hidden;
-
- span {
- margin: 0 5px;
- }
- }
- }
|