/* Stylesheet for navigation */

body {
  background-color: black;
  margin: 0%;
  width: 100%;
}
html {
  font-family: "Outfit";
  color: white;
  width: 100%;
  overflow-x: hidden;
  /* overflow-y: hidden; */
}

@font-face {
  font-family: "Outfit";
  font-style: normal;
  font-weight: auto;
  src:
    local("Outfit"),
    url("/assets/Outfit-Medium.ttf") format("opentype");
}

a {
  text-decoration: none;
}

/* .white_text{
color: white;
} */

.nav_bar {
  position: fixed;
  top: 50%;
  transform: translateY(-50%);
  display: grid;
  grid-template-rows: 1fr 1fr 1fr;
  justify-content: left;
}

.header_nav {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background-color: transparent;
  font-size: 150%;
  color: white;
  padding: 15px 32px;
  filter: drop-shadow(0 6px 12px rgba(0, 0, 0, 0.778));
}

.header_nav:hover {
  font-size: 170%;
  animation: color-change 3s infinite;
}

@keyframes color-change {
  0% {
    color: white;
  }
  50% {
    color: #800080;
  }
  100% {
    color: white;
  }
}

.name_logo {
  position: fixed;
  bottom: 0;
  width: 25%;
  display: block;
  filter: drop-shadow(0 6px 12px rgba(0, 0, 0, 0.778));
}

.nav_bar,
.name_logo,
.portfolio_title {
  z-index: 10;
}

p {
  font-size: 1.2vw;
}
h1 {
  font-size: 2.5vw;
}
/* p {
  font-size: 1.2em;
}
h1 {
  font-size: 2.5em;
} */

/* HomePage */

.portfolio_title {
  position: fixed;
  top: 0;
  right: 0;
  display: block;
  /* transform: scale(0.5); */
  width: 40vw;
  transform-origin: top right;
  filter: drop-shadow(0 6px 12px rgba(0, 0, 0, 0.778));
}

#bg-canvas {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

#model-canvas {
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: auto;
}

#content {
  position: relative;
  z-index: 2;
}

/* Project Pages */

.privacy_title {
  display: flex;
  justify-content: center;
  transform: scale(0.5);
}

.project_title {
  /* position: absolute; */
  /* transform: scale(0.1); */
  margin-top: 25px;
  width: 100%;
  height: 100px;
}
.project_title_center {
  margin-top: 5%;
}

.tab_bg {
  position: relative;
  margin-left: 17%;
  /* background-color: black
  ; */
  display: flex;
  flex-direction: column;
  align-items: center;
  overflow-y: auto;
  overflow-x: hidden;
  height: 100%;
}

.tab_bg::-webkit-scrollbar {
  display: none;
}

.project_description {
  text-align: center;
}
#privaicy_video {
  width: 100%;
}

.magazine_bg {
  background-color: antiquewhite;
  filter: drop-shadow(0 6px 12px rgba(0, 0, 0, 0.778));
  padding: 2%;
}

#zina_physical {
  display: grid;
  grid-template-columns: auto;
  grid-auto-flow: column;
}

.resize {
  width: 100%;
  height: 100%;
  aspect-ratio: 1128/1504;
}

.flipbook {
  /* height: 842px;
  width: 1190px; */
  height: 648px;
  width: 915.3px;
  aspect-ratio: auto 1190 / 842;
  filter: drop-shadow(0 6px 12px rgba(0, 0, 0, 0.778));
}

.flipbook .page img {
  max-width: 100%;
  height: 100%;
}

/* Typewriters Page */

#typewriters_logo {
  /* margin-top: 1dvh; */
  width: 100%;
  height: 15vw;
  animation: rotate 1.5s;
}

@keyframes rotate {
  0% {
    transform: rotate(-0.01turn);
  }
  50% {
    transform: rotate(0.01turn);
  }
  100% {
    transform: rotate(0turn);
  }
}

.notes_grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  grid-auto-flow: column;
  margin-top: 5%;
}

.sticky_note {
  display: block;
  background-color: #27254b;
  /* width: 25dvh; */
  /* width: 25lvh; */
  width: 18vw;

  padding: 5%;
  margin: 10%;
  margin-left: 5dvh;
  margin-right: 5dvh;
  filter: drop-shadow(0 6px 12px rgba(0, 0, 0, 0.778));
  aspect-ratio: auto 1 / 1;
  /* height: 50%; */
}
.pink_note {
  background-color: #ffbeda;
}

.note_text {
  margin: 0;
}
.section_bg {
  margin-top: 1%;
  background-color: white;
  padding: 1%;
}
.typewriters_text {
  color: #27254b;
}
.header_space {
  display: flex;
  justify-content: center;
  margin-bottom: 2%;
  margin-top: 2%;
}
.typewriters_header {
  display: grid;
  grid-auto-flow: column;
  align-items: center;
}

.typewriters_posts {
  display: grid;
  grid-auto-flow: column;
  grid-template-columns: 1fr 1fr 1fr;
  margin-left: 1%;
}

.typewriters_posts_2 {
  display: grid;
  grid-auto-flow: column;
  grid-template-columns: 1.7fr 1fr 1fr;
  margin-left: 1%;
}

.typewriters_story {
  aspect-ratio: auto 1920 / 1080;
  width: 95%;
}
.typewriters_post {
  width: 95%;
  aspect-ratio: auto 1 / 1;
}
.sparkles {
  width: 2em;
}

#lil_guy {
  /* position: relative; */
  position: sticky;
  top: 0;
  width: 100%;
  height: 5vw;
  /* right: -49.5 vw; */
  /* margin-right: 0; */
  filter: drop-shadow(0 6px 12px rgba(0, 0, 0, 0.778));
  z-index: 10;
  animation: progress_viewport;
  animation-duration: 1ms;
  animation-timeline: scroll();
}
/* 
.progress_bar {
} */

@keyframes progress_viewport {
  from {
    transform: translateX(41vw) translateY(0);
  }
  to {
    transform: translateX(41vw) translateY(91dvh);
  }
}

#overlapping_note {
  margin-top: -35%;
  margin-left: 22%;
  /* margin-left: -40%;
  margin-top: 20dvh; */
}

/* #overlapping_note2 {
  margin-top: -40%;
  /* margin-left: 25%; */
/* margin-right: 125%; */
/* }  */

#typewriters_post_under {
  margin-top: 4%;
}

#typewriters_center {
  display: grid;
  justify-items: center;
}

/* Plaster */

#plaster_2grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  /* justify-items: end; */
  justify-items: stretch;
}

.plaster_post {
  width: 100%;
  aspect-ratio: auto 1 / 1;
  /* aspect-ratio: 3 / 2; */
  object-fit: cover;
}

/* Brigada */

#header_text_brigada_div {
  display: flex;
  align-items: center;
  justify-content: center;
}

#header_text_brigada {
  margin-top: -30%;
  width: 45%;
  color: black;
  /* text-align: justify; */
  text-align: center;
  align-self: center;
}

.brigada_h1 {
  align-self: flex-start;
  margin-top: 6%;
}

.two_grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  justify-items: stretch;
  gap: 2%;
}

.brigada_side {
  width: 32vw;
  /* align-self: flex-end; */
  /* aspect-ratio: auto 1 / 1; */
  aspect-ratio: auto 2 / 3;
  object-fit: cover;
}

.align_side {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

.namecards {
  width: 30vw;
  display: block;
  /* outline: 1px solid red; */
  position: relative;
  /* transform-origin: 51.5% 48.5%; */
  /* aspect-ratio: auto 1 / 1; */
  /* object-fit: cover; */
  /* transform-origin: center; */
  /* will-change: transform; */
}

#brigada_bike {
  /* font-size: 20%; */
  width: 37vw;
  align-self: center;
  margin-bottom: -12vw;
  margin-left: 3vw;
  /* margin-left: -8%; */
  rotate: 20deg;
  /* margin-top: -50%; */
}

#brigada_bike_div {
  display: grid;
  justify-items: center;
  rotate: -25deg;
  margin-left: -35vw;
  margin-top: 10%;
}

.namecards:hover {
  animation: spin 3s linear infinite;
}

@keyframes spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

.six_grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 1vw;
  height: 100%;
}

.phone_grid {
  display: flex;
  flex-direction: column;
  /* align-items: flex-start; */
}

.phone_grid_text_up {
  margin-left: 40%;
  margin-top: 10%;
  margin-bottom: -10%;
}

.phone_grid_text_down {
  margin-left: 40%;
  margin-top: -15%;
  margin-bottom: 10%;
}

/* Kayda */

/* <!--
Source - https://stackoverflow.com/a/3245187
Posted by choise, modified by community. See post 'Timeline' for change history
Retrieved 2026-08-01, License - CC BY-SA 4.0
--> */

/* @font-face {
  font-family: Salbabida;
  source: url("/img/projects/kayda/salbabida-sans-regulartrial.otf")
    format("opentype");
} */

/* Troax */

@font-face {
  font-family: "Alt_Goth";
  font-style: normal;
  font-weight: auto;
  src:
    local("Alt_Goth"),
    url("/img/projects/troax/alternategothicno1.otf") format("opentype");
}

.troax_text {
  font-family: "Alt_Goth";
  font-size: 5vw;
}

.two_grid_troax {
  /* width: 80%; */
  margin-top: -2vw;
  display: grid;
  grid-template-columns: 1.635fr 1fr;
  align-items: center;
  justify-items: stretch;
  gap: 2vw;
}

.grid_posts_troax {
  display: grid;
  grid-template-rows: auto;
  gap: 2vw;
}

.troax_posts {
  width: 100%;
  margin-top: 3vw;
}

.troax_subheader {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  width: 100%;
  margin-left: -0.5vw;
}

.three_grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 1%;
  /* overflow: hidden; */
  /* aspect-ratio: 16/9; */
  margin-top: -2%;
}

.three_grid_img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}

.two_flex {
  display: flex;
  flex-direction: row;
  gap: 1vw;
  justify-content: center;
  height: 80%;
  width: 100%;
}

.policy_grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr 1fr;
  gap: 1vw;
  width: 100%;
  margin-top: -2%;
}

/* PROJECTS LIST */

.projects_section {
  /* display: grid;
  grid-template-columns: 2fr 2fr 2fr;
  gap: 2%;
  width: 100%;
  justify-items: center; */
  width: 100%;
  display: flex;
  /* margin-bottom: 1%; */
}

.project_card {
  width: 25vw;
  display: grid;
  grid-template-rows: 4fr 1fr;
  background-color: white;
  aspect-ratio: auto 1/1;
  /* width: 18vw; */
  margin-top: 2vw;
  border-radius: 5%;
}
.project_card_text {
  color: black;
  margin-top: 0vw;
  margin: 1vw;
  font-size: 1.5vw;
}

.projects_image {
  width: 25vw;
  height: 100%;
  aspect-ratio: 1/1;
  object-fit: cover;
  object-position: center center;
  border-radius: 5%;
}

.project_card:hover {
  animation: rotate 2s linear infinite;
}

@keyframes rotate {
  0% {
    transform: rotate(0deg);
  }
  25% {
    transform: rotate(3deg);
  }
  75% {
    transform: rotate(-3deg);
  }
  100% {
    transform: rotate(0deg);
  }
}

.project_section_scroll {
  /* overflow-y: scroll; */
  overflow: auto;
  padding: 1%;
  /* margin-top: -1vw;  */
  overflow: auto;
  max-height: 100vh;
  width: 33.33%;
  /* margin-bottom: 10vw; */
}

/* About Me Page */

:root {
  --card_1: #fff;
  --card_2: #800080;
  --card_3: #32cd32;
}

.pic_split {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.split_image3 {
  position: relative;
  width: 75vw;
  /* height: 100%; */
  padding: 2rem;
  /* margin-right: 2%; */

  display: flex;
  justify-items: center;
  justify-content: center;
}

.card_container {
  position: relative;
  width: 100%;
  display: flex;
  perspective: 1000px;
  transform: translateY(40px);
  will-change: width;
}

.card {
  position: relative;
  flex: 1;
  aspect-ratio: 1221 / 2059;
  transform-style: preserve-3d;
  transform-origin: top;
}

#card_1 {
  border-radius: 20px 0 0 20px;
}

#card_3 {
  border-radius: 0 20px 20px 0;
}

.card_front,
.card_back {
  position: absolute;
  width: 100%;
  height: 100%;
  backface-visibility: hidden;
  border-radius: inherit;
  overflow: hidden;
}

.card_back {
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  transform: rotateY(180deg);
  padding: 2rem;
}

.card_back span {
  position: absolute;
  top: 2rem;
  left: 2rem;
  opacity: 0.4;
}

#card_1 .card_back {
  color: #27254b;
  background-color: var(--card_1);
}

#card_2 .card_back {
  background-color: var(--card_2);
}

#card_3 .card_back {
  background-color: var(--card_3);
}

/* #card_1,
#card_2,
#card_3,
.card_back {
  transform: none;
} */
