@font-face {
	font-family: PretendardVariable;
	font-style: normal;
	font-display: fallback;
	src: url(https://seu.ai/font/PretendardVariable.en.woff2) format('woff2-variations');
}
@font-face {
	font-family: PretendardVariable;
	font-style: normal;
	font-display: fallback;
	src: url(https://seu.ai/font/PretendardVariable.ko.woff2) format('woff2-variations');
}
@font-face {
	font-family: PretendardVariable;
	font-style: normal;
	font-display: fallback;
	src: url(https://seu.ai/font/PretendardVariable.special.woff2) format('woff2-variations');
}

html.loading, html.loading body {overflow:hidden;}
html.loading body:after {
    content: url(/favicon.png);
    display: flex;
    position: fixed;
    inset: 0;
    background: #fff;
    z-index: 1000;
    justify-content: center;
    align-items: center;
}
html.loading.loaded body:after {
    animation: opacity .3s .7s reverse forwards;
}

* {margin: 0; padding: 0;}
li {list-style: none;}
a {text-decoration: none; color: #000;}

[disabled], :disabled {
	pointer-events: none;
	background: none;
	opacity: 50%;
	filter: grayscale(1);
	-webkit-text-fill-color: currentColor;
}

[hidden] {
	display: none !important;
}
html {
    font-size: 62.5%;
}

body {
	font-family: PretendardVariable, sans-serif;
	font-weight: 300;
	font-size: 1.6rem;
	overflow-x: hidden;
	word-break: keep-all;
	word-wrap: break-word;
	min-height: 100vh;
	display: flex;
	flex-direction: column;
	-webkit-font-smoothing: antialiased;
	font-synthesis: none;
}

/************ TOP_btn **************/
.top_btn {
    width: 44px;
    height: 44px;
    position: fixed;
    bottom: 30px;
    right: 16px;
    z-index: 999;
    background-color: #D80C18;
    border: none;
    color: #fff;
    border-radius: 25px;
    font-size: 1.6rem;
    cursor: pointer;
    transition: all 0.3s ease;
}
.top_btn:hover {
    box-shadow: 0 0px 20px rgba(255, 0, 0, 0.3);
}
/************ header **************/
.header {
    width: 100%;
    height: 60px;
    /* border-bottom: 1px solid #999; */
    position: fixed;
    top: 0;
    left: 0;
    z-index: 999;
    overflow: hidden;
    color: #fff;
}
.header_inner {
    width: calc(100% - 32px);
    margin: 0 auto;
    position: relative;
    font-size: 26px;
}
.header .logo {
    padding: 12px 0;
    display: inline-block;
}

.logo a {
    display: block;
}

.logo + span {
    padding-left: 10px;
    position: relative;
    padding-left: 10px;
    border-left: 2px solid #757676;
    top: -5px;
}

[href="?logout"] {
    color:#666;
    text-decoration: underline;
}
.header .logo .logo_img {
	width: 80px; /* 120 */
	color: #fff;
	--ratio: 120 / 58;
}
.header.scrolled {
  background-color: #fff;
  border-bottom: 1px solid #eee;
  box-sizing: border-box;
  transition: all 0.3s ease;
  color: #333;
}
.header.scrolled .logo .logo_img {
    color: #6d6e71;
}

/* 메뉴 버튼 */
#hamburger, .close_btn {
    color: rgb(238, 238, 238);
	background: 0;
    border: 0;
    cursor: pointer;
}
.header.scrolled #hamburger {color: #333}
#hamburger:hover, .close_btn:hover {color: #d80c18 !important;}

.menu_btn {
    width: 38px; height: 38px;
    position: absolute;
    top: 11px; right: 0;
    z-index: 10000;
    cursor: pointer;
}
.menu_btn img {width: 100%;}

.gnb_pc {display: none;}

/************ 메뉴창 **************/
.menu_overlay {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 999;
    display: none;
}
.menu_overlay.active {display: block;}
body.fixed {
    height: 100%;
    overflow: hidden;
}
.menu_mobile {
    width: 100%; height: 100vh;
    background-color: #333;
    position: relative;
    position: fixed;
    top: 0; right: -100%;
    z-index: 1000;
    transition: right 0.3s ease-in-out;
}
.menu_mobile.active {
    right: 0;
}
.menu_top {
    width: 100%; height: 60px;
    border-bottom: 1px solid #999;
}
.menu_top .logo {
    width: 80px;
    padding: 10px 15px;
}
.menu_top .logo .logo_img {width: 100%;color: #6d6e71;}
.menu_top .close_btn {
    width: 38px; height: 38px;
    position: absolute;
    top: 12px; right: 16px;
    z-index: 10000;
    cursor: pointer;
}
.menu_top .menu_btn img {width: 100%;}

.menu_mobile ul {
    width: calc(100% - 32px);
    margin: 0 auto;
    margin-top: 80px;
}
.menu_mobile ul li {
    margin-bottom: 30px;
}
.menu_mobile ul li a {
    font-size: 3.8rem;
    font-weight: 600;
    color: #999;
    transition: 0.3s ease;
}
.menu_mobile ul li a:hover {
    color: #D80C18;
}
.menu_mobile .info {
    width: calc(100% - 32px);
    margin: 0 auto;
    margin-top: 80px;
}
.menu_mobile .info .line {
    width: 100px; height: 2px;
    background-color: #D80C18;
    margin-bottom: 20px;
}
.menu_mobile .info p {
    font-size: 1.4rem;
    line-height: 2rem;
    color: #eee;
}
.menu_mobile .info p b {
    font-weight: 600;
    margin-right: 5px;
}
.menu_mobile .info .num {
    margin-top: 20px;
}

/************ footer **************/
footer {
    width: 100%;
    background-color: #333;
    margin-top: auto;
}
.footer_inner {
    width: calc(100% - 32px);
    margin: 0 auto;
    padding-bottom: 40px;
}
.footer_logo {
    width: 160px;
    margin: 0 auto;
    padding-top: 20px;
}
.footer_logo a {
    display: block;
    width: 100%;
}
.footer_logo img {width: 100%;}


.certification {
    width: 100%;
    margin-bottom: 40px;
}
.cer_top {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-bottom: 15px;
}
.cer_bottom {
    display: flex;
    gap: 40px;
    justify-content: center;
}
.logo_box img {width: 100%;}

footer .info {
    color: #999;
    font-size: 1.4rem;
    margin-bottom: 30px;
}
footer .info li {margin-bottom: 10px;}
footer .info .title {
    display: block;
    width: 80px; height: 20px;
    font-weight: 600;
    float: left;
}
footer .info .txt {line-height: 1.8rem;
}
.copy {
    color: #666;
    font-size: 1.4rem;
    padding-bottom: 30px;
}

.mobile_only {display: block;}


/************ 미디어쿼리(태블릿) **************/
@media screen and (min-width: 768px) {

    /******** header ********/
    .header {height: 70px;}
    .header_inner {
        width: calc(100% - 40px);
    }
    .header .logo .logo_img {
        width: 100px;
    }
    /* 메뉴 버튼 */
    .header .menu_btn {
        width: 50px; height: 50px;
        top: 10px; right: 0;
    }
    /*메뉴창*/
    .menu_mobile {
        width: 65%;
    }
    .menu_top {
        width: 100%; height: 70px;
    }
    .menu_top .logo {
        width: 100px;
        padding: 10px 20px;
    }
    .menu_top .close_btn {
    width: 50px; height: 50px;
    position: absolute;
    top: 10px; right: 20px;
    }
    .menu_mobile ul {
        width: calc(100% - 40px);
        margin-top: 80px;
    }
    .menu_mobile .info {
        width: calc(100% - 40px);
    }
    .menu_mobile .info .line {
        width: 110px;
    }

    /******** footer ********/
    .footer_inner {
        width: calc(100% - 40px);
        margin: 0 auto;
    }
    .footer_left {width: 100%;}
    .footer_logo {
        float: left;
        padding-top: 30px;
    }
    .footer_right {width: 100%;}
    .certification {
        display: flex;
        align-items: center;
        gap: 30px;
    }
    .cer_top {
        gap: 30px;
    }
    .cer_bottom {margin-top: -15px;}

    .mobile_only {display: none;}

}


/************ 미디어쿼리(pc) **************/
@media screen and (min-width: 1024px) {

    /******** top_btn ********/
    .top_btn {
        width: 50px; height: 50px;
        bottom: 40px; right: 40px;
    }

    /******** header ********/
    .header {height: 85px;}
    .header_inner {
        max-width: 1600px;
        margin: 0 auto;
    }
    .header .logo {
	    padding: 13px 0;
    }
    .header .logo .logo_img {
	    width: 120px;
	   }
    .header .menu_btn {display: none;}
    .gnb_pc {
        height: 100%;
        display: block;
        position: absolute;
        top: 0; right: 0;
        line-height: 82px;
    }
    .gnb_pc ul {
        width: 100%;
        display: flex;
        gap: 50px;
    }
    .gnb_pc ul li {
        width: 100%; 
    }
    .gnb_pc ul li a {
        display: block;
        width: 100%;
        color: #fff;
        font-size: 2rem;
        font-weight: 500;
        transition: all 0.3s ease;
        padding: 0 15px;
    }
    .menu_on {color: #ee5e34 !important;}
    .header.scrolled {
        border-bottom: 1px solid #eee;
        box-sizing: border-box;
    }
    .header.scrolled .gnb_pc ul li a {
        color: #333;
    }
    .header.scrolled .gnb_pc ul li a:hover {color: #D80C18;}
    .header.scrolled .gnb_pc ul .menu_on {color: #D80C18 !important;}
    .gnb_pc ul li a:hover {color: #ee5e34;}

    /******** footer ********/
    .footer_inner {
        width: calc(100% - 100px);
        max-width: 1720px;
        display: flex;
    }
    .footer_left {width: 20%;}
    .footer_logo {
        width: 180px;
        padding-top: 10px;
    }
    .footer_right {padding-top: 40px;}
    .certification {
        gap: 40px;
        margin-bottom: 20px;
    }
    .copy {
        padding-bottom: 20px;
    }
}

/************ 미디어쿼리(mobile) **************/
@media screen and (max-width: 767px) {
	.logo + span {
		font-size: 18px;
		border-left: 1px solid #757676;
		padding-left: 5px;
	}
	footer [href="?logout"] {
	    display: block;
	    margin: auto;
	    width: fit-content;
	}
}

button.btn {
    padding: 15px 55px;
    border-radius: 25px;
    border: 1px solid #ccc;
    background: #fff;
    margin: 0 auto 50px;
    display: block;
    border: 1px solid #ccc;
    cursor: pointer;
}
.write.btn {
    background: #D80C18;
    color: #fff;
    border-radius: 10px;
    border: 0;
    padding: 15px 40px;
    margin: 16px 0 auto auto;
    margin-left: auto;
    width: fit-content;
    display: block;
}

[contenteditable][placeholder]:empty:before,
[contenteditable][placeholder]:focus:empty:before { /* focus 되어있을 때로 plceholder가 보이도록 추가해주자. */
  content: attr(placeholder);
  color: #ccc;
  cursor: text;
}
.ql-editor {
    min-height: 300px;
}
.ql-snow .ql-picker.ql-size .ql-picker-label::before, .ql-snow .ql-picker.ql-size .ql-picker-item::before {content: attr(data-value) !important;}

.btn_group {
    position: absolute;
    inset: 10px 10px auto auto;
    display: flex;
    gap: 10px;
    align-items: center;
}
@media(min-width: 768px){
	.notice_list .btn_group {inset: auto;position: relative;}
}
.notice_list .fa-pen {border: 1px solid #cccccc;}
.btn_group :is(a, button) {
    border: 0;
    width: 40px;
    height: 40px;
    border-radius: 12px;
    font-size: 15px;
    cursor: pointer;
}
a.fa-pen {
    color: #000;
    display: flex;
    justify-content: center;
    background: #fff;
    align-items: center;
    box-sizing: border-box;
}

button.fa-trash {
    color: #fff;
    background: #d80c18;
}

.project_card:hover button.fa-trash {box-shadow: 0 0 2px #fff;}

img {
	max-width: 100%;
	height: auto;
	line-height: 0;
	font-size: 0;
	image-rendering: optimizequality;
	backface-visibility: hidden;
	-webkit-user-drag: none;
	pointer-events: none;
	--fit: cover;
	object-fit: var(--fit);
	min-width: calc(var(--size) * 1px);
	width: calc(var(--size) * 1px);
	aspect-ratio: var(--ratio);
	border-radius: calc(var(--round) * 1px);
}
img:not([src]) {content: url("data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==");}


p {
    min-height: 1em;
}

@property --loading-opacity {
    syntax: '<number>';
    inherits: false;
    initial-value: 1;
}
body i.loading {
    all: unset;
    border-radius: 5px;
    height: 1.2em;
    margin: .1em 0;
    min-width: 80px;
    display: inline-block;
    vertical-align: middle;
}
body .loading {
    overflow: hidden !important;
    background-color: transparent !important;
    background-image: 
        linear-gradient(110deg, 
            transparent 0%, 
            rgba(255, 255, 255, calc(var(--loading-opacity) * 0.5)) 50%, 
            transparent 55%
        ),
        linear-gradient(
            rgba(235, 235, 235, var(--loading-opacity)), 
            rgba(235, 235, 235, var(--loading-opacity))
        ),
        var(--src, none) !important;
    background-size: 300% 100%, cover, var(--fit, auto) !important;
    background-position: 150% 0, 0 0, center;
    background-repeat: no-repeat !important;
    color: transparent !important;
}

@keyframes loading {
    0% { background-position: 150% 0, 0 0, center; }
    100% { background-position: -150% 0, 0 0, center; }
}
body .loading:not(.loaded) {
    animation: loading 1.5s infinite linear !important;
}
body .loaded {
    transition: --loading-opacity 0.1s ease-in-out !important;
    --loading-opacity: 0;
}




#toast {
    position: fixed;
    inset: 70px 0 auto 0;
    margin: auto;
    width: fit-content;
    padding: 10px 20px;
    background: rgb(255 255 255 / 80%);
	backdrop-filter: blur(10px);
    border-radius: 20px;
    line-height: 20px;
    font-weight: 500;
    animation: opacity .3s, inDown .3s,  opacity 1s 1s reverse;
    box-shadow: 0 1px 10px 0 rgb(0 0 0 / 10%);
	z-index: 1000
}
#toast:empty {
  display: none;
}


@keyframes opacity {
	0% {
		opacity: 0
	}

	100% {
		opacity: 1
	}
}
@keyframes inDown {
	0% {
		transform: translateY(-10px)
	}

	100% {
		transform: translateY(0)
	}
}

label:has(> .toggle) {
	background: none;
	max-width: fit-content;
	cursor: pointer;
	display: block;
	font-weight: bold;
	display: inline-flex;
	gap: 10px;
	flex-direction: row;
	padding: 10px 0;
}
	
input.toggle {
	min-width: 0;
	-webkit-border-radius: 0;
	appearance: none;
	-moz-appearance: textfield;
	width: 34px;
	height: 20px;
	display: inline-flex;
	align-items: center;
	padding: 2px;
	border-radius: 17px;
	background: rgb(64 65 68 / 20%);
	transition: background-color .2s;
	vertical-align: middle;
}
input.toggle:checked {
	background: #0D99FF;
}
input.toggle:before {
	content: '';
	background: #fff;
	width: 16px;
	height: 16px;
	border-radius: 50%;
	transition: transform .2s;
	border: 0;
	top: auto;
	left: auto;
	animation: none;
}
input.toggle:checked:before {
	transform: translateX(14px);
}
