body {
    background-image: url('/img/FullNukeBackground1.png');
    background-repeat: repeat;
    background-size: cover;
}


h1 {
    color: rgb(255, 255, 255);
    /* Example of using a CSS function (calc) */
    margin-left: calc(10px + 10px);
}

.center-img    {
     display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh; /* Full viewport height */
}

.poem-title {
    position: absolute;
    top: 65%;
    left: 43%;
    transform: translate(-50%, -50%);
    text-align: left;
    color: white;
}

.poem-img {
    display: flex;
    justify-content: center; /* Centers horizontally */
    align-items: center;     /* Centers vertically */
    height: 220px; 
    scale: 40%;
}


a {
    color: inherit; /* Inherits color from parent */
    text-decoration: none; /* Removes underline */
}

html, body {
    height: 100%; /* Ensures the body covers the full height of the viewport */
    margin: 0;
}

h1 {
    text-align: center;
    font-size: 100px;
}

.back {
    position: absolute;
    color: rgb(255, 0, 0);
    justify-content: center;
    height: 400px;
    top: 750px;
    left: 940px;
    text-align: center;
}

.poem-container {
    display: flex;                /* Use Flexbox for layout */
  flex-direction: column;       /* Stack items vertically */
  align-items: center;          /* Center items horizontally */
  gap: 20px;                    /* Add space between items */
  text-align: left;           /* Center-align text inside items */
  width: 100%;                  /* Optional: container width */
  max-width: 500px;             /* Optional: limit width */
  margin: 0 auto; 
  color: white;
  font-family: "lucida console", "courier new";
  bottom: 200px;
}

footer {
    position: fixed;
    text-align: center;
    color: white;
    font-family: "lucida console", "courier new";
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
}

 .bottom-button {
            /* Position the container fixed at the bottom of the viewport */
            position: fixed;
            bottom: 0; /* Aligns to the bottom edge */
            left: 0; /* Aligns to the left edge */
            width: 100%; /* Spans the full width of the screen */
            text-align: center;
 }

.grid {
  display: grid;
  /* Creates 3 columns of equal width */
  grid-template-columns: 1fr 1fr 1fr 1fr; 
  /* Creates rows with a minimum height of 100px, which can grow to fit content */
  grid-template-rows: minmax(100px, auto); 
  /* Adds space between grid cells */
  gap: 20px; 
  color: white;
  z-index: 100;
}

a:hover {
    text-decoration: underline;
}

