@import url(https://fonts.googleapis.com/css?family=Open+Sans);

div {
  text-align: center;
}

h1 {
  font-size: 5em;
  word-wrap: break-word;
  margin: 0;

}

h1, h4, i, .animation-container {
  color: #fff;
  font-family: 'Open Sans', sans-serif;
  margin: .5em 0;
  text-align: center;
  -webkit-text-fill-color: transparent;
  background: -webkit-linear-gradient(transparent, transparent), url("../img/cloth-red.jpg") repeat;
  background: -o-linear-gradient(transparent, transparent);
  -webkit-background-clip: text;
  background-clip: text;
}

h4 {
  font-size: 2em;
  margin: 0.5em;
}

i {
  margin: 1em 0.32em;
}

i:hover {
  margin: 0.2em 0.137em;
  font-size: 4em;
}

.mail:hover {
  font-size: 4em;
  margin: 0.63em 0.32em;
}

@font-face {
  src: url(https://fonts.googleapis.com/css?family=Open+Sans);
  font-family: 'Open Sans', sans-serif;
  font-weight: normal;
  font-style: normal;
}

@media only screen and (max-width: 450px) {
  h1 {
    font-size: 4em;
  }
}

@media only screen and (max-width: 350px) {
  h1 {
    font-size: 3em;
  }
}

body, html {
  margin: 0;
  min-height: 100%;
}

body {
  background: #444 url("../img/texture.png");
}

#main-container {
  display: flex;
  align-items: center;
  flex-direction: column;
  min-height: 100%;
  width: 100%;
  position: absolute;
  align-items: center;
  justify-content: center;
}

body {
  font-family: sans-serif;
  margin: 0;
  padding: 0;
}

.animation-container {
  display: flex;
  color: #fff;
  flex-wrap: wrap;
  justify-content: center;
  font-size: 1.2em;
  padding: 1em;
}

.animation {
  height: 100px;
  width: 100px;
  padding: 1em;
  align-content: center;
}

.confetti {
  animation: hide 2s ease-in 0s 1 forwards;
  position: fixed;
}

@keyframes hide {
  to {
      opacity: 0;
  }
}
