body {
    /* background-image: url("png/Background_1.png"); */
    /* The image used */
    background-color: #1C1F1F;
    /* Used if the image is unavailable */
    /* background: #a3a3a3; */
    background-position: center;
    /* Center the image */
    background-repeat: no-repeat;
    /* Do not repeat the image */
    background-size: cover;
    /* Resize the background image to cover the entire container */
    padding: 0px;
    margin: 0px;
    overflow: hidden;
}

canvas {
    display: block;
    margin: 0;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    display: none;
}

.popup {
    position: relative;
    width: 519px;
    height: 687px;
    background-image: url('../png/gui/AboutPanel.png');
    background-size: cover;
    background-position: center;
    border-radius: 12px;
    display: flex;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    color: white;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.8);
    padding: 20px;
    display: flex;
    flex-direction: column;
}
.popup-content {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 100%;
  height: 100%;
}

.popup-text {
  font-size: 2.5em;
  text-align: center;
  padding: 0 20px;
  flex-grow: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.popup-buttons {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 0 20px 20px;
}

.popup-buttons button {
  flex: 1;
  padding: 15px;
  font-size: 1.2em;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  background-color: rgba(255, 255, 255, 0.85);
  color: #333;
  transition: background-color 0.2s;
}

.popup-buttons button:hover {
  background-color: rgba(255, 255, 255, 1);
}
