:root {
  --green: #7cfc00;
  --gold: #fdd017;
  --red: #ff0000;
}

* {
  padding: 0;
  margin: 0;
}

audio {
  display: none;
}

@font-face {
  font-family: Handwriting;
  src: url(SaiK2Handwriting.ttf);
}

body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

html, body {
  font-family: Handwriting;
  margin: 0;
  padding: 0;
  background-color: black;
  user-select: none;
  
}

p {
  color: white;
}

h3, h1 {
  padding: 5px;
  color: white;
  text-align: center;
  border-bottom: 2px solid var(--green);
}

img {
  width: 100%;
}

button {
  font-family: Handwriting;
  padding: 15px 30px;
  background-color: transparent;
  color: var(--green);
  border: 2px solid var(--green);
  border-radius: 5%;
}

.background {
  display: flex;
  flex-direction: column;
  width: 100%;
  justify-content: center;
  position: relative;
}

.img-box {
  width: 200px;
  height: auto;
  overflow: hidden;
}

.container {
  margin: 10px;
  display: flex;
  flex-direction: row;
  justify-content: space-evenly;
}

.box {
  padding: 0;
  margin: 0;
  height: fit-content;
}

.datecounter {
  margin: 15px;
}

.datecounter p {
  text-align: center;
  font-size: 1.2rem;
}

.btnContainer {
  display: flex;
  justify-items: center;
  justify-content: center;
}

.paragraph {
  margin: 20px 50px;
  border: 2px solid var(--green);
  border-radius: 8px;
  list-style: none;
  font-size: 1.1rem;
  color: white;
}
.paragraph li {
  margin: 10px;
  padding: 10px;
}

.inputBox {
  margin: auto;
  padding: 10px;
  width: 25vw;
  height: 20vh;
  border-radius: 10px;
  background-color: antiquewhite;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: absolute;
  z-index: 10;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: none;
}

.inputBox input {
  display: block;
  margin: 0 auto;
  border-radius: 8px;
  padding: 10px;
  width: 100%;
  max-width: 300px;
  box-sizing: border-box;

}



.addbutton {
  color: var(--red);
  font-size: 1.5rem;
  background-color: black;
  border: 3px solid var(--red);
  width: 50px;
  height: 50px;
  border-radius: 30%;
  position: absolute;
  bottom: 15px;
  right: 15px;
  text-align: center;
  align-content: center;
}

.buttonContainer {
  margin-top: 15px;
  display: flex;
  flex-direction: row;
  justify-content: space-evenly;
}

.buttonContainer button {
  color: black;
  padding: 10px;
  border: 2px solid black;
}

@media only screen and (max-width: 768px) {
  .inputBox {
    width: 60vw;
    height: 15vh;
  }

  h3 {
    border-color: var(--red);
  }
  button {
    border-color: var(--red);
    color: white;
  }
  .img-box {
    width: 30vw;
    height: auto;
    overflow: hidden;
  }

  .background {
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: fit-content;
  }

  

  .datecounter {
    margin: 5px 0;
  }

  .datecounter p {
    text-align: center;
    font-size: 1.3rem;
  }

  .btnContainer {
    display: flex;
    justify-items: center;
    justify-content: center;
  }

  .paragraph {
    margin: 10px;
    display: flex;
    flex-direction: column;
    border: 2px solid var(--red);
    border-radius: 8px;
    list-style: none;
  
  }

  ul.paragraph li {
    margin: 0 5px;
    font-size: 1rem;
    color: white;
  }
}

.heart {
  align-self: center;
  height: 1.5rem;
  width: 1.5rem;
  background: #f20044;
  transform: rotate(-45deg);
  position: relative;
  box-shadow: -10px 10px 50px #f20044;
  animation: heart 0.6s linear infinite;
}

@keyframes heart {
  0% { transform: rotate(-45deg) scale(1.07);}
  80% { transform: rotate(-45deg) scale(1);}
  100% { transform: rotate(-45deg) scale(0.8);}
  

  
}

.heart:before {
  content: '';
  position: absolute;
  height: 1.5rem;
  width: 1.5rem;
  background: #f20044;
  top: -50%;
  border-radius: 50px;
  box-shadow: -10px 5px 50px #f20044;
}

.heart:after {
  content: '';
  position: absolute;
  height: 1.5rem;
  width: 1.5rem;
  background: #f20044;
  right: -50%;
  border-radius: 50px;
  box-shadow: 10px 10px 50px #f20044;
}
