* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-size: 10px;
    font-family: "Noto Sans KR", sans-serif;
}

ul,
li,
ol {
    list-style: none;
}

a {
    text-decoration: none;
}

body {
    overflow: hidden;
}

@import url("https://fonts.googleapis.com/css2?family=Noto+Sans+KR:wght@100..900&display=swap");

#header {
    width: 100%;
    height: 8rem;
    position: fixed;
    /* overflow: hidden; */
    /* position: absolute; */
    left: 0;
    top: 0;
    background: transparent;
    padding: 0px 11.2rem;
    display: flex;
    align-items: flex-end;
    z-index: 9999;
    justify-content: space-between;
}

#header .logo {
    width: auto;
    height: auto;
}

#header .logo img {
    width: auto;
    height: auto;
}

#header .head_nav {
    display: flex;
    width: auto;
    height: auto;
    position: relative;
}

#header .head_nav div {
    color: #fff;
    cursor: pointer;
    font-size: 2rem;
    font-weight: bold;
    margin-right: 7.4rem;
    position: relative;
}

#header .head_nav div:last-child {
    margin-right: 0;
}

#header .head_nav div ul {
    position: absolute;
    left: 50%;
    top: 5rem;
    transform: translateX(-50%);
    background: rgba(000, 000, 000, 0.65);
    padding: 1.3rem 2.4rem;
    border-radius: 2rem;
    overflow: hidden;
    /* display: none; */
    opacity: 0;
    height: 0;
    transition: 0.3s;
}

#header .head_nav div ul.active {
    /* display: block; */
    opacity: 1;
    height: auto;
    transition: 0.3s;
}

#header .head_nav div ul li {
    text-align: center;
    margin-bottom: 1.5rem;
}

#header .head_nav div ul li a {
    color: #fff;
    font-size: 1.5rem;
    white-space: nowrap;
}

#header .head_nav div ul li:last-child {
    margin-bottom: 0;
}

#header .list_btn {
    margin-bottom: 5px;
    position: relative;
    z-index: 99999999;
    display: none;
}

/* Trigger Button */
input[id="trigger"] {
    display: none;
}
label[for="trigger"] {
    width: 24px;
    height: 20px;
    display: block;
    position: relative;
    cursor: pointer;
}
label[for="trigger"] span {
    position: absolute;
    height: 3px;
    background-color: #fff;
    width: 100%;
    left: 0;
    transition: 0.3s;
}
label[for="trigger"] span:nth-child(1) {
    top: 10%;
}
label[for="trigger"] span:nth-child(2) {
    top: 55%;
}
label[for="trigger"] span:nth-child(3) {
    top: 100%;
}

input[id="trigger"]:checked + label span:nth-child(1) {
    transform: rotate(45deg);
    top: 50%;
}
input[id="trigger"]:checked + label span:nth-child(2) {
    width: 0%;
    opacity: 0;
}
input[id="trigger"]:checked + label span:nth-child(3) {
    transform: rotate(-45deg);
    top: 50%;
}

.mobil_menu {
    width: 100%;
    height: 100vh;
    position: fixed;
    right: -9999px;
    top: 0;
    background: #08287f;
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: 0.5s;
}

.mobil_menu .menu {
    height: auto;
    text-align: center;
    margin-bottom: 20px;
}

.mobil_menu .menu p {
    font-size: 20px;
    color: #fff;
    font-weight: bold;
    cursor: pointer;
    margin-bottom: 20px;
}

.mobil_menu .menu ul {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease;
}

.mobil_menu .menu ul.active {
    max-height: 1000px;
    transition: max-height 0.5s ease;
}

.mobil_menu .menu ul li {
    margin-bottom: 10px;
}

.mobil_menu .menu ul li a {
    font-size: 18px;
    color: #fff;
    text-align: center;
    cursor: pointer;
}

/* footer */
#footer {
    width: 100%;
    height: 20rem;
    position: relative;
    overflow: hidden;
    background: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
}

#footer .wrap {
    
    width: 100%;
    max-width: 90%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

#footer .ft_logo {
    width: auto;
    height: auto;
}

#footer .ft_logo img {
    width: auto;
    height: auto;
}

#footer .ft_info {
    width: auto;
    height: auto;
    margin-left: 18rem;
    text-align: right;
}

#footer .ft_info p {
    font-size: 2rem;
    color: #08287f;
    word-break: keep-all;
}

#footer .ft_info p span {
    margin-left: 1.9rem;
    font-size: 2rem;
    color: #08287f;
}

@media (max-width: 1600px) {
    #header {
        padding: 0 10rem;
    }
}

@media (max-width: 1400px) {
    #header .head_nav div {
        font-size: 1.8rem;
    }

    #footer {
        padding: 0 10rem;
    }

    #footer .ft_info p {
        font-size: 1.6rem;
    }

    #footer .ft_info p span {
        font-size: 1.6rem;
    }

    #footer {
        height: 10rem;
    }

    #footer .ft_logo img {
        width: 20rem;
    }
}

@media (max-width: 1200px) {
    #header .head_nav {
        display: none;
    }

    #header .list_btn {
        display: block;
    }
}

@media (max-width: 900px) {
    #header {
        height: 7rem;
        padding: 0 2rem;
    }

    #header .logo img {
        width: 15rem;
    }

    #footer .ft_info {
        margin-left: 10rem;
    }

    #footer .ft_info p {
        font-size: 1.4rem;
    }

    #footer .ft_info p span {
        font-size: 1.4rem;
    }

    #footer {
        padding: 0 3rem;
    }
}

@media (max-width: 700px) {
    #footer .ft_logo img {
        width: 10rem;
    }
}

@media (max-width: 500px) {
    #header .logo img {
        width: 12rem;
    }

    #header {
        height: 5rem;
    }

    #footer {
        flex-wrap: wrap;
        justify-content: center;
        height: auto;
        margin-top: 2rem;
        padding: 0 1rem;
    }

    #footer .wrap {
      flex-wrap: wrap;
    }

    #footer .ft_logo {
        margin-bottom: 2rem;
    }

    #footer .ft_info {
        margin-left: 0;
        width: 100%;
    }
}
