/**    Reset   **/

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
  display: block;
}
body {
  line-height: 1;
}
ol, ul {
  list-style: none;
}
blockquote, q {
  quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
  content: '';
  content: none;
}
table {
  border-collapse: collapse;
  border-spacing: 0;
}

:root {
  --padding: .5rem;
  --color:   #333;
}

/**
 * @license
 *
 * Font Family: Satoshi
 * Designed by: Deni Anggara
 * URL: https://www.fontshare.com/fonts/satoshi
 * © 2024 Indian Type Foundry

 * This is a variable font
 * You can controll variable axes as shown below:
 * font-variation-settings: 'wght' 900.0;
 *
 * available axes: 'wght' (range from 300.0 to 900.0)
*/

@font-face {
  font-family: 'Satoshi-Variable';
  src: url('../fonts/Satoshi-Variable.woff2') format('woff2');
       font-weight: 300 900;
       font-display: swap;
       font-style: normal;
}

@font-face {
  font-family: 'Satoshi-VariableItalic';
  src: url('../fonts/Satoshi-VariableItalic.woff2') format('woff2');
       font-weight: 300 900;
       font-display: swap;
       font-style: italic;
}
html {
  scroll-behavior: smooth;
}
body {
  position: relative;
  font-family: 'Satoshi-Variable';
  font-weight: 400;
  font-size: 18px;
  background: #EEE;
  color: var(--color);
  min-height: 100vh;
}
footer {
  position: absolute;
  width: 100%;
  height: 120px;
  padding: 2em 0;
  bottom: 0px;
  background: white;
}

.main {
  margin: 1.2em;
  max-width: 1200px;
  padding-bottom: 150px;
  margin: 0 auto;
  padding: 1.2em;
}
.left-footer {
  width: 50%;
  float: left;
}
.right-footer {
  width: 50%;
  float: right;
}
li {
  margin: 4em auto;
}

/**   Header   **/

.header {
  width: 100vw;
  height: 73vw;
}
.header video {
  width: 100%;
  height: auto;
}

nav {
  position: absolute;
  top: 0px;
  width: 100%;
  height: 100px;
  animation-name: opacityOn;
  animation-duration: 200ms;
  animation: opacityOn 2s normal forwards;
  animation-delay: 6s;
  opacity: 0;
}
#about h1, #work h1 {
  padding-top: 1em;
}

#about ul li section h1  {
  padding-top: 0;
}
@keyframes opacityOn {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}
.logo, .menu a {
  display: inline-block;
  text-decoration: none;
  font-size: 3vw;
  padding: .2rem .5rem .3rem .5rem;
  margin: .5rem;
  border: solid .3rem var(--color);
  border-radius: 3rem;
  text-transform: uppercase;
  font-weight: 700;
  background: rgba(255,255,255,.7);
}
.logo a {
  text-decoration: none;
}
.menu {
  float: right;
}
.menu a {
  margin-left: 0;
}
.menu a:first-child {
  color: #D5A;
  border-color: #D5A;
  margin-right: .2rem;
}
.menu a:last-child {
  color: #290;
  border-color: #290;
  margin-right: .5rem;
}



/**   Images   **/

figure {
	width: 100%;
}
img {
  width: 100%;
  height: auto;
}
.button a {
  display: inline-block;
  text-decoration: none;
  font-size: 1.5em;
  margin-top: 1em;
  padding: .25em .5em .3em .5em;
  border: solid .2em;
  border-radius: 3em;
  text-transform: uppercase;
  font-weight: 700;
  background: rgba(255,255,255,.7);
}

/**   Type  **/

h1 {
  font-weight: 900;
  text-transform: uppercase;
  font-size: 8vw;
  margin: 0em 0 1em 0;
}
h2 {
  font-size: 6vw;
  color: #999;
  font-weight: 600;
  margin: 0 0 .5em 0;
}
h3 {
  font-size: 1.4em;
  line-height: 1.2em;
  font-weight: 700;
  margin: 0 0 .5em 0;
}
strong {
  font-weight: 700; 
}
p {
  line-height: 1.4em;
}
pre {
  margin: 1em 0;
}
blockquote {
  margin: 1em 0;
  font-weight: 700;
  background: yellow;
  padding: .2em .8em;
  display: inline-block;
  border-radius: 2em;
}
a, a:visited {
  color: var(--color);
}

.number {
  font-size: 7em;
  font-weight: 900;
  font-variation-settings: "wght" 900;
}
.aligncneter {
  text-align: center;
}
.alignright {
  text-align: right;
}
video {
  max-width: 100%;
  height: video;
}

/**   Section  **/



@keyframes enter-animation {
  0% {
    transform: translateY(100px);
    opacity: 0;
  }
  100% {
    transform: translateY(0);
    opacity: 1;
  }
}
@media (prefers-reduced-motion: no-preference) {
  .image-animation {
    animation: enter-animation 0.8s 1;
  }
}

/**   Grid   **/


.social a {
  padding: 1rem .5rem;
}

section {
  position: relative;
}
#work ul li {
  padding: 0px 0 50px 0;
  border-bottom: solid 2px #CCC;
}
#work ul li:last-child {
  border-bottom: 0;
}


.grid {
  --columns: 12;
  --gutter: 1rem;
  display: grid;
  grid-gap: var(--gutter);
  grid-template-columns: 1fr;
}
.grid > .column {
  margin-bottom: var(--gutter);
}

.autogrid {
  --gutter: 3rem;
  --min: 10rem;
  display: grid;
  grid-gap: var(--gutter);
  grid-template-columns: repeat(auto-fit, minmax(var(--min), 1fr));
  grid-auto-flow: dense;
}
.distance {
  width: 100%;
  height: 100px;
}


@media screen and (min-width: 43rem) {

  .grid {
    grid-template-columns: repeat(2, 1fr);
    --gutter: 2rem;
  }
  .logo, .menu a {
    font-size: 2.2vw;
    padding: .5rem 1rem .6rem 1rem;
    margin: 1.5rem;
    border: solid .3rem;
  }
  .menu a {
    margin-left: 0;
  }
  .menu a:first-child {
    margin-right: .3rem;
  }
  .menu a:last-child {
    margin-right: 1.5rem;
  }
  #work ul li {
    padding: 0;
    border-bottom: 0;
  }
  h1 {
    font-size: 4.5vw;
  }
  h2 {
    font-size: 3.5vw;
  }

}
@media screen and (max-width: 960px) {
  .column:has(.blocks > .empty) {
    display: none;
  }
  .logo, .menu a {
    font-size: 2.2vw;
    padding: .4rem .8rem .5rem .8rem;
    margin: 1rem;
    border: solid .2rem;
  }
  .menu a {
    margin-left: 0;
  }
  .menu a:first-child {
    margin-right: .25rem;
  }
  .menu a:last-child {
    margin-right: 1rem;
  }

}

@media screen and (max-width: 428px) {
  nav {
    margin-top: 75vw;
  }
  .header {
    width: 100vw;
    height: 84vw;
  }
  .logo, .menu a {
    font-size: 4vw;
    padding: .4rem .6rem;
    margin: 1rem;
    border: solid .17rem;
  }
  .menu a {
    margin-left: 0;
  }
  .menu a:first-child {
    margin-right: .2rem;
  }
  .menu a:last-child {
    margin-right: 1rem;
  }

}

@media screen and (min-width: 60rem) {
  body {
    --padding: 3rem;
  }
  .grid {
    grid-template-columns: repeat(12, 1fr);
    --gutter: 3rem;
  }
  .grid > .column {
    grid-column: span var(--span);
  }
  #work ul li {
    padding: 0;
    border-bottom: 0;
  }
  h1 {
    font-size: 2.5em;
  }
  h2 {
    font-size: 2.3em;
  }

}
