.btn {
overflow: hidden;
-webkit-tap-highlight-color: transparent;
font-size: var(--text-body-md);
min-width: 100px;
padding: 0 8px;
}
.btn__dark {
display: inline-flex;
align-items: center;
border-radius: 25.647px;
font-family: 'Figtree', sans-serif;
background: linear-gradient(180deg, #1E60B6 -36.5%, #17348F 56.1%, #001636 131.81%);
color: #FFF;
min-height: 44px;
font-size: 16px;
text-align: center;
font-style: normal;
line-height: normal;
text-decoration: none;
position: relative;
transition: background 0.4s ease;
}
.btn__light {
display: inline-flex;
align-items: center;
justify-content: center;
border-radius: 25.647px;
background: var(--Light-Grey02, #E8F3F7);
color: var(--Dark-Blue, #0D2056);
min-height: 44px;
font-size: 16px;
min-width: 100px;
text-align: center;
font-family: 'Figtree', sans-serif;
text-decoration: none;
font-style: normal;
line-height: normal;
position: relative;
transition: background 0.4s ease;
}
.btn__content {
position: relative;
display: flex;
align-items: center;
justify-content: space-between;
gap: 8px;
padding-left: 1rem;
padding-right: 1rem;
}
.hidden {
display: none;
}
.btn__icon {
width: 19px;
}
.btn__icon.--1 {
position: absolute;
}
@media (hover: hover) and (pointer: fine) and (min-width: 980px) {
.has-hover\:block {
display: block;
}
.btn__label {
transform: translate(0);
transition: transform 1s cubic-bezier(.19, 1, .22, 1);
}
.btn:hover .btn__label {
transform: translate(34px);
}
.btn__icon {
transition: transform .75s cubic-bezier(.19, 1, .22, 1);
}
.btn__icon.--1 {
transform: translate(-50px);
transition-delay: 0s;
}
.btn:hover .btn__icon.--1 {
transform: translate(0);
transition-delay: .2s;
}
.btn__icon.--2 {
transform: translate(0);
transition-delay: .2s;
}
.btn:hover .btn__icon.--2 {
transform: translate(50px);
transition-delay: 0s;
}
.btn__light:hover {
background: var(--Light-Grey03, #D1E6F2);
}
}
@media (max-width: 980px) {
.btn__icon.--2 {
display: block;
width: 20px;
}
.btn__icon.--1 {
display: none;
}
}