@font-face {
  font-family: 'PressStart2P';
  src: url('../fonts/PressStart2P-Regular.ttf') format('truetype');
  font-display: swap;
}

/* Class to apply the pixel font */
.pixel-font {
  font-family: 'PressStart2P', monospace;
  font-size: 14px;
  color: #e53935;
  text-shadow: 1px 1px 0 #000;
  letter-spacing: 1px;
  text-transform: uppercase;
}

/* Custom icon for the side menu */
#menu-eniquin-doomgento-doom > a::before {
  content: '';
  display: block;
  width: 3.2rem;
  height: 3.2rem;
  margin-bottom: 0.3rem;
  background-image: url('../images/doom-icon.png'); /* Make sure the path is correct */
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}

#menu-eniquin-doomgento-doom > a {
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Main container */
.doomgento-page {
  margin: 16px; /* separates from the rest of the admin layout */

  /* Optional subtitle */
  .admin__page-subtitle {
    color: #777;
    margin-top: 4px;
  }

  /* Centered flex container */
  .doomgento-content {
    display: flex;
    justify-content: center;
    padding: 20px 0;
    background: url(https://i.postimg.cc/PJMtT4Tw/7680-Doom.jpg) no-repeat center center;
    background-size: cover;
  }

  /* Wrapper for the iframe to control size and style */
  .doomgento-iframe-wrapper {
    width: 100%;
    max-width: 1024px;
    height: 640px; /* fixed height ideal for Doom */
    margin: 0 auto;
    position: relative;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
    border-radius: 8px;
    overflow: hidden;
    background: black; /* fallback background in case Doom doesn't fill */
  }

  /* The iframe takes the full wrapper */
  .doomgento-iframe-wrapper iframe {
    width: 100%;
    height: 100%;
    border: none;
  }
}
