﻿* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

html, body {
  height: 100%;
  width: 100%;
  min-height: 100%;
  min-width: 100%;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  flex-direction: column;
  row-gap: 1rem;
  background: linear-gradient(to bottom, #ffffff, #f1f2f4);
  color: #1a1a1a;

}

html{
  margin: 0;
  padding: 0;
}

body {
  margin: 0;
  padding: 1rem;
  box-sizing: border-box;
}

  #heartbeat {
    position: relative;
    width: 95%;
    max-width: 512px;
    filter: drop-shadow(2px 7px 6px rgba(0,0,0,0.22));
  }

    #heartbeat img:last-child {
      position: absolute;
      bottom: 0;
      right: 0;
      animation: working-heart 1.2s ease-in-out infinite;
    }

  @keyframes working-heart {
    from {
      transform: scale(1);
      transform-origin: center center;
      animation-timing-function: ease-out;
    }

    5% {
      transform: scale(1.02);
      animation-timing-function: ease-in;
      filter: drop-shadow(2px 2px 4px rgba(0,0,0,0.2));
    }

    25% {
      transform: scale(1);
      animation-timing-function: ease-out;
      filter: drop-shadow(2px 2px 4px rgba(0,0,0,0.1));
    }

    40% {
      transform: scale(1.04);
      animation-timing-function: ease-in;
      filter: drop-shadow(2px 2px 4px rgba(0,0,0,0.5));
    }

    70% {
      transform: scale(1);
      animation-timing-function: ease-out;
    }

    100% {
      transform: scale(1);
      animation-timing-function: ease-out;
    }
  }

  h1 {
    background-color: #047af4;
    background-image: linear-gradient(to bottom, #2cc5ff, #047af4);
    background-size: 100%;
    background-repeat: repeat;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    -moz-background-clip: text;
    -moz-text-fill-color: transparent;
    width: 100%;
    font-weight: 600;
  }