
/* 소스보기 */
.source__btn {
  font-family: "DungGeunMo";
  font-size: 18px;
  background-color: #fff;
  border: 3px solid #000;
  border-radius: 50px;
  display: inline-block;
  padding: 10px 20px;
  position: fixed;
  bottom : 8px;
  right: 0px;
  z-index: 10011;
  transition: background-color 0.3s, color 0.3s;
}
.source__btn:hover {
  background-color: #000;
  color: #fff;
}

/* 컨텐츠 */
.window {
  min-width: 600px;
  min-height: 500px;
  background-color: #c7c7c7;
  padding: 4px;
  border-left: 2px solid #FCFCFC;
  border-top: 2px solid #FCFCFC;
  border-right: 2px solid #2A2A2A;
  border-bottom: 2px solid #2A2A2A;
  position: fixed;
  left: 100px;
  bottom: 50px;
  z-index: 10011;
  transform: scale(0);
}

.window.show {
  animation: foldOut 1s ease forwards;
}
.window.hide {
  animation: foldIn 1s 0.5s ease backwards;
}
@keyframes foldOut {    /* show가 붙었을 때 작동되는 애니메이션*/
  0%   {transform: scaleX(0) scaleY(0.001);}
  50%  {transform: scaleX(1) scaleY(0.001);}
  100% {transform: scaleX(1) scaleY(1);}
}
@keyframes foldIn {    /* show hide가 붙었을 때 작동되는 애니메이션*/
  0%   {transform: scaleX(1) scaleY(1);}
  50%  {transform: scaleX(1) scaleY(0.001);}
  100% {transform: scaleX(0) scaleY(0.001);}
}
.title-bar {
  background-color: #000080;
  padding: 4px;
  height: 30px;
  width: 100%;
  display: flex;
  justify-content: flex-end;
  align-items: center;
}
.title-bar > .minimize, .title-bar > .maximize, .title-bar > .close {
  width: 26px;
  height: 22px;
  background-color: #c7c7c7;
  margin-left: 4px;
  border-left: 2px solid #FCFCFC;
  border-top: 2px solid #FCFCFC;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.title-bar > .minimize:hover, .title-bar > .maximize:hover, .title-bar > .close:hover {
  background-color: #bababa;
  border-left: 2px solid #2A2A2A;
  border-top: 2px solid #2A2A2A;
  border-right: 2px solid #FCFCFC;
  border-bottom: 2px solid #FCFCFC;
}
.title-bar > .minimize {
  align-items: flex-end;
}
.title-bar > .minimize > .symbol {
  width: 60%;
  height: 3px;
  background-color: #000000;
  margin-bottom: 2px;
}
.title-bar > .maximize > .symbol {
  width: 70%;
  height: 80%;
  border: 2px solid #000000;
  border-top-width: 4px;
}
.title-bar > .close > .symbol {
  width: 70%;
  height: 3px;
  background-color: #000000;
  transform: rotate(45deg);
}
.title-bar > .close > .symbol::after {
  content: "";
  top: 0;
  left: 0;
  position: absolute;
  width: 100%;
  height: 3px;
  background-color: #000000;
  transform: rotate(90deg);
}
.menu-bar > div {
  display: inline-block;
}
.menu-bar > div > em {
  font-style: normal;
  padding: 8px;
  display: inline-block;
  cursor: pointer;
}
.menu-bar > div > em::first-letter {
  text-decoration: underline;
}
.menu-bar > div > em:hover {
  background-color: #bababa;
}

.menu-bar > div > span.active {
  background-color: #bababa;
  border-top: 4px ridge #cbcbcb;
  border-left: 4px ridge #fbfbfb;
  border-right: 4px ridge #dbdbdb;
  
  color: rgb(94, 94, 94);
}

.content-container {
  border-left: 2px solid #2A2A2A;
  border-top: 2px solid #2A2A2A;
  border-right: 2px solid #FCFCFC;
  border-bottom: 2px solid #FCFCFC;
}
.content-container > .content {
  display: flex;
  height: 400px;
}

.content-container > .content > .main  {
  width: 100%;
  text-align: left;
  /* overflow: scroll; */
  overflow-x: hidden;
}
.content-container > .content > .main > div {
  display: none;
}
.content-container > .content > .main > div.active {
  display: block;
  height: 100%;
}

/* scroll */
.content-container > .content > .main::-webkit-scrollbar {
  width: 20px;
  height: 20px;
}
.content-container > .content > .main::-webkit-scrollbar-track {    
  background: #d7d7d7;
}
.content-container > .content > .main::-webkit-scrollbar-thumb {
  width: 24px;
  height: 70%;
  cursor: pointer;
  background: #c7c7c7;
  border-left: 2px solid #FCFCFC;
  border-top: 2px solid #FCFCFC;
  border-right: 2px solid #2A2A2A;
  border-bottom: 2px solid #2A2A2A;
}