/*--------------------------------------------------------------
## Root.
--------------------------------------------------------------*/

:root {
	--white: #fff;
	--black: #231f20;
	--grey: #eeeeee;

	--font-size: 16px;

	--spacer: 40px;
	--half-spacer: calc(var(--spacer) / 2);
	--four-spacer: calc(var(--spacer) * 4);

}

/*--------------------------------------------------------------
## Font.
--------------------------------------------------------------*/

@font-face {
	font-family: 'Replica-Regular';
	src: url('../font/Replica-Regular.woff') format('woff'),
			 url('../font/Replica-Regular.woff') format('woff2');
	font-weight: 400;
	font-style: normal;
	font-stretch: normal;
	font-display: swap;
}

@font-face {
	font-family: 'VerdigrisMVBProText-Rg';
	src: url('../font/VerdigrisMVBProText-Rg.woff') format('woff'),
			 url('../font/VerdigrisMVBProText-Rg.woff2') format('woff2');
	font-weight: 400;
	font-style: normal;
	font-stretch: normal;
	font-display: swap;
}

/*--------------------------------------------------------------
## Global.
--------------------------------------------------------------*/

* {
	box-sizing: border-box;
	margin: 0;
	padding: 0;
  text-rendering: optimizeLegibility;
}
*:focus {
	outline: none;
}

::selection {
  background: #c7c7c770;
  opacity: 0.3;
}

html,
body {
	width: 100%;
	height: 100vh; /* Use vh as a fallback for browsers that do not support Custom Properties */
  height: calc(var(--vh, 1vh) * 100);
	position: relative;
	font-family: 'VerdigrisMVBProText-Rg', sans-serif;
	font-size: var(--font-size);
	font-weight: 400;
	line-height: 1.3;
	letter-spacing: 0.01rem;
	background: var(--grey);

	scrollbar-width: none;
  -ms-overflow-style: none;
}

html::-webkit-scrollbar,
body::-webkit-scrollbar { 
  width: 0;
  height: 0;
  display: none;
}

a {
	color: var(--black);
	text-decoration: none;
	opacity: 1;
	transition: opacity 0.5s ease;
}
a:hover {
	opacity: 0.5;
}

p {
	font-size: 1.25rem;
	font-variant-numeric: oldstyle-nums;
}
.center p span {
	font-variant: small-caps;
}

h1,
h2 {
	font-family: 'Replica-Regular', sans-serif;
	font-weight: 400;
	letter-spacing: 0.04rem;
}

h1 {
	font-size: 2.5rem;
	line-height: 1;
}

h2 {
	font-size: 1.25rem;
	line-height: 1.2;
}



/*--------------------------------------------------------------
## Main.
--------------------------------------------------------------*/

#intro {
	width: 100%;
	height: 100vh; /* Use vh as a fallback for browsers that do not support Custom Properties */
  height: calc(var(--vh, 1vh) * 100);
  position: fixed;
  top: 0;
  left: 0;
  display: flex;
  flex-flow: row wrap;
  justify-content: center;
  align-content: center;
  align-items: center;
  background-color: var(--black);
  z-index: 10;
  cursor: pointer;
}

#intro svg {
	height: 115px;
  fill: white;
}

#intro h1 {
  margin-left: 60px;
	color: white;
}

.center {
	padding: 0 var(--spacer);
	width: 100%;
  height: auto;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}
.center p {
	margin: 0 auto;
	width: 66.66%;
	text-align: justify;
}

.top-left {
	padding: var(--spacer);
	width: auto;
  position: fixed;
  top: 0;
  left: 0;
}
.top-left svg {
	height: 115px;
}

.top-right {
	padding: var(--spacer);
  position: fixed;
  top: 0;
  right: 0;
  text-align: right;
}

.bottom-left {
	padding: var(--spacer);
  position: fixed;
  bottom: 0;
  left: 0;
}



@media only screen and (max-width: 1000px) {
	:root {
		--font-size: 14px;
	}
	#intro svg,
	.top-left svg {
		height: 97px;
	}
}
@media only screen and (max-width: 900px) {
	:root {
		--spacer: 20px;
	}
	.center p {
		margin: 0 auto;
		width: 100%;
	}
}
@media only screen and (max-width: 700px) {
	h1 {
		font-size: 1.7rem;
	}
	p,
	h2 {
		font-size: 1rem;
	}
	#intro div {
		flex-basis: 100%;
    display: flex;
    justify-content: center;
    margin-bottom: var(--spacer);
	}
	#intro svg,
	.top-left svg {
		height: 70px;
	}
	#intro h1 {
	  margin-left: 0;
	}
}