@font-face {
    font-family: 'Binggrae';
    src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/noonfonts_one@1.0/Binggrae.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}
            

            
@font-face {
    font-family: 'HangultuelGothic';
    src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/noonfonts_ten@1.10/HangultuelGothic.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

@import url('https://fonts.googleapis.com/css2?family=Arya:wght@700&display=swap');


:root{
    --point-color:#fe794b;
    --sub-color:#f6fdec;
    --accent-color:#ffd375;
}
a, p, h2, h3, li { font-family: "Binggrae";}


header {
    height: 150px;
    width: 60%;
    margin: auto;
    position: relative;
    z-index: 1000;
}

header h1 {
    width: 180px;
    margin: auto;
    padding: 10px;
}
header h1 img { width: 100%;}

nav {
    width: 100%;
    text-align: center;   
    line-height: 35px;
    padding: 10px;
}

#main {
    display: flex;
    justify-content: space-between;
}
#main>li {
    width: 150px;
}
#main>li>a { 
    display: block;
    padding-bottom: 10px;
    transition: 0.2s;
    border-bottom: 0px solid #abdc6a;
}
#main>li:hover>a { font-weight: bold; border-bottom: 5px solid #abdc6a;}


#main .sub {
    display: none;
    width: 100%;
    border: 1.5px solid #e4e4e4;
    background-color: white;
    transition: 1s;
    font-size: 0.9em;
}
#main>li:hover .sub {
    display: block;
}
#main li  .sub li:hover a{
    display: block;
    color: var(--point-color);
    font-weight: bolder;
}

.sns {
    position: absolute;
    top: 30px;
    right: 0;
}
.sns a {
    background-color: grey;
    display: inline-block;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    text-align: center;
    line-height: 23px;
    color: white;
    font-size: 0.8em;
    transition: 0.3s;
}
.sns a:hover {
    background-color:var(--point-color);
}
.hamburger { 
    position: absolute;
    top: 15px;
    right: 20px;
    display: none;
}
.hamburger span {
    width: 35px;
    height: 4px;
    background-color: var(--point-color);
    display: block;
    margin: 6px auto;
    transition: all 0.3s ease-in-out;
    border-radius: 2.5px;
  }
  .hamburger span:nth-child(2){background-color: var(--accent-color);width: 30px;}
  
/* 6번 */

#hamburger-6.on {
    transition: all 0.2s ease-in-out;
    transition-delay: 0.4s;
    transform: rotate(45deg);
  }
  
  #hamburger-6.on .line:nth-child(2) {
    width: 0px;
  }
  
  #hamburger-6.on .line:nth-child(1),
  #hamburger-6.on .line:nth-child(3) {
    transition-delay: 0.2s;
  }
  
  #hamburger-6.on .line:nth-child(1) {
    transform: translateY(10px);
  }
  
  #hamburger-6.on .line:nth-child(3) {
    transform: translateY(-10px) rotate(90deg);
  }


@media(max-width: 1400px){
    header {
        width: 80%;
    }

}
@media(max-width: 1000px){
    header {
        width: 100%;
    }
}
@media(max-width: 600px){
    header {
        height: 70px;
    }
        
    header h1 {
        width: 160px;
    }
    .sns {display: none;}
    nav { 
        display: none;
        position: absolute;
        right: 0;
        width: 100%;
        border: 1px solid #e4e4e4 ;
        padding: 0;
    }
    #main {
        display: block;
    }
    #main>li {
        width: 100%;
        background-color: #abdc6a;
        border-bottom: 1px solid white;
    }
    #main>li:hover>a { 
        font-weight: bold; border-bottom: 5px solid #abdc6a;
    }
    #main>li>a { 
        border-bottom: 1px solid #abdc6a;
    }
    
    #main .sub {
        border: 0px;
    }
    #main .sub a { border-bottom: 1px solid #e4e4e4; display: block;}
    .hamburger {display: block;}
}



/* banner----------------------------------------------------------------- */
.banner {
    width: 70%;
    height: 250px;
    margin: auto;
    border-radius: 200px;
    position: relative;
    overflow: hidden;
    
}
.banner::after {
    content: "";
    position: absolute;
    top: 0%; 
    left: 0;
    background-image: url(../img/prog2_banner.png);
    background-size: inherit;
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-position: 50%  200%;
    width: 100%;
    height: 100%;
    opacity: 0.4;
    z-index: -5;
}

.banner h2 {
    position: absolute;
    width: 100%;
    top: 50%;
    transform: translateY(-50%);
    font-size: 3em;
    text-align: center;
}
.banner div {
    position: absolute;
    width: 250px;
    left: 50%;
    transform: translateX(-50%);
    bottom: 0;
    display: flex;
    justify-content: space-around;
    padding: 10px;
    background-color: var(--accent-color);
  
}
.banner div p {  font-size: 0.9em;}
.banner div p::after { 
    content: "";
    position: absolute;
    height: 15px;
    border-right: 1px solid rgb(0, 0, 0); 
    margin: 5px 10px;
}
.banner div select{
    background-color: transparent;
    border: none;
    font-family: Binggrae;
    /* font-size: 0.9em; */
    outline: none;
}


@media(max-width: 1400px) {
    .banner {
        width: 80%;
        height: 200px;
    }
    .banner::after {
        background-position: 50%;
    }

}
@media(max-width: 1000px) {
    .banner {
        width: 95%;
        height: 200px;
    }
    
    .banner h2 {
        font-size: 2.5em;
    }
    .banner::after {
        background-position: 50%;
    }
    .banner div {
        width: 250px;
        padding: 5px;
    }
    .banner div p {  font-size: 0.75em;}
    .banner div p::after { 
        height: 10px;
        margin: 5px 20px;
    }


}
@media(max-width: 600px) {
    .banner {
        width: 100%;
        height: 250px;
        border-radius: 0;
    }
    .banner::after {
        background-position: 70%;
    }
    .banner div {
        padding: 10px;
    }
    .banner div p::after { 
        height: 15px; 
        margin: 3px 20px;
    }
    
}