html, body {
  font-size: 16px;
  margin: 0;
  padding: 0;
  height: 100%;
  font-family:  cursive, sans-serif;
}

.wrapper {
  
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100%;
  
}

section {
  text-align: center;
  margin-bottom: 10%;
}

h1 {
  
  font-size: 2.9vw;
  font-weight: 100;
  margin: 0;
  
}

h1 span {
  font-size: 4vw
}

p {
  margin: 0;
}

#time {

  letter-spacing: 3px;
  font-size: 5vw;
  line-height: 1;
}

#time span {
  
  font-size: 9vw;
  margin-right: 1px;
  
}

.time-line span:last-child {
  display: inline-block;
  width: 10vw;
}

.date-line,
.time-line {
  display: block;
  font-family: 'Permanent Marker', cursive;
}

.time-line {
  margin-top: 0.15em; /* Justera avståndet mellan datum och tid här */
}

a {
  color: #000;
}

.heart {
  font-size: 4rem;
  animation: heartbeat 1.1s infinite;
}

.family {
  font-size: 3rem;
}

@keyframes heartbeat {
  0% {
    transform: scale( .95 );
  }
  20% {
    transform: scale( 1 );
  }
  40% {
    transform: scale( .95 );
  }
  60% {
    transform: scale( 1 );
  }
  80% {
    transform: scale( .95 );
  }
  100% {
    transform: scale( .95 );
  }
}

@media screen and (min-width: 1268px) {
  
  section {
    margin-bottom: 0;
  }
  
  h1 {

    font-size: 1.9rem;
    
  }
  
  h1 span {
    font-size: 3.15rem;
  }
  
  p {
    font-size: 1.5rem;
  }
  
  #time {
    
    font-size: 4.75rem;
    
  }
  
  #time span {
    
    font-size: 7.92rem;
    
  }
  
}
