/*!
* LICENSE - style only: CC BY-NC-SA
* @link https://creativecommons.org/licenses/by-nc-sa/3.0/
* Graphics copyright of Olivia Ng
* 
* Title: Gallery
* Author: Olivia Ng
* Website: N/A
* Twitter: @meowlivia_
*
* View on Style Stage:
* @link https://stylestage.dev/styles/gallery/
*/

@import url("https://fonts.googleapis.com/css2?family=Kumbh+Sans:wght@400;700&family=Open+Sans+Condensed:wght@300;700&family=Red+Rose:wght@700&display=swap");
:root {
  --font-family: "Kumbh Sans", sans-serif;
  --font-title: "Open Sans Condensed", sans-serif;
  --font-weight-strong: 600;
  --font-size-h1: 6rem;
  --font-size-h2: 3rem;
  --font-size-h3: 2rem;
  --font-size-h4: 1.35rem;
  --font-size-text: 1.15rem;
}

/*
 * [Modified] Modern CSS Reset
 * @link https://github.com/hankchizljaw/modern-css-reset
*/
/* Box sizing rules */
*,
*::before,
*::after {
  box-sizing: border-box;
}

/* Remove default margin */
body,
h1,
h2,
h3,
h4,
h5,
h6 {
  margin: 0;
}

html {
  overflow-x: hidden;
}

/* Set core body defaults */
body {
  min-height: 100vh;
  font-size: 100%;
  line-height: 1.6;
  text-rendering: optimizeSpeed;
  overflow-x: hidden;
  font-family: "Kumbh Sans";
  font-weight: 400;
}

/* Make images easier to work with */
img {
  display: block;
  max-width: 100%;
}

/* Inherit fonts for inputs and buttons */
input,
button,
textarea,
select {
  font: inherit;
}

/* Remove all animations and transitions for people that prefer not to see them */
@media (prefers-reduced-motion: reduce) {
  * {
    -webkit-animation-duration: 0.01ms !important;
            animation-duration: 0.01ms !important;
    -webkit-animation-iteration-count: 1 !important;
            animation-iteration-count: 1 !important;
    -webkit-transition-duration: 0.01ms !important;
            transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
h1,
h2,
h3,
h4 {
  font-weight: var(--font-weight-strong);
  line-height: 1;
  margin-bottom: 1.5rem;
}

h1 {
  font-size: clamp(2rem, 7vw, 7rem);
  font-family: "Open Sans Condensed", sans-serif;
  font-weight: 700;
  display: -webkit-box;
  display: flex;
  -webkit-box-align: center;
          align-items: center;
  -webkit-box-flex: 1;
          flex: 1;
  text-align: center;
  letter-spacing: 2rem;
  line-height: 1.3;
  padding: 8rem 1rem 8rem 3rem;
  position: relative;
  text-transform: uppercase;
  color: transparent;
  background: #333333;
  -webkit-background-clip: text;
          background-clip: text;
  text-shadow: 0px 3px 3px rgba(255, 255, 255, 0.5);
}

h1:before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.15);
}

@media (min-width: 50rem) {
  h1 {
    padding: 12rem 1rem 12rem 3rem;
  }
}
h2 {
  font-size: var(--font-size-h2);
  font-size: clamp(2rem, 4vw, var(--font-size-h2));
  text-transform: uppercase;
  font-weight: 900;
}

h3 {
  font-size: var(--font-size-h3);
  font-size: clamp(1.8rem, 3.5vw, var(--font-size-h3));
}

h4 {
  font-size: var(--font-size-h4);
}

p,
li {
  font-size: var(--font-size-text);
}

p {
  margin: 0 0 3rem;
}

ul {
  margin: 0;
  padding: 0;
  list-style-type: none;
}

ul li {
  display: block;
}

@media (min-width: 50rem) {
  ul li {
    display: inline-block;
  }
}
article .container > ul:not(.features) > li + li,
article .container > ol > li + li {
  margin-top: 1rem;
}

article .container * + h2 {
  margin-top: 4rem;
}

article .container * + h3 {
  margin-top: 2rem;
}

strong {
  font-weight: var(--font-weight-strong);
}

a {
  color: #333;
  border-bottom: 1px dotted #444;
  -webkit-transition: 0.3s ease;
  transition: 0.3s ease;
}

a:hover {
  border-bottom: 1px solid #444;
  color: black;
}

svg {
  width: 1.2rem;
}

main,
nav,
aside,
footer {
  max-width: 75rem;
  margin: auto;
}

nav ul > li > a,
.skip-link,
.link-guidelines,
aside > a,
a.link-allstyles,
.profile ul + a {
  background: #ededed;
  text-decoration: none;
  font-weight: var(--font-weight-strong);
  color: black;
  background-image: radial-gradient(circle at center left, white 10px, transparent 10px), radial-gradient(circle at center right, white 10px, transparent 10px), linear-gradient(to left, #444 0px, #444 20px, transparent 18px), linear-gradient(to right, #444 0px, #444 20px, transparent 20px), linear-gradient(to bottom, #ededed 0px, #ededed 7px, transparent 7px), linear-gradient(to top, #ededed 0px, #ededed 7px, transparent 7px), linear-gradient(to right, #ededed 0px, #ededed 26px, #444 26px, #444 28px, transparent 28px), linear-gradient(to left, #ededed 0px, #ededed 26px, #444 26px, #444 28px, transparent 28px), linear-gradient(to bottom, transparent 0px, transparent 7px, #444 7px, #444 9px, transparent 9px), linear-gradient(to top, transparent 0px, transparent 7px, #444 7px, #444 9px, transparent 9px);
  display: inline-block;
  padding: 1.35rem 2.5rem 0.95rem;
  border-radius: 7px;
  text-transform: uppercase;
  font-family: var(--font-family);
  box-shadow: 0 20px 15px -15px rgba(0, 0, 0, 0.2);
  border-radius: 8px;
  border: 1px solid #444;
  border-width: 2px 0;
  -webkit-transition: 0.2s ease;
  transition: 0.2s ease;
}

nav ul > li > a:hover,
.skip-link:hover,
.link-guidelines:hover,
aside > a:hover,
a.link-allstyles:hover,
.profile ul + a:hover {
  -webkit-transform: scale(1.05);
          transform: scale(1.05);
  background-color: #444;
  color: #fff;
}

.skip-link {
  opacity: 0;
  position: fixed;
  margin: 1rem;
  -webkit-transition: 0.3s ease;
  transition: 0.3s ease;
  z-index: 10;
}

.skip-link:focus {
  opacity: 1;
}

nav {
  width: 75%;
  margin: 6rem auto 0;
}

nav ul {
  text-align: center;
}

nav li {
  -webkit-transform: rotate(-5deg);
  transform: rotate(-5deg);
  margin: 1.2rem;
}

@media (min-width: 50rem) {
  nav li {
    margin: 0.6rem 1.2rem;
  }
}
nav li > a {
  margin-left: -0.3rem;
  position: relative;
  top: 0;
  -webkit-transition: 0.25s ease-in-out;
  transition: 0.25s ease-in-out;
  z-index: 1;
}

nav li > a:hover {
  top: -4px;
  box-shadow: 0 20px 15px -15px rgba(0, 0, 0, 0.4);
  -webkit-transform: scale(1.1);
  transform: scale(1.1);
  z-index: 5;
}

#about ul > li {
  margin: 0.5rem 1rem;
  display: inline-block;
  -webkit-box-flex: 0;
  flex: 0 0 auto;
}

header {
  width: 90%;
  max-width: 50rem;
  margin: 4rem auto;
  position: relative;
  background-color: #fff;
  box-shadow: 0 3px 12px rgba(0, 0, 0, 0.2);
  color: #333;
  background-image: -webkit-gradient(linear, left top, left bottom, from(rgba(0, 0, 0, 0.025)), color-stop(33%, rgba(255, 255, 255, 0.05)), color-stop(33%, rgba(0, 0, 0, 0.05)), color-stop(67%, rgba(255, 255, 255, 0.05)), color-stop(67%, rgba(0, 0, 0, 0.05)), to(rgba(255, 255, 255, 0.025)));
  background-image: linear-gradient(rgba(0, 0, 0, 0.025), rgba(255, 255, 255, 0.05) 33%, rgba(0, 0, 0, 0.05) 33%, rgba(255, 255, 255, 0.05) 67%, rgba(0, 0, 0, 0.05) 67%, rgba(255, 255, 255, 0.025));
  padding: 1.5rem;
  font-family: "Open Sans Condensed";
  font-size: 14px;
  letter-spacing: 0.02rem;
}

header a {
  font-size: 26px;
  text-decoration: none;
  display: inline-block;
  text-transform: uppercase;
  color: #333;
  border-bottom: 1px dotted transparent;
}

header a:hover {
  border-color: #444;
  color: black;
}

header p {
  max-width: 36ch;
  display: inline-block;
  line-height: 1.3;
  margin-top: 4rem;
}

header .container {
  display: -webkit-box;
  display: flex;
  flex-wrap: wrap;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  flex-flow: column;
  min-height: 80vh;
}

header .container > * {
  -webkit-box-flex: 0;
  flex: 0 0 auto;
}

header .container > h1 {
  -webkit-box-flex: 1;
  flex: 1;
}

header:after,
header:before {
  bottom: 0.1em;
  box-shadow: 0 0 0.5em 0.5em rgba(0, 0, 0, 0.25);
  content: "";
  height: 3em;
  position: absolute;
  width: 80%;
  z-index: -1;
}

header:after {
  right: 1em;
  -webkit-transform: rotate(3deg);
  transform: rotate(3deg);
  -webkit-transform-origin: 100% 100%;
  transform-origin: 100% 100%;
}

header:before {
  left: 1em;
  -webkit-transform: rotate(-3deg);
  transform: rotate(-3deg);
  -webkit-transform-origin: 0% 100%;
  transform-origin: 0% 100%;
}

@media (min-width: 50rem) {
  header {
    padding: 3rem;
  }

  header .container {
    min-height: 100vh;
  }
}
.link-github svg {
  -webkit-transition: 0.2s ease-in-out;
  transition: 0.2s ease-in-out;
}

.link-github:hover svg {
  -webkit-transform: scale(1.2);
  transform: scale(1.2);
}

#styles {
  text-align: center;
}

.features {
  text-transform: uppercase;
  font-family: "Open Sans Condensed";
  text-align: left;
}

.features > li {
  display: block;
  position: relative;
  padding: 0.8rem;
  border: 8px solid #333;
  box-shadow: inset 3px 3px 8px rgba(50, 50, 50, 0.35), 3px 6px 12px rgba(50, 50, 50, 0.35);
  margin: 2rem 0 7rem;
}

.features > li > span {
  box-shadow: 0 1px 5px rgba(0, 0, 0, 0.15);
  height: 100%;
  display: -webkit-box;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  flex-flow: column;
  padding: 0.8rem;
}

.features a {
  padding: 15rem 1rem 1rem;
  font-weight: 800;
  background: rgba(0, 0, 0, 0.4);
  color: #f2f2f2;
  text-decoration: none;
  line-height: 1;
  -webkit-box-flex: 1;
  flex: 1;
  display: -webkit-box;
  display: flex;
  -webkit-box-align: end;
  align-items: flex-end;
  -webkit-transition: 0.3s ease;
  transition: 0.3s ease;
  border-bottom: none !important;
}

.features a:hover {
  background: rgba(0, 0, 0, 0.6);
  color: #f2f2f2;
}

.features a + span {
  display: block;
  margin-top: 0.5rem;
  position: absolute;
  top: 108%;
  width: auto;
  padding: 0;
  line-height: 1;
  left: 0;
  background-image: -webkit-gradient(linear, left top, left bottom, from(rgba(0, 0, 0, 0.035)), color-stop(51%, rgba(255, 255, 255, 0.015)), color-stop(51%, rgba(0, 0, 0, 0.025)), color-stop(55%, rgba(255, 255, 255, 0.015)), color-stop(67%, rgba(0, 0, 0, 0.015)), to(rgba(255, 255, 255, 0.5)));
  background-image: linear-gradient(rgba(0, 0, 0, 0.035), rgba(255, 255, 255, 0.015) 51%, rgba(0, 0, 0, 0.025) 51%, rgba(255, 255, 255, 0.015) 55%, rgba(0, 0, 0, 0.015) 67%, rgba(255, 255, 255, 0.5));
  box-shadow: 0 2px 3px rgba(0, 0, 0, 0.1);
  max-width: 45rem;
  padding: 0.8rem;
}

@media (min-width: 50rem) {
  .features {
    display: -webkit-box;
    display: flex;
    -webkit-box-pack: space-evenly;
    justify-content: space-evenly;
  }

  .features > li {
    -webkit-box-flex: 0;
    flex: 0 0 calc(100% / 3.5);
  }
}
section {
  padding: 1.5rem 2rem;
}

@media (min-width: 50rem) {
  section {
    padding: 3.5rem 5rem;
  }
}
section h2 {
  -webkit-column-span: all;
  -moz-column-span: all;
  column-span: all;
  margin: 5rem 0 3.5rem;
}

section blockquote {
  -webkit-column-span: all;
  -moz-column-span: all;
  column-span: all;
}

@media (min-width: 50rem) {
  #about section,
  #guidelines section {
    -webkit-column-count: 2;
    -moz-column-count: 2;
    column-count: 2;
    -webkit-column-fill: balance;
    -moz-column-fill: balance;
    column-fill: balance;
    -webkit-column-gap: 3rem;
    -moz-column-gap: 3rem;
    column-gap: 3rem;
  }

  #files,
  #styles {
    padding: 3.5rem 5rem;
  }
}
#files,
#styles {
  padding: 1.5rem 2rem;
}

blockquote {
  padding: 2rem;
  border: 1px solid #f3f3f3;
  margin: 1rem auto 4rem;
  background-image: -webkit-gradient(linear, left top, left bottom, from(rgba(0, 0, 0, 0.035)), color-stop(51%, rgba(255, 255, 255, 0.015)), color-stop(51%, rgba(0, 0, 0, 0.025)), color-stop(55%, rgba(255, 255, 255, 0.015)), color-stop(67%, rgba(0, 0, 0, 0.015)), to(rgba(255, 255, 255, 0.5)));
  background-image: linear-gradient(rgba(0, 0, 0, 0.035), rgba(255, 255, 255, 0.015) 51%, rgba(0, 0, 0, 0.025) 51%, rgba(255, 255, 255, 0.015) 55%, rgba(0, 0, 0, 0.015) 67%, rgba(255, 255, 255, 0.5));
  box-shadow: 0 2px 3px rgba(0, 0, 0, 0.1);
  max-width: 45rem;
}

blockquote p {
  margin-bottom: 0;
}

#about section:nth-child(2) {
  -webkit-column-count: 1;
  -moz-column-count: 1;
  column-count: 1;
}

#about section:nth-child(2) h2 {
  max-width: 34rem;
}

#about section:nth-child(2) p {
  max-width: 45rem;
  position: relative;
}

#about section:nth-child(2) ul {
  margin: 4rem auto;
  max-width: 68rem;
  width: 100%;
  position: relative;
}

#about section:nth-child(2) ul:before,
#about section:nth-child(2) ul:after {
  content: "";
  position: absolute;
  width: 18rem;
  height: 18rem;
  background: rgba(25, 25, 25, 0.1);
  border-radius: 50%;
  right: 5%;
  top: -30%;
  z-index: -1;
}

#about section:nth-child(2) ul:after {
  width: 9rem;
  height: 9rem;
  right: 5%;
  top: -40%;
  background: rgba(0, 0, 0, 0.15);
}

#about section:nth-child(2) ul li {
  position: relative;
  background: #fff;
  padding: 1.5rem;
  border: 8px solid #333;
  box-shadow: inset 3px 3px 8px rgba(50, 50, 50, 0.35), 3px 6px 12px rgba(50, 50, 50, 0.35);
  line-height: 1;
  font-family: var(--font-title);
  text-transform: uppercase;
  font-weight: 700;
  word-break: break-all;
  display: -webkit-box;
  display: flex;
  -webkit-box-align: center;
  align-items: center;
  -webkit-box-pack: center;
  justify-content: center;
  text-align: center;
}

#about section:nth-child(2) ul li:nth-child(3n) {
  grid-column: span 2;
  margin: 1rem;
}

#about section:nth-child(2) ul li:nth-child(4n) {
  min-height: 5rem;
}

#about section:nth-child(2) ul li:nth-child(5n) {
  grid-row: span 2;
  margin: 1.2rem;
}

#about section:nth-child(2) ul li:nth-child(8n) {
  grid-row: span 2;
  grid-column: span 2;
  margin: 2rem;
}

#about section:nth-child(2) ul li:nth-child(13) {
  grid-column: 2 / span 4;
  grid-row: 6/7;
  margin-right: 2rem;
}

#about section:nth-child(2) ul li:nth-child(14) {
  grid-column: 3 / span 2;
  margin: 1rem;
}

#about section:nth-child(2) ul li:nth-child(5),
#about section:nth-child(2) ul li:nth-child(10) {
  padding: 2rem;
}

#about section:nth-child(2) ul li:nth-child(8) {
  grid-column: 2 / span 2;
  grid-row: 2 / span 2;
}

#about section:nth-child(2) ul li:nth-child(15) {
  grid-row: span 1;
}

#about section:nth-child(2) ul li:nth-child(16) {
  grid-column: 4 / span 2;
  grid-row: 2 / span 2;
  word-break: break-word;
}

@media (min-width: 50rem) {
  #about section:nth-child(1) {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
  }

  #about section:nth-child(1) h2,
  #about section:nth-child(1) blockquote {
    grid-column: span 2;
  }

  #about section:nth-child(1) p {
    grid-column: 1 / 2;
  }

  #about section:nth-child(1) p:last-child {
    grid-column: 2 / 3;
  }

  #about section:nth-child(2) ul {
    display: grid;
    grid-column-gap: 1.8rem;
    grid-row-gap: 1rem;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    grid-auto-flow: dense;
  }
}
@media (min-width: 65rem) {
  #about section:nth-child(2) ul {
    grid-gap: 1.2rem;
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }

  #about section:nth-child(2) ul li {
    margin: 1rem 0 !important;
  }
}
#contribute .container:nth-child(2) {
  padding-top: 5rem;
}

#contribute .container:nth-child(2) {
  position: relative;
}

#contribute .container:nth-child(2):after {
  content: "";
  position: absolute;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  background: #ddd;
  box-shadow: 3rem 0 0 #ccc, 0 3rem 0 #bbb, 3rem 3rem 0 #aaa;
  left: 2rem;
  bottom: 100%;
  opacity: 0.8;
}

#contribute ol {
  padding-left: 1.2rem;
}

#contribute ol li::marker {
  font-size: 1.2rem;
  font-weight: 700;
}

@media (min-width: 50rem) {
  #contribute {
    display: grid;
    grid-template-columns: 55% 45%;
  }

  #contribute .container:nth-child(2) {
    padding: 0 3.5rem 0 0;
    grid-row: 2;
    grid-column: 2;
    margin-top: -5rem;
  }

  #contribute .container:nth-child(2):after {
    width: 7rem;
    height: 7rem;
    box-shadow: 9rem 0 0 #ccc, 0 9rem 0 #bbb, 9rem 9rem 0 #aaa;
    left: 20%;
    bottom: 155%;
  }

  #contribute #files {
    grid-row: 3;
    grid-column: 1 / -1;
    padding-left: 0;
  }
}
#files {
  margin-bottom: 4rem;
}

#files .container {
  position: relative;
}

#files h3 {
  width: 100%;
  grid-row: 1/4;
  -webkit-writing-mode: vertical-rl;
  -ms-writing-mode: tb-rl;
  writing-mode: vertical-rl;
  -webkit-transform: rotate(180deg);
  transform: rotate(180deg);
  text-align: center;
  text-transform: uppercase;
}

#files a {
  display: block;
  text-decoration: none;
  font-size: clamp(3.5vw, 2.5rem, 5rem);
  font-weight: 700;
  font-family: "Red Rose";
  line-height: 1;
  text-align: left;
  text-transform: uppercase;
  color: #000;
  border-bottom: 0;
  text-shadow: 0px 30px 0px #b2b2b2, 0px 60px 0px #c1c1c1, 0px 90px 0px #d1d1d1, 0px 120px 0px #d7d7d7;
  margin-bottom: 5rem;
}

#files a:hover {
  text-shadow: 0px 0 0px #b2b2b2, 0px 30px 0px #c1c1c1, 0px 60px 0px #d1d1d1, 0px 90px 0px #d7d7d7, 0px 120px 0px #e1e1e1;
}

@media (min-width: 50rem) {
  #files {
    margin-top: -10rem;
  }

  #files a {
    text-shadow: 0px 30px 0px #b2b2b2, 0px 60px 0px #c1c1c1, 0px 90px 0px #d1d1d1, 0px 120px 0px #d7d7d7, 0px 150px 0px #e1e1e1, 0px 180px 0px #e7e7e7, 0px 210px 0px #f0f0f0;
  }

  #files a:hover {
    text-shadow: 0px 0 0px #b2b2b2, 0px 30px 0px #c1c1c1, 0px 60px 0px #d1d1d1, 0px 90px 0px #d7d7d7, 0px 120px 0px #e1e1e1, 0px 150px 0px #e7e7e7, 0px 180px 0px #f0f0f0, 0px 210px 0px #f4f4f4;
  }
}
.profile {
  padding: 2rem;
  border: 1px solid #f3f3f3;
  margin: 1rem auto 6rem;
  position: relative;
  width: 90%;
  background-image: -webkit-gradient(linear, left top, left bottom, from(rgba(0, 0, 0, 0.035)), color-stop(51%, rgba(255, 255, 255, 0.015)), color-stop(51%, rgba(0, 0, 0, 0.025)), color-stop(55%, rgba(255, 255, 255, 0.015)), color-stop(67%, rgba(0, 0, 0, 0.015)), to(rgba(255, 255, 255, 0.5)));
  background-image: linear-gradient(rgba(0, 0, 0, 0.035), rgba(255, 255, 255, 0.015) 51%, rgba(0, 0, 0, 0.025) 51%, rgba(255, 255, 255, 0.015) 55%, rgba(0, 0, 0, 0.015) 67%, rgba(255, 255, 255, 0.5));
  box-shadow: 0 2px 3px rgba(0, 0, 0, 0.1);
  max-width: 45rem;
  margin: 7rem auto;
}

.profile li {
  display: block;
}

.profile ul + a {
  -webkit-transform: rotate(-5deg);
  transform: rotate(-5deg);
  position: absolute;
  right: -1.5rem;
  bottom: -3rem;
}

@media (min-width: 50rem) {
  .profile ul + a {
    bottom: -1rem;
  }
}
.page-footer {
  font-family: "Open Sans Condensed";
  letter-spacing: 0.02rem;
  text-align: center;
  padding: 1.5rem 2rem;
}

.page-footer p {
  margin: 1rem auto;
}

.page-footer ul {
  margin-bottom: 3rem;
}

.page-footer li {
  margin: 0 2rem;
}

.page-footer li a {
  height: 28px;
  margin: 0.25rem auto;
  max-width: -webkit-fit-content;
  max-width: -moz-fit-content;
  max-width: fit-content;
  min-width: -webkit-max-content;
  min-width: -moz-max-content;
  min-width: max-content;
}

.page-footer li:nth-child(2) a {
  display: -webkit-box;
  display: flex;
}

.page-footer li:nth-child(2) a svg {
  margin-right: 0.5rem;
}

@media (min-width: 50rem) {
  .page-footer ul {
    display: -webkit-box;
    display: flex;
    -webkit-box-align: center;
    align-items: center;
    -webkit-box-pack: center;
    justify-content: center;
  }
}