

/* 노멀라이즈 시작 */
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: "Noto Sans" , sans-serif;
    font-weight: 800;
    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: "Noto Sans" , sans-serif;
    font-weight: 700;
    font-size: 25px;
    color: rgb(75, 75, 75);

    transition: 0.3s;
}

/* 2차 메뉴 스타일 */
.sub-menu {
    font-family: "Noto Sans" , sans-serif;
    font-weight: 500;
    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: 30%;
    transform: translate(-50%, -50%);
    color: white;

    font-family: "Noto Sans" , sans-serif;
    font-size: 30px;
    font-weight: 600;
    font-style: normal;
    text-align: left;

    z-index: 1;
}

.main-title2{
    position: absolute;
    top: 46%;
    left: 30%;
    transform: translate(-50%, -50%);
    color: black;

    font-family: "Noto Sans" , sans-serif;
    font-size: 30px;
    font-weight: 600;
    font-style: normal;
    text-align: left;

    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: "Noto Sans" , sans-serif;
    font-weight: 700;
    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: "Noto Sans" , sans-serif;
    font-weight: 600;
    text-align: center;
    font-size: 20px;
    margin: 30px 400px;
}

/*NEWS*/
.newsBg {
    width: 100%;
    height: 955px;
    padding-top: 50px;
    background-color: rgb(89, 104, 145);
}

.wBg {
    margin: auto;
    
    width: 1000px;
    height: 775px;
    background-color: white;
}

.newsTitle {
    font-family: "Noto Sans" , sans-serif;
    font-weight: 800;
    font-size: 70px;
    color: white;
    text-align: center;
    margin-bottom: 30px;
}

.newsDay {
    font-family: "Noto Sans" , sans-serif;
    font-weight: 800;
    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: 905px;
    height: 1px;
    background-color: rgb(139, 139, 139);
}

/*상담, 문의, 공지사항 등*/
.wtH{
    display: flex;
    margin: 150px 400px ;

    font-family: "NanumSquareBold" , sans-serif;
    line-height: 24px;
    color: rgb(61, 61, 61);
}

.call {
    width: 33%;
    margin: 0px 16px;
}

.mail {
    width: 33%;
    margin: 0px 10px;
}

.notice {
    width: 33%;
    margin: 0px 23px;
}

.call_b {
    font-family: "NanumSquareExtrabold" , sans-serif;
    font-size: 20px;
    color: black;
}

.mail_b {
    font-family: "NanumSquareExtrabold" , sans-serif;
    font-size: 20px;
    color: black;
}

.notice_b {
    font-family: "NanumSquareExtrabold" , sans-serif;
    font-size: 20px;
    color: black;
}

.mail_button {
  display: block;
  position: relative;
  float: left;
  width: 220px;
  padding: 8px;
  margin: 25px 20px 10px 0;
  text-align: center;
  line-height: 50px;
  color: #ffffff;
  border-radius: 10px;
  transition: all 0.2s ;
  
  border-style: none;
  background-color: rgb(54, 155, 223);

  font-family: "NanumSquareNeoExtraBold";
  font-size: 17px;

  
}

.mail_button:hover {
    background-color: rgb(44, 129, 185);
    color: #e7e7e7;
}

.notice-text {
    font-family: "NanumSquarebold" , sans-serif;
    font-size: 15px;
    color: gray;

    margin: 5px 0;
}

.notice-line {
    width: 350px;
    height: 1px;
    background-color: gainsboro;

    margin: -10px 0;
}


/* 나라장터 */
.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);
}