/* Box sizing rules */
*,
*::before,
*::after {
  box-sizing: border-box;
}

/* Remove default margin */
body,
h1,
h3,
h4,
p,
figure,
blockquote,
dl,
dd {
  margin: 0;
}

/* Set core root defaults */
html:focus-within {
  scroll-behavior: smooth;
}

/* Set core body defaults */
body {
  min-height: 100vh;
  text-rendering: optimizeSpeed;
  line-height: 1.5;
}

/* A elements that don't have a class get default styles */
a:not([class]) {
  text-decoration-skip-ink: auto;
}

/* Make images easier to work with */
img,
picture {
  max-width: 100%;
  display: block;
}

/* Inherit fonts for inputs and buttons */
input,
button,
textarea,
select {
  font: inherit;
}
/*CSS reset*/

:root {
  --clr-gold-drop: #ff7e07;
  --clr-neutral-100: #f6f6f6;
  --clr-neutral-500: rgba(0,0,0,0.5);
  --clr-neutral-900: #000;

  --ff-primary: "caslon", "grotesk";
  --ff-body: "grotesk", sans-serif;
  --ff-heading: var(--ff-primary);
  --ff-heading-body: var(--ff-body);

  --fw-thin: 100;
  --fw-regular: 400;
  --fw-bold: 700;

  --fs-xxs: 8px;
  --fs-xs: 12px;
  --fs-s: 16px;
  --fs-m: 20px;
  --fs-l: 28px;
  --fs-xl: 3vw;
  --fs-xxl: 8vw;

  --lh-xs: 16px;
  --lh-s: 24px;
  --lh-m: 25px;
  --lh-l: 40px;
  --lh-xl: 0.8em;
  --lh-xxl: 0.8em;
}

@font-face {
  font-family: "caslon";
  font-weight: normal;
  font-style: normal;
  src: url("https://files.cargocollective.com/c1610696/caslon-ionic-regular.otf")
    format("opentype");
}

@font-face {
  font-family: "caslon";
  font-weight: bold;
  font-style: normal;
  src: url("https://files.cargocollective.com/c1610696/caslon-ionic-bold.otf")
    format("opentype");
}

@font-face {
  font-family: "grotesk";
  font-weight: normal;
  font-style: normal;
  src: url("https://files.cargocollective.com/c1610696/neue-haas-grotesk.otf")
    format("opentype");
}

body{
    font-family: var(--ff-primary);
    font-weight: normal;
    font-size: var(--fs-s);
    line-height: var( --lh-s);
}

h1 {
  font-family: var(--ff-heading);
  font-weight: var(--fw-regular);
  font-size: var(--fs-xl);
  line-height: var(--lh-xl);
  letter-spacing: -2px;
}

h2 {
  font-size: var(--fs-l);
  font-family: var(--ff-primary);
  font-weight: var(--fw-thin);
  line-height: var(--lh-l);
    display: inline;
}

small {
  font-family: var(--ff-primary);
  font-size: var(--fs-l);
  line-height: var(--lh-l);
  font-weight: var(--fw-regular);
  text-transform: uppercase;
  letter-spacing: 3px;
}

a {
  text-decoration: none;
  color: var(--clr-neutral-900);
}

.title-hover-state,
a:hover {
  color: var(--clr-gold-drop);
  cursor: pointer;
}


#nav-right-side {
	display: grid;
    grid-template-columns: 27% 20% 27%;
    gap: 30px;
	word-break: break-all;
}

#left-title {
	display: grid;
	grid-template-columns: auto auto;
    justify-content: flex-start;
    gap: 36px;
    word-break: break-all;
}

.silhouette-image-container img {
  filter: brightness(0);
  position: relative; 
  top: 0;
  transition: 0.2s;
  transition-timing-function: steps;
}

.silhouette-image-container img:hover {
  filter: none;
  position: relative; 
  transition: 0.2s;
  transition-timing-function: steps;
}


.nav-mobile {
  font-size: var(--fs-xxl);
  text-transform: uppercase;
}

.nav-projects {
  writing-mode: vertical-lr;
  transform: rotate(180deg);
}

.nav-contact {
  writing-mode: vertical-lr;
  float: right;
}

.nav-architects {
  transform: rotate(180deg);
  position: fixed;
  bottom: 10px;
  right: 35%;
}

#fa-resize-bar {
  position: absolute;
  right: 0;
  top: 0;
  width: 30px;
  height: 100%;

}

#fa-resize-bar:before {
  content: " ";
  top: 0;
  bottom: 0;
  left: 50%;
  /* border-right: dotted 3px var(--clr-neutral-500);
  */position: absolute;
}

#fa-resize-bar:hover:before {
  content: " ";
  top: 0;
  bottom: 0;
  left: 45%;
  width: 5px;
  background-color: var(--clr-neutral-900);
  position: absolute;
}

#fa-resize-bar:hover {
  cursor: url("https://files.cargocollective.com/c1610696/state-colResize.png"), auto !important;;
  transition: 0.3s;
  transition-timing-function: ease;
}

.fa-footer {
	font-size: var(--fs-xs);
    font-weight: var(--fw-reuglar);
    letter-spacing: -0.6px;
    
}

[data-container=content]#fa-left-side {
	transition: width 3000ms linear !important;
}

.social-icon:hover {
    filter: invert(1);
}

[data-draggable] {
    background-color: transparent !important
}

/* 
these width are used on the JS file to handle the right and left widths
we are using important to override cargo's default width*/

.w10 {
	width: 10% !important;
}

.w20 {
	width: 20% !important;
}

.w30 {
	width: 30% !important;
}

.w40 {
	width: 40% !important;
}

.w50 {
	width: 50% !important;
}

.w60 {
	width: 60% !important;
}

.w70 {
	width: 70% !important;
}

.w80 {
	width: 80% !important;
}

.w90 {
	width: 90% !important;
}

.w100 {
	width: 100% !important;
}

/* cargo styles */

[data-css-preset] .container {
  margin-left: auto /*!content_right*/;
  margin-right: 0 /*!content_right*/;
  text-align: left /*!text_center*/;
}

[data-css-preset] .container_width {
  width: 50% /*!content_right*/;
}

[data-css-preset] body {
  background-color: rgb(247, 244, 234)/*!body_bgcolor*/;
}

[data-css-preset] .content_padding {
  padding-top: 0.8rem /*!main_margin*/;
  padding-bottom: 0.8rem /*!main_margin*/;
  padding-left: 0.8rem /*!main_margin*/;
  padding-right: 0.8rem /*!main_margin*/;
}

/* custom cursor */
html {
  cursor: url("https://files.cargocollective.com/c1610696/state-default--3-.svg"), auto !important;
}

a,
.content img {
  cursor: url("https://files.cargocollective.com/c1610696/state-hover.svg"), auto !important;
}

.col-resize {
	cursor: url("https://files.cargocollective.com/c1610696/state-colResize.png"), auto !important;
}


/* little hover animations for project banners */

.project-banner :hover {
  box-shadow: 0 0 20px rgba(33, 33, 33, 0.4); 
}

/* add text selector colors */
::-moz-selection { /* Code for Firefox */
  background: var(--clr-gold-drop);
}

::selection {
  background:var(--clr-gold-drop);
}

/* add extra padding on the page for mobile */

@media (max-width: 780px) {
  .main_container {
      padding: 48px 34px 34px 44px;
	}
    
   .project-home{
	top: 18px;
}
    
}

.flier {
	pointer-events: none;
}

.flier > * {
/* Adjust animation duration to change the element’s speed */
        animation: fly 50s linear infinite;
        pointer-events: none !important;
	top: 0;
	left: 0;
	transform: translateX(-120%) translateY(-120%) rotateZ(0);
	position: fixed;
	animation-delay: 1s;
	z-index: 999999;
}

 /* Keyframe values control where the element will begin
    and end its trajectory across the screen. Each rule
    represents a path the element follows across the screen. */



@keyframes fly {

	98.001%, 0% {
                display: block;
		transform: translateX(-200%) translateY(100vh) rotateZ(0deg)
	}

	15% {
		transform: translateX(100vw) translateY(-100%) rotateZ(0deg)
	}

	15.001%, 18% {
		transform: translateX(100vw) translateY(-30%) rotateZ(0deg)
	}

	40% {
		transform: translateX(-200%) translateY(3vh) rotateZ(0deg)
	}

	40.001%, 43% {
		transform: translateX(-200%) translateY(-100%) rotateZ(0deg)
	}

	65% {
		transform: translateX(100vw) translateY(50vh) rotateZ(0deg)
	}

	65.001%, 68% {
		transform: translateX(20vw) translateY(-200%) rotateZ(0deg)
	}

	95% {
		transform: translateX(10vw) translateY(100vh) rotateZ(0deg)
	}
}

/* gallery icons to black from outlined */
.pswp__button svg .shape-shape {
    fill: transparent!important;
    stroke: #000!important;
    stroke-width: 1.5px;
    stroke-linecap: square;
}

/* add underline to social media links */
.social-media {
	text-decoration: underline;
}

/* make studio page text bigger */
.studio-text {
	font-size: var(--fs-m);
    line-height: var(--lh-m);
}

/* make project home img yellow boarder on hover */
.project-home img:hover {
	outline: 3px solid var(--clr-gold-drop);
}

[data-css-preset] .quick-view-background {
	background: rgba(0, 0, 0, 0.74) /*!quick_view_bgcolor*/;
}