@use '../utils' as *; /*----------------------------------------*/ /* SEARCH CSS START /*----------------------------------------*/ .search{ $self:&; &__popup{ padding-top: 70px; padding-bottom: 100px; position: fixed; top: 0; left: 0; right: 0; width: 100%; height: 48%; z-index: 9999999; background: var(--it-common-black); @include transform(translateY(calc(-100% - 80px))); -webkit-transition: transform 0.6s ease-in-out, opacity .6s ease-in-out; -moz-transition: transform 0.6s ease-in-out, opacity .6s ease-in-out; transition: transform 0.6s ease-in-out, opacity .6s ease-in-out; transition-delay: .7s; &.search-opened{ @include transform(translateY(0%)); transition-delay: 0s; #{$self}{ &__input{ @include transform(translateY(0px)); opacity: 1; transition-delay: .3s; &::after{ width: 100%; transition-delay: .5s; } } } } &-2{ background-color: var(--it-common-black-13); & #{$self}{ &__input{ & .search-input-field{ & ~ .search-focus-border{ background-color: var(--it-theme-8) ; } } } } } &-3{ & #{$self}{ &__input{ & .search-input-field{ & ~ .search-focus-border{ background-color: var(--it-theme-10) ; } } } } } } &__top{ margin-bottom: 80px; } &__input{ position: relative; height: 80px; transition-delay: .5s; opacity: 0; &::after{ position: absolute; content: ''; left: 0; bottom: 0; width: 0%; height: 1px; background-color: rgba($color: #fff, $alpha: .3); transition-delay: .3s; } & input{ width: 100%; height: 100%; background-color: transparent; border: 0; outline: 0; font-size: 24px; color: var(--it-common-white); border-bottom: 1px solid transparent; padding: 0; padding-right: 30px; @include it-placeholder{ color: rgba($color: #fff, $alpha: .5); font-size: 24px; } } & button{ position: absolute; top: 50%; right: 0; @include transform(translateY(-50%)); font-size: 18px; color: var(--it-common-white); } @at-root{ & .search-input-field{ & ~ .search-focus-border{ position: absolute; bottom: 0; left: auto; right: 0; width: 0; height: 1px; background-color: var(--it-common-orange); @include transition(.5s); } &:focus ~ .search-focus-border{ width: 100%; left: 0; right: auto; @include transition(.5s); } } } } &__close{ &-btn{ font-size: 25px; color: rgba($color: #fff, $alpha: .3); &:hover{ color: var(--it-common-white); } } } &__result{ &-title{ font-size: 50px; letter-spacing: -0.04em; margin-bottom: 0; @media #{$sm}{ font-size: 40px; } @media #{$xs}{ font-size: 35px; } & span{ color: var(--it-theme-1); display: inline-block; } } &-content{ & p{ font-size: 16px; line-height: 1.62; color: var(--it-text-1); } } &-input{ position: relative; &-box{ position: relative; margin-bottom: 20px; & button{ position: absolute; top: 0; right: 0; padding: 22px 43px; @media #{$xs}{ position: relative; margin-top: 15px; } &:hover{ background-color: var(--it-common-black); } } } & input{ width: 100%; height: 70px; padding-left: 60px; padding-right: 177px; background-color: var(--it-common-white); border: 1px solid var(--it-common-white); box-shadow: -3px 0px 0px var(--it-theme-1), 0px 1px 2px rgba(3, 4, 28, 0.14); @media #{$xs}{ padding-right: 25px; } } & span{ position: absolute; top: 50%; left: 30px; @include transform(translateY(-50%)); font-size: 18px; color: #A0A0B5; & svg{ @include transform(translateY(-2px)); } } } &-tags{ & a{ display: inline-block; font-family: var(--it-ff-space); font-size: 13px; font-weight: 500; border: 1px solid #D5D5DD; padding: 5px 18px; line-height: 1; margin-right: 2px; margin-bottom: 7px; &:hover{ background-color: var(--it-theme-1); border-color: var(--it-theme-1); color: var(--it-common-white); } } } } &__blog{ &-item{ padding: 50px 50px; border: 1px solid #EAEAEF; @media #{$lg}{ padding: 30px 30px; } @media #{$md}{ padding: 25px; } @media #{$xs}{ padding: 20px; } } &-title{ font-size: 30px; line-height: 1.2; letter-spacing: -0.04em; margin-bottom: 13px; @media #{$lg}{ font-size: 28px; } @media #{$md}{ font-size: 21px; & br{ display: none; } } @media #{$sm, $xs}{ & br{ display: none; } } @media #{$xs}{ font-size: 25px; } & a{ &:hover{ color: var(--it-theme-1); } } } &-tag{ margin-bottom: 10px; & a{ display: inline-block; background-color: rgba($color: #6364DB, $alpha: .06); font-family: var(--it-ff-space); font-weight: 500; font-size: 15px; line-height: 1; color: var(--it-common-purple); padding: 4px 12px; &:hover{ background-color: var(--it-common-purple); color: var(--it-common-white); } } } &-meta{ & span{ color: var(--it-text-1); margin-right: 15px; margin-bottom: 10px; display: inline-block; & i, & svg{ margin-right: 2px; } & svg{ @include transform(translateY(-1px)); & path{ stroke: #7A7E83; } } } &-author{ margin-bottom: 10px; @media #{$md}{ margin-right: 20px; } &-thumb{ & img{ width: 24px; height: 24px; border-radius: 50%; margin-right: 10px; } } &-content{ & span{ display: inline-block; font-family: var(--it-ff-inter); font-size: 14px; color: #7A7E83; & a{ color: var(--it-common-black-11); font-weight: 500; &:hover{ color: var(--it-theme-1); } } } } } } &-content{ & p{ font-size: 15px; line-height: 1.47; color: var(--it-text-1); margin-bottom: 20px; } } &-btn{ & .it-btn-border{ padding: 8px 29px; & svg, & i{ margin-left: 5px; } & svg{ @include transform(translateY(-1px)); } &:hover{ background-color: var(--it-theme-1); border-color: var(--it-theme-1); color: var(--it-common-white); } } } } } body.it-magic-cursor #magic-cursor { display: block; } #magic-cursor { position: absolute; display: none; width: 10px; height: 10px; pointer-events: none; z-index: 99999; opacity: 0; } #ball { position: fixed; display: flex; align-items: center; pointer-events: none; border-style: solid; border-radius: 50%; justify-content: center; mix-blend-mode: difference; color: var(--it-theme-1); } /* Ball view ============= */ #ball .ball-view { position: absolute; opacity: 0; visibility: hidden; padding: 0 5px; font-size: 14px; font-weight: 500; color: #222; line-height: 1.3; text-align: center; transform: scale(0); } #ball .ball-view i { font-size: 19px; } /* Ball drag ============= */ #ball .ball-drag { position: absolute; display: block; width: 100%; padding: 0 5px; font-size: 15px; font-weight: 600; color: #FFF; line-height: 1.2; text-align: center; transition: all 0.3s; } #ball .ball-drag::before, #ball .ball-drag::after { position: absolute; top: 50%; margin-top: -5px; font-size: 19px; color: #FFF; height: 10px; line-height: 10px; font-family: "Font Awesome 6 Pro"; font-weight: 900; display: inline-block; font-style: normal; font-variant: normal; text-rendering: auto; -webkit-font-smoothing: antialiased; } #ball .ball-drag::before { content: "\f104"; /* Font Awesome */ left: 0; transform: translate3d(-30px, 0, 0); transition: all 0.25s; } #ball .ball-drag::after { content: "\f105"; /* Font Awesome */ right: 0; transform: translate3d(30px, 0, 0); transition: all 0.25s; } /* Ball close ============== */ #ball.ball-close-enabled { opacity: 1 !important; } #ball .ball-close { position: absolute; padding: 0 5px; font-size: 14px; font-weight: 600; color: #FFF; line-height: 1; text-align: center; } .it-toggle-btn-box { position: relative; display: inline-block; width: 50px; height: 50px; line-height: 50px; text-align: center; } .it-magnetic-wrap { display: flex; justify-content: center; align-items: center; }