@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400&family=Mukta:wght@200&display=swap');

:root {
  --color-darkbg: rgb(235, 235, 235);
  --color-docs: rgb(35, 35, 105);
  --color-standard: rgb(35, 105, 105);
  --color-standard-bright: rgb(75, 145, 145);
  --color-standard-blue: rgb(45, 115, 195);
  --color-standard-red: rgb(195, 65, 95);
  --color-standard-dark: rgb(45, 45, 45);
  --color-standard-dark-transluscent: rgba(45, 45, 45, .3);
  --color-standard-dark-transluscent-less: rgba(45, 45, 45, .8);
  --color-standard-grey: rgb(205, 205, 205);
  --color-white-transluscent: rgba(255, 255, 255, 0.1);
  /*Fonts*/
  --Monsterrat: 'Montserrat', sans-serif;
  --Mukta: 'Mukta', sans-serif;

  /* Background hue rotation value */
  --bg-filter: hue-rotate(0);
}

h1 {
  font-family: var(--Monsterrat);
  font-weight: 400;
  font-size: clamp(18px, 2.5rem, 2.5rem);
  line-height: 10vh;
  word-wrap: break-word;
}

h2 {
  color: var(--color-standard-blue);
  font-family: var(--Mukta);
  font-weight: 400;
  font-size: clamp(18px, 2.5rem, 2.5rem);
  line-height: 10vh;
  position: relative;
}

h2::after {
  background-color: var(--color-standard-blue);
  bottom: 1.35%;
  content: "";
  left: 20%;
  position: absolute;
  right: 20%;
  top: 97.5%;
}

p {
  color: var(--color-standard-dark);
  font-family: var(--Mukta);
  font-size: 1.235rem;
  line-height: 3rem;
  padding: 0 5vw;
}

.label, [class^=label-alt] {
  align-items: center;
  box-sizing: border-box;
  color: var(--color-darkbg);
  display: inline-flex;
  font-size: 0.95rem;
  font-weight: bold;
  height: clamp(35px, 2.85vh, 2.95vh);
  letter-spacing: 0.65vw;
  margin: 0 1vw;
  padding: 0 2.15vw 0 3.75vw;
  text-transform: uppercase;
}

.label {
  background-color: var(--color-standard-dark);
}

.label-alt-blue {
  background-color: var(--color-standard-blue);
}

.label-alt-red {
  background-color: var(--color-standard-red);
}

button {
  border: 1px solid rgb(195, 195, 195);
  border-radius: 3px;
  box-sizing: border-box;
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.1);
  cursor: pointer;
  font-size: .95rem;
  letter-spacing: 0.15rem;
  padding: 8px 20px 10px 23px;
  position: relative;
  transition-duration: .35s;
  transition-timing-function: ease-in-out;
}

button:hover {
  background-color: var(--color-standard-bright);
  border: 1px solid transparent;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
  color: var(--color-darkbg);
  transform: translateY(-2px);
  transition-duration: .05s;
}

button:focus {
  background-color: var(--color-standard);
  border: 1px solid transparent;
  box-shadow: 0 0 0 rgba(0, 0, 0, 0);
  color: var(--color-darkbg);
  transform: translateY(0);
  transition-duration: .05s;
}

body {
  background-color: rgb(5, 5, 5);
  color: white;
  font-family: sans-serif;
  font-size: 16px;
  line-height: 5vh;
}

.variant0 {
  --bg-filter: hue-rotate(-50deg);
}

.variant1 {
  --bg-filter: hue-rotate(50deg);
}

.variant2 {
  --bg-filter: hue-rotate(100deg);
}

.variant3 {
  --bg-filter: hue-rotate(150deg);
}

.variant4 {
  --bg-filter: hue-rotate(200deg);
}

.variant5 {
  --bg-filter: hue-rotate(250deg);
}

.variant6 {
  --bg-filter: hue-rotate(300deg);
}

.variant7 {
  --bg-filter: hue-rotate(0deg) blur(135px);
}

.backdrop {
  background-attachment: fixed;
  background-image: url('../img/peacekeeper.png');
  background-position: center;
  background-size: cover;
  bottom: 0;
  filter: var(--bg-filter);
  left: 0;
  position: fixed;
  right: 0;
  top: 0;
  transition-timing-function: linear;
  transition-duration: 1s;
  z-index: -1;
}

.central-logo {
  display: block;
  position: relative;
  height: auto;
  margin: -10vh auto 0 auto;
  max-width: 18vw;
}

.copyright, .copyright a {
  color: var(--color-darkbg);
  position: relative;
  text-decoration: none;
}

.copyright a {
  display: inline-block;
  height: 100%;
}

.copyright a::after {
  background-color: var(--color-darkbg);
  content: '';
  height: 1px;
  left: 73.5%;
  opacity: 0;
  position: absolute;
  right: 7.35%;
  top: 63.5%;
  transition-duration: 1.315s;
  transition-timing-function: ease-in-out;
}

.copyright a:hover:after {
  opacity: .8;
  left: 0;
  right: 4.5%;
}

header {
  border-bottom: 1px solid rgba(35, 35, 35, 0.2);
  color: rgb(95, 95, 95);
  display: flex;
  font-weight: 200;
  justify-content: center;
  letter-spacing: 2vw;
  margin: 21.5vh auto 3.5vh auto;
  padding: 10vh 15vw 10vh 16.5vw;
  text-align: center;
  text-transform: uppercase;
  text-shadow: 0 1px 1px rgba(35, 35, 35, 0.1);
  width: 50vw;
}

nav {
  box-shadow: 0 0 18px rgba(0, 0, 0, 0.1);
  border-radius: 35px;
  width: -moz-fit-content;
  width: fit-content;
  display: flex;
  justify-content: center;
  padding: 0;
  margin: 7.35vh auto;
}

nav button {
  align-items: center;
  background-color: white;
  border: 1px solid rgba(235, 235, 235, 0.1);
  border-radius: 0;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0);
  box-sizing: border-box;
  color: var(--color-standard-blue);
  display: flex;
  font-size: 0.615rem;
  justify-content: center;
  letter-spacing: .635vw;
  margin: 0 0;
  min-height: 45px;
  padding: 1.5vh 5vw 1.5vh 6vw;
  position: relative;
  text-transform: uppercase;
  transition-duration: 0.35s;
}

nav button:hover,
nav button:focus,
.nav-button-active {
  border: 1px solid rgba(235, 235, 235, 0.1);
  background-color: var(--color-white-transluscent);
  box-shadow: 0 0 35px rgba(0, 0, 0, 0.15);
  color: rgb(95, 95, 95);
  transform: none;
}

.nav-button-active,
.portfolio-nav-button-active {
  cursor: initial;
}

nav button::after {
  background-color: white;
  content: '';
  height: 2px;
  left: 1px;
  opacity: 0;
  position: absolute;
  top: 110.5%;
  right: 1px;
  transition-duration: 1.35s;
}

nav button:hover:after,
nav button:focus:after,
.nav-button-active:after {
  background-color: white;
  content: '';
  height: 2px;
  left: 1px;
  opacity: .735;
  position: absolute;
  top: 110.5%;
  right: 1px;
  transition-duration: 0.5s;
}

nav button:first-child {
  border-radius: 35px 0 0 35px;
}

nav button:last-child {
  border-radius: 0 35px 35px 0;
}

nav button:first-child:after {
  left: 32px;
}

nav button:last-child:after {
  right: 32px;
}

.close-button {
  align-items: center;
  background-color: rgb(35, 35, 35);
  border-radius: 100%;
  box-sizing: border-box;
  color: white;
  display: flex;
  height: 50px;
  justify-content: center;
  margin: 0 0 0 auto;
  position: relative;
  width: 50px;
}

.close-button:hover {
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
}

.close-button::after {
  background-color: white;
  bottom: 47.5%;
  content: "";
  left: 21.5%;
  position: absolute;
  right: 21.5%;
  top: 47.5%;
  transition-duration: 1s;
}

.close-button::before {
  background-color: white;
  bottom: 47.5%;
  content: "";
  left: 21.5%;
  position: absolute;
  right: 21.5%;
  top: 47.5%;
  transition-duration: 1s;
}

.close-button:hover:after,
.close-button:focus:after {
  transform: rotateZ(45deg);
  transition-duration: .5s;
}

.close-button:hover:before,
.close-button:focus:before {
  transform: rotateZ(-45deg);
  transition-duration: .5s;
}

.close-button .close-label {
  align-items: center;
  background-color: rgb(35, 35, 35);
  border-radius: 15px;
  bottom: 15%;
  box-sizing: border-box;
  color: var(--color-darkbg);
  display: flex;
  justify-content: center;
  left: -95%;
  opacity: 0;
  padding: 0 1.5vw 3px 1.5vw;
  position: absolute;
  text-transform: uppercase;
  top: 15%;
  transform: scaleX(0);
  transform-origin: right;
  transition-duration: .435s;
}

.close-button:hover .close-label {
  background-color: var(--color-standard-bright);
  left: -165%;
  opacity: 1;
  transform: scaleX(1);
  transition-duration: .735s;
  z-index: -1;
}

.close-button:focus .close-label {
  background-color: var(--color-standard-bright);
  left: -125%;
  opacity: 1;
  transform: scaleX(1);
  transition-duration: .735s;
  z-index: -1;
}

.nav-divider {
  background-color: rgb(205, 205, 205);
  opacity: 0.5;
  width: 1px;
}

footer {
  align-items: center;
  background-color: rgba(0, 0, 0, 0.2);
  border-radius: 15px 15px 0 0;
  bottom: 0;
  color: var(--color-darkbg);
  display: flex;
  font-size: 8px;
  font-weight: bold;
  height: 35px;
  justify-content: center;
  left: 0;
  letter-spacing: 0.435rem;
  margin: auto;
  position: fixed;
  right: 0;
  text-transform: uppercase;
  transition-duration: .5s;
  width: 65vw;
}

.solid {
  background-color: rgb(35, 35, 35);
}

@keyframes opener {
  0%{
    transform: scaleX(0%);
  }
  100%{
    transform: scaleX(100%);
  }
}

@keyframes closer {
  0%{
    transform: scaleX(100%);
    opacity: 1;
  }
  100%{
    transform: scaleX(0%);
    display: none;
    opacity: 0;
  }
}

@keyframes fadein {
  0% {
    opacity: 0;
    transform: scale(.8);
  }
  100% {
    opacity: 1;
    transform: scale(1)
  }
}

.content {
  animation-duration: .2s;
  animation-name: closer;
  animation-timing-function: ease-in-out;
  animation-fill-mode: forwards;
  width: 100%;
  margin-bottom: 10vh;
}

.content :not(.close-button):not(.close-label):not(.portfolio-item) {
  animation-name: fadein;
  animation-duration: .735s;
  animation-fill-mode: both;
  animation-timing-function: ease-in-out;
}

.content-open {
  animation-duration: .8s;
  animation-name: opener;
  animation-timing-function: ease-in-out;
  display: flex;
  opacity: 1;
}

.about {
  background-color: white;
  border-radius: 8px;
  box-shadow: 0 0 35px 8px rgba(0, 0, 0, 0.3);
  box-sizing: border-box;
  color: var(--color-standard);
  font-size: clamp(16px, 5vh, 18px);
  letter-spacing: clamp(1px, 0.135vw, 2px);
  line-height: 2.35rem;
  margin-left: auto;
  margin-right: auto;
  padding: clamp(15px, 8vw, 35px);
  text-align: center;
  transform-origin: center;
  transition-duration: 0.75s;
  width: 85vw;
}

main > div {
  display: flex;
  flex-flow: row nowrap;
  justify-content: space-between;
}

.about h1 {
  padding: 0 5vw;
}

.docs {
  background-color: var(--color-standard-dark-transluscent-less);
  border-radius: 8px;
  box-shadow: 0 0 35px 8px var(--color-standard-dark-transluscent);
  box-sizing: border-box;
  color: var(--color-standard);
  font-size: clamp(16px, 5vh, 18px);
  letter-spacing: clamp(1px, 0.135vw, 2px);
  line-height: 2.35rem;
  margin-left: auto;
  margin-right: auto;
  padding: clamp(15px, 8vw, 35px);
  text-align: center;
  transform-origin: center;
  transition-duration: 0.75s;
  width: 85vw;
}

.docs nav button:hover {
  background-color: var(--color-standard-dark);
}

.docs nav button:hover,
.docs nav .nav-button-active {
  color: var(--color-darkbg);
}

.docs nav .nav-button-active:hover {
  background-color: var(--color-white-transluscent);
}

.docs h1 {
  color: var(--color-darkbg);
}

.docs article {
  background-color: var(--color-darkbg);
  border-radius: 8px;
  box-shadow: 0 0 8px var(--color-standard-dark-transluscent);
  margin: 0 0 3.735vh 0;
  padding: .5vh 5vw 5vh 5vw;
}

.portfolio {
  background-color: rgba(5, 5, 5, 0.8);
  border-radius: 8px;
  box-shadow: 0 0 35px 8px rgba(0, 0, 0, 0.3);
  box-sizing: border-box;
  color: var(--color-darkbg);
  display: flex;
  flex-flow: column;
  font-size: clamp(16px, 5vh, 18px);
  justify-content: space-around;
  letter-spacing: clamp(1px, 0.135vw, 2px);
  line-height: 2.35rem;
  margin-left: auto;
  margin-right: auto;
  padding: clamp(15px, 8vw, 35px);
  transform-origin: center;
  transition-duration: 1.5s;
  width: 85vw;
}

.portfolio-alt {
  background-color: var(--color-darkbg);
  border-radius: 8px;
  box-shadow: 0 0 35px 8px rgba(0, 0, 0, 0.3);
  box-sizing: border-box;
  color: var(--color-standard);
  display: flex;
  flex-flow: column;
  font-size: clamp(16px, 5vh, 18px);
  justify-content: space-around;
  letter-spacing: clamp(1px, 0.135vw, 2px);
  line-height: 2.35rem;
  margin-left: auto;
  margin-right: auto;
  padding: clamp(15px, 8vw, 35px);
  transform-origin: center;
  transition-duration: 1.5s;
  width: 85vw;
}

.portfolio .portfolio-showcase,
.portfolio-alt .portfolio-showcase {
  display: flex;
  flex-flow: row wrap;
  justify-content: space-around;
}

.tab-group {
  margin: 0 2vw 5vw 0;
  padding: 0 0 0 0;
}

.portfolio .tab-group {
  background-color: rgba(35, 35, 35, 0.5);
}

.portfolio .tab-group button {
  background-color: rgba(35, 35, 35, 0.5);
  color: var(--color-darkbg);
}

.portfolio .tab-group button:hover,
.portfolio .tab-group button:focus {
  background-color: var(--color-darkbg);
  color: var(--color-standard);
}

.portfolio .tab-group .portfolio-nav-button-active,
.portfolio .tab-group .portfolio-nav-button-active:hover,
.portfolio .tab-group .portfolio-nav-button-active:focus {
  background-color: var(--color-standard-blue);
  color: var(--color-darkbg);
}

.portfolio-alt .tab-group button:hover,
.portfolio-alt .tab-group button:focus {
  background-color: var(--color-standard-dark);
  color: var(--color-darkbg);
}

.portfolio-alt .tab-group .portfolio-nav-button-active {
  background-color: var(--color-standard-blue);
  color: var(--color-darkbg);
}

.portfolio-alt .tab-group button::after {
  background-color: var(--color-standard-dark);
}

.tab-title-open-indicator {
  display: none;
}

.portfolio-nav-button-active .tab-title-open-indicator {
  display: inline;
}

.portfolio-item {
  align-items: baseline;
  border: 1px solid rgba(235, 235, 235, 0.2);
  display: flex;
  flex-flow: column;
  justify-content: center;
  margin: 1.5vh 0;
  min-width: 200px;
  position: relative;
  transition-duration: .5s;
  width: 45%;
}

.portfolio-item:hover {
  transform: scale(1.05);
  transition-duration: .3s;
}

.portfolio-item img {
  filter: grayscale(1);
  height: auto;
  width: 100%;
  transition-duration: .5s;
}

.portfolio-item:hover img {
  filter: grayscale(0);
}

.portfolio figcaption {
  align-items: center;
  align-self: stretch;
  background-color: white;
  box-sizing: border-box;
  color: var(--color-standard);
  display: flex;
  font-size: 14px;
  height: 50px;
  justify-content: flex-end;
  letter-spacing: clamp(1px, 1.35vw, 3px);
  padding: 0 3vw;
  text-transform: uppercase;
  transition-duration: 0.5s;
  width: 100%;
}

.portfolio-item:hover figcaption {
  color: black;
  filter: invert(1);
}

.portfolio-hidden-button,
.portfolio-hidden-button:hover,
.portfolio-hidden-button:focus {
  background-color: transparent;
  border: none;
  bottom: 0;
  cursor: pointer;
  left: 0;
  position: absolute;
  right: 0;
  top: 0;
  width: 100%;
}

.portfolio-hidden-button::after {
  align-items: center;
  background-color: transparent;
  border: 2px solid rgba(0, 0, 0, 0);
  bottom: 0;
  content: 'click to view';
  display: flex;
  font-size: 0.76rem;
  justify-content: center;
  left: 0;
  letter-spacing: .55rem;
  opacity: 0;
  padding-left: 1ch;
  position: absolute;
  right: 0;
  text-transform: uppercase;
  top: 0;
  transition: all .735s ease-in-out;
  width: auto;
}

.portfolio-hidden-button:hover:after {
  background-color: rgba(35, 35, 35, .9);
  border-color: rgba(255, 255, 255, 1);
  border-radius: 5px;
  box-shadow: 0 0 18px rgba(0, 0, 0, .8);
  bottom: 45%;
  content: 'click to view';
  left: 15%;
  opacity: 1;
  right: 15%;
  top: 45%;
}

.portfolio-variant-item {
  background-color: var(--color-standard-dark);
  height: 100px;
  position: relative;
  width: 100%;
}

.portfolio-variant-item::after {
  align-items: center;
  bottom: 0;
  color: var(--color-darkbg);
  content: attr(data-attr);
  display: flex;
  font-size: .86rem;
  left: 0;
  letter-spacing: .45rem;
  justify-content: center;
  position: absolute;
  right: 0;
  text-transform: uppercase;
  top: 0;
  transition: all 1s ease-in-out;
}

.portfolio-variant-item ~ .portfolio-hidden-button:hover::after {
  background-color: var(--color-standard-dark);
  bottom: 25%;
  top: 25%;
}

.portfolio-alt .portfolio-item {
  align-items: baseline;
  border: 1px solid rgba(185, 185, 185, 0.2);
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.3);
  display: flex;
  flex-flow: row;
  justify-content: flex-start;
  margin: 1.5vh 0;
  min-width: 200px;
  transition-duration: .135s;
  width: 100%;
}

.portfolio-alt .portfolio-item:hover {
  transform: scale(1);
  transition-duration: .3s;
}

.portfolio-alt .portfolio-item img {
  width: 25%;
}

.portfolio-alt .portfolio-item figcaption {
  background-color: var(--color-standard-dark);
  color: var(--color-darkbg);
  font-size: 14px;
  height: 50px;
  justify-content: flex-end;
  letter-spacing: clamp(1px, 1.35vw, 3px);
  padding: 0 3vw;
  text-transform: uppercase;
  transition-duration: 0.5s;
  width: 100%;
}

.portfolio-alt .portfolio-item:hover figcaption {
  background-color: var(--color-standard);
  filter: invert(0);
}

.portfolio-alt .portfolio-item div {
  align-items: stretch;
  align-self: stretch;
  display: flex;
  flex-flow: column;
  height: 100%;
  justify-content: flex-start;
  width: 75%;
}

.portfolio-alt .portfolio-item p {
  align-items: flex-start;
  background-color: var(--color-darkbg);
  box-sizing: border-box;
  color: var(--color-standard-dark);
  display: flex;
  height: 100%;
  justify-content: flex-start;
  margin: 0;
  padding-top: clamp(15px, 5vh, 35px)
}

.portfolio-alt .portfolio-item button {
  bottom: 15px;
  position: absolute;
  right: 15px;
  text-transform: uppercase;
  transition-timing-function: ease-in-out;
  transition-duration: .5s;
}

.writ-showcase {
  align-items: center;
  display: none;
  flex-direction: column;
  justify-content: center;
}

.writ-headline {
  background-color: var(--color-standard);
  display: flex;
  justify-content: space-between;
  padding: 0 15px 0 45px;
  margin: 0 0 35px 0;
}

.writ-headline h1 {
  align-self: center;
  color: var(--color-darkbg);
  margin: 0;
}

.writ-headline button {
  align-self: center;
  text-transform: uppercase;
}

.writ-section article {
  display: flex;
  flex-direction: row;
}

.writ-img {
  display: block;
  width: 35vw;
}

.portfolio nav button::after {
  display: none;
  transition-duration: 1.35s;
}

.portfolio nav button:hover:after,
.portfolio nav button:focus:after,
.portfolio .nav-button-active:after {
  display: none;
}

nav button:first-child {
  border-radius: 35px 0 0 35px;
}

nav button:last-child {
  border-radius: 0 35px 35px 0;
}

nav button:first-child:after {
  left: 32px;
}

nav button:last-child:after {
  right: 32px;
}

.portfolio-text {
  border: 1px solid rgba(235, 235, 235, .3);
  margin: 0 0 5vh 0;
  padding: 5vh 5vw;
  text-align: center;
}

.contact {
  background-color: transparent;
  border-radius: 8px;
  box-shadow: none;
  box-sizing: border-box;
  color: var(--color-darkbg);
  display: flex;
  flex-flow: row wrap;
  font-size: clamp(16px, 5vh, 18px);
  justify-content: space-around;
  letter-spacing: clamp(1px, 0.135vw, 2px);
  line-height: 2.35rem;
  min-width: 400px;
  margin-left: auto;
  margin-right: auto;
  padding: clamp(10px, 5vw, 25px);
  transform-origin: center;
  transition-duration: 1.5s;
  width: 50vw;
}

.contact a {
  border-radius: 100%;
  border: 3px solid rgba(255, 255, 255, 0.3);
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.2);
  height: 5vw;
  min-height: 48px;
  min-width: 48px;
  position: relative;
  transition-duration: .5s;
  width: 5vw;
}

.contact a:hover {
  border: 3px solid rgba(255, 255, 255, 0.8);
  transform: scale(115%);
  box-shadow: 0 0 25px rgba(0, 0, 0, 0.4);
}

.contact a::after {
  align-items: center;
  background-color: white;
  border-radius: 0 8px 8px 0;
  bottom: 21.5%;
  box-sizing: border-box;
  color: var(--color-standard);
  content: attr(data-toolip);
  display: flex;
  font-size: 9px;
  justify-content: center;
  left: 87.5%;
  letter-spacing: 2px;
  min-width: -moz-fit-content;
  min-width: fit-content;
  opacity: 0;
  padding: 1px 25px 0 25px;
  position: absolute;
  text-transform: uppercase;
  top: 21.5%;
  transform: scaleX(0);
  transform-origin: left;
  transition-duration: .5s;
  transition-timing-function: ease-in-out;
  z-index: -1;
}

.contact a:hover:after {
  opacity: 1;
  transform: scaleX(1);
}

.contact a img {
  border-radius: 100%;
  filter: grayscale(1) brightness(0.75) contrast(2);
  height: auto;
  transition-duration: .5s;
  width: 100%;
}

.contact a:hover img {
  filter: grayscale(0) brightness(1) contrast(1);
}

@keyframes showcase {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.showcase {
  align-items: center;
  animation: showcase 1s ease-in-out forwards;
  background-color: rgba(0, 0, 0, .96);
  box-shadow: inset 0 0 735px rgba(0, 0, 0, .5);
  bottom: 0;
  display: none;
  justify-content: center;
  left: 0;
  padding: 15vh 15vw;
  position: fixed;
  right: 0;
  top: 0;
}

.showcase::after {
  align-items: center;
  border: 1px solid rgba(235, 235, 235, .3);
  bottom: 7.35%;
  color: var(--color-darkbg);
  content: 'Click background to close';
  display: flex;
  font-size: .65rem;
  justify-content: center;
  left: 25%;
  letter-spacing: .5rem;
  position: absolute;
  right: 25%;
  text-transform: uppercase;
  top: 88.5%;
}

@keyframes showcase-img {
  0% {
    margin-top: 100%;
  }
  65% {
    margin-top: -55%;
    opacity: .5;
  }
  100% {
    margin-top: 0;
    opacity: 1;
  }
}

.showcase img {
  animation-name: showcase-img;
  animation-duration: 1s;
  border: 5px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  box-shadow: 0 0 48px rgba(0, 0, 0, .8);
  height: auto;
  width: 75%;
}

@media only screen and (max-width: 1050px) {
  .contact a::after {
    background-color: white;
    border-radius: 15px;
    bottom: auto;
    box-sizing: border-box;
    color: var(--color-standard);
    content: attr(data-toolip);
    font-size: 9px;
    left: -50%;
    right: -50%;
    letter-spacing: 2px;
    opacity: 0;
    padding: 1px 12px 0 16px;
    position: absolute;
    text-align: center;
    text-transform: uppercase;
    top: 135.5%;
    transform: scale(0);
    transform-origin: center;
    transition-duration: .5s;
    transition-timing-function: ease-in-out;
    z-index: -1;
  }
}

@media only screen and (max-width: 768px) {
    main .tab-group {
      flex-flow: row wrap;
    }

    main .tab-group button {
      flex-grow: 1;
      width: auto;
    }

    .writ-section article {
      flex-flow: column;
    }

    .writ-section img {
      width: 100%;
    }

    .portfolio-showcase .portfolio-item {
      width: 100%;
    }

    .portfolio-hidden-button:hover:after {
      bottom: 39.5%;
      left: 10%;
      right: 10%;
      top: 39.5%;
    }

    .writ-headline {
      padding: 20px;
    }

    .writ-section h1 {
      font-size: 1.5ch;
    }

    .portfolio nav,
    .docs nav,
    .docs .tab-group button,
    .portfolio .tab-group button {
      border-radius: 0;
    }
}

@media (hover: none) and (pointer: coarse) {
  .portfolio-hidden-button:hover:after {
    display: none;
  }
}

@media only screen and (max-width: 500px) {
  h1, h2 {
    font-size: 28px;
    line-height: 5vh;
  }

  .close-button {
    height: 32px;
    max-height: 32px;
    max-width: 32px;
    min-height: 32px;
    min-width: 32px;
    padding: 0;
    width: 36px;
  }

  .close-button .close-label {
    visibility: hidden;
  }

  .contact {
    justify-content: space-around;
    min-width: inherit;
  }

  .contact a::after {
    display: none;
  }

  .content a {
    margin: 15px 15px;
  }

  .hidden-500px {
    display: none;
  }

  .portfolio-alt .portfolio-item {
    align-items: center;
    flex-flow: column;
    justify-content: center;
  }

  .portfolio-alt .portfolio-item div,
  .portfolio-alt .portfolio-item img {
    width: 100%;
  }

  .portfolio-alt .portfolio-item p {
    padding: 35px 7.35vw;
    margin-bottom: 75px;
  }

  footer {
    letter-spacing: 2px;
  }
}
