@charset "UTF-8";

/* Google Web Fonts CDN */
@import url('https://fonts.googleapis.com/css?family=Noto+Sans+KR:300,400,500,700,900&display=swap');

*{
  margin:0; padding: 0;
  box-sizing: border-box;
}
body {
  font-family: 'Noto Sans KR', sans-serif;
  color: #222;
  background-color: #fbf8f8;
  font-weight: 300;
}
.section {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 800px;
  margin: auto;
}
.sec-header{margin-left: 10px; margin-bottom: 30px;}
.sec-header h1{
  margin-bottom: 30px;
  font-size: 30px;
}
.sec-header h1 span{font-weight: 300; color: #777;}

/* Search - S */
.sec-header input[type=text]{
  width: 100%; height: 50px;padding: 10px 20px 10px 40px;
  border: none;
  border-radius: 20px;
  outline: none;
  background: #fff url(./img/sch-icon.svg) no-repeat center left 10px;
  background-size: 20px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.05);
}
.sec-header input[type=text]::placeholder {
  color: #999;
  transition: 0.3s;
}
.sec-header input[type=text]:focus::placeholder {
  opacity: 0;
  visibility: hidden;
}
/* Search - E */

/* Tab Button - S */
.tab-btn {
  display: flex; justify-content: center;
  margin-left: 10px; margin-bottom: 15px;
  list-style-type: none;
  overflow: hidden;
}
.tab-btn li {
  float: left;
  width: 120px; height: 40px; margin-right: 5px;
  text-align: center; line-height: 40px;
  background-color: #eee;
  border-radius: 20px;
  cursor: pointer;
}
.tab-btn li:hover,
.tab-btn li.active {
  font-weight: 700; color:#fff;
  background-color: #EEB6A6;
}
.tab-btn li:last-child {border-right: none;}
.tabs {
  border-radius: 20px;
  background-color: #fff;
  padding: 40px;
  overflow: hidden;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.05);
}
.tab {display: none;}
.tab.active {display: block;}
.tab h2 {
  font-size: 30px; line-height: 42px;
  text-align: center;
  margin-bottom: 20px;
}
.tab img {
  float: left;
  width: 300px;  margin-right: 20px;
  border-radius: 20px;
}
.tab p {
  font-size: 16px; line-height: 24px;
  overflow: hidden;
}
.tab p strong{
  display: block;
  font-size: 20px; line-height: 28px; margin-bottom: 10px;
}
/* Tab Button - E */
