Newer
Older
max-width: 1800px;
margin: 0 auto;
display: flex;
flex-direction: column;
background-color: #ff4754;
color: whitesmoke;
> .body {
flex-grow: 1;
}
.heroText {
display: flex;
justify-content: center;
align-items: center;
}
.primary {
max-width: 560px;
h2 {
margin: 0;
}
}
.heroFix {
min-height: 128px;
}
.link {
display: block;
margin-top: 4em;
color: white;
text-decoration: none;
span {
font-weight: 400;
border-bottom: 2px solid white;
}
}
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
.heroImage {
display: flex;
align-items: center;
justify-content: center;
.container {
background: url('/concept_outer.svg');
background-repeat: no-repeat;
animation-name: outer;
animation-timing-function: cubic-bezier(0.445, 0.05, 0.55, 0.95);
animation-iteration-count: infinite;
animation-duration: 5s;
img {
position: relative;
left: -15px;
top: 10px;
animation-name: inner;
animation-timing-function: cubic-bezier(0.445, 0.05, 0.55, 0.95);
animation-iteration-count: infinite;
animation-duration: 5s;
}
}
}
}
@keyframes outer {
0% { transform: translateY(0px) };
50% { transform: translateY(14px) };
100% { transform: translateY(0px) };
}
@keyframes inner {
0% { transform: translateY(0px) };
50% { transform: translateY(4px) };
100% { transform: translateY(0px) };
}
// will be moved to its own component
.nav {
width: 100%;
min-height: 128px;
padding: 40px;
flex: 0 1;
display: flex;
.logo {
height: 38px;
}
}
@media (max-width: 1240px) {
.hero > .body {
flex-direction: column-reverse;
}
.heroImage {
margin-bottom: 2em;