@import url('https://fonts.googleapis.com/css2?family=Raleway:wght@600;800&display=swap');

@import url(//fonts.googleapis.com/earlyaccess/nanumgothic.css);

@import url('https://fonts.googleapis.com/css2?family=Roboto+Mono:ital,wght@0,400;0,700;1,400;1,700&display=swap');

@font-face {
  font-family: 'lnsregular';
  src: url('/font/lnsregular.woff2') format('woff2'),
       url('/font/lnsregular.woff') format('woff'),
       url('/font/lnsregular.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}

.nanumgothic * {
 font-family: 'Nanum Gothic', sans-serif;
}

.raleway * {
  font-family: 'Raleway', sans-serif;
}

header {
  background-color: #3ec246;
  width: 100%;
  margin: 0px;
}

header h1 {
  display: inline-block;
  font-size: 45px;
  font-family: 'Raleway', sans-serif;
  font-weight: 800;
  vertical-align: middle;
  margin-top: 10px;
  margin-bottom: 10px;
  margin-left: 5px;
}

header h2 {
  display: inline-block;
  vertical-align: middle;
  margin: 5px;
  padding-top: 0px;
  padding-bottom: 0px;
}

.menu {
background-color: #24a124;
color: white;
border: none;
border-radius: 8px;
cursor: pointer;
width: 60px;
height: 55px;
padding: 0;
}

.fa-bars {
  color:white;
}

.button:hover, .button:focus {
background-color: #24a124;
}

.dropdown {
position: relative;
display: inline-block;
}

.dropdown-content {
display: none;
position: relative;
background-color: #36ca22;
min-width: 160px;
overflow: auto;
box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
z-index: 1;
}

.dropdown-content a {
color: black;
padding: 12px 16px;
text-decoration: none;
display: block;
font-family: 'Raleway', sans-serif;
font-weight: 600;
}

.dropdown-content a:hover {background-color: #aee022;}

.show {display: block;}

.main {
margin-left: 0px; /* Same width as the sidebar + left position in px */
padding: 0px 10px;
font-family: 'Nanum Gothic';
}

.main h2 {
font-size: 30px;
}

.main p {
font-size: 20px;
}

figure {
  display: inline-block;
  flex-flow: column;
  padding-right: 10px;
  margin: auto;
  width: 370px;
  max-width: 100%;
  height: auto;
}
.conlang {
  border-radius: 10px;
}
figcaption {
  background-color: #1b6b11;
  color: white;
  font-style: italic;
  padding-top: 2px;
  padding-bottom: 2px;
  padding-left: 0;
  padding-right: 0;
  text-align: center;
}

.ex-box{
  display: grid;
  background-color: #f5f5f7;
  padding: 8px 20px;
  width: fit-content;
}

.ex {
  font-family: 'Roboto Mono', monospace;
}

.lns {
  font-family: 'lnsregular';
  font-size: 30px;
}

caption {
  font-size: 20px;
}