@font-face {
    font-family: 'TheJamsil5Bold';
    src: url('https://fastly.jsdelivr.net/gh/projectnoonnu/noonfonts_2302_01@1.0/TheJamsil5Bold.woff2') format('woff2');
    font-weight: 700;
    font-style: normal;
}

@font-face {
    font-family: 'SUIT-Regular';
    src: url('https://fastly.jsdelivr.net/gh/projectnoonnu/noonfonts_suit@1.0/SUIT-Regular.woff2') format('woff2');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'LeeSeoyun';
    src: url('https://fastly.jsdelivr.net/gh/projectnoonnu/noonfonts_2202-2@1.0/LeeSeoyun.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}
html, body{
    height: 100%;
    margin: 0;
    padding: 0;
    background-color: rgb(236, 208, 212);
    /*padding: 50px;*/
    font-family: 'TheJamsil5Bold';
}
#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;
    font-family: 'LeeSeoyun';
}
#top_menu > li > a{
    display: block;
    padding: 20px 50px;
    color: rgb(184, 130, 146);
    font-size: 1.1em;
    font-weight: 600;
    transform: transform 0.15s;
}
#top_menu > li > a:hover{
    color: rgb(255, 255, 255);
    text-shadow: 0 -1px rgb(184, 130, 146);
    transform: scale(1.1);
}

footer{
    width: 100%;
    background-color: #A88290;
    /*position: relative;
    left: 0;
    bottom: 0;*/
    color: rgb(255, 255, 255);
    text-align: center;
    font-size: 0.8em;
    line-height: 1.5em;
    padding: 20px;
    font-family: 'LeeSeoyun';
}
h2{
    font-size: 2.5em;
    text-align: center;
    color: white;
    text-shadow: 2px 2px 4px rgb(161, 115, 129);
    letter-spacing: 0.3em;
    margin-top: 50px;
    font-family: 'LeeSeoyun';
}
.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(161, 115, 129);
    letter-spacing: 0.5em;
    animation: ani_title 5s;
    font-family: 'LeeSeoyun';
}
.main_text > h1 {
    font-size: 4em;
    letter-spacing: 0.5em;
    color: rgb(161, 115, 129);
    margin-top: 20px;
    animation: ani_title 5s;
    font-family: 'LeeSeoyun';
}
.main_img {
    width: 100%;
    /*height: 400px;*/
    text-align: center;
}
.main_img > img {
    width: 25%;
    height: auto;
}
.ct_text{
    color: rgb(185, 138, 152);
    font-weight: bold;
    font-size: 24px;
    line-height: 40px;
    text-align: center;
    margin: 30px;
    font-family: 'LeeSeoyun';
    animation: ani_title 3s;
    
}
.ct_box{
    width: 300px;
    background-color: rgba(177, 123, 145, 0.4);
    border-radius: 15px;
    padding: 40px;
    color: #eedcdc;
    margin: 20px auto;
    text-align: center;
    box-shadow: rgba(95, 43, 64, 0.4) 0px 3px 8px;
    animation: ani_title 3s;
}
.ct_box > p{
    color: white;
    opacity: 90%;
    font-family: 'LeeSeoyun';
    font-weight: bold;
}
.ct_img {
    width: 300px;
    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: rgb(250, 229, 232);
    border-radius: 15px;
    box-shadow: rgb(139, 105, 110); 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;
    font-family: 'LeeSeoyun';
}
h4{
    display: block;
    padding: 5px;
    font-size: 1.2em;
    font-weight: bold;
    font-family: 'LeeSeoyun';
}
.vision{
    color: rgb(161, 115, 129);
    font-size: 20px;
    line-height: 35px;
    font-weight: bold;
    margin: 30px;
    text-align: center;
    font-family: 'LeeSeoyun';
}
.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: #503f4c;
}
.right > h3 {
    font-size: 1.2em;
    padding-bottom: 15px;
    font-weight: bold;
    font-family: 'LeeSeoyun';
}
.right > p {
    line-height: 2em;
    padding-left: 15px;
    font-weight: bold;
    font-family: 'LeeSeoyun';
}
.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 a{
    width: 800px;
    margin: 30px auto;
    text-align: center;
}
.work_list img{
    width: 100%;
    height: auto;
    z-index: 5;
    border-radius: 15px;
}
.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;
    font-weight: bold;
    font-family: 'LeeSeoyun';
}
.caption > p {
    color: white;
    text-align: center;
    font-size: 0.8em;
    line-height: 2em;
    padding-top: 20px;
    font-weight: bold;
    font-family: 'LeeSeoyun';
}
/* 모달창을 띄워서 보여주는 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: 10px;
}
.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: rgb(236, 208, 212); /*모달 창의 백그라운드 컬러*/
    margin: 5% auto;
    padding: 20px;
    border: 1px solid #A88290;  /*모달 창의 테두리?*/
    width: 80%;
    max-width: 600px;
}
.modal-content img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
}
.close {
    color: #A88290; /*모달 창의 엑스 아이콘 컬러*/
    float: right;
    font-size: 30px;
    font-weight: bold;
    margin-bottom: 30px;
}
.close:hover, .close:focus {
    color: rgb(131, 27, 53); /*모달 창의 엑스 아이콘에 마우스를 댈 때 컬러*/
    text-decoration: none;
    cursor: pointer;
}
iframe{
    border: 1px solid rgba(0, 0, 0, 0.1);
    display: block;
    margin: 0 auto;
    text-align:center;
    width: 1200px;
    height: 800px;
}
@keyframes ani_title {
    from{opacity: 0.0;}
    to{opacity: 1.0;}
}
