File: /var/dev/shahnamag/front-end/src/styles.scss
@use '@angular/material' as mat;
@font-face {
    font-family: Farhang;
    src: url('/FarhangVariable.woff') format('woff');
    font-display: fallback;
}
html {
  // color-scheme: light dark;
  @include mat.theme((
    // color: mat.$violet-palette,
    typography: Farhang,
    density: 0
  ));
}
// --------- RESPONSIVE
@media screen and (max-width: 960px) {
  [desktop] {
    display: none !important;
  }
}
@media screen and (min-width: 961px) {
  [mobile] {
    display: none !important;
  }
}
// --------- LAYOUT
body {
  margin: 0;
  // font-family: Farhang, "Helvetica Neue", sans-serif;
  font-family: Roboto, "Helvetica Neue", sans-serif;
  background: var(--mat-sys-surface);
  --light-gray-text: #666;
  --primary-color: #2A5F84;
  --primary-shadow: color-mix(in srgb, var(--primary-color), black 20%);
}
a {
  color: var(--primary-color);
  text-decoration: none;
  &:hover {
    text-decoration: underline;
  }
}
.fa-text {
  direction: rtl;
  font-family: Farhang;
  font-size: 120%;
}
.disabled-link {
  font-family: monospace;
  color: #888;
}
h2 {
  font-weight: 600;
  letter-spacing: 1px;
  section {
  }
}
.text {
  line-height: 150%;
}
page {
  display: block;
  &.public-menu {
    padding-top: 170px
  }
}
.page {
  max-width: 1200px;
  margin: 0 auto;
  padding-top: 50px;
  padding-bottom: 100px;
}
.page-width {
  max-width: 1200px;
  margin: 0 auto;
  @media screen and (max-width: 960px) {
    max-width: unset;
    padding: 0 20px;
  }
}
.spacer {
  height: 30px;
  width: 30px;
  &.large {
    height: 90px;
    width: 90px;
  }
}
img {
  max-width: 100%;
}
// --------- INTRO FRAME
.intro-frame {
  display: flex;
  .content {
    flex: 1;
    padding-left: 20px;
  }
  .artwork {
    width: calc(min(1200px, 100vw) / 3);
    background-size: cover;
    background-position: 50%;
    border-radius: 3px;
    overflow: hidden;
    box-shadow:
      0 0 40px -10px var(--primary-color),
      0 0 5px 0px color(from var(--primary-color) srgb r g b / 0.5);
  }
  @media screen and (max-width: 960px) {
    display: block;
    .artwork {
      width: initial;
      height: 50vh;
      margin: 0 -20px 50px -40px;
    }
  }
}
// --------- MATERIAL HACKS
mat-form-field.full-width {
  display: block;
  width: 100%;
}
.mat-mdc-dialog-container-with-actions .mat-mdc-dialog-content {
  padding-bottom: 10px;
}
.mdc-button__label {
  padding-top: 3px;
}
.mdc-button {
  mat-spinner {
    display: inline-block;
    width: 18px !important;
    height: 18px !important;
    vertical-align: middle;
    margin-left: 5px;
  }
}
.mat-mdc-icon-button[small] {
  --mat-icon-button-state-layer-size: 30px;
  --mdc-icon-button-state-layer-size: 30px;
  --mdc-icon-button-icon-size: 16px;
  --mat-icon-button-icon-size: 16px;
  padding: 5px;
  // background-color: rgba(255, 255, 255, .5);
  .mat-mdc-button-touch-target {
    width: 30px;
    height: 30px;
  }
  mat-icon {
    font-size: 20px;
    width: 20px;
    height: 20px;
  }
}
mat-spinner[small] {
  display: inline-block;
  width: 20px !important;
  height: 20px !important;
  vertical-align: bottom;
}
// --------- TYPOGRAPHY
.heading {
  font-family: "Cinzel", serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
  text-transform: uppercase;
}