@charset "utf-8";

* {
        margin: 0;
        padding: 0;
        list-style: none;
        box-sizing: border-box;
        font-family: 'Roboto', sans-serif;
}

body {
        background-color: var(--color-White);
        color: var(--color-text);
}

a {
        text-decoration: none;
        color: inherit;
}



/* header */
.header {
        width: 100%;
        display: flex;
        align-items: center;
        justify-content: space-around;
        background-color: var(--color-White);
        position: fixed;
        z-index: 3;
}

.header .menu .nav>li:hover {
        color: var(--color-accent);
        transition: 0.2s;
}


.header .menu .nav>li>a {
        display: inline-block;
        height: 80px;
        line-height: 80px;
        font-weight: 300;
}

.header .menu {
        width: 30%;
}

.header .menu .leftnav li {
        float: left;
        margin-left: 50px;
}

.header .menu .rightnav li {
        float: right;
        margin-right: 50px;
}

.logo {
        position: relative;
        width: 150px;

}

.logo img {
        width: 100%;
}

/* 모바일 햄버거 메뉴 */
.burger {
        position: relative;
        width: 25px;
        height: 16px;
        cursor: pointer;
        display: none;
}

.burger_line {
        position: absolute;
        width: 100%;
        height: 3px;
        border-radius: 2px;
        background-color: var(--color-accent);
        left: 0;
        transition: 0.2s;
}

.burger_line:first-child {
        top: 0;
}

.burger_line:nth-child(2),
.burger_line:nth-child(3) {
        top: 50%;
}

.burger_line:nth-child(4) {
        top: 100%;
}

.burger.active span:nth-child(1),
.burger.active span:nth-child(4) {
        opacity: 0;
}

.burger.active span:nth-child(2) {
        transform: rotate(45deg);
}

.burger.active span:nth-child(3) {
        transform: rotate(-45deg);
}

/*-----------main 구간-------------*/

.main {
        width: 100%;
        height: 500px;
        background: url("../images/images3/main.jpg") no-repeat;
        background-size: 100%;
}

.main_text {
        position: relative;
        top: 50%;
        left: 10%;
}

.main h2 {
        font-size: 40px;
        color: #ffffff;
        letter-spacing: 1px;
        font-family: 'Montserrat', sans-serif;
}


/*-----------content 구간----------*/

.content_title {
        width: 100%;
        padding: 50px 100px;
}

.content_title h3 {
        font-size: 28px;
        font-family: 'Montserrat', sans-serif;
}

.content_wrap {
        width: 90%;
        margin: 0 auto;
        overflow: hidden;
}

.content {
        width: 100%;
        padding: 40px 0;
        overflow: auto;
}

.content::-webkit-scrollbar {
        height: 10px;
        border-radius: 5px;
}

.content::-webkit-scrollbar-track {
        border-radius: 10px;
        box-shadow: inset 0px 0px 5px white;
        background-color: var(--color-sub2);
}

.content::-webkit-scrollbar-thumb {
        background-color: var(--color-accent);
        border-radius: 5px;
}


.content .content_list {
        display: flex;
        justify-content: space-between;
        align-items: center;
}

.content .content_list .content_list_inner {
        width: 350px;
        height: 400px;
        border: 1px solid var(--color-gray1);
        border-radius: 10px;
        padding: 20px;
        margin-left: 20px;
        text-align: justify;
}

.content .content_list .content_list_inner:first-child {
        margin-left: 0;
}

.content_list .content_list_inner .textyear {
        font-weight: 600;
        margin: 5px;
        font-family: 'Montserrat', sans-serif;
}


.content_list .content_list_inner>span {
        font-size: 14px;
        font-weight: 200;
        line-height: 25px;
}

.content_list .content_list_inner .con_img {
        position: relative;
        width: 290px;
        height: 180px;
        top: 0;
        left: 0;
        border-radius: 10px;
        overflow: hidden;
        margin: 10px 0;
}

.content_list .content_list_inner .con_img>img {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        width: 110%;
}

/*-----------footer-----------*/


footer {
        width: 100%;
        padding: 30px;
        margin-top: 100px;
        font-size: 14px;
        font-weight: 200;
        display: flex;
        justify-content: space-around;
        background-color: var(--color-accent2);
}

footer p {
        font-size: 16px;
        margin-bottom: 15px;
}





/*=====반응형 구간=====*/

@media only screen and (max-width:1399px) and (min-width:1024px) {

        .header .menu .leftnav li {
                float: left;
                margin-left: 20px;
                font-size: 16px;
        }

        .header .menu .rightnav li {
                float: right;
                margin-right: 20px;
                font-size: 16px;
        }

        .logo {
                width: 10%;
        }

        .main {
                height: 500px;
        }

        .main h2 {
                font-size: 32px;
        }

        .content_title {
                width: 100%;
                padding: 40px 60px;
        }

        .content {
                width: 100%;
                padding: 20px 0 40px;
        }

        footer {
                padding: 15px 0;
                font-size: 12px;
                display: flex;
                justify-content: space-around;
                background-color: var(--color-accent2);
        }

        footer p {
                font-size: 14px;
                margin: 0 4px 12px;
        }

        footer a {
                margin: 0 5px 12px;
        }


}

/*1399-1024구간 끝*/


@media only screen and (max-width:1023px) and (min-width:700px) {

        .header .menu .leftnav li {
                float: left;
                margin-left: 15px;
                font-size: 14px;
        }

        .header .menu .rightnav li {
                float: right;
                margin-right: 15px;
                font-size: 14px;
        }

        .logo {
                width: 15%;
        }


        .main {
                height: 400px;
        }

        .main h2 {
                font-size: 30px;
                text-shadow: 3px 4px 5px var (--color-text);
        }


        .content_wrap {
                width: 90%;
                margin: 0 auto;
        }

        .content_title {
                width: 100%;
                padding: 40px 60px;
        }

        .content {
                width: 100%;
                padding: 20px 0 40px;
        }

        .content .content_list {
                display: block;
        }

        .content .content_list .content_list_inner {
                width: 600px;
                height: 250px;
                padding: 20px;
                margin: 20px auto;
                display: flex;
                justify-content: space-between;
                align-items: center;
        }

        .content .content_list .content_list_inner:first-child {
                margin: 0 auto;
        }


        .content_list .content_list_inner>span {
                width: 250px;
        }

        .content_list .content_list_inner .con_img {
                width: 200px;
                height: 120px;
        }



        footer {
                padding: 15px 0;
                font-size: 12px;
                margin-top: 20px;
                ;
                display: flex;
                justify-content: space-around;
                background-color: #D0E6FF;
        }

        footer div {
                width: 30%;
                padding: 0 10px;
        }


}

/*1023-700구간 끝*/

@media only screen and (max-width:699px) {
        /*햄버거 메뉴 제작*/

        .burger {
                display: block;
                position: absolute;
                top: 32px;
                right: 16px;
                z-index: 4;
        }

        header {
                height: 80px;
        }

        .header .menu {
                width: 100%;
                position: absolute;
                text-align: center;
                background-color: var(--color-White);
                display: none;
        }

        .header .menu:nth-child(1) {
                top: 80px;
        }

        .header .menu:nth-child(3) {
                top: 320px;
        }

        .header .menu .leftnav>li {
                float: none;
                margin-left: 0;
        }

        .header .menu .rightnav>li {
                float: none;
                margin-right: 0;
        }

        .logo {
                width: 100px;
                top: 0px;
                left: -36%;
        }

        /*-----------main 구간-------------*/

        .main {
                height: 300px;
        }

        .main_text {
                position: relative;
                top: 55%;
                left: 10%;
                text-shadow: 3px 4px 5px var(--color-text);
        }

        .main h2 {
                font-size: 20px;
                letter-spacing: 1px;
        }


        .content_title {
                padding: 40px 0 30px;
                text-align: center;
        }

        .content_title h3 {
                font-size: 24px;
        }

        .content_wrap {
                width: 90%;
                margin: 0 auto;
        }

        .content {
                width: 100%;
                padding: 20px 0;
        }

        .content .content_list {
                display: block;
        }

        .content .content_list .content_list_inner {
                width: 350px;
                height: 350px;
                padding: 20px;
                margin: 35px auto;
        }

        .content .content_list .content_list_inner:first-child {
                margin: 0 auto;
        }

        .content_list .content_list_inner .con_img {
                width: 300px;
                margin: 10px auto;
        }


        footer {
                margin-top: 20px;
                padding: 15px 0;
                font-size: 12px;
                display: flex;
                flex-wrap: wrap;
                justify-content: space-around;
                background-color: var(--color-accent2);
        }

        footer .box1,
        footer .box2 {
                display: none;
        }

        footer div {
                padding: 0 14px;
        }

        footer .box3 {
                width: 40%;
        }

        footer .box4 {
                width: 40%;
        }

        footer .box5 {
                width: 20%;
        }

}

;