@font-face {
  font-family: 'DungGeunMo', 'D2Coding';
  src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/noonfonts_six@1.2/DungGeunMo.woff') format('woff') url('https://cdn.jsdelivr.net/gh/projectnoonnu/noonfonts_three@1.0/D2Coding.woff') format('woff');
  font-weight: 400;
  font-style: normal; 
}

html{scroll-behavior: smooth;}

body {
  background: #000000;
  color: #FFFE70;
  position: relative;
}

.bg {
	position: absolute;
	right: 0;
	bottom: 0;
	top: -80px;
	width: 100%;
	z-index: -1;
	margin: 0px;
}

.box {
  margin: auto;
  margin-top: 70px;
  width: 1030px;
  box-shadow: 20px 20px 45px #000000;
}

.boxinbox {
  width: 1000px;
  margin: -2px 14px;
  align-items: center;
}

.box, .boxinbox {
  height: 1173px;
}

.box, .boxinbox, header {
  box-sizing: border-box;
  background: #111111;
  border: 2px solid #FFFE70;
}

.wrapper {
  display: flex;
  justify-content: space-between;
	width: 50px;
  align-items: center;
  padding: 6px 5px 6px 941px;
}

.wrapper img{
	width: 15px;
	height: 15px;
}

header {
  padding: 20px 50px 15px 20px;
  width: 1000px;
	height: 138px;
  margin-left: -2px;
 	font-family: 'DungGeunMo';
	font-style: normal;
	font-weight: 400;
	line-height: 26px;
}

h1 {
	font-size: 30px;
	margin: 0px;
}

header h2 {
	font-size: 18px;
	margin: 0px;
	margin-top: 19px;
	}

.container {
	margin-top: 49px;
  display: grid;
  grid-template-columns: repeat(2, 387px);
  grid-gap: 38px 42px;
  justify-content: center;
}

.card {
  width: 387px;
  height: 216px;
  background: #111111;
  border: 2px solid #FFFE70;
  border-radius: 5px;
  padding-left: 5px;
  padding-top: 5px;
}

h3, h4, h5 {
	font-family: 'DungGeunMo';
	font-style: normal;
	font-weight: 400;
	font-size: 20px;
	line-height: 30px;
	color: #FFFE70;
}

h3 {
	margin-left: 17px;
}

h4 {
	text-align: right;
	margin-right: 18px;
}

.cardincard {
	width: 378px;
	height: 204px;
	border: 2px dashed #FFFE70;
	border-radius: 5px;
	display: flex;
  justify-content: space-between;
  align-items: center;
}

.card:hover, .card:hover h3, .card:hover h4 {
  background-color: #fffe70;
  color: #111111;
}

.buttons {
	padding-top: 76px;
	padding-left: 680px;
	font-size: 20px;
	padding-bottom: 8px;
}

.txt a {
	text-decoration: none;
}

.next{
	color: #EC5FF7;
	animation: blink 0.8s infinite;
}

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

h5 {
	margin-top: -30px;
}

.minifooter {
	font-family: 'D2Coding';
	height: 20px;
	width: 1000px;
  margin-left: -2px;
  margin-bottom: 40px;
}

.minifooter p {
	margin-top: -0.7px;
	padding-left: 15px;
	box-sizing: border-box;
  background: #111111;
  border: 2px solid #FFFE70;
}
