* {
    /* 폰트 크기 */
    font-size: inherit;
    /* 폰트 두께 */
    font-weight: inherit;
    margin: 0;
    padding: 0;
    /* box사이즈 초기화 */
    box-sizing: border-box;
}

ul,
ol {
    /* 앞에 양식 없애기 */
    list-style: none;
}

a {
    color: inherit;
    text-decoration: none;
}

em,
i,
address {
    font-style: normal;
}

body {
    /* 줄간 */
    line-height: 1;
}




.header {
    border-top: 3px solid tomato;
    border-bottom: 1px solid tomato;
}

.header h1 {
    line-height: 100px;
    text-align: center;
}

.header .gnb {
    border-top: 1px solid #333;
    /* width: 1200px;
    margin: 0 auto; */
}

.header .gnb>ul {
    width: 1200px;
    /* 박스 가운데 */
    margin: 0 auto;

    display: flex;
    text-align: center;
}

.header .gnb>ul>li {
    position: relative;
    flex: 1;
    line-height: 50px;
    border-left: 1px solid #ddd;
}

.header .gnb>ul>li:last-child {
    border-right: 1px solid #ddd;
}

.header .gnb>ul>li ul {
    position: absolute;
    top: 150px;
    left: 0px;
    background: #ff0;
    width: 100%;
    z-index: 999;

    /* display: none; */

    opacity: 0;
    transition: 0.5s;
    visibility: hidden;
}


.header .gnb>ul>li:hover ul {
    /* display: block; */
    top: 50px;
    opacity: 1;
    visibility: visible;
}

main {
    position: relative;
    background: #333;
    height: 500px;
}

.footer {
    text-align: center;
    padding: 50px 0;
}