/* General layout */
body {
  margin: 0;
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #4747d1;
  font-family: Arial, sans-serif;
}

/* logo placement */
.logo {
  position: absolute;
  top: 30px;
  left: 30px;
  width: 60px;          
  height: auto;
  object-fit: contain;
}


/* Centered container */
.body-container {
  position: relative;
  width: 60vmin;   /* Responsive square */
  height: 60vmin;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Cross lines */
.line {
  position: absolute;
  background-color: #5858de;
}
a{
  text-decoration: none;
}

.horizontal {
  width: 100%;
  height: 1px;
}

.vertical {
  width: 1px;
  height: 100%;
}

/* Buttons */
.btn {
  position: absolute;
  background: none;
  border: none;
  font-size: 14pt;
  font-style: italic;
  font-weight: bold;
  color: rgb(7, 246, 43);
  cursor: pointer;
  transition: transform 0.2s ease, color 0.2s ease;
}

.btn:hover {
  transform: scale(1.2);
  color: #ffffff;
}

/* Button positioning (relative to container center) */
.btn1 {
  top: 25%;
  /* left: 25%; */
  right: 55%;
}

.btn2 {
  top: 25%;
  /* right: 25%; */
  left: 55%;
}

.btn3 {
  bottom: 25%;
  /* left: 25%; */
  right: 55%;
}

.btn4 {
  bottom: 25%;
  /* right: 25%; */
  left: 55%;
}

/* Bottom center text */
.footer-text {
  position: absolute;
  bottom: 15px;
  left: 50%;
  transform: translateX(-50%);
  color: #ffffff;
  font-size: 14px;
  font-weight: 500;
  text-align: center;
  letter-spacing: 0.5px;
}

/* Responsive styles */
@media (max-width: 768px) {
  .body-container {
    width: 80vmin;
    height: 80vmin;
  }

  .btn {
    font-size: 3vmin;
  }

  .logo {
    width: 50px;
  }

  .footer-text {
    font-size: 12px;
  }
}

@media (max-width: 480px) {
  .body-container {
    width: 90vmin;
    height: 90vmin;
  }

  .btn {
    font-size: 4vmin;
  }

  .logo {
    width: 45px;
  }

  .footer-text {
    font-size: 11px;
  }
}
