* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
ul {
    list-style-type: none;
}

a {
    display: block;
    text-decoration: none;
}

/*   @font-face{ font-family: 'Pretendard-Regular';*/
            /*src: url('https://cdn.jsdelivr.net/gh/Project-Noonnu/noonfonts_2107@1.1/Pretendard-Regular.woff') format('woff');}*/
@import url('https://cdn.jsdelivr.net/gh/orioncactus/pretendard/dist/web/static/pretendard.css');

@media (max-width: 844px) {
        
        #header {
            justify-content: space-between !important;
            width: 100%;
            padding: 3px;
        }

        #header span {
            display: block !important;
        }

        #logo {
            width: 100% !important;
            /* justify-content: center; */
        }

        #logo img {
            width: 220px !important;
        }

        #header #gnb {
            display: none !important;            
        }

        #header #blank {
            display: block !important;
        }

        #container {
            padding: 0% 3% 3% 3% !important;
        }

        .content-1 {
            display: flex;
            flex-direction: column;
            width: 100%;
        }

        table {
            display: block;
        }
        
        .textimg {
            width: 100%;
            box-sizing: border-box;
            padding: 0.5rem;
        }

        .text{
            width: 100%;
            box-sizing: border-box;
            text-align: left;
        }

        #container .content-1 .content-1-left{
            width: 100%;
        }

        #container .content-1 .content-1-right{
            width: 100%;
        }

        .content-2 .cont-list li {
            width: 100% !important;
            margin-bottom: 1em;
        }

        #container .menu {
            line-height: 1.7rem;
            width: 100%; 
        }
        
        #container .bnts {
            width: 100%;
            align-items: center;
        }

        #container .bnts .bnt {
            width: 100% !important;
        }

        .box {
            flex-direction: column;
        }

        .text {
            flex: 1;
            width: 100%;
        }

        .img {
            padding: 2% 0%;
        }

        .image{
            max-width: 100%;
            max-height: 100%;
            padding: 2% 0%;
            object-fit: cover;
        }

        .detail{
            border-top: 1px solid black;
            padding: 2% 0%;
            word-break: keep-all;
            line-height: 1.6rem;
        }
            
        .lbox{
          max-width: 100%;
          font-size: 0.9rem;
          }
          
        #footer{
        flex-direction: column;
        }
        
        #footer .footer-text {
          width: 100%;
          text-align: left;
          font-size: 0.7rem;
          }

        #footer .footer-text-title {
          width: 100%;
          display: block;
        }
        
        #footer .footer-text-info {
        display: inline-block; 
        width: calc(100%-0.01rem);
        margin-right: 0.1rem;
        line-height:1.1rem; 
        }
        
        #footer .footer-logo {
          padding-top: 0.6rem;
          width:60%;
          }
        
        #footer img {
          width: 50%;
          }   
       
    }

#wrap {
        max-width: 1920px;
        width: 100%;
        /* full size로 하려면 1920px */
        margin: auto;
    }

/* ========================= 상단 ========================= */

#header {
    width: 100%;
    display: flex;
    height: 80px;
    align-items: center;
    justify-content: space-between;
    padding: 2% 3% 0 3%;
}

#logo {
    display: flex;
}

#logo img {
    width: 300px;
}

#header span {
    display: none;
 font-family: 'Pretendard', 'Noto Sans KR', san-serif;
src: url('https://cdn.jsdelivr.net/gh/Project-Noonnu/noonfonts_2107@1.1/Pretendard-Regular.woff') format('woff');
    font-weight: 600;
}

#header #gnb {
    display: flex;
}

#header #gnb li {
    /*background-color: beige;*/
    font-family: 'Pretendard';
    src: url('https://cdn.jsdelivr.net/gh/Project-Noonnu/noonfonts_2107@1.1/Pretendard-Regular.woff') format('woff');
    font-weight: 700;
    font-size: 1.5vw;
    display: inline-block; 
}

.list {
    padding: 10px 1px;
    border-bottom: 3px dotted black;
}

.blank {
    padding: 10px 10px;
}

#header #gnb a {
  color:black;
}

.overlay {
    height: 100%;
    width: 0;
    position: fixed;
    z-index: 1;
    top: 0;
    left: 0;
    background-color: rgb(0,0,0);
    background-color: rgba(0,0,0, 100);
    overflow-x: hidden;
    transition: 0.5s;
}

.overlay-content {
    position: relative;
    top: 25%;
    width: 100%;
    padding-left: 45px;
    /* text-align: center; */
    margin-top: 30px;
}

.overlay a {
    padding: 8px;
    text-decoration: none;
font-family: 'Pretendard', 'Noto Sans KR', san-serif;
src: url('https://cdn.jsdelivr.net/gh/Project-Noonnu/noonfonts_2107@1.1/Pretendard-Regular.woff') format('woff');
    font-weight: 600;
    font-size: 23px;
    color: #818181;
    display: block;
    transition: 0.3s;
}

.overlay a:hover, .overlay a:focus {
    color: #f1f1f1;
}

.overlay .closebtn {
    position: absolute;
    right: 3%;
    font-size: 60px;
}

 #container {
    width: 100%;
    display: flex;
    flex-direction: column;
    /* height: 750px; */
    /* background-color: blueviolet; */
    padding: 0% 3%;
    /* background-color: deeppink; */
 }

#container .content-2 .content-3 {
    display: flex;
    flex-direction: column;
    width: 100%;
    /* height: 500px; */
    padding: 0% 3%;
}

 #container .content-2 .cont2-title {
width: 100%;
margin-top: 3%;
background-color: black;
color: white;
text-align: center;
padding: 20px;
font-family: 'Pretendard', 'Noto Sans KR', san-serif;
src: url('https://cdn.jsdelivr.net/gh/Project-Noonnu/noonfonts_2107@1.1/Pretendard-Regular.woff') format('woff');
font-size: 1.2rem;
}

.content-2 .cont-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
width: 100%;
padding-top: 2%;
font-family: 'Pretendard', 'Noto Sans KR', san-serif;
src: url('https://cdn.jsdelivr.net/gh/Project-Noonnu/noonfonts_2107@1.1/Pretendard-Regular.woff') format('woff');
font-size:1.2rem;
    /* height: 500px; */
}

.content-2 .cont-list li {
    width: calc(100% / 3 - 40px);
    /* height: 100px; */
    /* background-color: blue; */
}

.content-2 .cont-list li:hover {
background-color: #73D08F;
}


.content-2 .cont-list li div {
text-align: center;
border: 3px dotted black;
padding-top: 2%;
padding: 15px;
font-family: 'Pretendard', 'Noto Sans KR', san-serif;
src: url('https://cdn.jsdelivr.net/gh/Project-Noonnu/noonfonts_2107@1.1/Pretendard-Regular.woff') format('woff');
font-size:1.2rem;
}

.content-2 .cont-list .title-2 {
background-color:#73D08F;
}

.cont-list a{
 color:black;}

.menu{
display: flex;
flex-direction: column;
width: 100%;
    /* height: 500px; */
padding: 2% 0%;
}

.text-title {
width: 100%;
font-size: 1.3rem;
line-height: 1.7rem;
font-family: 'Pretendard', 'Noto Sans KR', san-serif;
src: url('https://cdn.jsdelivr.net/gh/Project-Noonnu/noonfonts_2107@1.1/Pretendard-Regular.woff') format('woff');
font-weight: 600;
text-align: left;
padding: 2% 2% 1.5% 2%; 
border-bottom: 1px solid black;
}

.box {
display: flex;
}

.text {
flex: 1;
}

.img {
flex: 4;
padding: 2% 2%;
align-items: center;
}

.image {
width: 100%;
}

.detail {
flex: 6;
padding: 2% 2%;
line-height: 1.8rem;
text-align: left;
word-break: keep-all;
font-family: 'Pretendard', 'Noto Sans KR', san-serif;
src: url('https://cdn.jsdelivr.net/gh/Project-Noonnu/noonfonts_2107@1.1/Pretendard-Regular.woff') format('woff');
font-weight: 500;
font-size: 1.1rem;
float: left;
}

.padding {
padding-bottom: 3%;
}

.p {
padding-bottom: 2%;
}

.lbox{
padding: 1rem;
display: inline-block;
border: 3px dotted black;
font-size: 1.1rem;
text-align:center;
}

.lbox a {
color: black;
}

.lbox:hover {
background-color: #73D08F;
}

#footer {
  display: flex;
  justify-content: space-between;
  padding: 3% 3%;
  margin-top: 2rem;
}

#footer table {
  width: 100%;}
  
#footer table td {
  padding: 0.1rem 0.1rem;
  vertical-align: baseline;}
  
  
.footer-text {
width: 80%;
font-size: 0.9rem;
font-family: 'Pretendard', 'Noto Sans KR', san-serif;
src: url('https://cdn.jsdelivr.net/gh/Project-Noonnu/noonfonts_2107@1.1/Pretendard-Regular.woff') format('woff');
line-height:1.3rem;
font-weight:300;
}

.footer-text-title {
  font-weight: 500;}
  
.footer-text-info {
  line-height: 1.2rem;}
  
.footer-logo {
width: 23%;
padding-top:0.2rem;
align-items: right;
}

#footer img {
width: 100%;
}