@import url("https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@700&display=swap");

body,
html {
  font-family: "Vazirmatn", sans-serif;
  font-size: larger;
  font-weight: 100;
  direction: rtl;
  height: 100%;
  margin: 0;
  padding: 0;
  background-color: #ec303a;
  position: relative;
  overflow-x: hidden;
}

canvas {
  margin: auto;
  display: block;
}

.content {
  margin: auto;
  font-family: "Noto Sans JP", sans-serif;
  color: white;
  position: relative;
  z-index: 1;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  height: 30%;
  max-width: 80%;
}

.buttons-addresses {
  margin-right: 10px;
  margin-bottom: 10px;
}

.addresses {
  margin: auto;
  background-color: aliceblue;
  text-align: center;
  border-radius: 25px;
  padding-top: 25px;
}

.buttons {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0;
}

.button {
  padding: 0;
  display: flex;
  justify-content: center;
}

.btn {
  width: 100%;
  margin: 10px;
  font-size: 20px;
  padding: 15px 25px;
  border-radius: 15px;
  background-color: aliceblue;
  color: #1a1a1a;
  border: none;
  transition: background-color 0.3s; /* Adding a smooth transition */

  /* Set the background-color for hover state */
  &:hover {
    background-color: #1a1a1a; /* Change to the desired color */
    color: white; /* Change text color for better visibility */
  }

  /* Set the background-color for active state (when clicked) */
  &:active {
    background-color: #1a1a1a; /* Change to the desired color */
    color: white; /* Change text color for better visibility */
  }
}

@media (prefers-color-scheme: dark) {
  body,
  html {
    font-family: "Vazirmatn", sans-serif;
    font-size: larger;
    font-weight: 100;
    direction: rtl;
    height: 100%;
    margin: 0;
    padding: 0;
    background-color: #ec303a;
    position: relative;
    overflow-x: hidden;
  }

  canvas {
    margin: auto;
    display: block;
  }

  .content {
    margin: auto;
    font-family: "Noto Sans JP", sans-serif;
    color: white;
    position: relative;
    z-index: 1;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 30%;
    max-width: 80%;
  }

  .buttons-addresses {
    margin-right: 10px;
    margin-bottom: 10px;
  }

  .addresses {
    margin: auto;
    background-color: aliceblue;
    text-align: center;
    border-radius: 25px;
    padding-top: 25px;
  }

  .buttons {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0;
  }

  .button {
    padding: 0;
    display: flex;
    justify-content: center;
  }

  .btn {
    width: 100%;
    margin: 10px;
    font-size: 20px;
    padding: 15px 25px;
    border-radius: 15px;
    background-color: aliceblue;
    color: #1a1a1a;
    border: none;
    transition: background-color 0.3s; /* Adding a smooth transition */

    /* Set the background-color for hover state */
    &:hover {
      background-color: #1a1a1a; /* Change to the desired color */
      color: white; /* Change text color for better visibility */
    }

    /* Set the background-color for active state (when clicked) */
    &:active {
      background-color: #1a1a1a; /* Change to the desired color */
      color: white; /* Change text color for better visibility */
    }
  }
}

/* .buttons {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 20px; 
}
.btn {
  margin: 10px; 
  font-size: 20px; 
  padding: 15px 25px;
  border-radius: 15px; 
  background-color: #F72119; 
  color: white; 
  border: none; 
}

.btn:hover {
  background-color: darkred; 
}

a.btn {
    display: flex; 
    justify-content: center;
    align-items: center;
    text-align: center; 
    margin: 10px;
    font-size: 20px;
    padding: 15px 25px;
    border-radius: 15px;
    background-color: neonred;
    color: white;
    border: none;
    text-decoration: none; 
}

a.btn:hover {
    background-color: darkred;
} */
