@import url("https://use.typekit.net/wzj1nmy.css");

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;
}

* {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

body {
  font-family: interstate, sans-serif;
  font-weight: 700;
  font-style: normal;
  font-size: 12px;
  color: #fffdd1;

  height: 100%;
  overflow: hidden;
  position: relative;
}

:root {
  --main-text-color: #f7de02;
}

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

.container {
  height: 100vh;
  width: 100vw;
  padding: 5rem;
  overflow: scroll;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 10;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 2rem;
}

a {
  color: var(--main-text-color) !important;
  transition: color 0.5s ease-in-out;
}

a:hover {
  color: var(--main-text-color) !important;
  text-decoration: none;
}

h5 {
  margin: 0;
  transition: color 0.5s ease-in-out;
}

p,
h1,
h2,
h3,
h4 {
  margin: 0;
  line-height: 1.1;
  letter-spacing: -0.25px;
  font-size: 1.3rem;

  color: var(--main-text-color);
  transition: color 0.5s ease-in-out;
}

@media (min-width: 1200px) {
  p,
  h1,
  h2,
  h3,
  h4 {
    font-size: 1.75em;
  }
  h5 {
    font-size: 1.2em;
  }

  /* .container {
    border: 2vw solid;
    border-color: var(--main-text-color);
    transition: border-color 0.5s ease-in-out;
  } */
}

.project {
  display: flex;
  justify-content: space-between;
  gap: 1em;
}

.proj-name {
  /* text-transform: uppercase; */

  display: flex;
  gap: 0.5em;
  align-items: flex-end;
}

.project-info {
  display: flex;
  flex-direction: column;
}

.awards {
  max-width: 700px;
  order: 2;
}

.contact-info p,
.type,
.awards {
  font-size: 1em;
  color: var(--main-text-color);
  text-transform: uppercase;
}

.type {
  text-transform: uppercase;
  width: content;
}

.contact {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  flex-grow: 2;
}

.contact-info {
  font-size: 1rem;
  text-align: right;
}

.nav ul {
  display: flex;
  flex-direction: column;
  gap: 0.25em;
}

.nav ul li {
  font-size: 1rem;
  text-transform: uppercase;
  color: var(--main-text-color);
  display: inline-block;
}

.nav ul li a {
  text-decoration: none;
}

.nav ul li::after {
  content: "";
}

.dates {
  align-self: flex-end;
}

.dates p,
nav ul li a {
  text-align: right;
  text-transform: uppercase;
}

.location {
  max-width: 600px;
}

.bg-images {
  position: relative;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  /* background-color: orange; */
  z-index: 4;
}

.bg-images img {
  width: 100vw;
  height: 100vh;
  object-fit: cover;

  position: absolute;
  inset: 0;
  opacity: 0;

  transition: opacity 0.5s ease-in-out;
}

.bg-images img.active {
  opacity: 1;
  transition: opacity 0.5s ease-in-out;
}

.current-projects-container {
  display: flex;
  flex-direction: column;
  gap: 1.5em;
}

@media (max-width: 769px) {
  .container {
    padding: 3rem;
    padding-bottom: 6rem;
  }
}

/* @media (max-width: 654px) {
  p {
    font-size: 0.83rem;
  }
} */

@media (max-width: 481px) {
  body {
    font-size: 10px;
  }

  .nav ul li,
  p,
  h1,
  h2,
  h3,
  h4 {
    margin: 0;
    line-height: 1.2;
    letter-spacing: 0;
    font-size: 1rem;
  }

  .nav ul li {
    text-align: right;
  }

  .nav ul li a {
    text-decoration: underline;
  }

  .project {
    flex-direction: column;
    gap: 0;
  }

  .project-info {
    max-width: 100%;
  }

  .dates {
    align-self: flex-start;
  }

  .dates p {
    font-size: 0.6187rem;

    text-align: left;
    display: inline-block;
  }

  .container {
    overflow: scroll;
    padding: 2rem;
    padding-bottom: 7rem;
    flex-direction: column;
    /* align-items: center; */
  }

  .contact-info {
    font-size: 1rem;
  }

  .contact {
    flex-direction: column;

    flex-grow: 1;
    justify-content: space-around;
    gap: 1rem;
  }
}

@media screen and (max-width: 767px) {
  _::-webkit-full-page-media,
  _:future,
  :root .safari_only {
    padding-bottom: 65px; //resize
  }
}

@keyframes fadeIn {
  0% {
    opacity: 0;
    transform: translateY(-30px);
    filter: blur(2px);
  }

  50% {
    transform: translate(0);
  }

  100% {
    opacity: 1;
    filter: blur(0);
  }
}

.appear {
  opacity: 0;
  animation: fadeIn;
  animation-duration: 500ms;
  animation-fill-mode: forwards;
  animation-timing-function: cubic-bezier(0.1, -0.6, 0.2, 0);
}

.project:nth-child(1) {
  animation-delay: 225ms;
}

.project:nth-child(2) {
  animation-delay: 500ms;
}

.project:nth-child(3) {
  animation-delay: 750ms;
}

.project:nth-child(4) {
  animation-delay: 1000ms;
}

.project:nth-child(5) {
  animation-delay: 1250ms;
}
.project:nth-child(6) {
  animation-delay: 1500ms;
}

.project:nth-child(7) {
  animation-delay: 1750ms;
}

.project:nth-child(8) {
  animation-delay: 2000ms;
}

.project:nth-child(9) {
  animation-delay: 2250ms;
}

.project:nth-child(10) {
  animation-delay: 2500ms;
}

.nav {
  animation-delay: 3000ms;
}

@media (max-width: 481px) {
  .nav {
    animation-delay: 0ms;
  }
}
