@charset "utf-8";
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans&family=Noto+Sans+KR&display=swap');

* {
    margin: 0;
    padding: 0;
    font-family: 'Noto Sans', sans-serif;
    box-sizing: border-box;
    vertical-align: baseline;
}

body {
    max-width: 1920px;
    margin: 0 auto;
    overflow-x: hidden;
    overflow-y: auto;
}
li {
    list-style: none;
}

/****************************** TOP button ********************************/
.topBtn{
    position: fixed;
    z-index: 999;
    bottom: 7%;
    right: 3%;
    align-items: center;
    display: none;
}
.topBtn .topBtn-a{
    cursor: pointer;
}
.topBtn i{
    font-size: 50px;
    color: #184B9F;
}

/********************************* 헤더부분 *************************************/
header {
    width: 1920px;
    z-index: 1000;
    top:0;
}

header .container{
    display: flex;
    justify-content: space-between; /* 양 끝으로 배치 */
    align-items: center;
    width: 100%;
    border: 1px solid #DBDBDB;
    height: 80px;
    position: fixed;
    top: 0;
    z-index: 1000;
}

header ul {
    width: 648px;
    position: relative;
    margin-right: 126px;
    height: 80px;
}

header ul li {
    display: inline-block;
}

.nav {
    display: inline-flex;
    position: relative;
    overflow: hidden;
    max-width: 100%;
    padding: 0 20px;
    top: -5px;
}
.nav-item {
    color: black;
    text-decoration: none;
    transition: 0.3s;
    z-index: 1;
    font-size: 20px;
    font-weight: bolder;
    position: relative;
    margin-right: 68px;
    margin-bottom: 10px;
}

.nav-item:before {
    content: "";
    position: absolute;
    bottom: 0px;
    left: -10%;
    width: 100%;
    height: 5px;
    background-color: blue;
    border-radius: 5px 5px 5px 5px;
    opacity: 0;
    transition: 0.5s;
    margin-bottom: -10px;
}

.nav-item:not(.is-active):hover:before {
    opacity: 1;
    bottom: 0;
    left: 1%;
}

.nav-item:not(.is-active):hover {
    color: blue;
}

.nav-indicator {
    position: absolute;
    left: 0;
    bottom: 0;
    height: 5px;
    transition: 0.4s;
    z-index: 1;
    border-radius: 5px;
}

header button {
    background: transparent;
    border: 0;
    cursor: pointer;
    font-weight: bold;
    font-size: 32px;
    margin-top: 17px;
}

/************************************* 로고 ****************************************/
header h1 a { 
    margin-left: 360px;
}
header h1 a img {
    width: 133px;
    height: 30px;
}


/********************* information-header ***********************/
#information-header {
    background: url(../img/information-header.png) no-repeat center;
    width: 100%;
    height: 300px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 80px;
}
#information-header h1 {
    color: white;
}

/************************** Hidden **************************/
.overlay {
    height: 210px;
    width: 100%;
    z-index: 1000;
    top: 80px;
    left: 0;
    background-color: rgba(47, 88, 163, 0.7);
    position: fixed;
    display: none;
}

.overlay-content {
    float: left;
    top: 10%;
    text-align: left;
    margin-right: 50px;
    margin-top: 15px;
    line-height: 0.7;
}
.overlay-content:first-child {
    margin-left: 1139px;
}
.overlay-content:nth-child(2) {
    margin-left: -17px;
}
.overlay-content:last-child {
    margin-left: 14px;
}

.overlay .mobile {
    display: none;
}
.overlay .m-line {
    display: none;
}

.overlay a {
    padding: 8px;
    text-decoration: none;
    font-size: 20px;
    color: #ffff;
    display: block;
    transition: 0.3s;
}

.overlay a:hover, .overlay a:focus {
    color: black;
}

/***************************** article *******************************/
.news {
    margin-top:100px;
}

.infomation-title {
    margin-left: 240px;
    margin-bottom: 50px;
}

.news .left-button {
    position:relative;
    margin-left: 240px;
	display:inline-block;
	cursor:pointer;
	color:#ffffff;
	font-size:19px;
	font-weight:bold;
}
.left-button a {
    display: flex;
    text-decoration: none;
}
.left-button p {
    margin-top: 8px;
    margin-left: 20px;
    font-size: 16px;
}
.news .left-button:hover p{
    color: #476e9e;
}
.news .infomation-title .title-p{
    text-align: left;
    font-size:  40px;
    font-weight: bold;
    width: 211px;
    height: 58px;
}

.news .infomation-title .title-p2{
    width: 51px;
    height: 26px;
    font-size: 18px;
    color:#C8C8C8;
}

.news .news-container{
    margin-left: 620px;
    margin-top: -40px;
}

.news .news-title{
    border-bottom: 2px solid #184B9F;
    width:1060px;
    padding-bottom: 30px;
}

.news .news-title p{
    width: 1040px;
    height: 35px;
    text-align: left;
    font-size: 24px;
    font-weight: bold;
    letter-spacing: 1.2px;
    color: #1E1E1E;
    line-height: 0.8;
}

.news .news-title span{
    width: 680px;
    height: 24px;
    text-align: left;
    font-size: 16px;
    letter-spacing: 0.8px;
    color: #AAAAAA;
    opacity: 1;
}
.news .news-imgbox{
    margin-bottom: 50px;
}
.news .news-imgbox .news-img img{
    margin-top:30px;
    width: 1060px;
    height: 561px;
    border: 1px solid #707070;
    border-radius: 20px;
    opacity: 1;
}

.news .news-text {
    width: 1041px;
    text-align: left;
    font-family:  Noto Sans KR sans-serif;
    font-size:14px;
    letter-spacing: 0.8px;
    color: #000000;
    opacity: 1;
    border-bottom: 2px solid #184B9F;
    padding-bottom: 30px;
}

/* 이전글 다음글 버튼 */

.news .text-button .bot-button,.bot-button2{
    box-shadow: 0px 0px 0px 2px #9fb4f2;
	background:linear-gradient(to bottom, #7892c2 5%, #476e9e 100%);
	background-color:#7892c2;
	border-radius:11px;
	border:2px solid #4e6096;
	display:inline-block;
	cursor:pointer;
	color:#ffffff;
	font-size:14px;
	font-weight:bold;
	padding:12px 30px;
	text-decoration:none;
	text-shadow:0px 0px 0px #283966;
    margin-top: 30px;
    text-decoration: none;
    margin-bottom: 200px;
}

.news .text-button .bot-button2{
    margin-left:780px;
}

.news .text-button .bot-button:hover{
	background:linear-gradient(to bottom, #476e9e 5%, #7892c2 100%);
	background-color:#476e9e;
}
.news .text-button .bot-button2:hover {
	background:linear-gradient(to bottom, #476e9e 5%, #7892c2 100%);
	background-color:#476e9e;
}

/***************** footer ********************/
.footer-wrap {
    position: relative;
    left: 0;
    width: 1920px;
    height: 250px;
    background: #E9E9E9 0% 0% no-repeat padding-box;
    opacity: 1;
}
.footer-wrap img {
    width:200px;
    height:45px;
    margin-top:50px;
    margin-left:240px;
}
.footer-wrap .address {
    letter-spacing: 0px;
    line-height: 26px;
    color: #9E9E9E;
    opacity: 1;
    text-align: left; 
}
.footer-wrap .address .footer-add {
    position: relative;
    height: 24px;
    left: 460px;
    bottom:20px;
    font-size: 24px;
}
.footer-wrap .address .footer-inform {
    position: relative;
    margin-left: 240px;
    padding-bottom: 49px;
    height:76px;
}
.footer-wrap .address .footer-inform-add {
    position:relative;
    left: 1000px;
    bottom: 50px;
    height: 50px;
    margin-top: -25px;
}

/************** media query 1. Header tablet ****************/
@media (min-width: 769px) and (max-width: 1280px) {
    /******* header *******/
    header h1 a {    
        margin-left: 231.07px;
    }
    header ul {
        right: -115px;
    }
    header .nav {
        letter-spacing: -2;
    }
    #information-header {
        width: 1280px;
        height: 300px;
    }
    #information-header h1 {
        font-size: 40px;
    }
    .overlay-content:first-child {
        margin-left: 598px;
    }
    .overlay-content:nth-child(2) {
        margin-left: -16px;
    }
    .overlay-content:last-child {
        margin-left: 14px;
    }
    
    .overlay .mobile {
        display: none;
    }
    .overlay .m-line {
        display: none;
    }

/************** media query 2.article tablet ****************/
    .news {
        width: 1280px;
        position: relative;
    }
    .infomation-title {
        margin-bottom: 100px;
    }
    .infomation-title .title-p {
        margin-left: 300px;
    }
    .infomation-title .title-p2 {
        margin-left: 375px;
    }
    .news .left-button {
        position: absolute;
        bottom: 11%;
        left: 25%;
    }
    .news .news-container {
        margin-left: 100px;
    }
    .news .news-title {
        padding-bottom: 10px;
    }
/************** media query 4. footer tablet ****************/
    .footer-wrap {
        width: 1280px;
    }
    #footer .footer-logo {
        margin-left: -157px;
        width: 100%
    }
    .footer-wrap .address .footer-add {
        margin-left: -157px;
        font-size: 18px;
    }
    .footer-wrap .address .footer-inform {
        margin-left: 83px;
        text-rendering: optimizeSpeed;
        letter-spacing: -1px;
    }
    .footer-wrap .address .footer-inform-add {
        margin-left: -291px;
        text-rendering: optimizeSpeed;
        letter-spacing: -1px;
    }
}


/************** media query 1.header mobile ****************/
@media (max-width: 768px) {
    body {
        -ms-overflow-style: none; /* IE and Edge */
        scrollbar-width: none; /* Firefox */
        width: 100%;
    }
    body::-webkit-scrollbar {
        display: none; /* Chrome, Safari, Opera*/
    }
    /******* header *******/
    header {
        width: 768px;
    }
    header h1 a {    
        margin-left: 52px;
    }
    header .nav a {
        display: none;
    }
    header ul {
        left: 458px;
    }
    .overlay {
        -ms-overflow-style: none; /* IE and Edge */
        scrollbar-width: none; /* Firefox */
    }
    .overlay::-webkit-scrollbar {
        display: none; /* Chrome, Safari, Opera*/
    }
    .overlay .mobile {
        display: block;
        margin-bottom: 10px;
    }
    .overlay .m-line {
        display: block;
        padding: 0;
        border-bottom: 1px solid #9E9E9E;
        width: 768px;
        margin-left: -275px;
    }
    .overlay-content {
        letter-spacing: 0;
    }
    .overlay-content:first-child {
        margin-left: 275px;
    }
    .overlay-content:nth-child(2) {
        margin-left: 420px;
        margin-top: -190px;
    }
    .overlay-content:last-child {
        margin-left: 560px;
        margin-top: -190px;
    }
/************** media query 2.article mobile ****************/
    .news {
        width: 768px;
        height: 1885px;
        position: relative;
    }
    .infomation-title {
        margin-bottom: 100px;
        margin-top: -50px;
    }
    .infomation-title .title-p {
        margin-left: 50px;
    }
    .infomation-title .title-p2 {
        margin-left: 130px;
    }
    .news .left-button {
        position: absolute;
        bottom: 4.5%;
        left: 13%;
    }
    .news .news-container {
        margin-left: 24px;
        width: 706px;
    }
    .news .news-title {
        padding-bottom: 10px;
        width: 706px;
    }
    .news .news-imgbox {
        width: 706px;
    }
    .news .news-imgbox .news-img img {
        width: 706px;
    }
    .news .news-container .news-text {
        width: 706px;
    }
    .news .news-container .bot-button {
        width: 120px;
        font-size: 12px;
    }
    .news .news-container .bot-button2 {
        width: 120px;
        font-size: 12px;
        margin-left: 460px;
        padding: 12px;
        padding-left: 30px;
    }

/************** media query 3.footer mobile ****************/
    #footer {
        height: 341px;
        background-color: #E9E9E9;
    }
    #footer .footer-logo {
        margin-left: -157px;
    }
    .footer-wrap .address {
        letter-spacing: -0.8;
    }
    .footer-wrap .address .footer-add {
        margin-left: -157px;
        font-size: 18px;
    }
    .footer-wrap .address .footer-inform {
        margin-left: 83px;
        line-height: 1.7;
    }
    .footer-wrap .address .footer-inform-add {
        margin-left: -918px;
        margin-top: 90px;
        line-height: 1.7;
    }
}