@import url("https://fonts.googleapis.com/css2?family=WDXL+Lubrifont+JP+N&display=swap");

body {
  margin: 0;
  overflow: hidden;
}

.header {
  width: 100%;
  height: 90px;
  background-color: #1b262c;
  border-bottom: 3px solid #90bdd9;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: "WDXL Lubrifont JP N", sans-serif;
}

#message {
  color: white;
  position: absolute;
  background-color: #1b262c;
  width: calc(100vw - 10px);
  padding: 5px;
  display: block;
  text-align: center;
  font-size: 21px;
  font-family: "WDXL Lubrifont JP N", sans-serif;
  opacity: 1;
  transition: opacity 0.5s ease-in-out;
}

#message.hide {
  opacity: 0;
}

#message::after {
  content: "X";
  color: white;
  position: absolute;
  right: 10px;
  cursor: pointer;
}

#message:hover::after {
  color: #90bdd9;
}

#message:empty {
  display: none;
}

#message:empty:after {
  display: none;
}

button {
  font-family: "WDXL Lubrifont JP N", sans-serif;
  font-size: 18px;
}

input {
  outline: none;
  font-family: "WDXL Lubrifont JP N", sans-serif;
  font-size: 18px;
  background-color: white;
  color: #1b262c;
  border: none;
}

.link {
  color: #90bdd9;
  text-decoration: none;
  cursor: pointer;
  font-family: "WDXL Lubrifont JP N", sans-serif;
}

.link:hover {
  color: #adcee3;
  text-decoration: underline;
}

.logo {
  height: 50px;
  position: relative;
  top: 7px;
}

.popup {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 400px;
  padding-top: 20px;
  background-color: #1b262c70;
  backdrop-filter: blur(8px);
  display: none;
  border-radius: 30px;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

.close {
  position: absolute;
  top: 5px;
  right: 15px;
  font-size: 24px;
  cursor: pointer;
  font-size: 29px;
  color: white;
}

.close:hover {
  color: #fa908c;
}

.popup.active {
  display: flex;
}

.popup-tab {
  display: none;
  width: calc(100% - 60px);
  height: calc(100% - 60px);
  padding: 20px 30px;
  border-radius: 8px;
  padding: 30px;
}

.info {
  margin-bottom: 10px;
  color: white;
  font-weight: bold;
  opacity: none;
  font-family: "WDXL Lubrifont JP N", sans-serif;
}

.info:empty::before {
  content: "\00a0";
  visibility: hidden;
  display: inline-block;
}

.info.active {
  opacity: 1;
}

.form {
  display: flex;
  gap: 10px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  height: 80%;
}

.form input {
  padding: 10px;
  width: 80%;
  border: 1px solid #ccc;
  border-radius: 12px;
}

.form label {
  font-size: 16px;
  font-family: "WDXL Lubrifont JP N", sans-serif;
  color: white;
}

.form button {
  margin-top: 10px;
  padding: 10px;
  background-color: #3498db;
  color: white;
  border: none;
  width: 25%;
  border-radius: 12px;
  cursor: pointer;
}

.form button:hover {
  background-color: #2980b9;
}

.popup-tab.active {
  display: block;
}

.header-right {
  margin-right: 20px;
  display: flex;
  white-space: nowrap;
  gap: 10px;
}

.account-button {
  background: none;
  border: none;
  cursor: pointer;
  color: #90bdd9;
  font-size: 23px;
  font-family: "WDXL Lubrifont JP N", sans-serif;
}

.account-button:hover {
  color: #adcee3;
  text-decoration: underline;
}

.pixelart {
  image-rendering: pixelated;
  image-rendering: crisp-edges;
  margin: 0 20px;
}

#main-canvas {
  height: calc(100vh - 90px);
}
