/* 全体の背景と基本スタイル */
body {
  margin: 0;
  padding: 0;
  background-color: #121212;
  font-family: "Arial", sans-serif;
  color: #ffffff;
}

.container {
  width: 100%;
}

.login-container {
  width: 90%;
  margin: 0 auto;
}

/* ウォレット管理用スタイル */
.wallet-container {
  margin-top: 20px;
  padding: 20px;
  background-color: rgba(20, 20, 20, 0.9);
  border-radius: 10px;
  box-shadow: 0 0 25px rgba(0, 255, 255, 0.6);
  backdrop-filter: blur(10px);
  color: #ffffff;
}

.wrap-wallet-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  word-wrap: break-word; /* 長いテキストを折り返し */
  overflow-wrap: break-word; /* 長いテキストを折り返し */
}
.wrap-wallet-item div {
  width: 80%;
}
.wrap-wallet-item button {
  width: 20%;
}
.wallet-item:last-child {
  border-bottom: none;
}

.wallet-item button {
  background-color: #ff4d4d;
  color: white;
  border: none;
  padding: 5px 10px;
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.3s, transform 0.3s;
}

.wallet-item button:hover {
  background-color: #ff1a1a;
  transform: scale(1.1);
}

.add-wallet {
  margin-top: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.add-wallet button {
  background-color: #00aaff;
  color: white;
  border: none;
  padding: 10px 15px;
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.3s, box-shadow 0.3s;
}

.add-wallet button:hover {
  background-color: #0088cc;
  box-shadow: 0 0 10px rgba(0, 136, 204, 0.8);
}

/* メタマスクボタンのスタイル */
.metamask {
  margin: 10px;
  max-width: 240px;
  width: 80%;
}

.error-message {
  margin: 10px;
  color: #c23321;
  padding: 10px;
}
/* レスポンシブデザイン */
@media (max-width: 768px) {
  .wrap-wallet-item div {
    width: 70%;
  }
  .wrap-wallet-item button {
    width: 30%;
  }
  /* .wallet-container,
  .modal-content {
    width: 95%;
    padding: 15px;
  } */

  /* .wallet-item {
    flex-direction: column;
    align-items: flex-start;
    word-wrap: break-word;
    overflow-wrap: break-word;
  }

  .wallet-item button {
    margin-top: 10px;
    align-self: flex-end;
  }

  .modal-content {
    width: 90%;
    padding: 15px;
  }

  button {
    width: 100%;
    padding: 12px;
    font-size: 18px;
  } */
}

/* フッターメニューのスタイル */
.footer-menu {
  position: fixed;
  bottom: 0;
  width: 100%;
  background-color: rgba(20, 20, 20, 0.9);
  backdrop-filter: blur(10px);
  padding: 10px 0;
  box-shadow: 0 -5px 15px rgba(0, 255, 255, 0.3);
  display: flex;
  justify-content: space-around;
  align-items: center;
  z-index: 1000;
}

/* アイコンのスタイル */
.menu-icons img {
  width: 40px;
  height: 40px;
  transition: transform 0.3s, filter 0.3s;
}

.menu-icons img:hover {
  transform: scale(1.2);
  filter: drop-shadow(0 0 10px rgba(0, 255, 255, 0.6));
}

.menu-icons {
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  width: 100%;
  max-width: 400px;
  justify-content: space-evenly;
}

/* レスポンシブデザイン */
@media (max-width: 768px) {
  .footer-menu {
    flex-direction: column;
    padding: 15px 0;
  }

  .menu-icons img {
    width: 30px;
    height: 30px;
  }
}

/* キャンバスのスタイル */
canvas {
  width: 100%;
  max-width: 240px;
  padding: 10px;
  background-color: rgba(0, 0, 0, 0.7);
  border-radius: 10px;
}

/* バナーのスタイル */
.banners {
  display: flex;
  align-items: center;
  justify-content: center;
}

.banners div {
  width: 140px;
}

/* モーダルフォームのスタイル */
.modal {
  display: none;
  position: fixed;
  z-index: 9999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.7);
  padding-top: 60px;
}

.modal-content {
  background-color: rgba(20, 20, 20, 0.95);
  margin: 5% auto;
  padding: 20px;
  border: 1px solid #888;
  width: 80%;
  max-width: 600px;
  position: relative;
  border-radius: 10px;
  box-shadow: 0 0 30px rgba(0, 255, 255, 0.6);
}

.close,
.cancel-button {
  color: #aaa;
  float: right;
  font-size: 28px;
  font-weight: bold;
  transition: color 0.3s, transform 0.3s;
}

.close:hover,
.cancel-button:hover,
.close:focus,
.cancel-button:focus {
  color: white;
  transform: scale(1.1);
  text-decoration: none;
  cursor: pointer;
}

.cancel-button {
  position: absolute;
  top: 20px;
  right: 20px;
  font-size: 16px;
  padding: 5px 10px;
  background-color: #ff4444;
  color: white;
  border: none;
  border-radius: 5px;
  cursor: pointer;
}

canvas,
video {
  display: block;
  width: 100%;
  height: auto;
  max-height: 400px;
  border-radius: 10px;
}
canvas {
  display: none;
}
/* スタイリッシュなボタンスタイル */
button {
  display: inline-block;
  padding: 10px 20px;
  font-size: 16px;
  color: #ffffff;
  background-color: #007bff;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  margin: 10px 0;
  transition: background-color 0.3s ease, box-shadow 0.3s;
  box-shadow: 0 0 15px rgba(0, 123, 255, 0.5);
}

button:hover {
  background-color: #0056b3;
  box-shadow: 0 0 20px rgba(0, 86, 179, 0.8);
}

#google-login-button {
  background-color: #db4437;
}

#google-login-button:hover {
  background-color: #c23321;
}

#logout-button {
  background-color: #28a745;
}

#logout-button:hover {
  background-color: #218838;
}

#qr-code-button {
  background-color: #ffc107;
  color: #333;
}

#qr-code-button:hover {
  background-color: #e0a800;
}

/* NFT情報モーダルのスタイル */
#nftInfoModal {
  display: none;
  position: fixed;
  z-index: 9999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.7);
  padding-top: 60px;
}

#nftInfoModal .modal-content {
  background-color: rgba(20, 20, 20, 0.95);
  margin: 5% auto;
  padding: 20px;
  border: 1px solid #888;
  width: 80%;
  max-width: 600px;
  position: relative;
  border-radius: 10px;
  box-shadow: 0 0 30px rgba(0, 255, 255, 0.6);
  color: #fff;
}

.close-nft-info {
  color: #aaa;
  float: right;
  font-size: 28px;
  font-weight: bold;
  transition: color 0.3s, transform 0.3s;
}

.close-nft-info:hover,
.close-nft-info:focus {
  color: white;
  transform: scale(1.1);
  text-decoration: none;
  cursor: pointer;
}

#nft-info-content img {
  width: 100%;
}
.nft-info-detail {
  display: flex;
  align-items: center;
  justify-content: space-evenly;
}

.non-holder {
  color: red;
  text-align: center;
  font-size: 24px;
  font-weight: bold;
}
.holder {
  color: #fff;
  text-align: center;
  font-size: 24px;
  font-weight: bold;
}

.non-image {
  border: 11px solid red;
  box-sizing: border-box;
}

.have-image {
  border: 11px solid green;
  box-sizing: border-box;
}
