

/* 노멀라이즈 시작 */
html, body, ul, li {
    margin: 0;
    padding: 0;
    list-style: none;
}

a {
    color: inherit;
    text-decoration: none;
}
/* 노멀라이즈 끝 */

/* 2차 이상의 메뉴만 none 값을 주기 */
.menu > ul ul {
    display: none;
}

/* 가운데 정렬 */
.top {
    margin-left: auto;
    margin-right: auto;

}

/* 변수 생성 */
:root {
    --site-width: 1200px;
}

/* 사이트 최소 너비 설정 */
.con-min-width {
    min-width: var(--site-width);
}

/* 실질적으로 메뉴에 사용할 너비 설정 */
.menu > ul > li {
    display: inline-block;
}

/* 문자열 가운데 정렬 */
.menu {
    text-align: center;
    margin-top: 30px;
    margin-bottom: 30px;
    
    display: flex;

    z-index: 2;
}

/* 모든 메뉴 크기 조절 */
.menu ul > li > a {
    display: block;
    padding-left: 100px;
    padding-right: 100px;
    padding-top: 30px;
    padding-bottom: 30px;
}

/* 모든 메뉴를 마우스 인식 시 배경색 변경 */
.menu ul > li:hover > a {
    font-family: "NanumSquareNeoExtraBold" , sans-serif;
    color: black;
    background-color: rgb(235, 235, 235);
    transition: 0.3s;
}

/* 2차 메뉴 등장 */
.menu > ul > li:hover > ul {
    display: block;
    transition: 0.3s;
}

/* 1차 메뉴를 제한 구역으로 설정 */
.menu > ul > li {
    position: relative;
}

/* 2차 메뉴에 absolute 값 주기 */
.menu > ul > li > ul {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
}

/* 1차 메뉴 스타일 */
.main-menu {
    font-family: "NanumSquareNeoExtraBold" , sans-serif;
    font-size: 25px;
    color: rgb(75, 75, 75);

    transition: 0.3s;
}

/* 2차 메뉴 스타일 */
.sub-menu {
    font-family: "NanumSquareNeoBold" , sans-serif;
    font-size: 17px;
    color: rgb(80, 80, 80);
    background-color: white;

    display: block;
    width: 100px;

    z-index: 2;
}

/* 언어 목록 스타일 */
.lang {
    padding: 10px 3px;
    color: gray;

    transition: 0.3s;
}

.lang:hover {
    color: black;
    transition: 0.3s;
}

.lang-w {
    margin-top: 35px;
    margin-left: 150px;
}

/* 로고 크기 조절 */
.menu > a {
    width: 500px;
    height: 93px;
}

.main-logo {
    width: 20%;
    margin-left: 200px;
    margin-right: 100px;

}

/*main img*/

.main-title{
    position: absolute;
    top: 46%;
    left: 35%;
    transform: translate(-50%, -50%);
    color: white;

    font-family: "NanumSquareNeoBold" , sans-serif;
    font-size: 28px;
    font-weight: 800;
    font-style: normal;

    z-index: 1;
}

.main-title2{
    position: absolute;
    top: 46%;
    left: 35%;
    transform: translate(-50%, -50%);
    color: black;

    font-family: "NanumSquareNeoBold" , sans-serif;
    font-size: 28px;
    font-weight: 800;
    font-style: normal;

    opacity: 0;
}

.main_img{
    margin-top: 30px;
    position: relative;
    width: 100%;
    height: 500px;
    text-align: center;
    margin-bottom: 300px;
    overflow: hidden;
}

.main-img{
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;

    opacity: 1;
}

.main-img2{
    width: 100%;
    height: 100%;
    object-fit: cover;

    opacity: 0;
}

.main-img3{
    width: 100%;
    height: 100%;
    object-fit: cover;

    opacity: 0;
}

/* 마우스 올렸을 때 */
.main_img:hover .main-title{
    opacity: 0;
    transition: 0.5s;
}

.main_img:hover .main-title2{
    opacity: 1;
    transition: 0.5s;

    z-index: 1;
}

.main_img:hover .main-img{
    opacity: 0;

    transition: 0.5s;
}

.main_img:hover .main-img2{
    opacity: 1;
}

/* 마우스 빠졌을 때 */
.main_img:not(hover) .main-title{
    opacity: 1;
    transition: 0.5s;
}

.main_img:not(hover) .main-title2{
    opacity: 0;
    transition: 0.5s;
}

.main_img:not(hover) .main-img{
    opacity: 1;
}

.main_img:not(hover) .main-img2{
    opacity: 0;

    transition: 0.5s;
}

/* 구분선 */
.air {
    padding: 30px 40px;
}

/*공공조달 상생협력 AI 방범 감시 시스템*/
.aiTitle {
    font-family: "NanumSquareExtraBold" , sans-serif;
    font-size: 40px;
    text-align: center;
    margin-bottom: 100px;
}

.aiText {
    text-align: center;
    margin-left: 400px;
    margin-right: 400px;
    margin-bottom: 100px;
}

.aiEfText {
    font-family: "NanumSquareExtraBold" , sans-serif;
    text-align: center;
    font-size: 20px;
    margin: 30px 400px;
}

/*NEWS*/
.newsBg {
    width: 100%;
    height: 855px;
    padding-top: 50px;
    background-color: rgb(89, 104, 145);
}

.wBg {
    margin: auto;
    
    width: 900px;
    height: 695px;
    background-color: white;
}

.newsTitle {
    font-family: "NanumSquareExtraBold" , sans-serif;
    font-size: 70px;
    color: white;
    text-align: center;
    margin-bottom: 30px;
}

.newsDay {
    font-family: "NanumSquareNeoHeavy" , sans-serif;
    font-size: 22px;
    color: rgb(153, 153, 153);

    margin-right: -15px;
}

.newsTextS {
    padding-top: 40px;
    padding-bottom: 20px;
    padding-left: 50px;
    padding-right: 50px;
    font-family: "NanumSquareBold" , sans-serif;
    font-size: 17px;
}

.newsText {
    padding: 20px 50px;
    font-family: "NanumSquareBold" , sans-serif;
    font-size: 17px;
}

.newsTextE {
    padding-top: 20px;
    padding-bottom: 40px;
    padding-left: 50px;
    padding-right: 50px;
    font-family: "NanumSquareBold" , sans-serif;
    font-size: 17px;
}

.newsLine {
    margin: auto;
    width: 804px;
    height: 1px;
    background-color: rgb(139, 139, 139);
}

/* 나라장터 */
.market {
    padding: 100px;
    text-align: center;
}

.market-img {
    width: 35%;
}


/* 최하단 */
.bottom {
    display: flex;
    padding: 30px;

    background-color: rgb(212, 212, 212);
}

/* 로고 */
.bottom-logo {
    margin-left: 200px;
    margin-top: 11px;

    width: 6%;
    height: 4.5%;
}

/* 하단 정보 */
.bottom-text {
    padding: 20px 100px;

    font-family: "NanumSquareBold" , sans-serif;
    font-size: 14px;
    color: rgb(75, 75, 75);
    line-height: 20px;
}

.bottom-text2 {
    margin-left: 560px;
    margin-top: 63px;

    font-family: "NanumSquare" , sans-serif;
    font-size: 14px;
    color: rgb(151, 151, 151);
}