* {
  box-sizing: border-box;
  line-height:1;
}

/* reset */

@font-face {
  font-family: "Archivo";
  src: url("Archivo-ExtraBold.eot");
  src: url("Archivo-ExtraBold.eot?#iefix") format("embedded-opentype"),
    url("Archivo-ExtraBold.woff2") format("woff2"),
    url("Archivo-ExtraBold.woff") format("woff"),
    url("Archivo-ExtraBold.ttf") format("truetype"),
    url("Archivo-ExtraBold.svg#Archivo-ExtraBold") format("svg");
  font-weight: bold;
  font-style: normal;
  font-display: swap;
}

body,
html {
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
}

body {
  overflow-x: hidden;
  overflow-y: scroll;
}

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

.hidden {
  display: none;
}

body::-webkit-scrollbar {
  display: none;
}

/* Type styles */

body {
  font-family: "Archivo";
  font-size: 20px;
  line-height: 30px;
  font-weight: normal;
  color: #fff;
}

h1,
h2,
h3,
h4 {
  font-family: "Archivo";
  font-style: 400;
  line-height: 1;
  margin: 0;
}
h1,
h2 {
  font-family: "Archivo";
  font-size: 30px;
  font-weight: bold;
}

h4 {
  font-family: "Archivo";
  font-size: 16px;
}

button {
  background: transparent;
  border: none;
  outline: none;
  padding: 0;
  box-shadow: none;
  filter: blur(0);
  font-size: 16px;
  line-height: 1;
  color: #fff;
  cursor: pointer;
}

a {
  text-decoration: none;
  color: #000000;
}

a:hover {
  filter: blur(1px);
  transition: 0.6s;
}

/* Header */

header {
  position: fixed;
  width: 100%;
  left: 0;
  top: 0;
  z-index: 10;
  padding: 1% 1% 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  text-transform: uppercase;
}
header h1 {
}
header h2 {
  text-align: right;
}
header nav {
  grid-column: 1 / span 2;
  margin-top: 1%;
}

header nav ul {
  display: flex;
  gap: 10px;
  justify-content: flex-end;
}

header nav button {
  transition: filter 0.3s ease-in-out;
}
header nav.has-hover button:not(:hover),
header nav.has-active button:not(.is-active) {
  filter: blur(1px);
}

header nav.has-hover.has-active button:hover {
  filter: blur(0);
}

/* Footer (about button) */

footer {
  position: fixed;
  width: 100%;
  left: 0;
  bottom: 0;
  z-index: 8;
  padding: 0 1% 1%;
  display: flex;
  justify-content: flex-end;
}
footer button {
  font-size: 22px;
  font-weight: 800;
  font-family: "Archivo";
}

.modal-about {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 999;
}

.modal-about-close {
  position: absolute;
  top: 0;
  right: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}
.modal-about-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
}

.modal-about p {
  padding: 9%;
  text-align: center;
  width: 405px;
  color: #000000;
  background-color: white;
  border: solid 1px #000000;
}

/* projects (.main) */
.main {
}

.container {
  position: relative;
  overflow: hidden;
  clip-path: polygon(0 0, 100% 0, 100% 100%, 0% 100%);
}
.container.hide {
  display: none;
}

/* images and image types */

img {
  width: 100%;
  display: block;
}

.side-by-side {
  display: grid;
  justify-content: space-between;
  align-items: center;
  grid-template-columns: 1fr 1fr;
}

.main {
  margin-top: 0;
}

/* sticky title */
.sticky-title {
  /* position: fixed; */
  /* top: 50%; */
  text-align: center;
  white-space: nowrap;
  color: white;
  width: 100%;
  /* transform: translate(0, -50%); */

  /* mix-blend-mode: difference; */
  /* margin-top: -30%; */
  /* margin: 0; */
  /* padding: 0; */
  text-transform: uppercase;
}

.sticky-title span {
  font-size: 12px;
  opacity: 50%;
}

.sticky-title {
  white-space: nowrap;
  overflow: hidden;
}

.title-wrapper {
  position: fixed;
  pointer-events: none;
  top: 0;
  left: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100%;
  z-index: 2;
}

.title-wrapper__content {
  padding: 2em;
}
/* RESPONSIVE VIEWS */

@media (min-width: 575.98px) {
  .hide-desktop {
    display: none !important;
  }
}

/* mobile */
@media (max-width: 575.98px) {
  .hide-mobile {
    display: none !important;
  }

  header {
    grid-template-columns: 1fr 1fr;
  }
  header nav ul {
    display: flex;
    gap: 10px;
    justify-content: center;
    margin-top: 6%;
  }

  h1,
  h2 {
    font-size: 18px;
  }
  h4 {
    font-size: 12px;
  }

  footer {
    justify-content: center;
    font-size: 21px;
    font-weight: normal;
    font-style: normal;
  }
  footer button {
    font-size: 21px;
    font-weight: normal;
    font-style: normal;
  }
  .sticky-title {
    font-size: 14px;
    line-height: 1.2;
  }
}

@media screen and (max-width: 768px) {
  .sticky-title {
    font-size: 14px;
    line-height: 1.2;
    /* top: 50%; */
    white-space: nowrap;
    overflow: hidden;
  }
}
