@import url('https://fonts.googleapis.com/css?family=Press+Start+2P');

.site-title {
    font-family: 'Press Start 2P', cursive;
    color: #A7A327;
    font-size: 26px;
    text-decoration: none !important; /* add !important to override other CSS rules */
    float: left;
}

.logo {
    float: left;
    margin-right: 10px;
    color: white;
    text-decoration: none;
}

body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-image: url('https://pixelpepes.art/images/rarepepe-bg.png');
    background-size: cover;
    background-repeat: no-repeat;
    background-attachment: fixed;
}

header {
  background-color: #fff;
  height: 60px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 20px;
  position: fixed; /* set position to fixed */
  top: 0; /* add top value of 0 */
  left: 0;
  width: 100%;
  z-index: 100;
}

.menu {
    display: none;
    list-style-type: none;
    padding: 0;
    margin: 0;
}

.menu-item {
    display: inline-block;
    margin-left: 15px;
}

.menu-link {
    color: white;
    text-decoration: none;
    font-size: 18px;
}

.container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    justify-content: center;
    justify-items: center;
    align-content: start;
    margin-top: 60px; /* add margin-top to push the cards down */
}

@media (min-width: 480px) {
    .container {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 768px) {
    .container {
        grid-template-columns: repeat(3, 1fr);
        gap: 50px;
    }
}

@media (min-width: 992px) {
    .container {
        grid-template-columns: repeat(4, 1fr);
        gap: 100px;
    }
}

.card {
    width: 240px;
    height: 240px;
    perspective: 1000px;
    margin-bottom: 100px;
}

.card-inner {
    width: 100%;
    height: 100%;
    transform-style: preserve-3d;
    transition: transform 0.5s;
}

.card:hover .card-inner {
    transform: rotateY(180deg);
}

.card-face {
    width: 100%;
    height: 100%;
    position: absolute;
    backface-visibility: hidden;
    background-color: white;
    text-align: center;
    border: 1px solid #ccc;
    border-radius: 5px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    display: flex;
    justify-content: center;
    align-items: center;
}

.card-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.card-back {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  background-color: #9BCA74; /* change the background-color property */
  backface-visibility: hidden;
  transform: rotateY(180deg);
  padding: 20px;
  box-sizing: border-box;
  border: 10px solid black;
}

.card-image {
    width: 240px;
    height: 240px;
    background-size: 240px 240px;
    background-repeat: no-repeat;
    background-position: center;
    image-rendering: pixelated; /* add this line */
  -ms-interpolation-mode: nearest-neighbor; /* add this line for Internet Explorer */
}

.card-title {
  font-size: 20px;
  font-weight: bold;
  text-align: center;
  margin: 10px 0 20px;
}

@media (max-width: 767px) {
  .card-title {
    padding: 0 20px;
  }
}

button {
    margin: 5px;
    padding: 5px 10px;
    font-size: 14px;
    border: none;
    border-radius: 3px;
    color: white;
    cursor: pointer;
}

.button-one {
    background-color: #007bff;
}

.button-two {
    background-color: #28a745;
}

nav {
  background-color: #333;
  height: 50px;
  width: auto; /* set width to auto */
  margin-top: 5px; /* increase margin-top to move nav down */
  margin-right: 30px; /* add margin-right to create space */
}

nav ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  justify-content: space-around;
  align-items: center;
  height: 100%;
}

nav li {
  margin: 0 10px;
}

nav a {
  color: #fff;
  text-decoration: none;
  font-size: 18px;
}
.card-details {
  font-size: 14px;
  text-align: center;
  margin-top: 5px;
}

img{image-rendering: pixelated;}

footer {
  background-color: #333;
  color: #fff;
  text-align: center;
  padding: 20px;
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
}

.footer-links a {
  color: #fff;
  text-decoration: none;
  margin-right: 10px;
}

.footer-links a:hover {
  text-decoration: underline;
}
.footer-links a {
  color: inherit; /* inherit the color from the parent element */
  margin-right: 10px;
}