@import url('https://fonts.googleapis.com/css2?family=Press+Start+2P&display=swap');

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  list-style: none;
  text-decoration: none;
}

body {
  font-family: 'Press Start', sans-serif;
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  background: linear-gradient(to bottom right, #1e1e2f, #2c2c3e);
  background-repeat: no-repeat;
  overflow-y: auto;
  color: #e0e0e0;
}

.container {
  width: 100%;
  max-width: 1320px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 20px;
}

.btn-container {
  display: flex;
  gap: 10px;
}

.btn-group1,
.btn-group2 {
  display: flex;
  width: 100%;
  gap: 10px;
}

.btn,
.swal2-confirm {
  height: 40px;
  width: 90px;
  font-family: 'Press Start 2P', monospace;
  font-size: 0.6rem;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border-radius: 5px;
  border: none;
  background-color: #3a3a4f;
  color: #e0e0e0;
  letter-spacing: 0.8px;
  transition: all 0.1s linear;
}

.btn:hover,
.swal2-confirm:hover {
  transform: translateY(-2px);
  box-shadow: 0px 5px 5px #00000050;
  background-color: #50506b;
  color: #0aa7f0;
}

.btn:active,
.swal2-confirm:active {
  transform: translateY(0);
  box-shadow: none;
}

input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button {
  display: none;
}
input[type="number"] {
  -moz-appearance: textfield;
}

#input-container {
  margin-top: 100px;
  height: auto;
  display: grid;
  grid-auto-rows: auto;
  grid-template-columns: repeat(5, 1fr);
  gap: 30px;
}

.inp {
  font-family: 'Press Start 2P', monospace;
  font-size: 0.7rem;
  padding: 3px;
  height: 50px;
  width: 50px;
  border: 1.5px solid #555;
  border-radius: 5px;
  text-align: center;
  background-color: #2a2a3a;
  color: #f0f0f0;
}

.min-highlight {
  background-color: #bf1600;
  color: #ffffff;
  border: none;
}

.max-highlight {
  background-color: #01b910;
  color: #fff;
  border: none;
}

#swal2-title,
#swal2-html-container {
  color: #bf1600;
  font-family: 'Press Start 2P', monospace;
}

.swal2-container {
  background: transparent;
  -webkit-backdrop-filter: blur(3px);
  backdrop-filter: blur(3px);
}

@media (max-width: 410px) {
  #input-container {
    grid-template-columns: repeat(3, 1fr);
    margin-top: 20px;
  }

  #inp10 {
    grid-area: 4/2/5/3;
  }

  .btn-container {
    flex-direction: column;
  }

  .btn {
    width: 110px;
  }
}