@font-face {
  font-family: 'Nastaliq';
  src: url('/fonts/IranNastaliq.ttf') format('truetype');
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html,
body {
  width: 100%;
  height: 100%;
  overflow: hidden;
  color: #e5eefc;
  background: #000;
}

body {
  cursor: default;
  position: relative;
  font-family: Vazirmatn, sans-serif;
  background-color: #000;
}

.code-container {
  position: fixed;
  top: 50%;
  left: 50%;
  z-index: 5;

  width: 80%;
  max-width: 1000px;
  height: 90%;
  padding: 35px;

  overflow: hidden;
  transform: translate(-50%, -50%);

  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 24px;
  background: rgba(15, 23, 42, 0.58);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);

  box-shadow:
    0 18px 45px rgba(0, 0, 0, 0.35),
    0 0 15px rgba(0, 150, 255, 0.5),
    0 0 30px rgba(0, 100, 255, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.code-container h1 {
  margin-top: 2px;
  margin-bottom: 5px;
  text-align: center;
  font-family: 'Nastaliq';
  font-size: 30px;
}

.contact-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 10px;
  font-size: 14px;
  text-align: center;
}

.contact-item span {
  margin-bottom: 5px;
  font-size: 20px;
}

.contact-item .postal-code {
  cursor: pointer;
  font-size: 14px;
}

iframe {
  width: 100%;
  max-width: 400px;
  height: 200px;
  border: 0;
  border-radius: 10px;
  margin: 10px auto 0;
  display: block;
}

@media (max-width: 768px) {
  .code-container {
    width: 90%;
    max-width: 400px;
    height: 80%;
    padding: 18px;
    border-radius: 14px;
  }

  .code-container::after {
    inset: 3px;
    border-radius: 12px;
  }

  .code-container h1 {
    margin-top: 20px;
    margin-bottom: 10px;
  }

  .contact-item {
    margin-bottom: 30px;
  }

  .contact-item span {
    margin-bottom: 10px;
  }

  iframe {
    max-width: 300px;
    height: 150px;
  }
}
