@font-face {
  font-family: "JalnanGothic";
  src: url("https://fastly.jsdelivr.net/gh/projectnoonnu/noonfonts_231029@1.1/JalnanGothic.woff")
    format("woff");
  font-weight: normal;
  font-style: normal;
}
/* ==========================================================================
   reset CSS
========================================================================== */
html,
body,
div,
span,
object,
iframe,
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
pre,
abbr,
address,
cite,
code,
del,
dfn,
em,
img,
ins,
kbd,
q,
samp,
small,
strong,
sub,
sup,
var,
b,
i,
dl,
dt,
dd,
ol,
ul,
li,
fieldset,
form,
label,
legend,
table,
caption,
tbody,
tfoot,
thead,
tr,
th,
td,
article,
aside,
canvas,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section,
summary,
time,
mark,
audio,
video,
input,
select,
textarea,
button,
a,
span {
  color: inherit;
  -webkit-font-smoothing: antialiased;
  word-wrap: break-word;
  margin: 0;
  padding: 0;
  border: 0;
  outline: 0;
  vertical-align: middle;
  box-sizing: border-box;
  -ms-box-sizing: border-box;
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
  -moz-tap-highlight-color: rgba(0, 0, 0, 0);
  -webkit-appearance: none;
  -moz-appearance: none;
  -webkit-text-size-adjust: none;
  -moz-text-size-adjust: none;
}
* {
  font-family: "JalnanGothic", sans-serif;
}
b,
span,
figure {
  vertical-align: top;
  font-size: inherit;
}
a {
  text-decoration: none;
}
table {
  border-collapse: collapse;
  border-spacing: 0;
}
button {
  cursor: pointer;
  margin: 0;
  padding: 0;
  border: none;
  background: none;
  font-size: inherit;
  font-weight: inherit;
}
a:hover,
a:active,
a:visited,
a:link {
  text-decoration: none;
}
a:focus,
button:focus {
  outline: 0;
  text-decoration: none;
}
ul,
ol,
li {
  list-style: none;
}
i {
  font-style: normal;
}
* {
  box-sizing: border-box !important;
}
html {
  -webkit-text-size-adjust: 100%;
}
html,
body {
  position: relative;
  width: 100%;
  height: 100%;
  font-size: inherit;
  word-break: break-all;
}
:lang(en) html,
:lang(en) body {
  word-break: break-word;
}
::-moz-selection {
  background: #b3d4fc;
  text-shadow: none;
}
::selection {
  background: #b3d4fc;
  text-shadow: none;
}
hr {
  display: block;
  height: 1px;
  border: 0;
  border-top: 1px solid #ccc;
  margin: 1em 0;
  padding: 0;
}
audio,
canvas,
iframe,
img,
svg,
video {
  vertical-align: middle;
}
fieldset {
  border: 0;
  margin: 0;
  padding: 0;
}
textarea {
  resize: vertical;
}
table td,
table th {
  border: none !important;
}
table {
  table-layout: fixed;
  width: 100%;
}
button::-moz-focus-inner,
[type="button"]::-moz-focus-inner,
[type="reset"]::-moz-focus-inner,
[type="submit"]::-moz-focus-inner {
  border-style: none;
  padding: 0;
}
button:-moz-focusring,
[type="button"]:-moz-focusring,
[type="reset"]:-moz-focusring,
[type="submit"]:-moz-focusring {
  outline: 1px dotted ButtonText;
}
input {
  -moz-appearance: none;
  -webkit-appearance: none;
  font-size: inherit;
  background: transparent;
}
input[type="number"]::-webkit-outer-spin-button,
input[type="number"]::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}
/* ==========================================================================
   Helper CSS
========================================================================== */
browserupgrade {
  margin: 0.2em 0;
  background: #ccc;
  padding: 0.2em 0;
}
img {
  -webkit-user-select: none;
  -khtml-user-select: none;
  -moz-user-select: none;
  -o-user-select: none;
  user-select: none;
  -ms-user-select: none;
  -webkit-user-drag: none;
}

body {
  user-select: none;
}
.none {
  display: none;
}

.cb {
  position: relative;
  display: flex;
  align-items: center;
}
.cb input {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  cursor: pointer;
}
.cb span {
  display: block;
  height: 90%;
  width: 100%;
  background: url("../img/cb-off.png") no-repeat center left;
  background-size: contain;
}
.cb input:checked + span {
  background: url("../img/cb-on.png") no-repeat center left;
  background-size: contain;
}

#pop-black {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 9999;
  width: 100vw;
  height: 100vh;
  display: none;
  justify-content: center;
  align-items: center;
  background: rgba(0, 0, 0, 0.6);
}

#pop-black.on {
  animation: popDisplay 0.2s;
  display: block;
}

#pop-black .pop {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);

  display: none;
  text-align: center;
}

#pop-black .pop.on {
  animation: popDisplay 0.2s;
  display: inline-block;
}

#pop-black .pop .pop-cont {
  position: relative;
}

#pop-black .pop .close {
  position: absolute;
  top: calc(100% + 15px);
  left: 50%;
  transform: translateX(-50%);

  width: 50px;
  height: 50px;

  background: url("../img/pop-close.png") no-repeat center;
  background-size: contain;
  cursor: pointer;
}

@keyframes popDisplay {
  from {
    display: none;
    opacity: 0;
  }
  to {
    display: block;
    opacity: 1;
  }
}

.pop.youtube .iframe-container {
  position: absolute;
  top: 9%;
  left: 20%;
  width: 63%;
  height: 84%;
}

.pop.youtube iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}
