@font-face {
  font-family: Akira;
  font-style: normal;
  font-weight: 700;
  src: url('../font/AkiraExpanded-SuperBold.woff2') format('woff2');
  font-display: swap;
}

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
  font-size: 10px;

  background: var(--main-colour);
  color: #fff;
}

h1,h2,h3,h4,h5,h6 {
  margin-block-start: 0;

  font-family: Akira, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
  line-height: 0.8;
  text-transform: uppercase;
  user-select: none;
}

.visually-hidden {
  position: absolute !important;

  width: 1px;
  height: 1px;

  clip: rect(1px 1px 1px 1px); /* IE6, IE7 */
  clip: rect(1px, 1px, 1px, 1px);
  overflow: hidden;
}

#MainContent {
  position: relative;

  min-height: 100svh;
  width: 100%;

  overflow: hidden;
}

#Footer {
  position: fixed;
  bottom: 0;
  left: 0;

  width: auto;
}

::selection {
  background: rgb(var(--main-colour));
  color: #fff;
}

a {
  text-decoration: none;

  color: inherit;
}

/*
|--------------------------------------------------------------------------
| Section - Hero
|--------------------------------------------------------------------------
|
*/

#Hero {
  position: relative;

  width: 100%;
  height: 100%;

  overflow: hidden;
}

.hero__media {
  position: relative;

  min-height: 100svh;
  height: 100%;

  opacity: 0;

  transform: scale3d(1.1, 1.1, 1.1);
  transition: opacity 1s ease, transform 1s ease;
}

body[data-loaded='true'] .hero__media {
  opacity: 1;

  transform: scale3d(1, 1, 1);
}

.hero__image {
  position: absolute;
  top: -5%;
  left: -5%;
  
  width: 110%;
  height: 110%;

  filter: blur(16px) brightness(0.8);
}

.hero__image::before {
  content: '';
  
  position: absolute;
  top: 0;
  left: 0;
  
  width: 50%;
  height: 100%;

  background: linear-gradient(45deg, rgb(254,1,154), rgb(243,23,11), rgb(162,0,218));
  background-size: 200% 200%;

  animation: gradient 10s ease infinite;
}

@keyframes gradient {

  0% {
    background-position: 0% 50%;
  }

  50% {
    background-position: 100% 50%;
  }

  100% {
    background-position: 0% 50%;
  }
}

@media (min-width: 800px) {

  .hero__image::before {
    width: 33%;
  }
}

@media (min-width: 1200px) {

  .hero__image {
    filter: none;
  }
}

.hero__image-foreground { 
  position: absolute;
  top: 0;
  left: 0;

  width: 110%;
  height: 110%;
}

.hero__image-image {
  position: absolute;
  bottom: 0;
  left: -50%;

  width: auto;
  height: 80%;

  filter: blur(16px);
  opacity: 0;
  will-change: filter, opacity;

  transition: all 1s ease;
}

@media (min-width: 800px) {

  .hero__image-image {
    left: 0;

    width: auto;
    height: 100%;
  }
}


.hero__image-image[active] {
  filter: blur(0);
  opacity: 1;
}

/*
|--------------------------------------------------------------------------
| Content
|--------------------------------------------------------------------------
|
*/

.hero__content {
  --content-padding: 2rem;
  position: absolute;
  top: 0;
  right: 0; 

  grid-template-areas: 'top top top'
    'middle middle middle'
    'bottom bottom bottom';
  grid-template-columns: 1fr 1fr 1fr; 
  grid-template-rows: 1fr 1fr 1fr; 

  display: grid;
  width: 100%;
  height: calc(100% - var(--content-padding) * 2);
  padding-block: var(--content-padding); 
  gap: 0px 0px; 

  user-select: none;
}

@media (min-width: 1200px) {

  .hero__content { 
    --content-padding: 0;
    grid-template-areas: '. . . . . . hero__title hero__title hero__title hero__title hero__title hero__title'
      '. . . . . . . . . . . .'
      '. . . . . hero__text hero__text hero__text hero__text hero__text hero__text hero__text';
    grid-template-columns: repeat(12, 1fr);

    height: 100%;
  }
}

.hero__title { 
  grid-area: top;

  text-align: center;
}

@media (min-width: 800px) {

  .hero__title {
    padding-block-start: 0;

    text-align: right;
  }
}

@media (min-width: 1200px) {

  .hero__title {
    grid-area: hero__title; 
  }
}

.hero__title h1 {
  margin-block-end: 1rem;

  font-size: 12vw;
  letter-spacing: 10px;

  color: rgb(var(--main-colour));
}

@media (min-width: 550px) {

  .hero__title h1 {
    font-size: 14vw;
  }
}

@media (min-width: 800px) {

  .hero__title h1 {
    font-size: 16vw;
  }
}

@media (min-width: 1200px) {

  .hero__title h1 {
    font-size: 7vw;
  }
}

.hero__title h1 .is-an-a {
  margin-inline: -20px;
}

@media only screen and (max-width: 767px) {
  
  .hero__title h1 .is-an-a {
    margin-inline: -10px;
  }
}

.hero__title-sub {
  max-width: 50rem;
  margin-inline-start: auto;
  margin-inline-end: 0;

  font-size: 1rem;
  letter-spacing: -1px;

  color: rgb(var(--accent-colour));
  justify-self: end;
}

@media (min-width: 800px) {

  .hero__title-sub {
    font-size: 2rem;
  }
}

.hero__text { 
  align-self: end; 
  flex-wrap: wrap;

  grid-area: bottom;

  display: flex;
  width: 100%;
  gap: 0px 0px;
}

@media (min-width: 1200px) {

  .hero__text {
    grid-area: hero__text;
    grid-template-areas: 'hero__text-description hero__text-description hero__text-aside'
      'hero__text-description hero__text-description hero__text-aside';
    grid-template-columns: 1fr 1fr 200px;
    grid-template-rows: 1fr 1fr; 

    display: grid; 
  }
}

.hero__text-description {
  align-self: end; 

  grid-area: hero__text-description;

  width: 100%;
  padding-inline: 4rem;

  text-align: center; 
  justify-self: start;
}

@media (min-width: 1200px) {

  .hero__text-description {
    padding-inline: 0;
  
    text-align: left; 
  }
}

.hero__text-description h2 {
  margin-block-end: 0;

  font-size: 4vw;
  letter-spacing: 2px;
  line-height: 1;

  color: transparent;
  /* -webkit-text-stroke: 3px rgb(var(--main-colour)); */
  color: rgba(var(--main-colour), 1);
}

@media (min-width: 1400px) {

  .hero__text-description h2 {
    font-size: 3vw;
  }
}

.hero__text-aside {
  align-self: start; 

  grid-area: hero__text-aside;

  width: 100%;
  margin-inline: auto;
  padding: 1rem;

  font-size: 1.2rem;
  text-align: right;

  color: rgb(var(--accent-colour));
  opacity: 0;

  transition-delay: 2s;
  transition-duration: 1s;
  transition-property: opacity;
  transition-timing-function: ease; 
  justify-self: center;
}

@media (min-width: 1200px) {

  .hero__text-aside {
    align-self: end; 
    justify-self: end;

    justify-content: end;
  }
}

body[data-loaded='true'] .hero__text-aside {
  opacity: 0.6;
}

.hero__text-el {
  align-items: center;
  flex-wrap: wrap;
  justify-content: center;

  display: flex;
  display: flex;
}


.hero__link .icon,
.hero__text-el svg {
  display: inline-block;
}

.hero__link .icon svg,
.hero__text-el svg {
  fill: currentColor;
}

.hero__link .icon svg {
  height: 24px;
}

.hero__text-el svg {
  height: 32px;
  margin-inline-end: 0.5rem;
}

.hero__link {
  font-size: 1.6rem;
}

/*
|--------------------------------------------------------------------------
| Footer
|--------------------------------------------------------------------------
|
*/

.footer__text {
  align-self: end; 

  font-size: 1rem;

  color: rgb(0,0,0); 
  justify-self: end;

  transform: rotate(90deg) translate(-50px, 40px);
}
