@import url('https://fonts.googleapis.com/css2?family=Lato:ital,wght@0,400;0,700;1,400&display=swap');
@font-face {
  font-family: 'BigNoodleTitling';
  src: url('fonts/BigNoodleTitling.woff2') format('woff2'),
      url('fonts/BigNoodleTitling.woff') format('woff');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

:root {
  --glitch-x-1: 0;
  --glitch-y-1: 0;
  --glitch-x-2: 0;
  --glitch-y-2: 0;
  --glitch-text-opacity: 0;
  --glitch-original-text-color: inherit;
  --scroll-color: #FF005C;
}

html, body {
  background-color: #0f0f0f;
  color: white;
  margin: 0;
  padding: 0;
  font-family: 'Lato', sans-serif;
  --brand-color: #FF005C;
  position: relative;
}

::-webkit-scrollbar {
  width: 10px;
  background-color: rgb(30, 31, 32);
}
::-webkit-scrollbar-thumb {
  /* background-color: rgb(206, 206, 206); */
  background-color: var(--scroll-color);
  border-left: 1px solid black;
}

::selection {
  background-color: rgb(105, 18, 59);
}

.no-select {
  user-select: none;
}

a, a:visited, a:active, a:focus, a:hover {
  color: var(--brand-color);
  text-decoration: none;
  font-weight: bold;
}
a:hover {
  text-decoration: underline;
  color: white;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'BigNoodleTitling', sans-serif;
  font-weight: normal;
  margin-top: 0;
}

button {
  outline: none;
  padding: 0.25rem 3rem;
  font-size: 2.7rem;
  background-color: var(--section-color);
  color: white;
  box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.25);
  background-position: -100%;
  background-size: 200%;
  background-image: linear-gradient(to right, transparent, rgba(255, 255, 255, 0.4), transparent);
  background-repeat: repeat-y;
  cursor: pointer;
  transition: 0.25s ease;
  border: 1px solid rgba(255, 255, 255, 0.4);
  text-transform: uppercase;
  font-family: 'BigNoodleTitling', sans-serif;
}
button:hover {
  background-position: 200%;
  transform: scale(1.1);
  box-shadow: 4px 4px 10px rgba(0, 0, 0, 0.25);
}
@media (max-width: 420px), (max-height: 560px) {
  button {
    font-size: 1.5rem;
  }
}

#main {
  width: 100%;
  height: 100vh;
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  grid-template-rows: 0.5fr 2fr 0.5fr;
  gap: 0 0;
  grid-template-areas:
    'top'
    'middle'
    'bottom';
}
.g-middle { grid-area: middle; }
.g-bottom { grid-area: bottom; }
.g-top { grid-area: top; }

#main > *:not(#main-bg) {
  z-index: 100;
}

#main-bg {
  inset: 0;
  position: absolute;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  overflow: clip;
}

#main-bg-vid {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

#main-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.8);
}

#about {
  width: 100%;
  min-height: 335px;
  display: grid;
  grid-template-columns: 1fr 2fr;
}
@media (max-width: 730px) {
  #about {
    grid-template-columns: 0 1fr;
  }
}

#content-cards {
  width: 100%;
}

#contact-now {
  --section-color: #FF005C;
  display: grid;
  grid-template-columns: 2fr 1fr;
  align-items: center;
  justify-content: center;
  height: 270px;
}
#contact-button {
  margin-left: 3rem;
}
@media (max-width: 730px) {
  #contact-now {
    grid-template-columns: 1fr;
    grid-template-rows: 1fr 1fr;
  }

  #contact-button {
    margin-left: 0;
  }
}

#footer {
  display: flex;
  flex-direction: row;
  align-items: center;
  width: 100%;
  height: 135px;
  border-bottom: 6px solid var(--brand-color);
  background: black;
}
@media (max-width: 800px) {
  #footer {
    align-items: center;
    flex-direction: column;
    height: unset;
    text-align: center;
  }
  #footer > * {
    align-items: center;
  }
}

.section {
  display: flex;
  width: 100%;
  height: 540px;
  --section-color: white;
  --border-width: 8px;
}

.section.pink {
  --section-color: #FF005C;
}
.section.green {
  --section-color: #00FFA3;
}
.section.orange {
  --section-color: #FFB000;
}
.section.blue {
  --section-color: #00CFFF;
}

.section-half {
  display: flex;
  width: 50%;
  height: 100%;
  flex-direction: column;
  align-items: flex-start;
}

/* content side */
.section:nth-child(even) .section-half:last-child {
  border-right: var(--border-width) solid var(--section-color);
}
.section:nth-child(odd) .section-half:first-child {
  border-left: var(--border-width) solid var(--section-color);
}

/* video side */
.section:nth-child(odd) .section-half:last-child, .section:nth-child(even) .section-half:first-child {
  justify-content: center;
  align-items: center;
  font-size: 4rem;
  /*background: radial-gradient(circle, #46243a, #2e1f29);*/
}

.section-title {
  color: var(--section-color);
  text-transform: uppercase;
  font-size: 2.7rem;
}

.pad {
  padding: 4rem;
  box-sizing: border-box;
}

@media (max-width: 1000px) {
  .section {
    height: unset;
    flex-direction: column-reverse;
    --border-width: 4px;
  }
  .section:nth-child(even) {
    flex-direction: column;
  }
  .section-half {
    width: 100%;
    height: unset;
  }
  .section:nth-child(even) .section-half:last-child {
    border-left: var(--border-width) solid var(--section-color);
    border-right: none;
  }

  .pad {
    padding: 2rem;
  }

  .preview {
    height: 400px;
  }
}

.upper {
  text-transform: uppercase;
}

.end {
  margin-top: auto;
}

.img-placeholder {
  background: radial-gradient(circle, #46243a, #2e1f29);
  min-height: 100%;
}

.social-placeholder {
  width: 32px;
  height: 32px;
  background: white;
  outline: 3px black inset;
  outline-offset: -6px;
}

/* large margin */
.mtl {
  margin-top: 3rem;
}
.mbl {
  margin-bottom: 3rem;
}
.mll {
  margin-left: 3rem;
}
.mrl {
  margin-right: 3rem;
}
.ml {
  margin-left: 3rem;
}

/* medium margin */
.mtm {
  margin-top: 1rem;
}
.mbm {
  margin-bottom: 1rem;
}
.mlm {
  margin-left: 1rem;
}
.mrm {
  margin-right: 1rem;
}
.mm {
  margin: 1rem;
}

/* small margin */
.mts {
  margin-top: 0.5rem;
}
.mbs {
  margin-bottom: 0.5rem;
}
.mls {
  margin-left: 0.5rem;
}
.mrs {
  margin-right: 0.5rem;
}
.ms {
  margin: 0.5rem;
}

/* no margin */
.mrn {
  margin-right: 0;
}
.mln {
  margin-left: 0;
}
.mtn {
  margin-top: 0;
}
.mbn {
  margin-bottom: 0;
}
.mn {
  margin: 0;
}

.giant {
  font-size: 8rem;
}
.big {
  font-size: 2.7rem;
}
.small {
  font-size: 0.9rem;
}
@media (max-width: 640px) {
  .giant {
    font-size: 6rem;
  }
  .big {
    font-size: 2.2rem;
  }
  .small {
    font-size: 0.7rem;
  }
}
@media (max-width: 470px), (max-height: 560px) {
  .giant {
    font-size: 4rem;
  }
  .big {
    font-size: 1.7rem;
  }
}

.flex {
  display: flex;
}
.row {
  flex-direction: row;
}
.column {
  flex-direction: column;
}

.center {
  justify-content: center;
  align-items: center;
}

.j-start {
  justify-content: flex-start;
}
.j-end {
  justify-content: flex-end;
}
.j-center {
  justify-content: center;
}

.a-start {
  align-items: flex-start;
}
.a-end {
  align-items: flex-end;
}
.a-center {
  align-items: center;
}

.grow {
  flex-grow: 1;
}

.w {
  width: 100%;
}
.h {
  height: 100%;
}

.logo-peek, .logo-peek-r {
  background-image: url(img/logo-faint.svg);
  background-position: -100px 50%;
  background-size: 200px 200px;
  background-repeat: no-repeat;
}
.logo-peek-r {
  background-position: calc(100% + 100px) 50%;
}

.glitch {
  position: relative;
  color: var(--glitch-original-text-color);
}
.glitch::before {
  content: attr(data-text);
  position: absolute;
  inset: 0;
  mix-blend-mode: screen;
  color: #ff0000;
  transform: translate(var(--glitch-x-1), var(--glitch-y-1));
  pointer-events: none;
  opacity: var(--glitch-text-opacity);
}
.glitch::after {
  content: attr(data-text);
  position: absolute;
  inset: 0;
  mix-blend-mode: screen;
  color: #00ffff;
  transform: translate(var(--glitch-x-2), var(--glitch-y-2));
  pointer-events: none;
  opacity: var(--glitch-text-opacity);
}

.v-div {
  width: 1px;
  height: 30px;
  background-color: white;
  opacity: 0.5;
  margin: 0 1rem;
}

#modal-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 100;
  opacity: 0;
  pointer-events: none;
  transition: 0.25s ease;
  background-color: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(10px);
}

#modal-container.show {
  opacity: 1;
  pointer-events: all;
}

#modal-content {
  width: 100%;
  height: 100%;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
}

#power-levels {
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}

.modal {
  cursor: pointer;
}

.fit-image {
  background-position: center center;
  background-size: cover;
  background-repeat: no-repeat;
}

iframe {
  border: none;
  width: 80%;
  height: 100%;
}

@media (max-width: 1140px) {
  .hide-mobile {
    display: none;
  }
}

.social {
  margin: 1rem;
}

#showreel-button {
  margin-top: 3rem;
}
@media (max-height: 560px) {
  #showreel-button {
    margin-top: 1rem;
  }
}
