@font-face {
  font-family: "ruth";
  src: url("./fonts/Runethia.otf");
}

@keyframes swing {
  0%{
    transform: perspective(150px) rotateY(15deg);
  }

  50%{
    transform: perspective(150px) rotateY(-15deg);
  }

  100%{
    transform: perspective(150px) rotateY(15deg);
  }
}

body {
  /* background-color: #E5E5F7;
opacity: 0.8;
background: repeating-linear-gradient(30deg, #E5E5F7 0px, #E5E5F7 15px, #444CF7 15px, #444CF7 30px, #22D1EE 30px, #22D1EE 45px, #444CF7 45px, #444CF7 60px); */
  
/* background:
    linear-gradient(80deg, rgb(175, 202, 52), rgb(97, 91, 93)),
    url(https://grainy-gradients.vercel.app/noise.svg); */

    background:
linear-gradient(27deg, #238f23 5px, transparent 5px) 0 5px,
linear-gradient(207deg, #238f23 5px, transparent 5px) 10px 0px,
linear-gradient(27deg, #7e9b18 5px, transparent 5px) 0px 10px,
linear-gradient(207deg, #7e9b18 5px, transparent 5px) 10px 5px,
linear-gradient(90deg, #1e752d 10px, transparent 10px),
linear-gradient(#75961b 25%, #1a1a1a 25%, #1a1a1a 50%, transparent 50%, transparent 75%, #242424 75%, #242424);
background-color: #131313;
background-size: 20px 20px;
  font-family: Arial, Helvetica, sans-serif;
}

h1 {
  font-family: "ruth";
  margin: 2px;
  font-size: 2.5em;
}

h2 {
  margin: 5px;
}

#card {
  background-color: black;
  color: rgb(37, 224, 62);
  padding: 5px;
  display: flex;
  flex-direction: column;
  justify-content: center; /* Centers horizontally */
  align-items: center;
  text-align: center;
  min-width: 70vw;
  /* transform: perspective(400px) rotateY(15deg); */
  position: relative;
  animation: swing 7s ease-in-out infinite;
  border-radius: 2px;
  border: 5px solid rgb(148, 37, 163);
}

#container{
        display: flex;
  justify-content: center; /* Centers horizontally */
  align-items: center;
  min-height: 100vh;
}