$color-primary: #20BEFF;
:root,
html {
font-size: 10px;
}
body {
display: flex;
justify-content: center;
align-items: center;
width: 100%;
height: 100vh;
font-size: 1.6rem;
font-family: 'Poppins', sans-serif;
line-height: 1.5;
background: linear-gradient(to left top, rgba(#febcc5, 0.2), rgba(#37d9d5, 0.2));
-webkit-font-smoothing: antialiased;
}
.download {
display: flex;
flex-direction: column;
align-items: center;
&__row {
display: flex;
flex-direction: column;
@media (min-width: 35em) {
flex-direction: row;
}
}
&__title,
&__subtitle {
color: mix(#999, $color-primary, 90%);
text-align: center;
}
&__title {
font-weight: bold;
text-transform: uppercase;
letter-spacing: 0.1em;
margin: 0.5em 0 0;
animation: fadeSlideDown 1s cubic-bezier(0.55, 0.15, 0.45, 0.85);
@media (min-width: 50em) {
font-size: 2.5vw;
}
}
&__subtitle {
font-weight: 200;
margin: 0 0 1em;
animation: fadeSlideUp 1s cubic-bezier(0.55, 0.15, 0.45, 0.85);
@media (min-width: 50em) {
font-size: 2vw;
}
}
}
.phone {
display: block;
width: 50%;
}
.icon {
height: 2.5rem;
display: inline-block;
margin-right: 2rem;
}
span {
display: inline-block;
}
.app-icon {
position: relative;
width: 10rem;
height: 10rem;
border-radius: 10rem / 57rem * 10rem;
background-color: $color-primary;
background: linear-gradient(to left top, rgba($color-primary, 1), rgba(#37d9d5, 1));
overflow: hidden;
box-shadow: 0 14px 33px rgba($color-primary,0.2);
animation: fadeSlideUpSlow 8s cubic-bezier(0.55, 0.15, 0.45, 0.85);
&:before,
&:after {
content: "";
display: block;
position: absolute;
margin: auto;
}
&:before {
width: 3rem;
height: 3rem;
background: lighten(#37d9d5, 30);
border-radius: 50%;
left: 0;
right: 0;
top: 4.5rem;
box-shadow: 0 0 20px lighten(#37d9d5, 40);
}
&:after {
width: 3rem;
height: 3rem;
background: lighten(#37d9d5, 38);
border-radius: 50%;
left: 0;
right: 0;
bottom: 4.5rem;
box-shadow: 0 0 20px lighten(#37d9d5, 40);
}
}
.icon-link {
min-width: 18rem;
background: $color-primary;
display: flex;
align-items: center;
margin: 1rem;
padding: 2rem 2.5rem 2rem 2rem;
text-decoration: none;
border-radius: 0.5rem;
//border-radius: 20rem;
color: #fff;
animation: turnUp 0.3s cubic-bezier(0.55, 0.15, 0.45, 0.85);
transition: box-shadow 0.2s cubic-bezier(0.55, 0.15, 0.45, 0.85);
&__eyebrow {
font-size: 1.2rem;
font-weight: bold;
text-transform: uppercase;
letter-spacing: 0.05em;
display: block;
}
&__source {
font-size: 2rem;
line-height: 1;
}
svg {
fill: #fff;
}
&:hover,
&:focus,
&:active {
color: #fff;
box-shadow: 0 14px 33px rgba($color-primary,.09);
svg {
fill: #fff;
}
}
&--apple {
&:hover,
&:focus,
&:active {
background: #999;
}
}
&--google {
&:hover,
&:focus,
&:active {
background: #607D8B;
}
}
}
@keyframes turnUp {
from {
transform: scale(0.9) rotate(3deg) translate3d(0, 10%, 0);
}
}
@keyframes fadeSlideUp {
from {
opacity: 0.8;
transform: translate3d(0, 3%, 0);
}
to {
opacity: 1;
transform: translate3d(0, 0, 0);
}
}
@keyframes fadeSlideDown {
from {
opacity: 0.8;
transform: translate3d(0, -3%, 0);
}
to {
opacity: 1;
transform: translate3d(0, 0, 0);
}
}
@keyframes fadeSlideUpSlow {
from {
opacity: 0.8;
transform: translate3d(0, 15%, 0);
}
to {
opacity: 1;
transform: translate3d(0, 0, 0);
}
}
View Compiled