@charset "utf-8";
@font-face { font-family: 'Chosunilbo_myungjo'; src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/noonfonts_one@1.0/Chosunilbo_myungjo.woff') format('woff'); font-weight: normal; font-style: normal; }

* { font-family: 'Chosunilbo_myungjo', 'Sans-serif'; }
html, body {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
header { display: block; }
h1 { font-size: 24px; }

#wrap {
  width: 100vw;
  height: 100vh;
  background-image: url('https://images.unsplash.com/photo-1494783367193-149034c05e8f?ixlib=rb-1.2.1&ixid=eyJhcHBfaWQiOjEyMDd9&auto=format&fit=crop&w=1050&q=80');
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

.overlay {
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  align-items: center;
  width: 100%;
  height: 100%;
  text-align: center;
  background: rgba(0, 0, 0, 0.6);
  color: #fff;
  text-shadow: 2px 4px 5px #333;
}

.header {
  flex: 10%;
  padding-top: 10px;
  width: 100%;
}

.github {
  display: inline-block;
  width: 35px;
  height: 35px;
  background-image: url('./github-logo.png');
  background-size: contain;
  filter: invert(100%);
}

a {
  display: block;
  height: 100%;
  color: #fff;
  text-decoration: none;
}

.content {
  flex: 80%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: 100%;
}

.footer { 
  flex: 10%; 
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: center;
  width: 100%;
  padding-bottom: 20px;
}
.footer > * {
  margin: 10px;
  width: 100%;
}

.range { max-width: 240px;}
.custom-path { 
  width: 70%;
  max-width: 240px;
  padding: 5px; 
  border: none;
  border-radius: 5px;
  font-size: 0.95rem;
}
.source {
  position: fixed;
  right: 0;
  top: 0;
  width: auto;
  padding: 10px;
  border: 2px #ddd solid;
  border-radius: 5px;
  background-color: rgba(199, 109, 235, 0.8);
  color: #ddd;
  box-shadow: 0 5px 0 0 #333;
  cursor: pointer;
}

.source:active {
  transform: translateY(5px);
  box-shadow: none;
}

@media (min-width: 486px) {
  h1 { font-size: 32px; }
  .range { max-width: 400px; }
  .custom-path { max-width: 400px; }
}