:root {
  --primary: #d4af69;
  --secondary: #2d4188;
  --secLight: #bcbec0;
  --light: #ffff;
  --text: #313131;
  --default: #e4e4e4;
}

/* تعریف فونت‌های مختلف */
@font-face {
  font-family: "Kalameh";
  src: url("../fonts/KalamehWeb(FaNum)-Regular.woff2") format("woff2");
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: "Kalameh";
  src: url("../fonts/KalamehWeb(FaNum)-Bold.woff2") format("woff2");
  font-weight: bold;
  font-style: normal;
}

@font-face {
  font-family: "Kalameh";
  src: url("../fonts/KalamehWeb(FaNum)-Medium.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
}

@font-face {
  font-family: "Kalameh";
  src: url("../fonts/KalamehWeb(FaNum)-Light.woff2") format("woff2");
  font-weight: lighter;
  font-style: normal;
}

@font-face {
  font-family: "Kalameh";
  src: url("../fonts/KalamehWeb(FaNum)-SemiBold.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
}

body {
  font-family: "Kalameh";
  color: var(--text);
  font-size: 12pt;
  box-sizing: border-box;
  direction: rtl;
  margin: 0;
}
* {
  font-family: "Kalameh";
  color: var(--text);
  font-size: 12pt;
}
a {
  text-decoration: none;
  outline: none;
}
.container {
  display: flow-root;
  margin: 0 auto;
  max-width: 1280px;
  padding: 0 20px;
}
body.primary {
  background-color: var(--primary);
}
body.secondary {
  background-color: var(--secondary);
}
/*#region header  */
header {
  /* padding: 20px; */
  background-color: var(--light);
  border-radius: 0 0 50px 50px;
  overflow: visible;
  max-height: 280px;
}
.header-content.container.hasImage {
  display: flex;
  gap: 10px;
  position: relative;
  overflow: visible;
  justify-content: space-between;
}
.header-content-image {
  display: block;
  width: 20%;
  /* margin-bottom: -101px; */
  align-items: center;
  overflow: hidden;
  max-height: 280px;
}
.header-content-items {
  width: 72%;
  position: relative;
  left: 0;
  top: 20px;
}
.header-content-image img {
  width: 100%;
  position: relative;
  top: 32px;
}
.h-link {
  display: flex;
  align-items: center;
}

.h-link a.lnk {
  color: var(--primary);
  border-right: 1px solid var(--secLight);
  padding: 0 14px;
}

.h-link a.lnk:first-child {
  padding-right: 0;
  border-right: 0;
}

.h-link a.logo {
  border-left: none;
  margin-right: auto;
}

.h-link a.logo img {
  width: 150px;
}

/*#endregion header  */
/*#region footer  */
footer {
  display: block;
  width: 100%;
  min-height: 100px;
  background-color: var(--primary);
}

footer .container.f-content {
  display: grid;
  grid-template-columns: 25% 25% 25% 25%;
  padding: 40px;
}
.f-items {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-weight: 500;
}
.f-items b {
  margin-bottom: 10px;
}
.f-item::before {
  content: "";
  display: inline-block;
  vertical-align: middle;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: var(--text);
  margin-left: 6px;
}
.licenses {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
}
.licenses .license {
  width: 100%;
  height: 100%;
  border-radius: 10px;
  background-color: var(--light);
}
copy-right {
  display: block;
  background-color: var(--secondary);
  text-align: center;
  width: 100%;
  color: var(--light);
  padding: 14px 0;
}
/*#endregion footer  */

/* loading section */
.loading-section {
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  z-index: 999;
  display: flex;
  justify-content: center;
  align-items: center;
}

.loading-content {
  display: flex;
  align-items: center;
  /* gap: 16px; */
}

.loading-content-img {
  width: 120px;
  object-fit: cover;
  rotate: 45deg;
}

.loading-content-text-holder {
  display: flex;
  flex-direction: column;
  gap: 4px;
  align-items: center;
  justify-content: center;
}

.loading-content-text-holder-text {
  font-weight: 700;
  color: var(--secondary);
  font-size: 32px;
  margin: 0;
}

.loading-content-text-holder-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px 16px;
  border-radius: 8px;
  border: 2px solid var(--primary);
  font-weight: 500;
  font-size: 14px;
  color: var(--primary);
}

/* end loading section */
@media screen and (min-width: 0) and (max-width: 600px) {
  footer .container.f-content {
    grid-template-columns: 100%;
    gap: 40px;
  }
  .licenses {
    grid-template-columns: repeat(2, 1fr);
    justify-content: center;
  }
  .licenses .license {
    width: 100%;
    height: 140px;
  }
  .title-box {
    display: none !important;
  }
}



@media (max-width: 1300px) {
  .header-content-image {
    display: none;
  }

  .header-content-items {
    position: relative;
    width: 100%;
    top: 0;
  }

  header {
    padding: 20px;
    max-height: unset;
  }
  
  .title-box {
    width: 115px !important;
  }

  .title-box b {
    font-size: 14px;
  }
}

