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

:root {
	--white: #fff;
	--black: #000;
	--greenery: #b8cfbf;

	--font-size: 16px;

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

}

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

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

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

@font-face {
	font-family: 'ReplicaLLWeb-Regular';
	src: url('../font/ReplicaLLWeb-Regular.woff') format('woff'),
			 url('../font/ReplicaLLWeb-Regular.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: 100%;
	position: relative;
	font-family: 'ScotchModern', sans-serif;
	font-variant-numeric: oldstyle-nums;
	font-size: var(--font-size);
	font-weight: 400;
	line-height: 1.3;
	letter-spacing: 0.01rem;
	background: var(--greenery);

	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;
	transition: all 0.3s ease;
}
a:hover {
	color: var(--grey)!important;
}

p {
	font-size: 0.9rem;
}

em {
	font-family: 'ScotchModern-Italic', sans-serif;
	font-style: normal;
}
sup {
	vertical-align: top;
	font-size: 0.6em;
}

h1 {
	font-size: 2.9rem;
	font-weight: 400;
}



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

.center {
	width: 33%;
  height: auto;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}
.center img {
	width: 100%;
  height: auto;
}

.top-left {
	padding: var(--spacer);
	width: auto;
  position: fixed;
  top: 0;
  left: 0;
}
.top-left img{
	width: 30vw;
}
.top-right {
	padding: var(--spacer);
  position: fixed;
  top: 0;
  right: 0;
}
.bottom-left {
	padding: var(--spacer);
  position: fixed;
  bottom: 0;
  left: 0;
}
.bottom-left span {
	font-variant: small-caps;
}
.bottom-left a,
.bottom-left p:first-child {
	display: none;
}
.bottom-right {
	padding: var(--spacer);
  position: fixed;
  bottom: 0;
  right: 0;
}


@media only screen and (max-width: 1200px) {
	:root {
		--font-size: 16px;
	}
}
@media only screen and (max-width: 1000px) {
	:root {
		--font-size: 14px;
	}
}
@media only screen and (max-width: 900px) {
	:root {
		--spacer: 20px;
	}
	.center {
		width: 60%;
	}
}
@media only screen and (max-width: 700px) {
	.center {
		width: 70%;
	}
	.top-left img{
		width: 70vw;
	}
	.top-left,
	.bottom-left {
		width: 100%;
		text-align: center;
	}
	.bottom-left a,
	.bottom-left p:first-child {
		display: block;
	}
	.top-right,
	.bottom-right {
		display: none;
	}
}