@font-face {
  font-family: 'bauhaus-93';
  src: url('/fonts/bauhs93-webfont.woff2') format('woff2'),
       url('/fonts/bauhs93-webfont.woff') format('woff');
  font-weight: normal;
  font-style: normal;
}

@keyframes fade-in {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

@keyframes slide-first-name {
  0% {
    transform: translateY(-135px);
  }
  100% {
    transform: translateY(0%);
  }
}

@keyframes slide-last-name {
  0% {
    transform: translateY(-238px);
  }
  100% {
    transform: translateY(0%);
  }
}

*, 
*:before,
*:after {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}

* {
	transition: all 0.3s ease;
}

body {
	background: #ffff00;
	position: relative;
  min-height: 100vh;
  padding: 20px;
  font-family: 'Lato', sans-serif;
}

body::before {
  content: "";
  border: 4px solid #333;
  border-right: 0;
  border-left: 0;
  background-color: #FFF;
  width: 100%;
  height: 40px;
  position: absolute;
  top: 20px;
  left: 0;
}

iframe {
  display: block;
  margin: 0 auto;
}

h1 {
  font-family: 'bauhaus-93';
  font-weight: normal;
  font-size: 80px;
  text-transform: lowercase;
  color: #ff0000;
  margin: 0;
  overflow: hidden;
}

.first-name {
  position: absolute;
	right: 20px;
	top: 63px;
	animation: slide-first-name .75s ease-in 0s 1;
}

.last-name {
  position: absolute;
	right: 20px;
	top: 123px;
  font-size: 102px;
	animation: slide-last-name .75s ease-in 1s 1 backwards;
}

h2 {
  font-family: 'bauhaus-93';
  font-weight: normal;
  font-size: 40px;
  text-transform: lowercase;
  text-align: center;
  color: #ff7200;
  margin: 25px 0 20px;
}

p {
	font-size: 1em;
  line-height: 1.35;
  margin: 0 0 1em;
}

.illustration img {
  bottom: 0;
  left: 0;
  width: 300px;
  position: absolute;
  animation: fade-in 0.75s linear 2s 1 backwards;
}

.thought-bubble { 
  position: absolute;
  bottom: 375px;
  left: 20px;
  background: #FFF;
  width: 250px;
  height: 150px;
  border: 3px solid #333;
  border-radius: 50%;
  font-family: 'bauhaus-93';
  font-weight: normal;
  text-transform: lowercase;
  color: #ff7200;
  margin: 0;
  padding-top: 35px;
  animation: fade-in 0.75s linear 3s 1 backwards;
}

.thought-bubble-inner:before,
.thought-bubble-inner:after {
  content: "";
  background-color: #FFF;
  position: absolute;
  border: 3px solid #333;
  border-radius: 50%;
}

.thought-bubble-inner:before {
  bottom: -47px;
  right: 50%;
  width: 40px;
  height: 40px;
}

.thought-bubble-inner:after {
  bottom: -73px;
  right: 130px;
  width: 20px;
  height: 20px;
}

.thought-bubble p {
  text-align: center;
  margin: 0;
  font-size: 35px;
  white-space: nowrap;
  line-height: 1;
}

.container {
  max-width: 800px;
  padding: 20px;
  background: #fff;
  border: 4px solid #333;
  border-radius: 10px;
  display: flex;
  /*min-height: 100vh;*/
  min-height: calc(100vh - 100px);
  flex-direction: column;
  margin: 60px auto 0;
}

nav {
  font-family: 'bauhaus-93';
  font-weight: normal;
  text-transform: lowercase;
  border-bottom: 4px solid #333;
}

nav ul {
	margin: 10px 0;
	padding: 0;
	display: flex;
	justify-content: space-between;
	list-style: none;
}

nav li {
	margin: 0;
	padding: 0;
	font-size: 28px;
}

nav a {
  display: inline-block;
  padding: 5px 0;
}

a {
	text-decoration: none;
	color: #04229e;
}

a:hover,
a:active {
  color: #ff0000;
}

.content {
  flex: 1;
}

.social {
  padding: 20px 0 0;
  text-align: center;
}

.social svg {
  height: 30px;
	fill:: #04229e;
}

.social a {
  margin: 0 10px;
  height: 30px;
  display: inline-block;
  transition: all 0.2s ease-in-out;
}

.social a:hover {
  transform: scale(1.5);
}

.social a:hover svg {
	fill: #ff0000;
}

@media (max-width: 380px) {
  h1 {
    font-size: 60px;
  }
}

@media (max-width: 500px) {

  h1 {
    margin-bottom: 20px;
    position: relative;
    animation: none;
    text-align: right;
    z-index: 1;
  }

  .first-name,
  .last-name {
    position: static;
  }

  .last-name {
    font-size: inherit;
  }

}

@media (max-width: 767px) {}

@media (max-width: 1024px) {

  body {
    padding: 10px;
  }

  body::before {
    display: none;
  }

	.illustration {
		position: relative;
    margin-top: 560px;
    left: -20px;
    bottom: 36px;
	}

	.container {
    position: relative;
		border-top: 4px solid #333;
		border-bottom: 4px solid #333;
    padding: 10px;
		margin: 0 auto;
    max-width: inherit;
	}

  .container::before {
    content: "";
    border: 4px solid #333;
    border-right: 0;
    border-left: 0;
    background-color: #FFF;
    width: calc(100% + 28px);
    height: 30px;
    position: absolute;
    top: -40px;
    left: -14px;
  }

  nav ul {
    display: block;
    text-align: center;
  }

}

@media (min-width: 1025px) and (max-width: 1500px) {
	body {
		padding-left: 320px;
	}
	.first-name,
	.last-name {
		right: auto;
		left: 126px;
	}
}

@media (min-width: 1025px) {
  .illustration {
    position: fixed;
    bottom: 0;
    left: 0;
  }
}

@media (min-width: 1501px) {}
