body{
  height: 100%;
  background-image: url(res/images/bg7.gif);
  background-size: 100% 100%;
  background-repeat: no-repeat;
}

@font-face {
  font-family: 'arcade-font';
  src: url('res/fonts/PressStart2P-vaV7.ttf') format('opentype');
}

.html{
  height: 100%;
}

#game {
  width: 100%;
  height: 100%;
  position: relative;
  display: none;
}

#boy {
  width: 50px;
  height: 50px;
  background-color:aqua;
  position: absolute;
  top: 500px;
  left: 500px;
}

.guard{
  width: 50px;
  height: 50px;
}

#guard {
  width: 50px;
  height: 50px;
  background-color:fuchsia;
  position: absolute;
  top: 800px;
  left: 800px;
}

#book {
  width: 25px;
  height: 25px;
  background-color:yellow;
  position: absolute;
  top: 1200px;
  left: 1200px;
}

.row {
  display: flex;
  align-items: center;
  height: 77.9vh;
  padding-left: 10%;
  display: none;
}

.container {
  width: 20%;
  float: left;
  margin-left: 1%;
  margin-right: 1%;
  margin-top: 15vh;
}
.rectangle {
  border: 2px solid white;
  width: 100%;
  height: 60%;
  margin-right: 50%; /* Creates the space between the rectangles */
  color: white;
  font-size: 30;
}
.image {
  width: 100%;
  height: 50%;
}
.title {
  text-align: center;
  font-weight: bold;
}

.start_label{
  width:50px;
  height:50px;
}

.arcade{
  font-family: arcade-font;
  color: white;
}

#levels_title{
  display: none;
  text-align: center;
  font-size: 400%;
  margin-top: 13vh;
}

#start_button_container{
  margin-top: 70vh;
  height: 29vh;
}

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

.modal-content {
    background: #000;
    border: 2px solid #ff00ff;
    box-shadow: 0 0 20px #ff00ff, inset 0 0 20px #ff00ff;
    padding: 30px;
    border-radius: 5px;
    text-align: center;
    position: relative;
    animation: modalGlow 2s infinite alternate;
    max-width: 500px;
    width: 80%;
}

.modal-text {
    color: #ffeb3b;
    font-family: 'arcade-font';
    text-shadow: 0 0 10px #ff00ff;
    margin-bottom: 20px;
    font-size: 1.2em;
    white-space: pre-line;
}

.modal-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.modal-button {
    background: transparent;
    border: 2px solid #ff00ff;
    color: #ffeb3b;
    padding: 10px 20px;
    cursor: pointer;
    font-family: 'arcade-font';
    transition: all 0.3s ease;
}

.modal-button:hover {
    background: #ff00ff;
    color: #000;
    box-shadow: 0 0 15px #ff00ff;
}

@keyframes modalGlow {
    from {
        box-shadow: 0 0 20px #ff00ff, inset 0 0 20px #ff00ff;
    }
    to {
        box-shadow: 0 0 30px #ff00ff, inset 0 0 30px #ff00ff;
    }
}