@charset "utf-8";

* {
    margin: 0;
    padding: 0;
    text-align: center;
    list-style: none;
    text-decoration: none;
}


a {
    font-family: 'NanumMyeongjo'
}

@font-face {
    font-family: 'NanumMyeongjo';
    src: url(../font/NanumMyeongjo.otf) format('Opentype');
}


#wrap {
    width: 100%;
    height: 100vh;
    background: url(../img/gray-1_2.jpg) no-repeat;
    background-size: cover;
}


#header {
    width: 100%;
    position: absolute;
    bottom: 250px;
}

#header a {
    color: #000;
}

h3 {
    font: 1.2rem/1.2 '나눔명조';
    color: #000;
    text-shadow: 0 0 5px #fff;
}

h1 {
    font: bold 2rem/1.2 '나눔명조';
    color: #000;
    text-shadow: 0 0 5px #fff;
}



/******************************************/

section {
    width: calc(100% - 20px);
    height: 120px;
    position: absolute;
    bottom: 70px;
    right: 10px;
}

section > ul {
    display: flex;
    justify-content: space-between;
}

section ul li {
    width: 22%;
    float: left;
}

section img {
    width: 100%;
    display: block;
}

.text {
    width: 100%;
    position: relative;
    top: 10px;
}

.text > ul > li {
    width: 100%;
}



.text a {
    display: block;
    width: 100%;
    font: 0.8em/1.5 '';
    color: #000;
}

.text a:hover {
    color: #fff;
    text-shadow: 0 0 5px #000;
}

img:hover {
    opacity: 0.4;
}


/******태블릿 pc(768px 이상) 설정*******/

@media all and (min-width:768px) {
    #header {
        width: 100%;
        position: absolute;
        bottom: 350px;
    }

    section {
        width: calc(100% - 50px);
        height: 120px;
        position: absolute;
        bottom: 150px;
        right: 10px;
    }

    section img {
        width: 80%;
        display: block;
    }

    .text {
        width: 80%;
        position: relative;
        top: 10px;
    }
}

/********* PC웹 (1024px 이상) 설정*************/

@media all and (min-width:1024px) {

    #header {
        width: 350px;
        position: absolute;
        top: 80px;
        right: 50px;
    }

    h3 {
        font: 1.5rem/1.5 '나눔명조';
        color: #000;
        text-shadow: 0 0 5px #fff;
    }

    h1 {
        font: bold 2.6rem/1.5 '나눔명조';
        color: #000;
        text-shadow: 0 0 5px #fff;
    }

    section > ul {
        position: absolute;
        right: 5%;
    }

    .text a {
        font: 0.8em/1.8 '';
        color: #000;
    }

}
