
@font-face {
    font-family: 'Broadway';
    src: url('../font/broadway.woff2') format('woff2'),
    url('../font/broadway.TTF') format('truetype');
    font-weight: normal;
    font-style: normal;
}
@font-face {
    font-family: 'Hygraphic';
    src: url('../font/Hygraphic.woff2') format('woff2'),
    url('../font/hygraphic.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}
*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}
a, a:link, a:visited{
    color:inherit;
    text-decoration:none;
}
li{
    list-style:none;
}
.container{
    margin: 0% 8%;
}
.icon {
    width: 1em;            /* 텍스트 크기에 맞춰 자동으로 조절 */
    height: 1em;
    display: inline-flex;
    vertical-align: -0.125em;
    fill: currentColor;    /* 텍스트 색상에 따라 아이콘 색 변경 */
}
.motion {
	opacity: 0;
	transition: all 2s ease;
}
.motion.motion-left {
	transform: translate(100px, 0);
}
.motion.motion-right {
	transform: translate(-100px, 0);
}
.motion.show {
	opacity: 1;
	transform: none;
}
/*헤더*/
header{
    background-color: black;
    position:fixed;
    top:0;
    width:100%;
    padding:1.5rem;
    z-index: 4;
}
header .cont{
    display:flex;
    justify-content:space-between;
    align-items:center;
    flex-wrap: nowrap;
    width:100%;
}
header .home-logo{
    align-self: center;
}
header .home-nav{
    color:white;
    display:flex;
    white-space: nowrap;
    font-size:16px;
    font-family: "Hygraphic", sans-serif;
    font-weight:600;
}
header .home-nav a{
    padding-left: 1rem;
    padding-right: 1rem;
}
header .home-nav a:hover{
    color:  #00f790;
    text-shadow: 0px 0px 0px  #1fec97;
}
header{
    animation : fadeIn 0.5s ease-in-out;
}
@keyframes fadeIn {
    0%{
        opacity: 0%;
    }
    100%{
        opacity: 100%;
    }
}
/*footer*/
footer{
    width:100%;
    background: linear-gradient(to right, #001302, #002d14);
    color:white;
    padding:80px 0 40px 0;
    border-top-left-radius: 100px;
    font-size: 13px;
    font-family: "Hygraphic", sans-serif;
    font-weight: 600px;
}
.row{
    width: 85%;
    margin: auto;
    display:flex;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: space-between;

}
.col{
    flex-basis: 20%;
    padding:10px;
}
.logo{
    width:160px;
    margin-bottom:30px;
}
.col h3{
    width: fit-content;
    margin-bottom:50px;
    position:relative;
}
.email-id{
    width:fit-content;
    border-bottom: 1px solid #ccc;
    margin: 20px 0;
}
footer ul li {
    list-style: none;
    margin-bottom: 12px;
}
.underline{
    width:100%;
    height:5px;
    background-color: #4e5758;
    border-radius: 3px;
    position:absolute;
    top:25px;
    left:0;
    overflow: hidden;
}
.underline span{
    width:15px;
    height:100%;
    background: white;
    border-radius: 3px;
    position:absolute;
    top:0;
    left:10px;
    animation: moving 2s linear infinite;
}
@keyframes moving{
    0%{
        left:-20px;
    }
    100%{
        left:100%;
    }
}
.footer-port{
    flex-basis: 30%;
    display: flex;
    flex-wrap: wrap;
}
.footer-port a{
    display:inline-flex;
}
.footer-port img{
    width:50%;
    padding: 3px;
    border-radius: 6px;
}
.footer-port img:hover{
    opacity: 75%;
    cursor: pointer;
}
footer .links:hover{
    text-shadow: 0px 0px 1px white;
    transition: 30ms ease-in-out;
    font-size: 13.3px;
}


/* 모바일 */
/*헤더*/
.menu-btn {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 28px;
    height: 22px;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 10;
}
.menu-btn span {
    display: block;
    height: 3px;
    width: 100%;
    background: white;
    border-radius: 3px;
    transition: all 0.3s ease;
}
/* 메뉴 버튼 활성화 시 X 표시로 변환 */
.menu-btn.active span:nth-child(1) {
    transform: translateY(9.5px) rotate(45deg);
}
.menu-btn.active span:nth-child(2) {
    transform: translateY(-9.5px) rotate(-45deg);
}
@media (max-width: 768px) {
    header .home-logo img{
        width:50%;
    }
    .menu-btn {
    display: flex;
    }
    .home-nav {
    position:fixed;
    top:0;
    left:-100%;
    flex-direction: column;
    align-items: flex-start;
    background: rgba(0, 0, 0, 0.901);
    width: 100%;
    height: 100vh;
    padding: 100px 30px;
    gap: 30px;
    transition: left 0.4s ease;
    z-index: 8;
    }
    .home-nav.open {
    left: 0;
    }
    .home-nav a{
    color: white;
    font-size: 26px;
    padding: 14px 0;
    }
}
/*푸터 반응형*/
@media (max-width: 768px) {
    footer{
    padding:13% 0px 13% 0px;
    }
    footer .row {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    }
    footer .col {
    display:flex;
    flex-direction: column;
    flex-basis: 100%;
    text-align: center;
    justify-items: center;
    padding-top: 0;
    margin-bottom: 22px;
    align-items: center;
    }
    .underline {
    left: 50%;
    transform: translateX(-50%);
    }
    footer .logo,
    .col h3{
        margin-bottom: 22px;
        justify-self: center;
    }
    .email-id{
        justify-self: center;
    }
    footer p{
        font-size: 13px;
    }
    footer .footer-port{
        padding:0px;
        justify-content: center;
        flex-direction: row;
    }
    .footer-port img {
    width: 45%;
    }
}
