@font-face {
    font-family: 'Pretendard-Regular';
    src: url('https://fastly.jsdelivr.net/gh/Project-Noonnu/noonfonts_2107@1.1/Pretendard-Regular.woff') format('woff');
    font-weight: 400;
    font-style: normal;
}
@font-face {
    font-family: 'InkLipquid';
    src: url('https://fastly.jsdelivr.net/gh/projectnoonnu/noonfonts_one@1.0/InkLipquid.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}
html, body{
    height: 100%;
    margin: 0;
    padding: 0;
    background-color: rgb(236, 236, 236);
    /*padding: 50px;*/
    font-family: 'Pretendard-Regular';
}
#container{
    /*margin: 0 auto;*/
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    /*width: 1700px;*/
}
.contents{
       flex: 1;
}

*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
ul{
    list-style: none;
}
a{
    text-decoration: none;
}
header{
    width: 100%;
    height: 100px;
}
nav{
    float: right;
    width: 900px;
    height: 100px;
    padding-top: 40px;
}
#top_menu > li{
    float: left;
    position: relative;
}
#top_menu > li > a{
    display: block;
    padding: 20px 50px;
    color: rgb(112, 82, 42);
    font-size: 1.1em;
    font-weight: 600;
    transition: transform 0.15s;
}
#top_menu > li > a:hover{
    color: rgb(73, 31, 4);
    text-shadow: 0-1px rgb(112, 82, 42);
    transform: scale(1.1);
}
footer{
    width: 100%;
    background-color: rgb(82, 74, 62);
  /*  position: relative;
    left: 0;
    bottom: 0;*/
    color: rgb(255, 255, 255);
    text-align: center;
    font-size: 0.8em;
    line-height: 1.5em;
    padding: 15px;
}
h2{
    font-size: 2em;
    text-align: center;
    color: rgb(58, 56, 47);
    text-shadow: 2px 2px 4px rgba(94, 94, 94, 0.3);
    letter-spacing: 0.3em;
    margin-top: 20px;
}

.main_text{
    width: 100%;
    height: 200px;
    margin: 10px auto;
    text-align: center;
    margin-top: 50px;
    font-family: 'InkLipquid';
}
.main_text > p{
    font-size: 1.5em;
    color: rgb(53, 34, 6);
    letter-spacing: 0.5em;
    animation: ani_title 5s;
}
.main_text > h1{
    font-size: 4.5em;
    letter-spacing: 0.5em;
    color: rgb(53,34,6);
    margin-top: 20px;
    animation: ani_title 6s;
}
.main_img{
    width: 100%;
    height: 400px;
    text-align: center;
}
.main_img > img{
    width: 23%;
    height: auto;
}
.ct_text{
    color: rgb(95, 87, 77);
    font-weight: bold;
    font-size: 20px;
    line-height: 38px;
    text-align: center;
    margin: 50px;
}
.ct_box{
    width: 400px;
    background-color: rgba(255,255,255,0.4);
    border-radius: 15px;
    padding: 25px;
    color: #55534d;
    margin: 20px auto;
    text-align: center;
    box-shadow: rgba(60, 64, 67, 0.3) 0px 1px 2px 0px, rgba(60, 64, 67, 0.15) 0px 1px 3px 1px;
}
.ct_box > p{
    font-size: 1.1em;
    line-height: 2em;
}
.ct_img{
    width: 450px;
    padding: 30px;
    margin: 20px auto;
    text-align: center;
}
.ct_img > img{
    width: 100%;
    height: auto;
}
.about{
    display: grid;
    grid-template-columns: 1fr 1fr; /*두개의 열을 설정*/
    gap: 20px;
    margin: 50px;
   /*height: 720px;*/
   padding: auto;
}
.left{
    grid-row: span 4;
    margin: auto;
    text-align: center;
    align-items: center;
    justify-content: center;
}
.left > img{
    width: 250px;
    height: auto;
    border-radius: 50%;
    margin-bottom: 30px;
}
.about_text{
    background-color: rgba(255,255,255,0.2);
    border-radius: 15px;
    box-shadow: rgba(60, 64, 67, 0.3) 0px 1px 2px 0px, rgba(60, 64, 67, 0.15) 0px 1px 3px 1px;
    color: #333;
    width: 350px;
    margin: 0 auto;
    text-align: center;
    padding: 20px;
}
h4{
    display: block;
    padding: 5px;
    font-size: 1.0em;
    font-weight: bold;
}
.vision{
    color: rgb(63, 40, 10);
    font-size: 20px;
    line-height: 35px;
    font-weight: bold;
    margin: 30px;
    text-align: center;
}
.right{
    background-color: rgba(255,255,255,0.3);
    border-radius: 15px;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.3);
    padding: 20px;
    color: #333;
}
.right >h3{
    font-size: 1.2em;
    padding-bottom: 15px;
}
.right > p{
    line-height: 2em;
    padding-left: 15px;
    font-size: 15px;
    
}
.skill{
    position: relative;
    float: left;
}
.skill > ul{
    padding: 0;
    margin: 0;
    display: flex;
}
.skill > ul > li{
    margin: 5px;
}
.skill > ul >li >img{
    width: 55%;
    height: auto;
}
#work{
    max-width: 1000px;
    margin: 20px auto;
    width: 100%;
}
.worl_list{
    padding: 0;
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
}
.worl_list li{
    padding: 0;
    margin: 10px;
    overflow: hidden;
    flex-basis: calc(33.333% - 20px);
    position: relative;
}
.work_list a{
    width: 800px;
    margin: 30px auto;
    text-align: center;
}
.worl_list img{
    width: 100%;
    height: auto;
    z-index: 5;
}
.worl_list .caption{
    position: absolute;
    top: 200px;
    width: 100%;
    height: 400px;
    background: rgba(0, 0, 0, 0.6);
    opacity: 0;
    transition: all 0.6s ease-in-out;
    z-index: 10;
    margin: 0px auto;
    text-align: center;
    padding: 20px;
}
.worl_list li:hover .caption{
    opacity: 1;
    transform: translateY(-200px);
}
.cp_title{
    color: rgb(255, 255, 255);
    font-size: 1.5em;
    text-align: center;
}
.caption > p{
    color: rgb(19, 0, 0);
    text-align: center;
    font-size: 1em;
    line-height: 2em;
    padding-top: 20px;
}
/*motion2 스타일*/
.work_design {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 32px 0;
    margin: 30px;
}
.work_design-item {
    width: 60%;
    height: 340px;
    /*max-width: 1200px;
    min-width: 600px;*/
    background: rgba(255, 255, 255, 0.2);
    border-radius: 15px;
    box-shadow: 0 4px 16px rgba(140, 114, 69, 0.15), 0 1.5px 4px rgba(0,0,0,0.08);
    box-sizing: border-box;
    padding: 20px 20px;
    margin-left: auto;
    margin-right: auto;
    display: flex;
    align-items: center;
    justify-content: center;
}
.work_design-thumb {
    width: 300px;
    height: auto;
    margin-right: 28px;
}
.work_design-desc {
    flex: 1;
    padding: 22px 28px;
    margin: 0 10px;
    color: #4b3e2e;
    font-size: 1em;
    font-weight: 500;
    line-height: 1.5;
    transition: box-shadow 0.2s;
    max-width: 800px;
    min-width: 400px;
    word-break: keep-all;
}
.work_design-desc h4 {
    color: #332604;
    font-size: 1.45em;
    margin-bottom: 14px;
    font-weight: bold;
    letter-spacing: 0.03em;
    text-shadow: 0 1px 2px rgba(140, 114, 69, 0.12);
}
.work_design-desc p {
    margin-bottom: 8px;
    font-size: 1em;
    color: #351d06;
}
.desc-label {
    color: #4e3612;
    font-weight: bold;
    font-size: 1.08em;
    letter-spacing: 0.02em;
    background: linear-gradient(transparent 70%, rgba(248, 228, 136, 0.5) 10%);
    padding: 0 2px;
    border-radius: 3px;
}
.work_design-desc img {
    width: 40px;
    height: auto;
    margin-left: 10px;
}
/*a모달창을 띄워서 보여주는 work페이지*/
.work2{
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
}
.image-box {
    position: relative;
    width: 300px;
    height: 300px;
    overflow: hidden;
    border-radius: 15px;
    margin: 30px;
}
.image-box img {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    transition: opacity 0.5s ease;
}
.image-box .hover-img {
    opacity: 0;
}
.image-box:hover .hover-img {
    opacity: 1;
}
.modal {
    display: none;
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1;
}
.modal-content {
    background-color: antiquewhite;
    margin: 5% auto;
    padding: 20px;
    border: 1px solid burlywood;
    width: 80%;
    max-width: 600px;
}
.modal-content img{
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
}
.close{
    color: burlywood;
    float: left;
    font-size: 30px;
    font-weight: bold;
    margin-bottom: 30px;
}
.close:hover, .close:focus{
    color: orangered;
    text-decoration: none;
    cursor: pointer;
}
iframe{
    border: 1px solid rgba(0, 0, 0, 0.1);
    display: block;
    margin: 0 auto;
    text-align: center;
    width: 833px;
    height: 470px;   
}
h2{
    text-align: center;
    padding: 20px;
    font-size: 2em;
    font-weight: bold;
}


@keyframes ani_title{
    from{opacity: 0.0;}
    to{opacity: 1.0;}
}