/** Text styles **/

b,
strong {
  font-weight: 800;
}

.ag-text-emp {
  font-family: "Hanken Grotesk", sans-serif;
  font-weight: 800;
  color: #ffffff;
}

.ag-text-emp a {
  color: #ffffff;
}

.ag-text-emp a:hover {
  color: rgba(254, 254, 254, 0.8);
}

.text-muted {
  color: #636363;
}
.text-highlight {
  color: #50b1f1 !important;
}

.text-challenge {
  color: #ff6b6b !important;
}

.text-solution {
  color: #89b68b !important;
}

h3 small,
h4 small,
h5 small,
h6 small {
  font-family: "Hanken Grotesk", sans-serif;
  font-size: 0.75em;
  font-weight: 400;
}

h2 small {
  margin-bottom: -0.25rem;
  font-size: 0.5em;
  font-weight: 800;
  text-transform: uppercase;
}

/** Icons **/
.services-icon {
  margin-left: 0;
  margin-right: 0;
}

.ag-fa-icon {
  transform: scale(1.1);
  margin-right: 0.25em;
}

.ag-icon-circle {
  display: grid;
  place-items: center;
  margin-right: 0.75rem;
  width: 64px;
  height: 64px;
  background-color: rgb(93 173 226 / 15%);
  border-radius: 500px;
  color: #50b1f1;
  font-size: 28px;
}

/** Text block **/

.ag-text-block {
  position: relative;
  padding-left: 20px;
  margin-top: 20px;
  color: #bbb;
}

.ag-text-block:before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 8px;
  border-radius: 3px;
  background-color: #ffffff;
}

.ag-text-block-highlight:before {
  background-color: #50b1f1;
}

.ag-text-block-challenge:before {
  background-color: #ff6b6b;
}

.ag-text-block-solution:before {
  background-color: #89b68b;
}
/** Game page **/
.game-page .home-content {
  text-align: left;
}

.game-page .home-content .download-link {
  display: inline-block;
}
.game-page .home-content .download-link img {
  max-width: 120px;
}

.game-page .home-content .download-link.itch-link img {
  max-width: 140px;
}

.ag-vimeo-wrapper {
  padding: 56.07% 0 0 0;
  position: relative;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
}

.game-jazz-out .ag-vimeo-wrapper {
  background-image: url(../images/jazz-out/jazz-out-loading.png);
}

.game-sour-security .ag-vimeo-wrapper {
  background-image: url(../images/sour-security/sour-security-loading.png);
}

.game-monster-hideout .ag-vimeo-wrapper {
  background-image: url(../images/monster-hideout/monster-hideout-loading.png);
}

.game-toybox-battles .ag-vimeo-wrapper {
  background-image: url(../images/toybox-battles/toybox-battles-loading.png);
}

.game-sour-security-prototype .ag-vimeo-wrapper {
  background-image: url(../images/sour-security-prototype/sour-security-prototype-loading.png);
}

.ag-vimeo-wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.lazy-video-hidden-controls::-webkit-media-controls {
  display: none !important;
  opacity: 0 !important;
  pointer-events: auto !important;
}

.ag-card-section {
  background: rgba(254, 254, 254, 0.05);
  border-radius: 1rem;
  margin-top: 3rem;
  padding-bottom: 2rem;
}

.ag-card-section > .col-12 {
  padding-right: calc(var(--bs-gutter-x) * 0.375);
  padding-left: calc(var(--bs-gutter-x) * 0.375);
}

.open-blueprint {
  color: #ffffff !important;
  font-weight: 800;
  font-size: 0.75rem;
  text-decoration: none;
  /* padding: 6px 6px; */
  text-transform: uppercase;
  letter-spacing: 0.4px;
  border-color: #ffffff;
}

.open-blueprint:hover {
  background-color: #ffffff;
  color: #000000 !important;
  text-decoration: none;
}
.open-blueprint:focus {
  box-shadow: none !important;
}

.ag-work-navigation.bg-dark.light-content {
  display: flex;
  justify-content: space-between;
  background-color: #1f1f1f !important;
}

.ag-work-navigation.bg-dark.light-content.only-next {
  justify-content: flex-end;
}

.ag-work-navigation.bg-dark.light-content.only-prev {
  justify-content: flex-start;
}

.ag-work-navigation a {
  float: none;
  width: auto;
  overflow: visible;
  padding-left: 1rem;
  padding-right: 1rem;
  text-decoration: none;
  padding: 2rem 1.5rem;
  font-size: 1rem;
  font-weight: 800;

  transition: all 0.27s cubic-bezier(0.3, 0.1, 0.58, 1);
}

.ag-work-navigation a:hover {
  background-color: rgba(255, 255, 255, 0.05);
}

.ag-work-navigation a > span {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.ag-work-navigation a > span > span {
  font-weight: 400;
  opacity: 0.45;
}

.ag-work-navigation .fa {
  font-size: 28px;
  opacity: 0.3;
}

.ag-work-navigation a.work-prev {
}

.ag-work-navigation a.work-prev .fa {
  margin-right: 0.5rem;
}

.ag-work-navigation a.work-next {
}

.ag-work-navigation a.work-next .fa {
  margin-left: 0.5rem;
}

@media only screen and (max-width: 767px) {
  .ag-work-navigation {
    flex-direction: column;
  }

  .ag-work-navigation a.work-next {
    align-self: flex-end;
  }
}

@media (max-width: 1370px) {
  .ag-card-section {
    margin-right: 0 !important;
    margin-left: 0 !important;
  }
}

/** About me **/

.proficiencies-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 3rem;
  align-items: center;
  margin-top: 2rem;
  margin-bottom: 2rem;
}

.proficiencies-grid.gamedev {
  grid-template-columns: 4fr 1fr;
}

.proficiencies-grid.design {
  display: block;
}

.proficiencies-grid.design img {
  max-width: 70%;
  margin-bottom: 3rem;
}

.proficiencies-grid.design img:last-of-type {
  margin-bottom: 0;
}

.proficiencies-grid img {
  display: block;
  max-width: 100%;
}
@media only screen and (max-width: 991px) {
  .proficiencies-grid.gamedev {
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    grid-template-rows: 90px;
    justify-content: center;
  }
  .proficiencies-grid.gamedev img {
    max-height: 100%;
  }
}

@media only screen and (max-width: 640px) {
  .proficiencies-grid.gamedev {
    grid-template-columns: 4fr 1fr;
    grid-template-rows: 80px;
  }
  .proficiencies-grid {
    grid-template-columns: repeat(auto-fit, minmax(90px, 1fr));
  }
}

/** Bootstrap override **/
.mt-6 {
  margin-top: 5rem !important;
}
.pl-3 {
  padding-left: 1rem !important;
}
.pr-3 {
  padding-right: 1rem !important;
}
.pl-4 {
  padding-left: 1.5rem !important;
}
.pr-4 {
  padding-right: 1.5rem !important;
}
.pr-5 {
  padding-right: 3rem !important;
}

@media only screen and (min-width: 991px) {
  .pr-md-5 {
    padding-right: 3rem !important;
  }
}

/** Theme overrides **/
html,
body {
  background-color: #000000;
}
.row {
  --bs-gutter-x: 3.5rem;
}

h1,
h2,
h3,
h4,
h5,
h6,
.h1,
.h2,
.h3,
.h4,
.h5,
.h6 {
  font-weight: 800 !important;
  letter-spacing: 0 !important;
}

h3,
.h3 {
  font-size: 2rem;
}

.work-full-detail p {
  display: flex;
  color: #ffffff !important;
  padding: 6px 0;
}

.work-full-detail p strong {
  flex-basis: 100px;
  color: #ffffff;
}

.light-content .work-full-detail p,
.light-content .work-full-detail p:last-child {
  border-color: rgba(255, 255, 255, 0.4);
}

@media only screen and (max-width: 480px) {
  .hs-line-7 {
    font-size: 3rem;
    line-height: 1.2;
  }
}

@media only screen and (min-width: 480px) and (max-width: 767px) {
  .hs-line-7 {
    font-size: 3.5rem;
  }
}

@media only screen and (min-width: 767px) and (max-width: 1024px) {
  .hs-line-7 {
    font-size: 4rem;
  }
}

@media only screen and (min-width: 1024px) {
  .hs-line-7 {
    font-size: 4.5rem;
  }
}

.section-title {
  font-size: 56px;
}

@media only screen and (max-width: 480px) {
  .section-title {
    font-size: 42px;
  }
}

.services-item {
  margin-top: 0px;
}

.bg-dark-alfa-70:before,
.bg-dark-alfa-70 .YTPOverlay:before {
  /*
  --mesh-size: 6px;
  --mesh-bg-opacity: 0.3;

  background: rgba(17, 17, 17, .7);
  background: linear-gradient(0deg, rgba(27, 27, 27, 1) 0%, rgba(27, 27, 27, 0.5) 70%);
  background: linear-gradient(0deg, rgba(27, 27, 27, 1) 0%, rgba(27, 27, 27, 0.7) 70%);

  background: linear-gradient(0deg, rgba(27, 27, 27, 1) 0%, rgba(27, 27, 27, 0.5) 70%), repeating-linear-gradient(0deg, rgba(27, 27, 27, 1) 0px, rgba(27, 27, 27, var(--mesh-bg-opacity)) 1px, rgba(27, 27, 27, var(--mesh-bg-opacity)) var(--mesh-size)), repeating-linear-gradient(90deg, rgba(27, 27, 27, 1) 0px, rgba(27, 27, 27, var(--mesh-bg-opacity)) 1px, rgba(27, 27, 27, var(--mesh-bg-opacity)) var(--mesh-size));

  background: repeating-linear-gradient(0deg, rgba(27, 27, 27, 1) 0px, rgba(27, 27, 27, var(--mesh-bg-opacity)) 1px, rgba(27, 27, 27, var(--mesh-bg-opacity)) var(--mesh-size)), repeating-linear-gradient(90deg, rgba(27, 27, 27, 1) 0px, rgba(27, 27, 27, var(--mesh-bg-opacity)) 1px, rgba(27, 27, 27, var(--mesh-bg-opacity)) var(--mesh-size));
  */
  background: rgba(27, 27, 27, 0.8);
  background-image: url(../images/dot-matrix.png);
  background-size: auto;
  background-repeat: repeat;
  background-position: center center;
}

@media only screen and (max-width: 767px) {
  /*
  .bg-dark-alfa-70:before, .bg-dark-alfa-70 .YTPOverlay:before{
    background: rgba(27, 27, 27, 0.6);
  }
  */
}

.light-content .toggle {
  background: none;
  border-bottom: none;
}

.light-content .toggle > dt,
.light-content .toggle > dd {
  background: #202020;
  border-radius: 8px;
}

.light-content .toggle > dt {
  border-radius: 8px 8px 0 0;
}
.light-content .toggle > dd {
  border-radius: 0 0 8px 8px;
}

.toggle > dt > a {
  border-top: none;
}

.toggle a {
}

.toggle a img {
  cursor: pointer;
  transition: all 0.25s;
}

.toggle a:hover img {
  opacity: 0.7;
}

.footer {
  text-align: left;
}

.footer a {
  display: inline-block;
}

.footer a.contact-item:hover {
  text-decoration: none;
}

.footer a.contact-item:hover .ci-text {
  color: #ffffff;
  text-decoration: underline;
}

.footer .contact-wrapper {
  display: flex;
  flex-direction: row;
  justify-content: center;
  gap: 4rem;
}

.footer .contact-wrapper .ci-title {
  font-size: 20px;
  font-weight: 800;
}

.footer-copy {
  text-align: center;
}

@media only screen and (max-width: 1024px) {
  .footer .contact-wrapper {
    flex-direction: column;
    justify-content: center;
    gap: 2rem;
  }

  .footer-copy {
    text-align: left;
  }
}

@media only screen and (max-width: 640px) {
  .ci-icon {
    width: 48px;
    height: 48px;
    line-height: 48px;
  }

  .ci-title {
    font-size: 18px;
  }

  .ci-text {
    font-size: 16px;
  }
}

/** Fancybox overrides **/
body.compensate-for-scrollbar {
  padding-right: 0px !important;
}
/*
.fancybox__content {
    padding: 0 !important;
    margin: 0 !important;
    background: transparent !important;
}

.fancybox__iframe {
    border: none !important;
}

.fancybox__carousel .fancybox__slide.has-iframe .fancybox__content, .fancybox__carousel .fancybox__slide.has-map .fancybox__content, .fancybox__carousel .fancybox__slide.has-pdf .fancybox__content {
  height: 63%;
}

.fancybox__html5video, .fancybox__iframe {
  height: 660px;
}
*/

/*** List style test ***/
ol {
  margin-left: -0.5rem;
}
li {
  margin-top: 0.75rem;
}
li::marker {
  color: #50b1f1;
  font-weight: 800;
}
