body, div, p, ul, li, h1, h2, h3, a {
	padding:0;
	margin:0;
}

* {
	box-sizing:border-box;
}

body {
	font-family: 'Quicksand', sans-serif;
  font-size:16px;
  color: #212322;
}

a {
  color: #212322;
}

.container {
  position: fixed;
  padding: 40px;
	top:0;
	left:0;
	right:0;
	bottom:0;
	display:flex;
	flex-direction: column;
}

header, main, footer {
	width:100%;
}

header, footer {
	flex:0 0 auto;
}

main {
	flex:1 1 auto;
	display: flex;
	align-items: flex-start;
	justify-content: center;
	flex-direction: column;
	padding:0 16px;
  max-width: 100%;
  position: relative;
  z-index: 1;
}

.logo {

	background:url('assets/logo.svg') center center no-repeat;
	width:400px;
	height:160px;
  background-size: contain;
  position: absolute; 
  right: 24px;
  bottom: 0px;
  z-index: 10;
  opacity: 0;
  animation-name: dropFade;
  animation-fill-mode:forwards;
  animation-duration: 1000ms;
  animation-delay: 250ms;
}

a span {
  display: inline-flex;
  vertical-align: middle;
}

a .image {
  background: #D74E8F;
  height: 48px;
  width: 48px;
  align-items: center;
  justify-content: center;
  border-radius: 100%;
  margin: -1px 0 0 -24px;
}

h1 {
  font-family: 'Quicksand', sans-serif;
  font-weight: 600;
	font-size:64px;
  text-align: left;
  letter-spacing: -2px;
	margin-bottom:8px;
  max-width: 100%;
}

.logo ~ * {
  opacity: 0;
  animation-name: dropFade;
  animation-fill-mode:forwards;
  animation-duration: 1000ms;
}

h2 {
	font-size:28px;
	text-align: left;
	margin-bottom:40px;
  font-weight:300;
}

.buttons {
  display: flex;
}

a {
  padding: 0 24px;
	height:54px;
	border-radius:32px;
  overflow: hidden;
	border:2px solid #FA5959;
	font-size:20px;
  font-weight: 600;
	line-height: 50px;
	text-align: center;
	display:block;
  text-decoration: none;
	background: #FA5959;
  color:white;
  transition: transform, 200ms;
}

a + a {
  margin-left: 12px;
  background:transparent;
  color:#FA5959;
}

a:hover {
  transform: translateY(-4px);
}

footer {
	text-align: center;
	font-weight: 300;
	padding:16px;
}

@media (max-width:800px) {
	body {
		font-size:14px;
	}
	
	.logo {
	width:320px;
	height:120px;
}


	.container {
		background-size: auto 100%;
	}

	h1 {
		font-size:48px;
		/* letter-spacing: -1px; */
	}

	h2 {
		font-size:16px;
	}
}

.images img {
  position: absolute;
  opacity: 0;
  width: 40vw;
  height: 40vw; 
  max-width: 640px;
  object-fit: contain;
  animation-name: fadein;
  animation-fill-mode:forwards;
  animation-duration: 500ms;
}

.shape-1 { /* Triangle */
  left: -20px;
  top:-320px;
  animation-delay: 250ms;
}

.shape-2 { /* epntagon */
  left: -160px;
  bottom:-40vh;
  animation-delay: 500ms;
}

.shape-3 { /* Square */
  right: 10%;
  top:-160px;
  animation-delay: 750ms;
}

.shape-4 {
  right: -120px;
  bottom:40%;
  animation-delay: 1000ms;
}

.shape-5 {
  left: 15%;
  bottom:-400px;
  animation-delay: 1000ms;
}

@media (max-width:600px) {

  .buttons {
    flex-direction: column;
  }

  a + a {
    margin-left: 0;
    margin-top: 12px;
  }

  .container {
    padding: 16px;
  }

  .images img {
    transform: scale(1.2);
  }

  .shape-1 { /* Triangle */
    left: -80px;
    top:-80px;
  }

  .shape-2 { /* pentagon */
    left: -80px;
    bottom:-80px;
  }

  .shape-3 { /* Square */
    right: -80px;
    top: -40px;
  }

  .shape-4 {
    right: -96px;
    bottom: 32px;
  }

	.logo {
		width:200px;
    height:56px;
    /* background-size: contain; */
    position: static;
    margin: 0 auto 16px;
	}

	h1 {
    font-size:40px;
    text-align: center;
    line-height: 1.2;
    margin-bottom: 16px;
  }

  h1 span, h2 span {
    display: block;
  }

  h2 {
    text-align: center;
  }

	a {
    font-size: 16px;
    text-align: center;
	}

  main {
    align-items: center;
  }
}

@keyframes fadein {
  from { opacity: 0; }
  to   { opacity: 0.64; }
}

@keyframes dropFade {
  from {
    transform: translateY(-40px);
    opacity: 0;
  }
  to   {
    transform: translateY(0);
    opacity: 1;
  }
}
