@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;
}
body{
    background-color: antiquewhite;
    /*padding: 50px;*/
    font-family: 'Pretendard-Regular';
}
#container{
    margin: 0 auto;
    /*width: 1700px;*/
}
*{
    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: #deb887;
    font-size: 1.1em;
    font-weight: 600;
    transition: transform 0.15s;
}
#top_menu > li > a:hover{
    color: rgb(210, 105, 30);
    text-shadow: 0 -2px burlywood;
    transform: scale(1.1);
}
footer{
    width: 100%;
    background-color: lightgray;
    position: relative;
    left: 0;
    bottom: 0;
    color: darkgray;
    text-align: center;
    font-size: 0.8em;
    line-height: 1.5em;
    padding: 20px;
}
h2{
    font-size: 2em;
    text-align: center;
    color: white;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 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: grey;
    letter-spacing: 0.5em;
    animation: ani_title 5s;
}
.main_text > h1 {
    font-size: 4em;
    letter-spacing: 0.5em;
    color: rgb(140, 114, 69);
    margin-top: 20px;
    animation: ani_title 5s;
}
.main_img {
    width: 100%;
    height: 100%;
    text-align: center;
}
.main_img > img {
    width: 25%;
    height: auto;
}
.ct_text{
    color: burlywood;
    font-weight: bold;
    font-size: 24px;
    line-height: 40px;
    text-align: center;
    margin: 30px;
}
.ct_box{
    width: 400px;
    background-color: rgba(255, 255, 255, 0.4);
    border-radius: 15px;
    padding: 40px;
    color: #999;
    margin: 20px auto;
    text-align: center;
    box-shadow: rgb(240, 222, 195) 3px 3px 6px 0px inset, rgba(255, 255, 255, 0.5) -3px -3px 6px 1px inset;
}
.ct_box > p {
    font-size: 1.2em;
    line-height: 2em;
}
.ct_img{
    width: 400px;
    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: rgb(240, 222, 195) 3px 3px 6px 0px inset, rgba(255, 255, 255, 0.5) -3px -3px 6px 1px inset;    
    color: #333;
    width: 350px;
    margin: 0 auto;
    text-align: center;
    padding: 20px;
}
h4{
    display: block;
    padding: 5px;
    font-size: 1.2em;
    font-weight: bold;
}
.vision{
    color: burlywood;
    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;
}
.skill{
    position: relative;
    float: left;
}
.skill > ul {
    padding: 0;
    margin: 0;
    display: flex;
}
.skill > ul > li {
    margin: 5px;
}
.skill > ul > li > img{
    width: 60%;
    height: auto;
}
#work{
    max-width: 1000px;
    margin: 20px auto;
    width: 100%;
}
.work_list{
    padding: 0;
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
}
.work_list li {
    padding: 0;
    margin: 10px;
    overflow: hidden;
    flex-basis: calc(33.333% - 20px);
    position: relative;
    border-radius: 15px;
}
.work_list img{
    width: 100%;
    height: auto;
    z-index: 5;
}
.work_list .caption {
    position: absolute;
    top: 200px;
    width: 100%;
    height: 100%;
    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;
}
.work_list li:hover .caption{
    opacity: 1;
    transform: translateY(-200px)
}
.cp_title{
    color: white;
    font-size: 1.5em;
    text-align: center;
}
.caption > p {
    color: white;
    text-align: center;
    font-size: 1.1em;
    line-height: 2em;
    padding-top: 20px;
}
/* 모달창을 띄워서 보여주는 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: right;
    font-size: 30px;
    font-weight: bold;
    margin-bottom: 30px;
}
.close:hover, .close:focus {
    color: chocolate;
    text-decoration: none;
    cursor: pointer;
}
@keyframes ani_title {
    from{opacity: 0.0;}
    to{opacity: 1.0;}
}