You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

185 lines
3.8 KiB
CSS

/* Resets */
@font-face {
font-family: "Lato";
font-style: normal;
font-display: swap;
font-weight: 300;
src: local("Lato Light"), local("Lato-Light"), url("../fonts/Lato-Light.ttf") format("truetype"); }
@font-face {
font-family: "Lato";
font-style: normal;
font-display: swap;
font-weight: 400;
src: local("Lato Regular"), local("Lato-Regular"), url("../fonts/Lato-Regular.ttf") format("truetype"); }
@font-face {
font-family: "Lato";
font-style: normal;
font-display: swap;
font-weight: 700;
src: local("Lato Bold"), local("Lato-Bold"), url("../fonts/Lato-Bold.ttf") format("truetype"); }
*,
*::before,
*::after {
margin: 0;
padding: 0;
box-sizing: inherit; }
html {
font-size: 62.5%; }
body {
font-family: Arial, Helvetica, sans-serif;
font-size: 1.6rem;
color: #777;
padding: 3rem;
line-height: 1.7;
box-sizing: border-box; }
.content-wrapper {
background: #fafafa; }
.header {
position: relative;
height: 95vh;
background-image: linear-gradient(rgba(56, 218, 116, 0.7), rgba(38, 189, 93, 0.7)), url("../img/train.jpg");
background-position: center;
clip-path: polygon(0 0, 100% 0, 100% 85vh, 0 100%); }
.header-logo {
position: absolute;
top: 4rem;
left: 4rem; }
.logo {
height: 3.5rem; }
.hero-text-box {
position: absolute;
top: 40%;
left: 50%;
transform: translate(-50%, -50%);
text-align: center; }
.hero-primary {
text-transform: uppercase;
color: #ffffff;
backface-visibility: hidden;
margin-bottom: 6rem; }
.hero-title-main {
display: block;
top: 25%;
font-weight: 400;
font-size: 6rem;
letter-spacing: 3.5rem;
animation: moveInLeft 0.8s ease-out; }
.hero-title-sub {
display: block;
position: relative;
top: 25%;
font-weight: 700;
font-size: 2rem;
letter-spacing: 1.75rem;
animation: moveInRight 0.8s ease-out; }
.dark-hero-title {
color: #777; }
.pitch {
height: 150vh; }
.banana-slug-back {
position: absolute;
top: -200px;
left: 4rem;
height: 40rem;
width: 40rem;
background-image: linear-gradient(#fafafa, #fafafa);
border-radius: 100%; }
.banana-slug {
height: 40rem;
width: 40rem;
border-radius: 100%;
border: 0.3rem solid #fafafa;
animation: moveInBottom 1s ease-out;
animation-fill-mode: backwards; }
.cards {
position: relative;
height: 90vh;
background-image: url("../img/bg-cube-pattern.png"), linear-gradient(rgba(45, 114, 243, 0.8), rgba(45, 114, 243, 0.8)); }
@keyframes moveInLeft {
0% {
opacity: 0;
transform: translate(-5rem); }
80% {
transform: translate(1rem); }
100% {
opacity: 1;
transform: translate(0); } }
@keyframes moveInRight {
0% {
opacity: 0;
transform: translate(5rem); }
80% {
transform: translate(-1rem); }
100% {
opacity: 1;
transform: translate(0); } }
@keyframes moveInBottom {
0% {
opacity: 0;
transform: translate(0, 5rem); }
100% {
opacity: 1;
transform: translate(0); } }
.btn:link,
.btn:visited {
text-transform: uppercase;
text-decoration: none;
padding: 1.5rem 4rem;
display: inline-block;
border-radius: 10rem;
transition: all 0.2s;
position: relative; }
.btn-white {
background-color: #ffffff;
color: #777; }
.btn:hover {
transform: translateY(-3px);
box-shadow: 0 1rem 2rem rgba(0, 0, 0, 0.2); }
.btn:active {
transform: translateY(-1px);
box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.2); }
.btn::after {
content: "";
display: inline-block;
height: 100%;
width: 100%;
border-radius: 10rem;
position: absolute;
top: 0;
left: 0;
z-index: -1;
transition: all 0.4s; }
.btn-white::after {
background-color: #ffffff; }
.btn:hover::after {
transform: scaleX(1.4) scaleY(1.6);
opacity: 0; }
.btn-animated {
animation: moveInBottom 0.8s ease-out;
animation-fill-mode: backwards; }
/*# sourceMappingURL=app.css.map */