@import url(http://fonts.googleapis.com/earlyaccess/notosanskr.css);
@import url(https://fonts.googleapis.com/css?family=Open+Sans:400,700,800);

#header {
  padding: 2rem;
}

#menu {
background: rgba(204,16,14,0.7); 
  height: 100%;
  left: 0;
  opacity: 0;
  overflow: hidden;
  position: fixed;
  text-align: center;
  top: 0;
  transition: all 0.7s ease-in-out;
  visibility: hidden;
  width: 100%;
  z-index: 999999;
}
#menu.open {
  opacity: 0.97;
  visibility: visible;
}
#menu.open li:nth-child(1) {
  -webkit-animation-delay: 0.1s;
          animation-delay: 0.1s;
}
#menu.open li:nth-child(2) {
  -webkit-animation-delay: 0.2s;
          animation-delay: 0.2s;
}
#menu.open li:nth-child(3) {
  -webkit-animation-delay: 0.3s;
          animation-delay: 0.3s;
}
#menu.open li:nth-child(4) {
  -webkit-animation-delay: 0.4s;
          animation-delay: 0.4s;
}
#menu.open li:nth-child(5) {
  -webkit-animation-delay: 0.5s;
          animation-delay: 0.5s;
}
#menu.open li:nth-child(6) {
  -webkit-animation-delay: 0.6s;
          animation-delay: 0.6s;
}
#menu.open li:nth-child(7) {
  -webkit-animation-delay: 0.7s;
          animation-delay: 0.7s;
}
#menu.open li:nth-child(8) {
  -webkit-animation-delay: 0.8s;
          animation-delay: 0.8s;
}
#menu.open li:nth-child(9) {
  -webkit-animation-delay: 0.9s;
          animation-delay: 0.9s;
}
#menu.open li:nth-child(10) {
  -webkit-animation-delay: 1s;
          animation-delay: 1s;
}
#menu.open li {
  -webkit-animation-duration: 1s;
          animation-duration: 1s;
  -webkit-animation-fill-mode: both;
          animation-fill-mode: both;
  -webkit-animation-name: fadeInUp;
          animation-name: fadeInUp;
}
#menu ul:hover a {
  opacity: 0.5;
}
#menu ul img {
  height: 3.2rem;
}
#menu ul a {
  -webkit-transform: translateZ(0);
  transition: opacity 1s ease-in-out;
}
#menu ul a:hover {
  opacity: 1;
}
#menu .main-nav {
  position: relative;
  top: 50%;
  transform: translateY(-50%);
}
#menu .main-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
#menu .main-nav a {
  //font-family: "open sans";
  font-family: serif;
  color: var(--black);
  display: block;
  font-weight: 700;
  padding: 0px 0rem;
  text-decoration: none;
  font-size: 40pt;
  letter-spacing:-1px;
}
#menu .main-nav a:first {
  padding-top: 0;
}
#menu .menu-footer img {
height: 14px;
}
#menu .menu-footer {
  padding: 2rem;
  top: 0;
  left: 0;
  position: fixed;
  right: 0;
}
#menu .menu-footer ul {
  display: inline-block;
  list-style: none;
  margin: 0;
  padding: 0;
}
#menu .menu-footer ul li {
  display: inline;
  margin: 0 1rem;
}
#menu .menu-footer a {
  color: var(--black);
  text-decoration: none;
  text-transform: uppercase;
}

.toggle-menu {
  background-color: transparent;
  border: none;
  cursor: pointer;
  display: inline-block;
  float: right;
  height: 50px;
  outline: none;
  padding: 0;
  pointer-events: initial;
  position: fixed;
  right: 25px;
  top: 25px;
  vertical-align: middle;
  width: 50px;
  z-index: 9999999;
}
.toggle-menu span {
  background-color: #232323;
  content: "";
  display: block;
  height: 2px;
  left: calc(50% - 13px );
  position: absolute;
  top: calc(50% - 1px );
  transform-origin: 50% 50%;
  transition: background-color 0.2s ease-in-out, top 0.2s 0.2s ease-out, transform 0.2s linear;
  width: 26px;
}
.toggle-menu span:before, .toggle-menu span:after {
  background-color: #232323;
  content: "";
  display: block;
  height: 2px;
  position: absolute;
  transform-origin: 50% 50%;
  transition: background-color 0.2s ease-in-out, top 0.2s 0.2s ease-out, transform 0.2s linear;
  width: 20px;
  margin-left: 6px;
}
.toggle-menu span:before {
  top: 8px;
}
.toggle-menu span:after {
  top: -8px;
}
.toggle-menu.active span {
  background-color: transparent;
  transition: background 0.2s ease-out;
}
.toggle-menu.active span:before, .toggle-menu.active span:after {
  transition: top 0.2s ease-out, transform 0.2s 0.2s ease-out;
  background-color: var(--black);
}
.toggle-menu.active span:before {
  top: 0;
  transform: rotate3d(0, 0, 1, -45deg);
}
.toggle-menu.active span:after {
  top: 0;
  transform: rotate3d(0, 0, 1, 45deg);
}



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

.toggle-menu {
  height: 33px;
  width: 33px;
  right: 20px;
  top: 20px;
}

}

.toggle-menu span {
  width: 26px;
}

.toggle-menu span:before, .toggle-menu span:after {
  width: 20px;
  margin-left: 6px;
}

#menu .main-nav a {
  padding: 3px 1rem; 
}


:root {
--black: #222222;
--red: #d22425;
--yellow: #e6c93a;
}

html,body {
padding: 0;
margin: 0;
background: var(--red);
text-align: center;
background-image: url('https://imgur.com/2JQOEe1.jpg');
background-size: 1300px auto;
background-repeat: repeat;}

img {
max-width: 100%;
border: 0px;
}

a:link    {color:inherit;text-decoration:none;}
a:visited {color:inherit;text-decoration:none;}
a:active  {color:inherit;text-decoration:none;}
a:hover   {color:inherit;text-decoration:none;}

::-webkit-scrollbar {
    width: 5px;
    height: 5px;
    background: var(--red);
}

::-webkit-scrollbar-thumb {
    width: 5px;
    background: var(--black);
}

.container {
width: 700px;
max-width: 84%;
-webkit-animation: opacity 1s ease-in-out;
animation: opacity 1s ease-in-out;
text-align: left;
margin: auto;
padding: 30px 0px 50px;
}

.t1 {width: 450px;}
.t2 {width: 160px; margin-top: 15px;}

.c_contents {
padding: 70px 0px 30px;
}

.copy {
width: 80px;
}

.f_list {
width: 270px;
float: right;
border-top: 1px solid var(--black);
padding: 20px 0px;
font-family: 'noto sans kr';
margin: 0px 7px;
font-weight: bold;
font-size: 12pt;
letter-spacing: -1px;
}

.f_name {
width: 30px;
font-weight: normal;
font-size: 9pt;
border-top: 3px solid var(--black);
margin-top: 10px;
padding-top: 5px;
}


@keyframes opacity {
0% {opacity: 0;}
100% {opacity: 1;}
}

@keyframes blink {
0% {opacity: 1;}
50% {opacity: 0.5;}
100% {opacity: 1;}
}

@keyframes border {
0% {left: -700px}
100% {left: 0%}
}


.c_up {
width: 50px;
position: fixed;
right: 25px;
bottom: 25px;
z-index: 99999;
display: block;
}


@media screen and (max-width: 830px) {
html,body {
background-size: 800px auto;}

.c_up {
width: 45px;
right: 20px;
bottom: 20px;
}

.container {
max-width: 84%;
padding: 20px 0px 40px;
}

.t1 {width: 100%; max-width: 500px;}
.t2 {width: 160px; margin-top: 15px;}

.c_contents {
padding: 80px 0px 30px;
}

.f_list {
width: 250px;
}

}


.ver {
	width:70px;
	z-index:999999;
	animation:top 1.2s ease forwards;
margin: auto;
}

.ver_b {
	display:flex;
	justify-content:space-between;
	height:27px;
	line-height:24px;
	color:var(--red) !important;
	border:solid var(--red) 1.5px;
	border-radius:5px;
	padding:0 10px;
	font-size:11px;
	font-weight:900;
	box-sizing:border-box;
	cursor:pointer;
        font-family: "open sans";
background-color: var(--black);}

.ver_b img {
	width:10px;}

.ver_b span {
	transition:0.5s;}

.ver_b span.open {
	transform:rotate(180deg);}

.ver_list {
	display:none;
	background:var(--yellow) ;
	border-radius:5px;
	padding:2px 10px;
	box-sizing:border-box;
	margin-top:6px;}

.ver_list a {
	display:block;
	color:var(--black);
	font-size:11px;
	font-weight:700;
	margin:8px 10px;
        font-family: "open sans";}

.ver_b i {font-size: 11px; position: relative; top: 7px;}
