html,body{height:100%}
.container.bg_heart{position:relative;top:0;left:0;width:100%;height:100%;overflow:hidden}

.heart{position:absolute;top:-50%;-webkit-transform:rotate(-45deg);-moz-transform:rotate(-45deg);-m-transform:rotate(-45deg);transform:rotate(-45deg)}
.heart:before{position:absolute;top:-50%;left:0;display:block;content:"";width:100%;height:100%;background:inherit;border-radius:100%;}
.heart:after{position:absolute;top:0;right:-50%;display:block;content:"";width:100%;height:100%;background:inherit;border-radius:100%;}

@-webkit-keyframes love {
  0%{top:110%}
}
@-moz-keyframes love {
  0%{top:110%}
}
@-ms-keyframes love {
  0%{top:110%}
}
@keyframes love {
  0%{top:110%}
}
@import url('https://fonts.googleapis.com/css?family=Lato');

html,
body {
  height: 100%;
  margin: 0;
  cursor: pointer;
}

body {
  background: linear-gradient(#FFFDF2, #FFD6F7);  
  background-repeat: no-repeat;
}

.heart-container {
  display: block;
  margin-left: auto;
  margin-right: auto;
  width: 500px;
}

svg {
	width: 100%;
	width: 600px;
	min-width: 600px;
	max-width: 600px;
	height: auto;
  filter: drop-shadow( -5px -5px 10px #999999 );
  z-index: 3;
}

.heart-animation {
    animation: heart-anim 1s linear .4s infinite;
}
.heart-animation:before, .heart-animation:after {
  background-color: #ff7693;
}

.heart:hover {
  cursor: pointer;
  transform: scale(1.1);
  transition: transform 0.1s ease;
}

.heart-rect {
  animation: color 10s ease-out infinite;
  transform: scale(.8);
}

.text {
  position: absolute;
  top: 130px;
  text-align: center;
  z-index: 4;
  font-size: 60px;
  margin-left: 115px;
  width: 350px;
  color: #cc0066;
  font-family: 'Lato', sans-serif;
}


.animation {
  animation: fadeIn ease-in 1;
  animation-fill-mode: forwards;
  animation-duration: 1s;
}


@keyframes heart-anim {
  46% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.3);
  }
  52% {
    transform: scale(1.5);
  }
  55% {
    transform: scale(3);
  }
  100% {
    opacity: 0;
    transform: scale(50);
  }
}

@keyframes fadeIn {
  from { opacity: 0; } to { opacity: 1; }
}

@keyframes color {
  0% { 
    fill:#FFD1D1; 
  }
  17% { 
    fill:#FFB9F5;
  }
  34% { 
    fill:#E8CDFF;
  }
  51% { 
    fill:#BEEAFF;
  }
  68% { 
    fill:#B9FFE5;
  }
  85% {
    fill: #fdfd96;
  }
  100% { 
    fill:#FFD1D1; 
  }
}


@keyframes pulse {
  0% { transform: scale(.8); }
  50% { transform: scale(.825); }
  100% { transform: scale(.8); }
}

canvas {
  position: fixed;
  top: 0;
  z-index: -1;
  width: 100%;
  height: 100vh;
  margin-left: 0em;
  cursor: pointer;
}
.container{
  width:400px;
  max-width:400px;
  overflow:hidden;
}

