/* Kaftan */
@font-face {
  font-family: "Kaftan Serif";
  font-style: normal;
  font-weight: 400;
  src: local(""), url("../fonts/kaftan-serif.woff2") format("woff2"),
    /* Super Modern Browsers */ url("../fonts/kaftan-serif.woff") format("woff"); /* Modern Browsers */
  font-display: block;
}

/* CSS RESET */
* {
  box-sizing: border-box;
}
html,
body {
  margin: 0;
  padding: 0;
  border: 0;
  font: inherit;
  vertical-align: baseline;
}
table {
  border-collapse: collapse;
  border-spacing: 0;
}
h1 {
  margin-block-start: 0em;
  margin-block-end: 0em;
  line-height: 1.1;
}
h1,
h2,
h3,
h4,
h5 {
  font-weight: 400;
  font-style: normal;
  font-stretch: normal;
}
a {
  text-decoration: none;
  color: inherit;
}
p a {
  text-decoration: underline;
}
input {
  background: none;
  border: none;
  font-family: inherit;
  padding: 0px;
  -webkit-appearance: none;
  -webkit-border-radius: 0px;
}
input:focus {
  background: white;
  border: 1px solid white;
}
::-webkit-input-placeholder {
  /* Edge */
  color: white;
}
:-ms-input-placeholder {
  /* Internet Explorer */
  color: white;
}
::placeholder {
  color: white;
}
/* END CSS RESET */
*:focus-visible {
  outline: 2px dashed darkorange;
}
.project:focus-visible .card__inner {
  outline: none;
  background-color: darkorange;
}
body {
  background-color: black;
  font-family: "Kaftan Serif", Serif;
  font-style: normal;
  font-weight: 400;
  font-stretch: normal;
  font-size: 0.9rem;
}
h1 {
  font-size: calc(30px + (50 - 40) * ((100vw - 768px) / (1600 - 768)));
  margin-top: 28px;
}
.grid {
  display: grid;
  grid-gap: 1px;
  grid-template-columns: 1fr;
  grid-auto-flow: dense;
}
.grid article {
  background-color: white;
  height: calc(50vw * 1.3);
}
.grid article.dark,
.dark {
  background-color: black;
  color: white;
}
.grid .card__inner {
  padding: 0.8rem;
  height: 100%;
}
article .large__letter {
  text-transform: uppercase;
  font-size: 55vw;
  line-height: 1.15;
  text-align: center;
}
article .large__letter.faces {
  line-height: 1.07;
}

/* == Changer ============================== 

#changer:after {
  content:"";
  animation: changer 10s linear infinite;
}
@keyframes changer {
  0% { content:"t"; }
  10% { content:"e"; }
  20% { content:"b"; }
  25% { content:"i"; }
  30% { content:"s"; }
  35% { content: "y"; }
  50% { content: "u"; }
  65% { content: "l"; }
  80% { content: "a"; }
  90% { content: "v"; }
  100% { content: "t"; }
} */

/* == Project Card ============================== */
.project__contents {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
  height: 100%;
  text-transform: uppercase;
}
.project__tags {
  font-size: 10px;
  height: 50px;
  color: #980092;
  color: #bb4bf8;
  color: black;
  /*font-weight: bold;*/
  letter-spacing: 0.02rem;
}
.project__title {
  font-size: 1.5rem;
  margin-block-end: 0em;
  line-height: 1.1;
}
.project__description {
  text-transform: initial;
  position: absolute;
  top: -9999px;
  left: -9999px;
}
.project__role {
  margin-top: auto;
  margin-bottom: 0px;
  font-size: 12px;
  text-transform: initial;
  width: 80%;
}
.project .card__inner {
  position: relative;
}
.project__arrow {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
.project__arrow img {
  width: 80%;
  opacity: 0;
  transition: opacity 0s;
}
a.project:hover .project__arrow img {
  opacity: 1;
  mix-blend-mode: difference;
  isolation: isolate;
}
a.project:hover .card__inner {
  background-color: white;
}
/* == Subscription @ ============================== */

article .large__letter.subscription__symbol {
  font-size: 200px;
  line-height: 1.15;
}

/* == Subscription Card ============================== */
.subscription__form__wrapper {
  height: 100%;
}
.subscription__form__wrapper form {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
}
.subscription__form__intro {
  display: inline;
}
.subscription__form__wrapper input {
  color: white;
  display: inline;
  border-bottom: 1px solid white;
  /* font-size: 1.4rem; */
}
.subscription__form__wrapper input:focus {
  background: black;
  outline: none;
  border-top: none;
  border-right: none;
  border-left: none;
}
.newsletter__input__wrapper {
  display: inline-block;
}
input[type="email"].newsletter__input {
  width: 130px;
}
.newsletter__button {
  float: right;
}
input[type="submit"] {
  border: none;
  padding: 0.3rem 0;
  display: block;
  font-size: inherit;
}
input[type="submit"]:hover {
  cursor: pointer;
  text-decoration: line-through;
}
.newsletter__description {
  display: inline;
  margin-bottom: 0.5rem;
}

/* == Contact Message Form ============================== */
.uniform__potty {
  position: absolute;
  left: -9999px;
}
.error {
  border: 1px solid black;
}
.form__contact {
  display: flex;
  flex-direction: column;
  height: 100%;
  justify-content: center;
  align-items: center;
}
.form__contact input {
  width: 80%;
}
.form__contact input,
.form__contact textarea {
  text-align: center;
  font-size: inherit;
}
.form__contact input:first-of-type {
  margin-top: 3rem;
}
.form__contact input:focus,
.form__contact textarea:focus {
  outline: none;
  border: none;
}
.form__contact input::-webkit-input-placeholder {
  /* Edge */
  color: black;
}
.form__contact input:-ms-input-placeholder {
  /* Internet Explorer */
  color: black;
}
.form__contact input::placeholder {
  color: black;
}
.form__contact .textarea__wrapper {
  flex-grow: 1;
}
.form__contact textarea {
  font-family: "Kaftan Serif";
  border: none;
  height: 100%;
  width: 90%;
  resize: none;
  padding: 0px;
}
.form__contact textarea::placeholder {
  color: black;
  font-family: "Kaftan Serif";
}
.form__contact input[type="submit"] {
  margin-bottom: 2rem;
  width: 50%;
  color: black;
}
#message {
  text-align: center;
  font-size: 0.6rem;
}
/* == Contact Details ============================== */
.contact__details__wrapper {
  height: 100%;
  width: 100%;
  position: relative;
}
.contact__details__wrapper .contact__details {
  position: absolute;
  bottom: 0;
  left: 0;
  font-size: 0.8rem;
}
.contact__details__wrapper .contact__details span {
  display: block;
  margin-top: 0.2rem;
}
/* == Elipsis Card ============================== */
.ellipsis__outer {
  background-color: black;
  height: 100%;
}
.ellipsis__inner {
  height: 100%;
  width: 100%;
  border-radius: 100%;
  background-color: white;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
}
.ellipsis__inner span {
  width: 80%;
}
/* == Elipsis Animation Card ============================== */
.ellipsis__animation__wrapper {
  position: relative;
  overflow: hidden;
  background-color: white;
}
.sliding__ellipsis__group {
  height: 100%;
  animation: slide 10s linear infinite;
}
.sliding__ellipsis {
  height: 21%;
  width: 100%;
  border-radius: 100%;
  background-color: black;
  margin-bottom: -1%;
}
@keyframes slide {
  0% {
    transform: translate3d(0, -10%, 0);
  }
  100% {
    transform: translate3d(0, -110%, 0);
  }
}
/* == Plain Text ============================== */
.text__wrapper {
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
}
.text__wrapper span {
  width: 90%;
}
/* == Special ============================== */
.grid article.special {
  grid-column-start: 1;
  grid-column-end: -1;
  height: initial;
  overflow: hidden;
}
.special__inner {
  padding: 1rem;
  height: 100%;
}
.special__grid {
  display: grid;
  width: 100%;
}
.special__text {
  font-size: initial;
}
.special__text p {
  margin-top: 0px;
  margin-bottom: 0px;
}
.special__imagery-wrapper {
  display: none;
}
.special__imagery {
  position: relative;
  left: 50%;
}
.special__icon {
  position: absolute;
  top: 0;
  left: 0;
  font-size: 240px;
  line-height: 1;
  mix-blend-mode: difference;
  color: white;
}
.special__shape {
  position: absolute;
  top: 15px;
  left: 25px;
  mix-blend-mode: difference;
}
.dot {
  height: 80px;
  width: 80px;
  background-color: white;
  border-radius: 50%;
  display: inline-block;
}

@media screen and (min-width: 350px) {
  .grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media screen and (min-width: 501px) {
  body {
    font-size: 1rem;
  }
  h1 {
    font-size: 34px;
    margin-top: 38px;
  }
  .grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  }
  .grid .card__inner {
    padding: 1.1rem;
  }
  .grid article {
    height: calc(16.66vw * 1.25);
    height: 355px;
  }
  article .large__letter {
    font-size: 310px;
    line-height: 1.1;
  }
  article .large__letter.subscription__symbol {
    font-size: 260px;
    line-height: 1;
  }
  article .large__letter.faces {
    font-size: 250px;
    line-height: 1.2;
  }
  .project__tags {
    font-size: 12px;
    height: 50px;
  }
  .project__title {
    font-size: 34px;
  }
  .project__description {
    position: initial;
    top: initial;
    left: initial;
  }
  .form__contact input {
    width: 85%;
  }
  .form__contact textarea {
    width: 100%;
  }
  .grid article.special {
    min-height: 200px;
  }
  .special__inner {
    padding: 2.5rem 2rem;
  }
  .special__grid {
    grid-template-columns: 175px 1fr;
  }
  .special__text {
    font-size: 36px;
  }
  .special__imagery-wrapper {
    height: 120px;
    width: 300px;
    display: initial;
  }
  .special__imagery {
    left: initial;
  }
  .special__icon {
    top: 0;
    left: 0;
    font-size: 300px;
    line-height: 1;
  }
  .special__shape {
    top: 15px;
    left: 25px;
  }
  .dot {
    height: 100px;
    width: 100px;
  }
  .text__wrapper span {
    width: 80%;
  }
  .contact__details__wrapper .contact__details {
    font-size: 1rem;
  }
  .contact__details__wrapper .contact__details span {
    display: initial;
    margin-top: 0.2rem;
  }
}
