@import "reset.css";

@font-face {
    font-family: 'Pretendard-Regular';
    src: url('https://cdn.jsdelivr.net/gh/Project-Noonnu/noonfonts_2107@1.1/Pretendard-Regular.woff') format('woff');
    font-weight: 400;
    font-style: normal;
}
@import url('https://fonts.googleapis.com/css2?family=Montserrat&display=swap');

body{
    background-color: #ffffff;
    overflow-x: hidden;
    margin: 0px;
    font-family: 'Pretendard-Regular';
}

/*메뉴 파트*/
.menu{
z-index: 1;
position: absolute;
padding-top:3%;
padding-left: 3%;
color: #514F4C;
width: 10vw;
background-color: none;
font-size: 0.7813vw;
line-height: 1.5625vw;
font-weight: 400;
font-family: 'Montserrat', sans-serif;
list-style:none;
position: fixed;
}
.menu a{
    text-decoration: none; 
    color: #514F4C;
}
.logo{
    margin-bottom: 10%;
}
.logo img{
    width: 50%;
    margin-left: -0.2604vw;
}

.section1-en-btn{
    padding: 0.5vh 1.2vh 0.5vh 1.2vh;
    border-radius: 90px;
    border: 1px solid #C0BBBA;
    color:#C0BBBA;
    font-size: 0.8333vw;
    width: 6vw;
    text-align: center;
    cursor: pointer;
    margin-bottom: 1vw;
    position: absolute;
    position: fixed;
    right: 5%;
    top:5%;
    z-index: 100;
    }
    /*.section1-en-btn img{
        float: left;
        width: 1.5vw;
    }*/
    .section1-en-btn:hover{
        border: 1px solid #2b2b2b;
        color: #2b2b2b;
        transition: all 0.2s ease-in-out;
     }
     .en-btn-m{
        padding: 0.5vh 1.3vh 0.5vh 1.3vh;           
        border-radius: 90px;
        border: 1px solid #000;
        color:#000;
        font-size: 1vw;
        width: 16vw;
        text-align: center;
        cursor: pointer;
        margin-bottom: 1vw;
        position: absolute;
        position: fixed;
        right: 18%;
        margin-top:5%;
        z-index: 100;
        display: none;
        }
    

/* 카테고리 패널 */
.dropdown{
    position : relative;
    display : inline-block;
    margin-right: 1vw;
  }
  
  .dropbtn_icon{
    font-family: 'Pretendard-Regular';
  }
  .dropbtn_icon img{
    float: right;
    width: 0.6vw;
    margin: 0.2vw;
  }
  .dropbtn{
    border: none;
    border-bottom: 1px solid #B9B5B4 ;
    background-color: #fff;
    font-weight: 400;
    padding: 3px;
    width :7vw;
    text-align: left;
    cursor : pointer;
    font-size : 12px;
    color: #514F4C;
    
  }
  .dropdown-content{
    font-family: 'Pretendard-Regular';
    display : none;
    position : absolute;
    z-index : 1; /*다른 요소들보다 앞에 배치*/
    font-weight: 400;
    background-color: #f9f9f9;
    width : 7vw;
  }
  
  .dropdown-content a{
    display : block;
    text-decoration : none;
    color: #514F4C;
    font-size: 12px;
    text-align: center;
    padding: 12px 14px;
  }
  
  .dropdown-content a:hover{
    background-color : #ececec
  }
  
  #input-form {margin-top: 1vw; 
    margin-bottom: 1vw; 
    float: right;
    display: flex;
    margin-right: 9vw
}
input::-webkit-input-placeholder{
    background-image:  url(../img/search.png);
    background-size: contain;
    background-position-x: 14vw;
    background-repeat: no-repeat;
    text-indent: 0;
  }
  #keyword {
    border: none; 
    border-bottom: 1px solid #B9B5B4 ;  
    font-family: 'Pretendard-Regular';
    width: 16vw;
    }

/* 페이지 파트 */
    #page{
        padding-left: 20%;
        padding-top: 3%;
        font-family: 'Pretendard-Regular';
    }
    #news-list :nth-child(n+5) {
        display: none;
        opacity: 0;
        margin-top: 5vw
    }
    #page .more{
        margin-top: 70vw;
        margin-left: 35%;
        font-family: 'Montserrat', sans-serif;
        color: #514F4C;
        font-size: 1.0417vw;
        cursor: pointer;
        position: absolute;
        z-index: 3;
    }
    #page .more h2{
       float: left;
       margin-right: 1.5vw;
    }
    #news-list{
        float: left;
        width: 100%;
        padding-bottom: 20vw;
        height: auto;
        min-height: 100%;

    }
    #news-list .news-item{
        width: 100%;
        height: 12vw;
        padding-right: 3%;
        padding-top: 2.5%;
        padding-bottom: 2.5%;
        color: #514F4C;
        font-size: 0.8333vw;
        border-bottom: 1px solid #B9B5B4;;
    }
    #news-list .news-item h2{
        font-size: 1.2500vw;
        line-height: 1.7708vw;
        font-weight: 400;
    }
    #news-list .news-item .news-item-title{
       float: left;
    }
    #news-list .news-item .news-item-text{
        margin-left: 45vw;
        width: 25vw;
        line-height: 1.4063vw;
     }
     #news-list .news-item .news-item-text p{
        margin-bottom: 3vh;
     }
     #news-list .news-item button{
        background-color: white;
        border: 1px solid #C0BBBA;
        color: #C0BBBA;
        padding: 0.5vh 1.2vh 0.5vh 1.2vh;
        border-radius: 90px;
        margin-top: -2vw;
        position: absolute;
        cursor: pointer;
     }
     #news-list .news-item button:hover{
        border: 1px solid #514F4C;
        color: #514F4C;
        transition: all 0.2s ease-in-out;
     }
     #news-list .news-item p{
        margin-bottom: 1vh;
     }
    #news-list .news-item-img{
        float: left;
        margin-right: 3%;
        width: 20vw;
        height: 12vw;
        background-position: center;
        background-size: cover;
        background-repeat: no-repeat;
    }

    #page .more img{
        width: 0.7vw;
    }

    #news-list :nth-child(1) .news-item-img{
        background-image: url(../img/news-img-2024-5.jpg);
        background-size: contain;
    }
    #news-list :nth-child(2) .news-item-img{
        background-image: url(../img/news-img-2024-4.jpg);
        background-size: contain;
    }
    #news-list :nth-child(3) .news-item-img{
        background-image: url(../img/news-img-2024-3.jpg);
    }
    #news-list :nth-child(4) .news-item-img{
        background-image: url(../img/news-img-2024-2.jpg);
    }
    #news-list :nth-child(5) .news-item-img{
        background-image: url(../img/news-img-2024-1.jpg);
    }
    #news-list :nth-child(6) .news-item-img{
        background-image: url(../img/news-img11.jpg);
    }
    #news-list :nth-child(7) .news-item-img{
        background-image: url(../img/news-img-3.jpg);
    }
    #news-list :nth-child(8) .news-item-img{
        background-image: url(../img/news-img-2.jpg);
    }
    #news-list :nth-child(9) .news-item-img{
        background-image: url(../img/news-img1.png);
    }
    #news-list :nth-child(10) .news-item-img{
        background-image: url(../img/news-img-4.png);
    }
    #news-list :nth-child(11) .news-item-img{
        background-image: url(../img/project01.png);
    }
    #news-list :nth-child(12) .news-item-img{
        background-image: url(../img/news-img-5.jpg);
    }
    #news-list :nth-child(13) .news-item-img{
        background-image: url(../img/news-img-6.jpg);
    }
    #news-list :nth-child(14) .news-item-img{
        background-image: url(../img/company-3.jpg);
        background-size: contain;
    }

    #news-list .news-item .h2-en{

       font-size: 1vw;
    }
    #news-list .news-item .hr1{
        margin-top: 10vw;
    }
    #news-list  .en .news-item-text{
        height: 10vw;

    }
    #news-list .en button{
        margin-top: 0;
    }

   

       /* #container {width: 100vw; margin: 0 auto; padding-left: 3%; padding-top: 3%; font-family: 'Pretendard-Regular';
        color: #514F4C;}
        #container #input-form {text-align: center;}
        #user-table {margin: 0 auto; text-align: center;}
        #input-form {margin-top: 1vw; margin-bottom: 1vw;}

        #user-table {border-collapse: collapse; margin-left: 10%;}
        #user-table > tbody > tr > td {width: 30vw; display: block; }
        #user-table > tbody > tr { width: 40vw; height: 15vw; display: inline-block; text-align: start;
        margin-right: 3%; }
        #user-table > tbody > tr > td :nth-child(1){
            background-image: url(../img/family.png);
            width: 30px;
            height: 30px;
        } */



/* footer 파트 */
footer{
height: 12vw;
 display: flex; 
align-items: center;
justify-content: space-between;
margin-top: auto;
flex-wrap: wrap;
background-color: #202820;
color: #BCB9B8;
position : relative;
  transform : translateY(-100%);
  margin-top: 50%;
}
.policy {
display: grid;
align-items: center;
gap: 1.5vh;
}
.adress {
display: grid;
gap: 1.5vh;
}
.copyright {
display: grid;
margin-top: 11vh;
}
#news-list .news-item hr{
    margin-top: 4vw;
}


    /* 모바일 로고 및 메뉴 아이콘 파트 */
    .mobile-header{
        display: none;
    }
    
    .mobile-logo img{
        width: 12vw; 
        position: fixed; 
        z-index: 5;
        margin-top: 3vh;
        margin-left: 5vw;
    
    }
    .mobile-hambuger{
        background-image: url(../img/hambuger-m.png);
        background-position: center;
        background-size: cover;
        background-repeat: no-repeat;
        width: 6vw;
        height: 4vw;
        position:fixed;
        z-index: 5;
        margin-left: 87vw;
        margin-top: 3vh;
        filter: brightness(0.3);
    }
    .mobile-x{
        background-image: url(../img/x-m.png);
        background-position: center;
        background-size: cover;
        background-repeat: no-repeat;
        width: 5vw;
        height: 5vw;
        position:fixed;
        z-index: 5;
        margin-left: 88vw;
        margin-top: 3vh;
        display: none;
    }
    
    /* 모바일 메뉴 슬라이더 파트 */
    
.mobile-menu{
    background-color: #1E281F;
    position: fixed;
    z-index: 4;
    width: 100vw;
    height: 100vh;
    color: #B9B5B4;
    margin-left: 100vw;
}
.mobile-menu h3{
    font-size: 12px;
    font-family: 'Montserrat', sans-serif;
    margin-top: 20vh;
    padding-left: 5vw;
}
.mobile-menu-top{
    font-size: 30px;
    font-family: 'Montserrat', sans-serif;
    margin-top: 20vh;
    padding-left: 5vw;
}
.mobile-menu-top a{
    text-decoration: none;
    color: #B9B5B4;
}
.mobile-menu-top h2{
    padding-top: 1vh;
    padding-bottom: 1vh;
}
.mobile-menu-bottom{
    padding-left: 5vw;
    margin-top: 1.5vh;
    font-size: 12px;
}
.mobile-menu-bottom p{
    padding-top: 0.5vh;
    padding-bottom: 0.5vh;
}
.mobile-menu-bottom2{
    padding-left: 5vw;
    font-family: 'Montserrat', sans-serif;
    font-size: 12px;
    margin-top: 1.5vh;
}
.mobile-menu-bottom2 p{
    padding-top: 0.5vh;
    padding-bottom: 0.5vh;
}
.copyright-m2{
    font-family: 'Montserrat', sans-serif;
    padding-left: 5vw;
    font-size: 12px;
    margin-top: 1.5vh;
}

    /* 모바일섹션 푸터*/
    .mobile-footer footer{
        background-color: #1E281F;
          height: 30vh;
        color: #C0BBBA;
        display: none;
    }
    .mobile-footer footer p{
        font-size: 12px;
        padding-top: 8vw;
        padding-left: 10vw;
        padding-right: 10vw;
    }
    .mobile-footer footer .footer-about{
        margin-top: 1.5vh;
    }
    .mobile-footer footer .footer-about p{
        padding-top: 0;
        padding-bottom: 0.5vh;
    }
    .mobile-footer footer .footer-policy{
        margin-top: 1.5vh;
        font-family: 'Montserrat', sans-serif;
    }
    .mobile-footer footer .footer-policy p{
        padding-top: 0;
        padding-bottom: 0.5vh;
    }
    .mobile-footer footer .copyright-m{
        font-size: 10px;
        padding-left: 10vw;
        padding-right: 10vw;
        margin-top: 1.5vh;
        font-family: 'Montserrat', sans-serif;
    }
    #news-list .news-item .btn-1{
        margin-top: 4.2vh;
    }
    #news-list .news-item .btn-2{
        margin-top: 7.9vh;
    }


    @media (max-width: 768px) {
        .section1-en-btn {
            display: none;
        }
        .menu{
            display: none;
          }
          .en-btn-m {
            display: block;
            font-size: 10px;
            padding: 5px 10px 5px 10px;
            width: auto;
        }
          
     
    #news-list .news-item .h2-en{
        font-size: 14px;
    }

    #news-list .news-item .news-item-text{
        margin-top: 0vw;
      }
      #news-list .news-item button{
        position: relative;
      }
      #news-list .en .news-item-text{
        height: auto;
      }






    .mobile-header{
        display: block;
    }
    footer{
        display: none;
    }
    .mobile-footer footer{
        display: block;
        height: 0vh;
    }
    .mobile-footer{
        height: 55vw;
        background-color: #1E281F;
        margin-top: 5vh;
    }

    #page{
        padding-left: 0;
        padding-top: 15vh;
    }
    .search{
        margin-bottom: 15vw;
    }
    #input-form{
        margin-right: 6vw;
        padding-left: 6vw;
    }
    #keyword{
        width: 46vw;
    }
    .dropbtn{
        width: 17.5vw;
    }
    .dropdown-content{
        width: 17.5vw;
    }
    .dropbtn_icon img{
        width: 2vw;
    }
    input::-webkit-input-placeholder{
        background-position-x: 40vw;
    }
    .dropdown{
        margin-right: 3vw;
    }
    
    #news-list .news-item-img{
        margin-right: 6vw;
        margin-left: 6vw;
        width: 88vw;
        height: 50vw;
        background-position: center;
        background-size: cover;
        background-repeat: no-repeat;
        float: none;
    }
    #news-list .news-item .news-item-title{
        margin-top: 5vw;
        padding-left: 6vw;
        padding-right: 6vw;
        width: 88vw;
    }
    #news-list .news-item button{
        margin-top: 3vw;
        margin-left: 6vw;
    }
    #news-list .news-item .news-item-text{
        margin-left: 0vw;

    width: auto;

    
    }
    #news-list .news-item .news-item-text p:nth-child(2){
        display: none;
    }
    #news-list .news-item .news-item-text p{
        font-size: 13px;
        line-height: 23px;
        padding-left: 6vw;
        padding-right: 6vw;
    }
    #news-list .news-item p{
        font-size: 14px;
        margin-bottom: 2vw;
    }
    #news-list .news-item h2{
        font-size: 16px;
        line-height: 20px;
    }
    #news-list .news-item{
        height: auto;
        padding-top: 3vh;
        padding-right: 0;
        padding-bottom: 3vh;
    }
    #news-list .news-item hr{
        margin-top: 50vw;
    }
    #news-list .news-item .hr1{
        margin-top: 54vw;
    }
    #news-list .news-item h2 br{
        display: none;
    }
    #page .more{
        position: inherit;
        font-size: 16px;
        margin-top: 3vh;
    }
    #page .more img{
        width: 2vw;
    }
    #news-list{
        padding-bottom: 0vh;
        float: none;
    }

    
    
      }

      @media (max-width: 440px) {


          #news-list .news-item .news-item-text p{
            font-size: 10px;
            line-height: 18px;
          }
 
      }
      
      @media (max-width: 400px){
    
        .bottom-text{
            top:55%
        }
        
        .bottom-text-title{
        font-size: 18px;
        margin-bottom: 3%;
        padding-left: 5vw;
        padding-right: 5vw;
        }
        .bottom-text p:nth-child(4){
        font-size: 12px;
        line-height: 21px;
        padding-left: 4vw;
        padding-right: 4vw;
        }
        .mobile-header{
        display: block;
        }
        .mobile-menu-top{
            font-size: 26px;
            margin-top: 16vh;
        }
        .mobile-menu h3{
            margin-top: 28vh;
        }
        .mobile-menu h3{
            font-size: 10px;
        }
        .mobile-menu-bottom{
            font-size: 10px;
        
        }
        .mobile-menu-bottom2{
            font-size: 10px;
     
        }
        .mobile-menu-bottom p{
            padding-top: 0.2vh;
            padding-bottom: 0.2vh;
        }
        .mobile-menu-bottom2 p{
            padding-top: 0.2vh;
            padding-bottom: 0.2vh;
        }
        .copyright-m2{
            font-size: 10px;
         
        }

        .dropbtn{
            font-size: 10px;
        }
        .dropdown-content a{
            font-size: 10px;
            padding: 10px 10px;
        }
        #keyword{
            font-size: 10px;
        }
        #news-list .news-item p{
            font-size: 12px;
        }
        #news-list .news-item .news-item-text p{
            font-size: 10px;
            line-height: 18px;
            margin-bottom: 0;
        }
        #news-list .news-item h2{
            font-size: 14px;
        }
        #news-list .news-item button{
            font-size: 10px;
        }
        .mobile-footer footer p{
            font-size: 10px;
        }
        
        
    
      }
    