@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap');

* {
    font-family: 'Montserrat';
    color: #FFFFFF;
    user-select: none;
}

body {
    width: 100vw;
    height: 100vh;
    margin: 0;
    padding: 0;
    background-image: url(img/background.png);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    box-sizing: border-box;
}

#bg-wrapper {
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

#text {
    font-size: 2.5rem;
}

#buttons {
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    width: 25%;
    padding: 10px;
}

#yes {
    background-color: #00FF90;
    border: none;
    border-radius: 8px;
    font-size: 2rem;
    transition: transform 0.5s, background-color 0.5s;
}

#yes:hover {
    cursor: pointer;
    background-color: #ff40c6;
    transition: transform 0.5s, background-color 0.5s;
}

#no {
    background-color: #FF3D3D;
    border: none;
    border-radius: 8px;
    font-size: 2rem;
    left: 0px;
    top: 0px;
    position: absolute;
}

#no:hover {
    cursor: pointer;
}

img {
    border-radius: 50%;
}

#invite {
    width: 25%;
    height: 75%;
    background-color: #ff9be1;
    border-radius: 12px;
    border: 5px solid #ff40c6;
    padding: 10px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
}

#invite > h3 {
    padding: 0;
    margin: 0;
    letter-spacing: 0.5rem;
    font-size: 1.5rem;
}

#invite > h4 {
    font-size: 1.1rem;
    color: #ffffff;
}

#heart {
    font-size: 5rem;
    animation-name: heartbeat; 
    animation-timing-function: ease-in-out;
    animation-iteration-count: infinite;
    animation-duration: 1s;
    animation-direction: alternate;
}

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