@font-face {
  font-family: SilkScreen;
  src: url('/font/SilkScreen-Regular.woff2') format('woff2'), url('/font/SilkScreen-Regular.ttf') format('ttf');
  font-display: swap;
}
@font-face {
  font-family: SilkScreen;
  src: url('/font/SilkScreen-Bold.woff2') format('woff2'), url('/font/SilkScreen-Bold.ttf') format('ttf');
  font-weight: 700;
  font-display: swap;
}

:root {
  --header-font: SilkScreen, sans-serif;
  --mono-font: monospace;

  --color-highlight: #deff00;
}

*,
*:before,
*:after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  scrollbar-color: hsla(219deg, 40%, 20%, 0.5) transparent;
  scrollbar-width: auto;
}

::-webkit-scrollbar {
  width: 8px;
  height: 8px;
  border: 2px solid transparent;
}

::-webkit-scrollbar-track {
  background: transparent;
}

::-webkit-scrollbar-thumb {
  background-color: hsla(219deg, 40%, 20%, 0.5);
  border-radius: 4px;
}

html {
  min-height: 100vh;
  font-size: 16px;
  line-height: 1.5;
  -webkit-text-size-adjust: 100%;
  background-color: #111;
  color: #fff;
}

body {
  min-height: 100vh;
  font-family: sans-serif;
  font-size: 1.25rem;
}

main {
  display: block;
}

template,
[hidden] {
  display: none !important;
}

hr {
  box-sizing: content-box;
  height: 0;
  overflow: visible;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: normal;
  line-height: 1;
}

h1 {
  font-size: 2.75rem;
}

h2 {
  font-size: 2.125rem;
}

h3 {
  font-size: 1.875rem;
}

h4 {
  font-size: 1.75rem;
}

h5 {
  font-size: 1.5rem;
}

h6 {
  font-size: 1rem;
}

pre {
  font-family: monospace, monospace;
  font-size: 1em;
}

a {
  background-color: transparent;
  color: #62c4cf;
}
a:hover {
  text-decoration: none;
  text-shadow: 0 0 2px var(--color-highlight);
}

abbr[title] {
  border-bottom: none;
  text-decoration: underline;
  text-decoration: underline dotted;
}

b,
strong {
  font-weight: bolder;
}

small {
  font-size: 80%;
}

code,
kbd,
samp {
  font-family: monospace, monospace;
  font-size: 1em;
}

sub,
sup {
  font-size: 75%;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}

sub {
  bottom: -0.25em;
}

sup {
  top: -0.5em;
}

dl {
  padding-left: 1.6rem;
}

dt {
  font-weight: bold;
}

dd {
  padding-left: 1.6rem;
}
dd:before {
  content: '—';
  display: inline-block;
  margin-left: -1.2rem;
  margin-right: 0.4rem;
}

ul,
ol {
  padding-left: 1.6rem;
}

img {
  border-style: none;
  display: block;
  object-fit: cover;
  border-style: none;
}

img,
object,
svg {
  aspect-ratio: var(--aspect, initial);
  max-width: 100%;
  height: auto;
}

details {
  display: block;
}

summary {
  display: list-item;
}

button,
input,
optgroup,
select,
textarea {
  font-family: inherit;
  font-size: 100%;
  line-height: 1.15;
  margin: 0;
}

button,
input {
  overflow: visible;
}

button,
select {
  text-transform: none;
}

button,
[type='button'],
[type='reset'],
[type='submit'] {
  -webkit-appearance: button;
  cursor: pointer;
}

button::-moz-focus-inner,
[type='button']::-moz-focus-inner,
[type='reset']::-moz-focus-inner,
[type='submit']::-moz-focus-inner {
  border-style: none;
  padding: 0;
}

button:-moz-focusring,
[type='button']:-moz-focusring,
[type='reset']:-moz-focusring,
[type='submit']:-moz-focusring {
  outline: 1px dotted ButtonText;
}

button.fancybutton {
  padding: 0 1rem;
  border-radius: 4px;
  height: 2.5rem;
  color: #fff;
  background: linear-gradient(135deg, #15e6e9, #f60552);
  border: 1px solid rgba(255, 255, 255, 0.1);
  text-shadow: 0 0 8px #000;
}

button.fancybutton:hover {
  border-color: rgba(255, 255, 255, 0.5);
}

fieldset {
  padding: 0.35em 0.75em 0.625em;
}

legend {
  box-sizing: border-box;
  color: inherit;
  display: table;
  max-width: 100%;
  padding: 0;
  white-space: normal;
}

progress {
  vertical-align: baseline;
}

textarea {
  overflow: auto;
}

[type='checkbox'],
[type='radio'] {
  box-sizing: border-box;
  padding: 0;
}

[type='number']::-webkit-inner-spin-button,
[type='number']::-webkit-outer-spin-button {
  height: auto;
}

[type='search'] {
  -webkit-appearance: textfield;
  outline-offset: -2px;
}

[type='search']::-webkit-search-decoration {
  -webkit-appearance: none;
}

::-webkit-file-upload-button {
  -webkit-appearance: button;
  font: inherit;
}

/*
  Utility entities
====================================================== */

#logo {
  aspect-ratio: 532/319;
  width: 12rem;
  user-select: none;
}

.container {
  max-width: 67rem;
  padding: 0 2rem;
  margin: auto;
}

.formatted-text h1,
.formatted-text h2,
.formatted-text h3,
.formatted-text h4,
.formatted-text h5,
.formatted-text h6 {
  font-family: var(--header-font);
  margin: 1rem 0;
}

.formatted-text ul,
ol,
p {
  margin: 1rem 0;
}

/*
  Social Icons block
====================================================== */

.social-icons {
  display: flex;
  align-items: center;
}

.social-icons a {
  display: inline-flex;
  text-decoration: none;
  font: 0/0 a;
  width: 2.25rem;
  height: 2.25rem;
  margin: 0 0.25rem;
}

.social-icons svg {
  border: 1px solid #fff;
  border-radius: 50%;
  padding: 6px;
  fill: #fff;
  margin: auto;
  width: 100%;
  height: 100%;
  transition: fill var(--transition-duration);
}

.social-icons .facebook svg {
  fill: #6b7ea3;
  border-color: #6b7ea3;
}

.social-icons .facebook:hover svg {
  fill: #4267b2;
  border-color: #4267b2;
}

.social-icons .twitter svg {
  fill: #29acdb;
  border-color: #29acdb;
}

.social-icons .twitter:hover svg {
  fill: #2199c4;
  border-color: #2199c4;
}

.social-icons .youtube svg {
  fill: #f02929;
  border-color: #f02929;
}
.social-icons .youtube:hover svg {
  fill: #f00;
  border-color: #f00;
}

.social-icons .rss svg {
  fill: #f0aa29;
  border-color: #f0aa29;
}

.social-icons .rss:hover svg {
  fill: #eea111;
  border-color: #eea111;
}

.social-icons .reddit svg {
  fill: #f05e29;
  border-color: #f05e29;
}

.social-icons .reddit:hover svg {
  fill: #ff4500;
  border-color: #ff4500;
}

.social-icons .tiktok svg {
  fill: #62c4cf;
  border-color: #62c4cf;
}

.social-icons .tiktok:hover svg {
  fill: #3cb6c3;
  border-color: #3cb6c3;
}

.social-icons .instagram svg {
  fill: #a267e4;
  border-color: #a267e4;
}

.social-icons .instagram:hover svg {
  fill: #812de1;
  border-color: #812de1;
}

.social-icons .whatsapp svg {
  fill: #00e676;
  border-color: #00e676;
}

.social-icons .whatsapp:hover svg {
  fill: #04ae5c;
  border-color: #04ae5c;
}

.social-icons .email svg,
.social-icons .phone svg {
  fill: #3373cc;
  border-color: #3373cc;
}

.social-icons .email:hover svg,
.social-icons .phone:hover svg {
  fill: #0b62da;
  border-color: #0b62da;
}

/*
  Minimal text block
====================================================== */
.minimal-text {
  display: block;
}

.minimal-text-title {
  margin-bottom: 1.5rem;
  font-family: var(--header-font);
  font-size: var(--text-section-title-size, 2.25rem);
}

.minimal-text-content {
  text-wrap: pretty;
}

/*
  Text content with image block
====================================================== */

.text-section {
  display: grid;
  grid-gap: 1.5rem;
  grid-template-columns: 16rem auto 16rem;
  grid-template-rows: 2.25rem auto auto;
  grid-template-areas:
    'title title image'
    'short short image'
    'long long long';
}

.text-section-title {
  grid-area: title;
  font-family: var(--header-font);
  font-size: var(--text-section-title-size, 2.25rem);
}

.text-section-content {
  grid-area: short;
  text-wrap: pretty;
}

.text-section-morecontent {
  grid-area: long;
  text-wrap: pretty;
  visibility: collapse;
  overflow: hidden;
  opacity: 0;
  transition: opacity 0.25s;
  height: 0;
}

.text-section .fancybutton {
  margin-top: 1.5rem;
}

.text-section-image {
  width: 16rem;
  height: 16rem;
  grid-area: image;
  object-fit: contain;
  border-radius: 50%;
  background: #ffffff6c;
  border: 3px solid #fff;
}

.text-section.state-open .text-section-morecontent {
  visibility: visible;
  overflow: visible;
  opacity: 1;
  height: auto;
}

.text-section.state-open .text-section-content .fancybutton,
.text-section:not(.state-open) .text-section-morecontent .fancybutton {
  opacity: 0;
}

.text-section.reversed {
  grid-template-areas:
    'image title title'
    'image short short'
    'long long long';
}

@media screen and (max-width: 45rem) {
  .text-section {
    display: block;
  }
  .text-section-image {
    display: none;
  }
}

/*
  Iframe wrapper block
====================================================== */

.iframe-wrapper {
  position: relative;
  margin: auto;
  font-size: 0;
  border: 3px solid rgba(255, 255, 255, 0.75);
  /* box-shadow: 0 1rem 3.5rem var(--color-highlight); */
}

.iframe-wrapper:before {
  content: '';
  display: block;
  position: absolute;
  z-index: 10;
  width: 100%;
  height: 100%;
  top: 0;
  box-shadow: inset 0 0 15rem 3rem rgba(0, 0, 0, 0.75);
  pointer-events: none;
  user-select: none;
}

.iframe-wrapper iframe {
  width: 100% !important;
}

@media screen and (max-width: 70rem) {
  .iframe-wrapper {
    max-width: 20rem !important;
  }
}

/*
  Social nav block
====================================================== */

.social-nav {
  display: flex;
  align-items: center;
  font-size: 1.25rem;
}

.social-nav a {
  margin-left: 1rem;
  display: flex;
  width: 2rem;
}

.social-nav img {
  width: 100%;
  margin: auto;
}

.social-nav a[href*='x.com'] {
  width: 1.6rem;
}

.social-nav a[href*='www.youtube.com'] {
  width: 2.4rem;
}

/*
  Hero section
====================================================== */

#hero-section {
  min-height: 90vh;
  padding-bottom: 10vh;
  position: relative;
  background-image: linear-gradient(0deg, transparent, #000000bf), linear-gradient(270deg, transparent, #000000bf), linear-gradient(90deg, transparent, #000000bf);
  background-size: 100% 15vh, 15vw, 15vw;
  background-repeat: no-repeat;
  background-attachment: fixed;
  background-position: 0% 0%, 0% 0%, 100% 0%;
}

#hero-section:before,
#hero-section:after {
  content: '';
  display: block;
  position: fixed;
  top: 0;
  height: 100vh;
  width: 100%;
  background-repeat: no-repeat;
  pointer-events: none;
  user-select: none;
}

#hero-section:before {
  z-index: -1;
  background-image: url(/img/curtain_l.png), url(/img/curtain_r.png);
  background-size: auto 100vh;
  background-position: calc(0% - (350px - clamp(180px, 16vw, 350px))) 0%, calc(100% + (350px - clamp(180px, 16vw, 350px))) 0%;
}

#hero-section:after {
  z-index: 0;
  background-image: url(/img/Arti.png), url(/img/Boti.png);
  background-position: calc(0% - (350px - min(45vw, 350px))) 100%, calc(100% + (350px - min(45vw, 350px))) 100%;
  background-size: max(12rem, 14vw), max(12rem, 14vw);
}

@media screen and (max-width: 45rem) {
  #hero-section:after {
    content: none;
  }
}

#hero-section .container {
  display: grid;
  grid-auto-rows: min-content;
  justify-items: center;
  overflow: visible;
  gap: 1.5rem;
  padding-top: 2rem;
  position: relative;
  z-index: 1;
}

#hero-section #youtube-preview {
  margin-top: 3rem;
  width: 100%;
}

#hero-section h1 {
  text-align: center;
  text-wrap: balance;
  text-shadow: 0 0 9px var(--color-highlight);
  font-family: var(--header-font);
  letter-spacing: -2px;
}

#hero-section .text {
  font-size: 0.8em;
  font-weight: bold;
  text-wrap: balance;
  letter-spacing: 1px;
  text-align: center;
  max-width: 60rem;
}

#youtube-preview h2 {
  margin-bottom: 1.5rem;
  text-align: center;
}

@media (prefers-reduced-motion: no-preference) {
}

/*
  Main content
====================================================== */

#main-content {
  position: relative;
  padding-top: 5rem;
  padding-bottom: 5rem;
  background-color: #161616;
  background-image: url(/img/circuits_r.png), url(/img/circuits_l.png);
  background-position: right top, bottom left;
  background-size: clamp(70vh, 43%, 43%), clamp(70vh, 43%, 43%);
  background-repeat: no-repeat;
  border-bottom: 1px solid #fff;
  box-shadow: 0 0.5rem 3rem #000;
}

#main-content .text-section {
  padding-top: 4.2vw;
  padding-bottom: 4.2vw;
}

/*
  TikTok feed content
====================================================== */
#tiktokfeed {
}

#tiktokfeed .wrapper {
  position: relative;
  z-index: 1;
  padding: 4rem 0;
  background: linear-gradient(135deg, #15e6e9, #f60552);
  border-top: 1px solid #ffffff9c;
  border-bottom: 1px solid #ffffff9c;
  box-shadow: 0 1rem 3rem 1rem #000;
}

#tiktokfeed h2 {
  font-family: var(--header-font);
  letter-spacing: -2px;
  text-indent: -2px;
  font-size: 2.25rem;
  text-align: center;
  padding-bottom: 1.5rem;
  position: relative;
  z-index: 1;
}

#tiktokfeed .embed {
}

/*
  Footer block
====================================================== */

#appendix {
  --text-section-title-size: 1.75rem;
  box-shadow: 0 0 3rem #000;
  background-color: #161616;
  padding: 3rem max(12rem, 14vw) 4rem;
  font-size: 1rem;
}

#appendix .appendix-grid {
  display: grid;
  min-height: max(20rem, 24vw);
  padding: 0;
  max-width: calc(67rem + 24rem);
  grid-template-columns: repeat(auto-fit, minmax(20rem, 1fr));
  grid-auto-rows: 1fr;
  grid-gap: 1.5rem 3rem;
  overflow-x: hidden;
}

#appendix .social-icons {
  margin: auto;
  justify-content: center;
}

#appendix .copy {
  font-size: 0.75rem;
  text-align: center;
  letter-spacing: 0.5px;
  display: block;
  margin-top: 1.5rem;
}

@media screen and (max-width: 45rem) {
  #appendix {
    padding-left: 2rem;
    padding-right: 2rem;
  }
}
