.background {
  background: #ff0e1f;
  color: #17161a;
}

body {
  font-family: Rubik, sans-serif;
  font-size: 15px;
  line-height: 26px;
  font-weight: 300;
  color: silver;
  background-color: #17161a;
  overflow-x: hidden !important;
  -webkit-font-smoothing: antialiased;
}

a {
  color: #0d6efd;
  text-decoration: none !important;
}

.clean-nav, a {
  display: block;
  color: #0d6efd;
  text-decoration: none !important;
  transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out;
}

.nav-link {
  display: block;
  padding: 0.5rem 1rem;
  color: #f05f3e;
  transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out;
}

/* app/assets/stylesheets/custom.css */
/* app/assets/stylesheets/custom.css */
.flipcard-container {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 510px;
  width: 310px;
}

.flipcard {
  width: 300px;
  height: 500px;
  position: relative;
  transform-style: preserve-3d;
  transition: transform 0.7s ease-in-out;
  border: 2px solid #fff;
  border-radius: 5px;
}

.flipcard-container:hover .flipcard {
  transform: rotateY(180deg);
}

.front,
.back {
  position: absolute;
  width: 300px;
  height: 500px;
  backface-visibility: hidden;
}

.front {
  /* Additional styling for the front side if needed */
  z-index: 2;
  transform: rotateY(0); /* Show the front side on page load */
}

/* Counter-rotate the front side when flipped */
.flipped .front {
  transform: rotateY(180deg);
}

/* Counter-rotate the text on the back side */
.back .back-text {
  transform: rotateY(180deg);
  padding-left: 2px;
  padding-right: 2px;
}
