/* Background */

	#z-1 {
    	  position: absolute;
        top: 0px;
        left: 0px;
    
        width: 100vw;
        height: 100vh;

        z-index: -2;
        overflow: hidden;
        object-fit: cover; }

  #z-2{
          position: absolute;

          width: 100vw;
          min-height: 1200px;
          object-fit: cover;

          -webkit-animation: move 90s;
          z-index: -3;
          animation-iteration-count: infinite;
        }
        @-webkit-keyframes move 
        {
          from{
            top:0px;
          }
          to{
            top: 410px;
          } 
        }

/* Fonts */

@font-face {
	font-family: 'Pretendard';
	font-weight: 500;
	font-display: swap;
	src: local('Pretendard Medium'), url(./woff2/Pretendard-Medium.woff2) format('woff2'), url(./woff/Pretendard-Medium.woff) format('woff');
  src: url('Pretendard-Medium.woff2') format('woff2');
}

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


/* Clears */

*, *:before, *:after {
	margin: 0;
	padding: 0;
	font-size: 100%;
	font-weight: normal;
	border: 0px solid;
	-webkit-font-smoothing: antialiased;
  -webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
	list-style: none;
}

a, a:link {
  color: inherit;
  text-decoration: none;
}

/* Type */

body, html {
  height: 100vh;
  overflow: hidden;
}

body {
	font: 1.4vh/1.3em 'Pretendard';
	font-weight: 500;
	color: #000;
  background-position: top center;
  background-color: #e6e6e6;
  background-image: url('/assets/images/background/2023.jpg');
  background-repeat: no-repeat;
  background-size: cover;
	margin: 0 0;
	transition: transform 1s;
}

.intro{
  line-height: 1.4em;
}

h1 {
  font-size: 1.1em;
  text-transform: uppercase;
  letter-spacing: .1em;
}

h1, h2, h3, h5, h4  {
  font-family: 'Pretendard';
	font-weight: 500;
}

h4 {
  text-transform: uppercase;
  letter-spacing: .1em;
}

p:first-child,
h4 + p,
h5 + p {
  margin-top: 0;
}

p,
p + h5,
h4 + h5,
h3 + h4,
h3 + h5 {
  margin-top: 1em;
}

p + h4,
ul + h4 {
  margin-top: 2em;
}


.intro a,
.big a,
a.fancy,
#close {
  border-bottom: 1px solid #000;
}

a:hover {
  border-bottom: 1px solid #000;
}

nav a,
.home p a.fancy {
  xbackground-color: #ffeb63;
}

nav a:hover,
.home p a.fancy:hover,
a[title]:hover {
    border: none;
}

#overlay a.fancy {
  background: #ffffff;
}

nav a:hover,
.home p a.fancy:hover {
  background: lightgrey;
}

.second-line {
  display: block;
}

.flip {
  display: inline-block;
  -webkit-transform: rotateY(180deg) rotateX(180deg);
  transform: rotateY(180deg) rotateX(180deg);
  direction: rtl;
}

.small {
  font-size: 1.2vh;
  line-height: 1.3em;
}

h2,
.big {
  font-size: 2vh !important;
  line-height: 1.3em !important;
  font-family:'Pretendard Variable';
  font-weight: normal;
}


/* Layout */

footer {
  position: relative;
  bottom: auto;
  left: auto;
  margin-top: 4em;
}

/* Pages */

#page {
  position: relative;
  background: #fff;
  width: 61.8vh;
  xheight: 80vh;
  transform: rotate(-2deg);
  padding: 2.5vh 2.5vh;
  
  margin: 17vh auto 0 auto;
  -webkit-box-shadow: 10px 10px 34px -6px rgba(0, 0, 0, 0.18);
  -moz-box-shadow: 10px 10px 34px -6px rgba(0, 0, 0, 0.18);
  box-shadow: 1.5vh 1.5vh 3vh -2vh rgba(0, 0, 0, 1);
  cursor: grab;
  z-index: 1000;
  overflow: hidden;
  overflow-y: hidden;
  max-height: 85%;
}

#overlay {
  position: absolute;
  left: 50%;
  top: 15vh;
  transform: translate(-50%, -50%);
  z-index: 10000;
}

#page.a1 {
  width: 44vh;
  height: 72.4vh;
  margin-top: 7vh;
  transform: rotate(-2.5deg) !important;
  cursor: pointer;
}

#page.a3 {
  width: 40vh;
  xheight: 60vh;
}

#logo {
  width: auto;
  height: 7.75vh;
  display: block;
  position: absolute;
  top: 20px;
  left: 20px;
}

.yellow {
  background-color: #ffeb63 !important;
}

/* Nav */

nav h5 {
  margin-top: 1em;
}

nav li:first-child h5 {
  margin-top: 0;
}

/* Columns */

.full {
  overflow: hidden;
}

.col {
  float: left;
  margin-right: 2.5vh;
  padding-top: 2.5vh;
  margin-bottom: 2.5vh;
}

.col li {
}

.two {
  width: 36.5vh;
}

.a1 .half {
  width: 16.5vh;
}

.a3 .half {
  width: 45%;
}

.one {
  width: 17vh;
}

h3 + .two,
.one + .one + .one,
.last  {
  margin-right: 0;
}

.split {
  columns: 2;
  column-gap: 2.5vh;
}

.split3 {
  columns: 3;
  column-gap: 2.5vh;
}


.break {
  -webkit-column-break-before:always; column-break-before: always;
}

.threes {
  columns: 3 !important;
}

header .col {
  border-top: none;
  padding-top: 1vh;
}

/* Rules */

.ruled,
.information .col.half.last,
.home .full {
  border-top: 2px solid;
}

/* home */

.home h2 {
  display: none;
}

.home #overlay h2 {
  display: block;
}

.home .full .col {
  font-size: 1.4vh;
  line-height: 1.3em;
}



/* Information */

.information .col.half {
  width: 100%;
  columns: 2;
  column-gap: 2.5vh;
  font-size: 1.4vh;
  line-height: 1.3em;
}

.information .col.half.last h5 {
  -webkit-column-span: all; /* Chrome, Safari, Opera */
    column-span: all;
}

.information .col.half.last {
  font-size: 1.1vh;
  line-height: 1.3em;
}

/* Overlay */

#overlay #page {
  margin: 0 auto;
  background: #f9f9f9;
}

#close {
  text-transform: capitalize;
  margin-top: 1em;
  display: inline-block;
  cursor: pointer;

}

/* Tips */

a[title] {
  display: inline-block;
}

.tip-wrap {
  z-index: 10000;
  background-color: #ffeb63;
  opacity: .9;
  padding: 1.25vh 1.25vh;
  width: 35vh;
}

.tip-text {
  display: none;
}

/* hide Stuff */

.mobile {
  display: none;
}
