@import url("../fonts/stylesheet.css");

* {
  box-sizing: border-box;
}
body,
html {
  margin: 0;
  padding: 0;
  font-family: "interlight", sans-serif;
  /* font-size: 16px; */
  line-height: 1.5;
  background-color: #202020;
  color: #fff;
}
html {
	scroll-behavior: smooth;
}
@media screen and (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto;
	}
}
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "remixalight", serif;
  font-weight: normal;
  margin: 0;
  padding: 0;
  line-height: 1.2;
}
h1 {
  font-size: 3rem;
}

p {
  font-size: 1.5rem;
}

h2 {
  font-size: 3rem;
}

h3 {
  font-size: 2.5rem;
}
h4 {
  font-size: 2rem;
}

a {
  text-decoration: none;
  color: inherit;
  font-size: 1.5rem;
}
a:hover {
  text-decoration: underline;
}

li {
  font-size: 1.5rem;
}

.small {
    font-size: 1rem;
}

.brand-link {
  color: #2754c4;
}

@font-face {
  font-family: "brandity";
  src: url("../fonts/brandity.eot?9u2yxl");
  src: url("../fonts/brandity.eot?9u2yxl#iefix") format("embedded-opentype"),
    url("../fonts/brandity.ttf?9u2yxl") format("truetype"),
    url("../fonts/brandity.woff?9u2yxl") format("woff"),
    url("../fonts/brandity.svg?9u2yxl#brandity") format("svg");
  font-weight: normal;
  font-style: normal;
  font-display: block;
}

[class^="icon-"],
[class*=" icon-"] {
  /* use !important to prevent issues with browser extensions that change fonts */
  font-family: "brandity" !important;
  speak: never;
  font-style: normal;
  font-weight: normal;
  font-variant: normal;
  text-transform: none;
  line-height: 1;

  /* Better Font Rendering =========== */
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.icon-brandity_weiss:before {
  content: "\e900";
  color: #fff;
}
.icon-shuffle:before {
  content: "\e901";
}

.content-wide {
  max-width: 1600px;
  margin: 0 auto;
}
.full-width {
  width: 100%;
  margin: 0 auto;
}

.ig-link:hover {
  color: #ee2a7b;
}
.ln-link:hover {
  color: #0a66c2;
}

.content-narrow {
  max-width: 1200px;
  margin: 0 auto;
}
.underline {
  text-decoration: underline;
}
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  top: 0;
  left: 0;
  right: 0;
  position: fixed;
  width: 100%;
  margin: auto;
  z-index: 2;
}
.navbar-fade {
  background: linear-gradient(rgba(32,32, 32, 1) 0%, rgba(0, 0, 0, 0) 90%);
}
.navbar__logo {
  display: flex;
  align-items: center;
  font-size: 2rem;
  margin: 2rem;
  margin-left: 0;
  text-shadow: 0px 0px 1rem rgba(0, 0, 0, 0.5);
}
.navbar__logo a {
  font-size: 2rem;
}
.navbar__menu {
  display: flex;
  align-items: center;
  margin: 2rem;
  margin-right: 0;
  gap: 5rem;
}
.navbar__menu__mobile {
  display: none;
  cursor: pointer;
}
.aboutmeow {
  display: flex;
  gap: 2rem;
  align-items: center;
}
.aboutmeow__image {
  max-width: 30vw;
}
.aboutmeow .content-card__preheader p {
  margin-top: 0;
  line-height: 1;
}
.bar1,
.bar2 {
  width: 1.5rem;
  height: 0.2rem;
  background-color: #fff;
  margin: 6px 0;
  transition: 0.4s;
}

/* Rotate first bar */
.change .bar1 {
    transform: rotate(-45deg) translate(0, 6px);
}

/* Rotate second bar */
.change .bar2 {
  transform: rotate(45deg) translate(0, -6px);
}

.hero {
  min-height: 100vh;
  display: flex;
  justify-content: flex-end;
  flex-direction: column;
  /* transition: background 0.5s ease; */
  background-size: cover;
  background-position: center;
  position: relative;
  /* TODO: add gradient */
}
.hero img {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero__content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 0 1rem;
  padding-bottom: 0rem;
  width: 100%;
  background: linear-gradient(rgba(0, 0, 0, 0) 0%, rgba(32, 32, 32, 1) 90%);
  overflow: hidden;
  z-index: 2;
  /* background: linear-gradient(rgba(0, 0, 0, 0.0), rgba(32, 32, 32, 1)); */
}
.hero__content p {
  margin: 0;
}

.wrapper {
  max-width: 100%;
  overflow: hidden;
}

.marquee {
  --gap: 1rem;
  display: flex;
  overflow: hidden;
  user-select: none;
  gap: var(--gap);
}

.marquee__content {
  flex-shrink: 0;
  display: flex;
  justify-content: space-around;
  min-width: 100%;
  gap: var(--gap);
  animation: scroll 15s linear infinite;
  font-size: 3.125rem;
}

@keyframes scroll {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(calc(-100% - var(--gap)));
  }
}

.hero__banner {
  white-space: nowrap;
  overflow: hidden;
  position: relative;
  padding: 20px;
  width: 100%;
}

/* Content card */
.content-card {
  margin-top: 5rem;
  margin-bottom: 5rem;
}
.content-card__tags {
  display: flex;
  justify-content: flex-start;
  margin: 1rem 0;
}
.content-card__tags ul {
  display: flex;
  list-style: none;
  padding: 0;
  margin: 0;
  gap: 0.5rem;
}
.content-card__tags ul li {
  border-radius: 3rem;
  border: 1px solid #fff;
  margin: 1px;
  padding: 0.1rem 0.5rem;
}
.content-card__tags ul li:hover {
  border: 2px solid #fff;
  margin: 0px;
  cursor: pointer;
}
.content-card__tags ul li.selected {
  background-color: #fff;
  color: #202020;
}

/* Projects gallery */
.projects-gallery {
  min-height: 90vh;
  overflow: hidden;
}
.projects-gallery__filter {
  display: flex;
  justify-content: flex-start;
  margin-top: 1rem;
  margin-bottom: 1rem;
}
.projects-gallery__filter ul {
  display: flex;
  list-style: none;
  padding: 0;
  margin: 0;
  gap: 0.5rem;
}
.projects-gallery__filter ul li {
  border-radius: 3rem;
  border: 1px solid #fff;
  margin: 1px;
  padding: 0.2rem 1rem;
}
.projects-gallery__filter ul li:hover {
  border: 2px solid #fff;
  margin: 0px;
  cursor: pointer;
}
.projects-gallery__filter ul li.selected {
  background-color: #fff;
  color: #202020;
}
.projects-gallery__gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: minmax(100px, auto); /* Add this line */
  gap: 1rem;
  justify-content: center;
  justify-items: center; /* Add this line */
  margin-top: 10rem;
  margin-left: -20rem;
  margin-right: -20rem;
  position: relative;
}
.projects_tag{
  border: 1px solid;
  padding: 0.2rem 1rem;
  display: inline-block;
  border-radius: 100px;
}
.project-tags {
  display: flex;
  gap: 1rem;
}
.projects-gallery__gallery__overlay {
  position: absolute;
  top: -5rem;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    to right,
    rgba(32, 32, 32, 1) 0%,
    rgba(32, 32, 32, 1) 10%,
    rgba(32, 32, 32, 0) 25%,
    rgba(32, 32, 32, 0) 75%,
    rgba(32, 32, 32, 1) 90%,
    rgba(32, 32, 32, 1) 100%
  );
  pointer-events: none;
  z-index: 1;
  height: calch(100% + 5rem);
  width: 100%;
}

.projects-gallery .project {
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  width: 100%;
  aspect-ratio: 9/12;
}

.projects-gallery .project:nth-child(odd) {
  margin-top: -5rem;
}

@media screen and (min-width: 768px) {
  .projects-gallery__gallery {
    grid-template-columns: repeat(4, 25%);
    justify-content: start;
    padding: 0 12.5%; /* Add padding to cut off 2 columns in half */
  }
}

@media screen and (max-width: 768px) {
  .projects-gallery__gallery {
    grid-template-columns: repeat(2, 1fr);
    /* padding: 0 1rem;  */
    margin-top: 2rem;
  }
  .projects-gallery .project:nth-child(odd) {
    margin-top: 0rem;
  }
  .projects-gallery__gallery__overlay {
    background: linear-gradient(
      to right,
      rgba(32, 32, 32, 1) 0%,
      rgba(32, 32, 32, 1) 15%,
      rgba(32, 32, 32, 0) 25%,
      rgba(32, 32, 32, 0) 75%,
      rgba(32, 32, 32, 1) 85%,
      rgba(32, 32, 32, 1) 100%
    );
    margin-bottom: 0;
    margin-top: 0;
  }
}
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
.no-display {
  opacity: 0;
}
.project {
  opacity: 1;
  transform: scale(1);
  transition: opacity 0.2s ease-in-out, transform 0.2s ease-in-out;
  position: relative;
}
.project a {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
}
.project.no-display {
  opacity: 0;
  transform: translateX(-100%) translateY(100%);
}

/* Accordion */
.accordion__content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.2s ease-out;
  margin-left: 3.75rem;
}
.accordion__header {
  cursor: pointer;
  margin-top: 1rem;
}
.accordion__header h3 {
  display: inline-block;
  margin-left: 2rem;
}
.accordion__header::before {
  content: "+";
  display: inline-block;
  transition: transform 0.1s ease-in-out;
  font-size: 2.5rem;
}

.accordion__header.active::before {
  transform: rotate(45deg);
  content: "+";
}

/* Quote */
.quote {
  margin: 0 auto;
  text-align: center;
  min-height: 50vh;
  display: flex;
  justify-content: center;
  flex-direction: column;
}
.quote__person {
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: left;
  text-align: center;
}

/* Footer */
.footer__content {
  display: flex;
  margin-top: 1rem;
  margin-bottom: 4rem;
}
.footer__content__big {
  font-family: "remixalight", serif;
  font-weight: normal;
  flex-grow: 1;
  font-size: 3rem;
  line-height: 3rem;
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  height: 4.5rem;
}
.footer__content__left {
  display: flex;
  gap: 2rem;
}
.footer__content__left p {
  margin: 0;
}

.footer__content__left:last-child {
  text-align: right;
}

.big-spacing {
  margin-top: 25vh;
  margin-bottom: 25vh;
}
.big-spacing-padding{
  padding-top: 25vh;
  padding-bottom: 25vh;
}
.md-padding-top {
  padding-top: 5rem;
}

.navbar__top {
    display: flex;
    justify-content: space-between;
}

.bg-blue {
  background-color: #2754c4;
}

/* projects */
.projects-wrapper{
  z-index: 2;
  margin-left: 4rem;
  margin-right: 4rem;
  display: flex;
  height: 100vh;
  gap: 2rem;
}

.projects-wrapper__text {
  padding-top: 25vh;
}

.projects-wrapper__images {
  padding-top: 6rem;
  z-index: 1;
  min-width: 50vw;
  width: 50vw;
  flex-grow: 1;
  overflow: scroll;
}
.projects-wrapper__images img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

/* Media Queries */
@media screen and (max-width: 1600px) {
  .content-wide {
    margin-left: 1rem;
    margin-right: 1rem;
  }
}
@media screen and (max-width: 1200px) {
  .content-narrow {
    margin-left: 1rem;
    margin-right: 1rem;
  }
}
@media screen and (max-width: 1024px) {
  html {
    font-size: 14px;
  }
  .aboutmeow {
    flex-direction: column;
  }
  .aboutmeow__image {
    max-width: 50vw;
  }
}
@media screen and (max-width: 768px) {
  html {
    font-size: 12px;
  }
  .projects-gallery__gallery {
    grid-template-columns: repeat(2, 1fr);
    /* padding: 0 1rem;  */
    margin-top: 2rem;
    margin-left: -3rem;
    margin-right: -3rem;
  }
  .projects-gallery__gallery__overlay {
    display: none;
  }
  .navbar__menu {
    display: none;
    margin: 0;
  }
  .navbar__menu a {
    font-size: 2rem;
  }
  .navbar {
    flex-direction: column;
    align-items: center;
}
    .navbar__top {
        width: 100%;
        align-items: center;
    }
  .navbar__logo {
    margin-left: 2rem;
  }

  .navbar__menu__mobile {
    display: inline-block;
    margin-right: 4rem;
  }
  .footer__content {
    flex-direction: column;
  }
  .footer__content__left {
    flex-direction: column;
    text-align: left;
  }
  .footer__content__left:last-child {
    text-align: left;
  }
  .projects-wrapper{
    flex-direction: column-reverse;
    margin-left: 3rem;
    margin-right: 3rem;
    margin-top: 3rem;
    height: auto;
  }
  .projects-wrapper__text {
    padding-top: 6rem;

  }
  .projects-wrapper__images {
    padding-top: 0rem;
    height: auto;
    overflow: inherit;
    width: inherit;
  }
}
