/*
* Prefixed by https://autoprefixer.github.io
* PostCSS: v8.3.6,
* Autoprefixer: v10.3.1
* Browsers: last 4 version
*/

@charset "utf-8";

@font-face {
    font-family: '둥근모꼴';
    src: url(../font/DungGeunMo.otf) format('opentype');
    src: url(../font/DungGeunMo.ttf) format('truetype');
    src: url(../font/DungGeunMo.woff2) format('woff2');
    src: url(../font/DungGeunMo.woff) format('woff');
    font-weight: normal;
    font-style: normal;

}

/*** 전체 설정 ***/
body {
    
    background-color: #000084;

}

* {
    margin: 0;
    padding: 0;

    color: #fff;
    font-family: '둥근모꼴';
}

li {
    list-style: none;

}

a {
    text-decoration: none;
    color: #000;
}


img {
    vertical-align: top;

}

#wrap {
    max-width: 1100px;
    margin: 0 auto;

}

h3 {
    font-size: 40px;
    text-align: center;
}

/*시작장애인을 위한 영역별 바로 가기*/
.behind {
    position: absolute;
    /*영역을 차지하지 않도록*/
    width: 1px;
    height: 1px;
    overflow: hidden;
    left: -10px;
    /*브라우저 바깥으로 이동*/
    z-index: -1000;
    /*z값: 기본설정은 0*/
}

/*시각장애인을 위한 제목태그 설정*/
.hidden {
    width: 0;
    height: 0;
    font-size: 0;
    line-height: 0;
    visibility: hidden;
}


/*** header ***/
#header {
    height: 100px;
    padding-top: 30px;


}

#logo {
    float: left;
    width: 249px;
}


#lnb {
    width: calc(100% - 249px);
    float: left;
}

#lnb ul {
    float: right;
    height: 100px;
}

#lnb ul li {
    float: left;
    padding-left: 55px;
}

#lnb ul li a {
    width: 100%;
    display: block;
    border-bottom-style: dashed;
    border-top-style: dashed;
    color: #fff;
    font-size: 22px;
    padding: 5px 0 5px 0;
    cursor: pointer;

}

#lnb ul li a:hover {
    color: yellow;
}

#main {
    overflow: hidden;
}

section {
    height: calc(100vh - 180px);
}

/*** intro ***/
#intro {
    position: relative;
    /*.slide의 기준*/
}

#intro img {
    position: absolute;
    left: 50%;
    top: 50%;
    -webkit-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
}

#intro li {
    font-size: 200%;

}

#intro li span {
    color: yellow;
}

.slide {
    width: 500px;
    height: 100px;
    overflow: hidden;
    position: absolute;
    left: 50%;
    top: 50%;
    -webkit-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
}

.slide > ul {
    width: 300%;
    height: 100%;
    position: relative;
    top: 0;
}

.slide > ul > li {

    width: 33.333333%;
    padding: 18px;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    height: 100%;

}

/*
.slide > ul > li:nth-child(1) {
    animation: ani 10s infinite;
}

@keyframes ani {
    0% {
        margin-top: 0;
    }
 32.9999% {
        margin-top: 0;
    }
    33% {
        margin-top: -100px;
    }
  66.9999% {
        margin-top: -100px;
    }
    67% {
        margin-top: -200px;
    }


}
*/

/*** about ***/
#about {
    padding-top: 50px;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    position: relative;
}

#about h3 {
    background-color: #000084;
    padding-left: 40px;
    padding-right: 40px;
    position: absolute;
    top: 30px;
    left: 434px;
}

.box {
    border: 6px solid #fff;
    overflow: hidden;
}

.box img {
    float: left;
    margin: 65px 65px 240px 65px;
}

.box div {
    float: left;
    width: 377px;
    margin-top: 85px;
}

#about h4 {
    color: #ff00ff;
    font-size: 22px;
    margin-bottom: 20px;
}

#about li {
    font-size: 18px;
    line-height: 1.6;
}


/*** portfolio ***/
#portfolio {
    padding-top: 50px;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    position: relative;
}

#portfolio h3 {
    margin-bottom: 85px;
}

#portfolio div {
    float: left;

}

#portfolio div:nth-child(6) h4 {
    margin-right: 0;
}

#portfolio h4 {
    text-align: center;
    width: 189px;
    height: 24px;
    background-color: #fff;
    color: #000084;
    margin-right: 38px;
    margin-bottom: 13px;
    font-size: 20px;
}

#portfolio li {
    line-height: 1.6;
}

#portfolio li a {
    color: #fff;
}

#portfolio li a:hover {
    color: yellow;
}

#portfolio li span {
    color: #01f1f2;
}

#portfolio li span:hover {
    color: yellow;
}

i[data-descr] {
    position: relative;
    font-style: normal;

}

#portfolio li i:hover {
    color: yellow;
}

i[data-descr]:hover::after,
i[data-descr]:focus::after {
    content: attr(data-descr);
    position: absolute;
    left: 0;
    top: 24px;
    min-width: 250px;
    border: 1px #aaaaaa solid;
    border-radius: 10px;
    background-color: #ffffcc;
    padding: 12px;
    color: #000000;
    font-size: 14px;
    z-index: 1;
}


/*** contact ***/
#contact {
    padding-top: 200px;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    position: relative;
    overflow: hidden;
}

#contact p {
    text-align: center;
    margin-top: 40px;
    font-size: 20px;
    line-height: 2;
}

#contact img {
    width: 35px;

}




/*** footer ***/
#footer {
    width: 100%;
    height: 50px;
    text-align: center;
}


#footer small {
    color: #5858a1;
    font-size: 16px;
    padding-bottom: 25px;
}



/***** 태블릿PC 추가 설정  *****/
@media (min-width: 992px) and (max-width: 1199px)  {
    body {
        -webkit-text-size-adjust: none;
    }

    #header {
        margin: 0 30px 0 30px;
    }
   #lnb > ul > li {
        padding-left: 30px;
    }

   section {
        min-height: calc(100vh - 280px);
        height: auto;
        overflow: hidden;
    }


    #about {
        margin: 30px;
    }

    .box div {
        width: 300px;
        overflow: hidden;
        margin-top: 85px;
    }

    #portfolio {
        padding: 50px;
        -webkit-box-sizing: border-box;
        box-sizing: border-box;

    }

    #portfolio div {
        width: 300px;
        height: 450px;

    }
}

@media (min-width: 768px) and (max-width: 991px) {
     body {
        -webkit-text-size-adjust: none;
    }

     #header {
        margin: 0 30px 0 30px;
    }
    section {
        min-height: calc(100vh - 280px);
        height: auto;
        overflow: hidden;
    }

    #lnb > ul > li {
        padding-left: 30px;
    }
     #about {
        margin: 30px;
    }
    .box img {
    
    margin-bottom: 500px ;
}
     .box div {
        width: 250px;
        overflow: hidden;
        margin-top: 85px;
    }
       .box div:last-child {
               margin-bottom: 30px;
    }
      #portfolio {
        padding: 50px;
        -webkit-box-sizing: border-box;
        box-sizing: border-box;

    }
 #portfolio div {
        width: 300px;
        height: 400px;

    }

}

/******* 모바일 기본설정 (width:767px 이하) ******/
@media all and (max-width:767px) {
    body {
        -webkit-text-size-adjust: none;
    }

    #header {
        height: 200px;
        margin: 0;
    }

    #logo {
        width: 250px;
        height: 30px;
        clear: both;
        padding: 30px;
    }

    #lnb {
        width: 100%;
    }

    #lnb > ul {
        float: left;
    }

    #lnb > ul > li {
        padding-left: 20px;
    }

    section {
        min-height: calc(100vh - 280px);
        height: auto;
        overflow: hidden;
    }




    #intro img {
        width: 100%;
    }

    .slide {
        height: 60px;
    }

    .slide > ul > li {

        padding: 5px 18px 18px 118px;


    }

    #about {
        margin: 30px;
    }

    #intro li {
        font-size: 140%;

    }

    .box img {
        margin: 55px 35px 35px 35px;
    }

    .box div {
        clear: both;
        width: 100%;
        margin: 15px 35px 20px 35px;
    }

    #about h3 {

        top: 30px;
        left: 20px;
    }

    #portfolio {
        padding: 50px;
        -webkit-box-sizing: border-box;
        box-sizing: border-box;

    }

    #portfolio div {

        height: auto;


    }

    #portfolio h3 {
        margin-bottom: 25px;
    }

    #portfolio h4 {
        margin-top: 30px;
    }

    #contact {
        padding-top: 90px;

    }

    #footer {
        width: 100%;
    }
}
