@font-face {
    font-family: 'SGA-regular';
    src: url('../fonts/SGA-Regular.eot');
    src: url('../fonts/SGA-Regular.eot?#iefix') format('embedded-opentype'),
        url('../fonts/SGA-Regular.woff2') format('woff2'),
        url('../fonts/SGA-Regular.woff') format('woff'),
        url('../fonts/SGA-Regular.ttf') format('truetype'),
        url('../fonts/SGA-Regular.svg#SGA-Regular') format('svg');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'SGA-medium';
    src: url('../fonts/SGA-Medium.eot');
    src: url('../fonts/SGA-Medium.eot?#iefix') format('embedded-opentype'),
        url('../fonts/SGA-Medium.woff2') format('woff2'),
        url('../fonts/SGA-Medium.woff') format('woff'),
        url('../fonts/SGA-Medium.ttf') format('truetype'),
        url('../fonts/SGA-Medium.svg#SGA-Medium') format('svg');
    font-weight: 500;
    font-style: normal;
}

@font-face {
    font-family: 'SGA-bold';
    src: url('../fonts/SGA-Bold.eot');
    src: url('../fonts/SGA-Bold.eot?#iefix') format('embedded-opentype'),
        url('../fonts/SGA-Bold.woff2') format('woff2'),
        url('../fonts/SGA-Bold.woff') format('woff'),
        url('../fonts/SGA-Bold.ttf') format('truetype'),
        url('../fonts/SGA-Bold.svg#SGA-Bold') format('svg');
    font-weight: bold;
    font-style: normal;
}

@font-face {
    font-family: 'SGA-black';
    src: url('../fonts/SGA-Black.eot');
    src: url('../fonts/SGA-Black.eot?#iefix') format('embedded-opentype'),
        url('../fonts/SGA-Black.woff2') format('woff2'),
        url('../fonts/SGA-Black.woff') format('woff'),
        url('../fonts/SGA-Black.ttf') format('truetype'),
        url('../fonts/SGA-Black.svg#SGA-Black') format('svg');
    font-weight: bold;
    font-style: normal;
}


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

:root {
	font-size: 15px;
}

body {
	margin: 0;
	--color-text: #252422;
	--color-bg: #f4f4f4;
	--color-link: #252422;
	--color-link-hover: #252422;
	color: var(--color-text);
	background-color: var(--color-bg);
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	font-family: 'SGA-regular', sans-serif;
}

/* Grainy texture animation by Geoff Graham https://css-tricks.com/snippets/css/animated-grainy-texture/ */


main::before {
	animation: grain 8s steps(10) infinite;
	background-image: url(../img/noise.png);
	content: '';
	height: 300%;
	left: -50%;
	opacity: 0.6;
	position: fixed;
	top: -100%;
	width: 300%;
}

@keyframes grain {
  0%, 100% { transform:translate(0, 0); }
  10% { transform:translate(-5%, -10%); }
  20% { transform:translate(-15%, 5%); }
  30% { transform:translate(7%, -25%); }
  40% { transform:translate(-5%, 25%); }
  50% { transform:translate(-15%, 10%); }
  60% { transform:translate(15%, 0%); }
  70% { transform:translate(0%, 15%); }
  80% { transform:translate(3%, 35%); }
  90% { transform:translate(-10%, 10%); }
}

a {
	text-decoration: none;
	color: var(--color-link);
	outline: none;
}

a:hover,
a:focus {
	color: var(--color-link-hover);
	outline: none;
    filter: alpha(opacity=30);
    -moz-opacity: 0.3;
    -khtml-opacity: 0.3;
    opacity: 0.3;
    -webkit-transition: all .3s ease-in-out;
    -moz-transition:    all .3s ease-in-out;
    -o-transition:      all .3s ease-in-out;
    -ms-transition:     all .3s ease-in-out;
    transition:         all .3s ease-in-out;
}

.frame {
	padding: 3rem 5vw;
	text-align: center;
	position: relative;
	z-index: 1000;
	line-height: 1;
  text-transform: uppercase;
  font-size: 0.9rem;
}

footer {
	padding: 3rem 5vw;
	text-align: center;
	position: relative;
	z-index: 1000;
	line-height: 1;
  text-transform: uppercase;
  font-size: 0.9rem;
}

.frame__title {
	font-size: 0.9rem;
	margin: 0 0 1rem;
  font-family: 'SGA-regular', sans-serif!important;
	font-weight: 400!important;
	text-transform: uppercase;
  letter-spacing: -0.05em!important;
}

.frame__links {
  font-size: 0.9rem;
	display: inline;
	text-transform: uppercase;
  font-family: 'SGA-regular', sans-serif!important;
}

.frame__foot__right {
  font-size: 0.9rem;
	display: inline;
	text-transform: uppercase;
}

.frame__foot__right a {
  margin-right: 20px;
}
.frame__foot__right a.last {
  margin-right: 0;
}

.frame__links a:not(:last-child),
.frame__foot__right a:not(:last-child), {
	margin-right: 1rem;
}

/* .frame__demos {
	margin: 1rem 0;
}

.frame__demo--current,
.frame__demo--current:hover {
	color: var(--color-text);
} */

.menu {
	-webkit-touch-callout: none;
	-webkit-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	user-select: none;
	padding: 10vh 0 25vh;
	--marquee-width: 100vw;
	--offset: 20vw;
	--move-initial: calc(-25% + var(--offset));
	--move-final: calc(-50% + var(--offset));
	--item-font-size: 10vw;
	counter-reset: menu;
}

.menu__item {
	cursor: default;
	position: relative;
	/* padding: 0 5vw; */
	padding: 0 4vw;
}

.menu__item-link {
	display: inline-block;
	cursor: pointer;
	position: relative;
	/* -webkit-text-stroke: 1.5px #000;
	 text-stroke: 1.5px #000;
	-webkit-text-fill-color: transparent;
	text-fill-color: transparent;
	color: transparent;
	transition: opacity 0.4s; */
	font-family: 'SGA-bold', sans-serif!important;
	text-transform: uppercase!important;
	font-weight: 700!important;
	letter-spacing: -0.05em!important;
}

.menu__item-link span.numb {
  font-size: 1.4rem!important;
  letter-spacing: -.02em;
  vertical-align: top;
  display: inline-block;
  transform: translateY(50%);
  font-family: 'SGA-regular', sans-serif!important;
}

.menu__item-link::before {
	all: initial;
	font-family: 'SGA-bold', sans-serif!important;
	/* counter-increment: menu;
	content:  "0" counter(menu); */
	position: absolute;
	bottom: 60%;
	left: 0;
	pointer-events: none;
	text-transform: uppercase!important;
	font-weight: 700!important;
}

.menu__item-link:hover {
	transition-duration: 0.1s;
	opacity: 0;
	text-transform: uppercase!important;
	font-weight: 700!important;
}

.menu__item-img {
	pointer-events: none;
	position: absolute;
	height: 50vh;
	max-height: 400px;
	opacity: 0;
	left: 100%;
	top: 50%;
	transform: translate3d(calc(-100% - 6vw),-30%,0) translate3d(0,20px,0);
}

.menu__item-link:hover + .menu__item-img {
	opacity: 1;
	transform: translate3d(calc(-100% - 6vw),-30%,0) rotate3d(0,0,1,4deg);
	transition: all 0.4s;
}



.about__wrap {
	/* padding: 10vh 0 25vh; */
	padding: 10vh 0 10vh 0;
	float: left;
}

.about__item {
	cursor: default;
	position: relative;
	padding: 0 6vw;
}

.about__item p {
	display: inline-block;
	cursor: pointer;
	position: relative;
	font-family: 'SGA-regular', sans-serif!important;
	/* text-transform: uppercase!important; */
	/* font-weight: 400!important; */
	letter-spacing: -0.05em!important;
	/* font-size: 6.4vw; */
	line-height: 1;
	font-size: 5vw;
	margin-bottom: 0;
}

.about__item span {
	font-family: 'SGA-regular', sans-serif!important;
	font-weight: 400!important;
}

.about__item h2 {
  font-family: 'SGA-bold', sans-serif!important;
	text-transform: uppercase!important;
	font-weight: 700!important;
	letter-spacing: -0.05em!important;
  font-size: 9vw;
  line-height: 1;
  margin: 0;
}


.currently__wrap {
	padding: 0 0 0 0;
  float: left;
}

.currently__item{
	cursor: default;
	position: relative;
	padding: 0 6vw;
}

.currently__item p {
	display: inline-block;
	cursor: pointer;
	position: relative;
	font-family: 'SGA-regular', sans-serif!important;
	text-transform: uppercase!important;
	/* font-weight: 400!important; */
	letter-spacing: -0.05em!important;
  /* font-size: 6.4vw; */
  line-height: 1;
  font-size: 3rem;
}

.currently__line__title {
    height: 1px;
    margin: 4rem 0 0 0;
    background-color: #191918;
}

.currently__line {
    height: 1px;
    margin: 0 0 2rem 0;
    background-color: #191918;
}

.currently__line__bottom {
    height: 1px;
    margin: 2rem 0 0 0;
    background-color: #191918;
}

/* Make sure 3 items are visible in the viewport by setting suitable font size. */

.marquee {
	position: absolute;
	top: 0;
	left: 0;
	width: var(--marquee-width);
	overflow: hidden;
	pointer-events: none;
	mix-blend-mode: color-burn;
}

.marquee__inner {
	width: fit-content;
	display: flex;
	position: relative;
	transform: translate3d(var(--move-initial), 0, 0);
	animation: marquee 5s linear infinite;
	animation-play-state: paused;
	opacity: 0;
	transition: opacity 0.1s;

	font-family: 'SGA-bold', sans-serif!important;
	text-transform: uppercase!important;
	font-weight: 700!important;
	letter-spacing: -0.05em!important;

	-webkit-text-stroke: 1px #000;
	 text-stroke: 1.5px #000;
	-webkit-text-fill-color: transparent;
	text-fill-color: transparent;
	color: transparent;
	transition: opacity 0.4s;
}

.menu__item-link:hover ~ .marquee .marquee__inner {
	animation-play-state: running;
	opacity: 1;
	transition-duration: 0.4s;
}

.marquee span {
	text-align: center;
}

.menu__item-link,
.marquee span {
	white-space: nowrap;
	font-size: var(--item-font-size);
	padding: 0 1vw;
	font-weight: 900;
	/* line-height: 1.15; */
	line-height: 1;
	text-transform: uppercase!important;
	font-weight: 700!important;
}

.marquee span {
	/* font-style: italic; */
}

@keyframes marquee {
	0% {
		transform: translate3d(var(--move-initial), 0, 0);
	}

	100% {
		transform: translate3d(var(--move-final), 0, 0);
	}
}

/* @media screen and (min-width: 53em) { */

	.menu__item-link,
	.marquee span {
		line-height: 1;
	}

	.frame {
		text-align: left;
		display: grid;
		align-content: space-between;
		width: 100%;
		padding: 2.5rem 6vw;
		/* pointer-events: none; */
		grid-template-columns: 75% 25%;
		grid-template-rows: auto;
	}

	footer {
		text-align: left;
		display: grid;
		align-content: space-between;
		width: 100%;
		padding: 2.5rem 6vw;
		/* pointer-events: none; */
		grid-template-columns: 75% 25%;
		grid-template-rows: auto;
	}

	.frame__title-wrap {
		display: flex;
		align-items: start;
	}

	.frame__foot {
		display: flex;
		align-items: start;
	}

	.frame__info {
		margin: 0;
	}

	.frame__title {
		margin: 0 1rem 0 0;
	}

	.frame__links {
		padding: 0;
		justify-self: end;
	}

	.frame__foot__right {
		padding: 0;
		justify-self: end;
	}

	.frame a {
		pointer-events: auto;
	}
/* } */

@media only screen and (max-width: 600px) {

  .menu__item-link span.numb {
    font-size: 0.8rem!important;
  }

  .about__wrap {
    padding-bottom: 4vh;
  }

  .about__item p {
    padding: 1vh 0 1vh 0;
  }

  .currently__item p {
    line-height: 1.1;
    font-size: 1.4rem;
    margin: 1vh 0 1vh 0;
  }
  
  .frame__foot__right a {
    margin-right: 0px;
  }

}
