@font-face {
  font-family: "DotsFont";
  src: url("../files/5x5dots.ttf") format("truetype");
}

* {
  box-sizing: border-box; /* Ensure padding and border are included in the width and height */
}

body {
  font-family: Courier, Monospace;
  background-image: url('../img/tweaking.gif');
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center center;
  overflow: hidden;
  font-size: 1rem;
}

.info-button {
  width: 10%;
  height: 5%;
  font-size: 200%;
}

center {
  margin: auto;
  width: 50%;
  padding: 15px;
  font-size: 200%;
}

@keyframes titleflash {
  from {
    transform: translateX(-20%);
  }
  to {
    transform: translateX(-7.4%);
  }
}

/* Style for modal popup */
.modal {
  display: none; /* Hidden by default */
  position: fixed; /* Stay in place */
  z-index: 1000; /* Sit on top */
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5); /* Black background with opacity */
  overflow: auto; /* Enable scroll if needed */
}

/* Modal content */
.modal-content {
  background-color: #fefefe;
  margin: 15% auto; /* 15% from the top and centered */
  padding: 20px;
  border: 1px solid #888;
  width: 30%; /* Could be more or less, depending on screen size */
  text-align: center;
}

/* Modal buttons */
.modal-content button {
  margin: 10px;
  padding: 10px 20px;
  font-size: 16px;
  cursor: pointer;
}
