@import url('https://fonts.googleapis.com/css2?family=Jost:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,900;1,100;1,200;1,300;1,500;1,700;1,800;1,900&family=Lato:ital,wght@0,100;0,300;0,400;0,700;0,900;1,100;1,300;1,400;1,700;1,900&display=swap');

:root {
  --glam-title-font-family: 'Lato';
  --glam-title-right: calc(50% - 50px);

  --in-dev-color: rgb(235, 35, 95);
  --release-im-color: rgb(35, 135, 235);
}

.rx-home-button {
  background-color: var(--glam-background-color);
  aspect-ratio: 1/1;
  align-items: center;
  display: flex;
  justify-content: center;
  position: fixed;
  top: 0;
  transition: .635s;
  width: 48px;
  z-index: 1;
}

.rx-home-button:hover {
  background-color: var(--glam-color);
}

.rx-home-button img {
  height: 100%;
  width: 65%;
}

.rx-home-button:hover img {
  filter: invert(1);
  transition: .635s;
}

.glam-breeze .rx-home-button img {
  filter: invert(1);
}

.glam-breeze .rx-home-button:hover img {
  filter: invert(0);
}

.glam-pf-square {
  --glam-pf-button-width: 33.33%;
}

@media only screen and (max-width: 1500px) {
  .glam-pf-square {
    --glam-pf-button-width: 50%;
  }
}

@media only screen and (max-width: 1024px) {
  .glam-pf-square {
    --glam-pf-button-width: 100%;
  }
}

.glam-theme-button,
.glam-theme-button:hover {
  background-color: transparent;
  border-radius: 0;
  transform: none;
}

.glam-theme-button::before,
.glam-theme-button:hover:before {
  color: var(--glam-color);
  content: '|||';
  transform: rotate(90deg);
  transition: .235s;
}

.glam-theme-button:hover:before {
  color: var(--glam-color);
  content: '|||';
  transform: rotate(90deg) scale(1.235) translateY(-1px);
}

.glam-theme-button::after,
.glam-theme-button:hover:after {
  display: none;
}

.glam-title {
  font-weight: 500 !important;
  letter-spacing: .235em;
  left: 50px;
  padding: 0 0 0 25px;
}

.glam-portfolio-button {
  align-self: inherit;
  aspect-ratio: 1/.5;
  overflow: hidden;
}

.glam-pf-article {
  padding: 0 2.735rem;
  height: fit-content;
  margin-top: 55px;
  position: relative;
}

.glam-pf-article > :last-child {
  margin-bottom: 5rem;
}

.glam-pf-article h1 {
  position: relative;
  margin-bottom: 50px;
  flex-grow: 1;
}

.glam-pf-article h1 sub {
  left: 0;
  position: absolute;
  font-size: .5em;
  font-weight: 300;
}

.glam-pf-article h2 {
  font-family: 'Bebas Neue';
  font-size: 1.35em;
  letter-spacing: .135em;
  margin: 35px 0 15px 0;
}

.buttons {
  display: flex;
  gap: 1.735rem;
  font-size: .935rem;
  margin: 2.35rem 2.35rem 0 0;
  white-space: nowrap;
}

.buttons > * {
  text-align: center;
  flex-grow: 1;
}

.buttons .gumroad-button {
  border-radius: 0;
}

.free .glam-button:nth-of-type(2) {
  background-color: var(--glam-links-color);
}

.free .glam-button:nth-of-type(2):hover {
  background-color: var(--glam-bg-color);
}

.glam-close-pf-desc {
  border: 2px solid var(--glam-background-color);
  top: 15px;
  right: 20px;
}

.glam-close-pf-desc span {
  border-radius: 18px;
  padding-right: 15px;
  font-size: .5em;
  right: 55px;
  top: 21.5%;
  transform: scale(.95);
  transform-origin: center;
}

.glam-close-pf-desc::before {
  transform: rotate(-45deg);
  transform-origin: center;
}

.glam-close-pf-desc::after {
  transform: rotate(45deg);
  transform-origin: center;
}

.description {
  padding: 0;
}

.description p + p {
  margin-top: 15px;
}

.status {
  display: none;
  border: 1px solid var(--glam-footer-border-color);
  height: 65px;
  position: relative;
  margin: 45px 0 0 0;
}

.release-imminent .buttons,
.in-development .buttons {
  display: none;
}

.release-imminent .status,
.in-development .status {
  display: flex;
}

.status::before,
.status::after {
  align-items: center;
  display: flex;
  font-size: .635em;
  font-weight: 600;
  inset: 0;
  justify-content: center;
  position: absolute;
  text-align: center;
  letter-spacing: .5em;
  text-transform: uppercase;
}

.status > * {
  display: none;
}

.status::after {
  height: 50px;
}

.release-imminent .status::before,
.in-development .status::before {
  content: 'development status:';
}

.in-development .status::after {
  background-color: var(--in-dev-color);
  color: white;
  content: 'in development';
  inset: calc(100% + 15px) 0 0 0;
}

.release-imminent .status::after {
  background-color: var(--release-im-color);
  color: white;
  content: 'release imminent';
  inset: calc(100% + 15px) 0 0 0;
}

.glam-portfolio-button .glam-figure:nth-of-type(2) {
  display: none;
}

.glam-item-open {
  flex-flow: column;
  height: calc(100vh - 100px);
  position: sticky;
  width: 50%;
}

.glam-item-open .glam-figure:not(:first-of-type) {
  display: initial;
}

.glam-item-open .glam-figure {
  height: 50%;
  border: none;
  overflow: visible;
  width: 100%;
}

.glam-item-open .glam-figure img {
  width: 100%;
}

@media only screen and (max-width: 1480px) {
  .glam-portfolio-button {
    order: 1;
    width: 100%;
  }

  .glam-section {
    flex-flow: column;
  }

  .buttons {
    margin-top: 55px;
    flex-flow: column;
    gap: 15px;
  }

  .buttons .glam-button {
    align-items: center;
    display: flex;
    height: 50px;
    justify-content: center;
    margin: 0;
    width: auto;
  }

  .buttons * {
    margin: 0;
    width: auto;
  }

  .glam-item-open .glam-figure {
    height: 100%;
  }

  .glam-item-open .glam-figure:not(:first-of-type) {
    height: 100%;
    display: flex;
  }

  .description {
    padding-top: 10px;
    width: 100%;
  }

  .glam-item-open {
    height: -moz-fit-content;
    height: fit-content;
    min-width: 100vw;
  }

  .glam-item-open .glam-figure img {
    height: auto;
    width: 100%;
  }
}

.highlights {
  display: flex;
  flex-flow: row wrap;
  gap: 15px;
  list-style: none;
  position: relative;
}

.highlights::after {
  background-color: var(--glam-color-muted);
  content: '';
  inset: calc(100% + 22.5px) 0 -23.5px 0;
  position: absolute;
}

.highlights li {
  color: var(--glam-color);
  border: 1px solid var(--glam-footer-border-color);
  padding: 1.235% 1.735% 1.235% 2.765%;
  text-align: center;
  flex: 1;
  font-size: .535em;
  font-weight: 300;
  letter-spacing: .35em;
  text-transform: uppercase;
}

.glam-section {
  margin: 0;
  width: 100%;
}

.glam-figure {
  align-items: flex-start;
  aspect-ratio: unset;
}

.glam-figure img {
  height: 100%;
  width: 100%;
}

.glam-figure figcaption {
  backdrop-filter: brightness(.735);
  font-family: 'Lato';
  font-size: .535em;
  font-weight: 700;
  color: white;
}

.glam-figure figcaption::after {
  background-color: rgba(5, 5, 5, .735);
  backdrop-filter: blur(8px);
  inset: 0;
}

.glam-title {
  font-size: .935em;
  font-weight: 300;
  letter-spacing: .435em;
  text-transform: uppercase;
}

.glam-title a::before,
.glam-title a::after {
  display: none;
}

/**Template highlights on the home page*/
.glam-item-open .template-status {
  display: none;
}

.glam-portfolio-button:hover .template-status {
  margin-right: 0;
}

.template-status {
  align-items: stretch;
  border-radius: 5px 0 0 0;
  display: flex;
  font-size: .735rem;
  font-weight: 600;
  inset: calc(100% - 2.135em) 0 0 auto;
  justify-content: center;
  margin-right: -100px;
  padding: 0;
  position: absolute;
  overflow: hidden;
  text-transform: uppercase;
  transition: .735s;
}

.template-status * {
  align-items: center;
  color: white;
  display: flex;
  height: 100%;
  justify-content: center;
  letter-spacing: .135em;
  padding: 0 .735em 0 1.135em;
  transition: .735s;
}

.in-dev {
  background-color: rgb(65, 175, 175);
}

.in-dev::after {
  content: 'coming soon';
}

.in-dev-early {
  background-color: rgb(165, 135, 175);
}

.in-dev-early::after {
  content: 'in development';
}

.dev-rec {
  background-color: rgb(235, 235, 235);
  color: rgb(35, 35, 35);
}

.dev-rec::before {
  content: 'designer ';
  color: rgb(135, 135, 135);
  font-weight: 600;
  letter-spacing: .235rem;
}

.dev-rec::after {
  background-color: rgb(135, 175, 135);
  border-radius: 2px;
  color: white;
  content: 'recommended';
  font-size: .935em;
  font-weight: 600;
  letter-spacing: .135rem;
  margin-left: 8px;
  padding: 3px 8px 3px 12px;
}

.open-source {
  background-color: rgb(35, 155, 185);
}

.open-source::after {
  content: 'open source!';
}

.viewt {
  background-color: rgb(35, 35, 35);
}

.viewt::after {
  content: 'view info';
}

.glam-footer {
  z-index: 1;
}

.glam-nav {
  z-index: 9999;
}

.glam-text-section h1 {
  text-align: center;
}

.off {
  display: none;
}

.glam-close-pf-desc {
  aspect-ratio: 1/1;
  inset: 5rem auto auto calc(100% - 4.735rem);
  position: fixed;
  z-index: 2;
}

.description {
  height: calc(100vh - 100px);
  overflow-y: scroll;
}

.status {
  margin-bottom: 100px;
}

.gumroad .cart-button {
  border-radius: 50% !important;
  border: none !important;
  transform: scale(.705) !important;
  top: 0px !important;
  right: 65px !important;
  bottom: auto !important;
  transition-duration: .635s !important;
}

.gumroad .overlay .close-button:not(:active):not([disabled]):not([aria-disabled="true"].gumroad-button) {
  border-radius: 50% !important;
  box-shadow: none !important;
}

.gumroad .overlay .close-button:hover:not(:active):not([disabled]):not([aria-disabled="true"].gumroad-button) {
  filter: invert(1);
  transform: none !important;
}

.gumroad .cart-button:hover:not(:active):not([disabled]):not([aria-disabled="true"].gumroad-button),
.gumroad-button:hover:not(:active):not([disabled]):not([aria-disabled="true"].gumroad-button),
.gumroad [aria-haspopup][aria-expanded="true"].cart-button,
.gumroad .overlay [aria-haspopup][aria-expanded="true"].close-button,
[aria-haspopup][aria-expanded="true"].gumroad-button {
  box-shadow: none !important;
  filter: sepia(1) hue-rotate(-165deg) saturate(8) !important;
  transform: scale(.835) !important;
  transition: 2s !important;
}

.buttons .gumroad .cart-button:hover:not(:active):not([disabled]):not([aria-disabled="true"].gumroad-button),
.buttons .gumroad .overlay .close-button:hover:not(:active):not([disabled]):not([aria-disabled="true"].gumroad-button),
.buttons .gumroad-button:hover:not(:active):not([disabled]):not([aria-disabled="true"].gumroad-button),
.buttons .gumroad [aria-haspopup][aria-expanded="true"].cart-button,
.buttons .gumroad .overlay [aria-haspopup][aria-expanded="true"].close-button,
.buttons [aria-haspopup][aria-expanded="true"].gumroad-button {
  filter: saturate(1.35) contrast(2) hue-rotate(-105deg) !important;
  transform: initial !important;
  transition: .5s !important;
}

.glam-theme-menu {
  min-width: 23.5em;
  transition: .5s;
}

@media only screen and (max-width: 768px) {
  .highlights {
    flex-flow: column;
    padding: 0;
    margin: 0;
  }

  .glam-theme-menu {
    width: 100vw;
  }

  .glam-pf-article {
    padding: 1rem;
  }

  .glam-pf-article h1 {
    display: flex;
    flex-flow: column;
  }

  .glam-pf-article h1 sub {
    left: 0;
    line-height: 2em;
    position: relative;
    font-size: .5em;
    font-weight: 300;
    letter-spacing: .365em;
    width: 15em;
  }
}
