@font-face {
  font-family: "BungeeTint";
  src: url("fonts/Bungee_Tint/BungeeTint-Regular.ttf") format("truetype");
}

@font-face {
  font-family: "CodyStar";
  src: url("fonts/Codystar/Codystar-Regular.ttf") format("truetype");
}

@font-face {
  font-family: "Edu";
  src: url("fonts/Edu_AU_VIC_WA_NT_Arrows/EduAUVICWANTArrows-VariableFont_wght.ttf")
    format("truetype");
}

@font-face {
  font-family: "OpenSans";
  src: url("fonts/Open_Sans/OpenSans-VariableFont_wdth\,wght.ttf")
    format("truetype");
}

@font-face {
  font-family: "Playwrite";
  src: url("fonts/Playwrite_MX_Guides/PlaywriteMXGuides-Regular.ttf")
    format("truetype");
}

@font-face {
  font-family: "Roboto";
  src: url("fonts/Roboto/Roboto-VariableFont_wdth\,wght.ttf") format("truetype");
}

@font-face {
  font-family: "Underdog";
  src: url("fonts/Underdog/Underdog-Regular.ttf") format("truetype");
}

/* Add more if needed... */

.letter {
  font-size: 75px;
  line-height: 1;
}

.f1 {
  font-family: "BungeeTint";
}
.f2 {
  font-family: "Codystar";
}
.f3 {
  font-family: "Edu";
}
.f4 {
  font-family: "OpenSans";
}
.f5 {
  font-family: "Playwrite";
  color: brown;
}
.f6 {
  font-family: "Roboto";
}
.f7 {
  font-family: "Underdog";
}
.f8 {
  font-family: "BungeeTint";
}
.f9 {
  font-family: "Codystar";
}
.f10 {
  font-family: "Edu";
}
.f11 {
  font-family: "OpenSans";
}
.f12 {
  font-family: "Playwrite";
  color: green;
}

/* The card container */
.card {
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2);
  transition: 0.3s;
  border-radius: 25px;
  width: 120px;
  height: 120px;
  display: flex;
  justify-content: center;
  align-items: center;
  animation: rotateCard 10s linear infinite; /* Continuous slow rotation */
  transform-style: preserve-3d;
}

/* Animation for slow rotation */
@keyframes rotateCard {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

/* Add rounded corners to the top left and the top right corner of the image */
img {
  border-radius: 5px 5px 0 0;
  width: 50px;
  height: 50px;
  animation: rotateImg 10s linear infinite;
  transition: 0.3s;
  object-fit: contain;
  aspect-ratio: 1/1;
}

/* Animation for slow rotation */
@keyframes rotateImg {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(-360deg);
  }
}

h1 {
  font-size: 75px;
  display: flex;
  flex-wrap: wrap;
  gap: 0;
}

h1 > span {
  display: inline-block;
}

/* On mouse-over, add a deeper shadow */
.card:hover {
  box-shadow: 0 8px 16px 0 rgba(0, 0, 0, 0.2);
}

/* Add some padding inside the card container */
.container {
  padding: 2px 16px;
}
