body {
    display: flex;
    flex-direction: column;
    align-items: center;
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f0f0f0;
}

#container {
    position: fixed; /* Fixed position */
    top: 0;
    left: 0;
    width: 100vw;  /* 100% of the viewport width */
    height: 100vh; /* 100% of the viewport height */
    z-index: -1;   /* Place it behind the content */
}

#canvas {
    width: 100%;
    height: 100%;
}

header, footer {
    width: 100%;
    background-color: #333;
    color: #fff;
    padding: 20px 0;
    text-align: center;
    z-index: 1; /* Make sure they appear above the canvas */
    position: relative; /* Relative positioning for z-index to take effect */
}

main {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    padding: 20px;
    z-index: 1; /* Make sure it appears above the canvas */
    position: relative; /* Relative positioning for z-index to take effect */
}

img {
    margin: 10px;
    max-width: 500px; 
    height: auto;
}
.image-description {
    color: #ffffff;
    font-weight: bold;
  }
  
  @media only screen and (max-width: 768px) {
    main {
        flex-direction: column;
        align-items: center;
    }
    img {
        max-width: 90%;
    }
    header, footer {
        padding: 10px 0;
    }
    header h1, nav a {
        font-size: 16px;
    }
    #next-button {
        font-size: 16px;
        padding: 10px 20px;
    }
}