*,
*::before,
*::after {
	box-sizing: border-box;
}

@font-face {
	font-family: 'Montserrat';
	src: url('../fonts/MontserratBold.woff') format('woff');
	font-weight: 700;
}

@font-face {
	font-family: 'NotoSans';
	src: url('../fonts/NotoSansKR.woff') format('woff');
	font-weight: 400;
}

@font-face {
	font-family: 'SourceHanSansKR';
	src: url('../fonts/SourceHanSansKR.woff') format('woff');
	font-weight: 400;
}

html,body, div,span,applet,object,iframe,h1,h2,h3,h4,h5,h6,p,blockquote,pre,a,abbr,acronym,address,big,cite,code,del,dfn,em,img,ins,kbd,q,s,samp,small,strike,strong,sub,sup,
tt,var,b,u,i,center,p,dl,dt,dd,ol,ul,li,fieldset,form,label,legend,table,caption,tbody,tfoot,thead,tr,th,td,article,aside,canvas,details,embed,figure,figcaption,footer,header,
hgroup,menu,nav,output,ruby,section,summary,time,mark,audio,video {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
	font: inherit;
	vertical-align: baseline;
}

article,aside,details,figcaption,figure,footer,header,hgroup,menu,nav,section {
	display: block;
}

body {
	line-height: 1.5;
	font-family: 'Pretendard', 'NotoSans', 'SourceHanSansKR', sans-serif;
	font-size: 16px;
	-webkit-font-smoothing: antialiased;
}

ol,ul {
	list-style: none;
}

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

input,button,textarea {
	font-family: inherit;
}

input[type="button"],button {
	cursor: pointer;
}

img {
	max-width: 100%;
	height: auto;
	display: block;
}


@keyframes fadeInUp {
	0% {
		opacity: 0;
		transform: translateY(20px);
	}

	100% {
		opacity: 1;
		transform: translateY(0);
	}
}

@keyframes cardSlideIn {
	0% {
		opacity: 0;
		transform: translateY(30px) scale(0.95);
	}

	100% {
		opacity: 1;
		transform: translateY(0) scale(1);
	}
}

@keyframes fadeIn {
	from {
		opacity: 0;
	}

	to {
		opacity: 1;
	}
}

@keyframes slideUp {
	from {
		opacity: 0;
		transform: translateY(50px);
	}

	to {
		opacity: 1;
		transform: translateY(0);
	}
}

@keyframes zoomFadeIn {
	from {
		opacity: 0.5;
		transform: scale(1.1);
	}

	to {
		opacity: 1;
		transform: scale(1);
	}
}

@keyframes slideUp2 {
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

.animate-fade-in {
	opacity: 0;
	animation: fadeIn 3s ease-out forwards;
}

.animate-slide-up {
	opacity: 0;
	animation: slideUp2 1s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.5s forwards;
}

.animate-zoom-fade {
	opacity: 0;
	animation: zoomFadeIn 4s ease-out forwards;
}

@keyframes slideUp3 {
	from {
		opacity: 0;
		transform: translateY(20px);
	}

	to {
		opacity: 1;
		transform: translateY(0);
	}
}

html,
body {
	height: 100%;
	margin: 0;
	padding: 0;
	background-color: #000;
}

body {
	display: flex;
	flex-direction: column;
	min-height: 100vh;
}

.section {
	background-size: cover;
	background-repeat: no-repeat;
	background-position: center center;
	display: flex;
	align-items: center;
	justify-content: center;
	position: relative;
	padding: 2vh 0;
}

.section1 {
	background-image: url('/images/ntf01.png');
	align-items: normal;
	justify-content: normal;
	z-index: 1;
}

.section1::after {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: rgba(0, 0, 0, 0.4);
	z-index: 1;
}

.main-title {
	position: absolute;
	top: 10%;
	left: 5%;
	font-size: clamp(40px, 6.5vw, 144px);
	font-weight: 900;
	line-height: 1.1;
	z-index: 3;
	color: #fff;
	font-family: 'Montserrat', sans-serif;
	letter-spacing: -0.05em;
	opacity: 0;
}

.section1.active .main-title,
.section1.fp-completely .main-title {
	animation: fadeInUp 1.5s forwards ease-out 0.5s;
}

.section1.active .billboard-container,
.section1.fp-completely .billboard-container {
	animation: fadeInUp 1.2s forwards ease-out 1.2s;
}

.section1.active .main-nav,
.section1.fp-completely .main-nav,
.section2.active .sub-nav,
.section3.active .sub-nav {
	animation: fadeInUp 1.2s forwards ease-out 1.5s;
}

.billboard-container {
	position: absolute;
	top: 10%;
	right: 5%;
	width: 35%;
	max-width: 500px;
	z-index: 3;
	opacity: 0;
	display: flex;
	justify-content: end;
}

.center-logo {
	width: 50%;
}

.main-nav {
	position: absolute;
	bottom: 5%;
	width: 100%;
	display: flex;
	gap: 30px;
	z-index: 3;
	font-size: clamp(16px, 1.2vw, 22px);
	opacity: 0;
	justify-content: center;
}

.nav-item {
	font-family: 'Montserrat', sans-serif;
	font-weight: 700;
	color: white;
	padding: 12px 25px;
	border: 2px solid transparent;
	border-radius: 50px;
	transition: background-color 0.3s;
	text-align: center;
}

.sub-nav {
	position: absolute;
	top: 5%;
	width: 100%;
	display: flex;
	gap: 30px;
	z-index: 3;
	font-size: clamp(16px, 1.2vw, 22px);
	opacity: 0;
	justify-content: center;
}

.section3 .sub-nav a {
	text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.8);
}

.apply-btn {
	border-color: white;
}

.nav-item:hover {
	background-color: rgba(255, 255, 255, 0.2);
}

.section2 {
	background: radial-gradient(circle at center, #3a3a3a 0%, #121212 100%);
}

.section2 .card-container {
	display: flex;
	max-width: 1400px;
	margin: 0 auto;
	width: 100%;
	padding: 0 2vw;
	gap: 2vw;
}

.section2 .card {
	flex: 1;
	display: flex;
	flex-direction: column;
	align-items: center;
	padding: 3vh 2vw;
	opacity: 0;
	transform: translateY(30px) scale(0.95);
	background-color: rgba(255, 255, 255, 0.05);
	border-radius: 15px;
}

.section2.active .card,
.section2.fp-completely .card {
	animation: cardSlideIn 1s forwards ease-out;
}

.section2.active .card:nth-child(1),
.section2.fp-completely .card:nth-child(1) {
	animation-delay: 0.1s;
}

.section2.active .card:nth-child(2),
.section2.fp-completely .card:nth-child(2) {
	animation-delay: 0.3s;
}

.section2.active .card:nth-child(3),
.section2.fp-completely .card:nth-child(3) {
	animation-delay: 0.5s;
}

.section2 .card-image {
	max-height: 35vh;
	width: 80%;
	margin-bottom: 2vh;
	display: flex;
	justify-content: center;
	align-items: center;
}

.section2 .illustration {
	max-height: 100%;
	max-width: 100%;
	width: auto;
	height: auto;
	object-fit: contain;
	border-radius: 10%;
}

.section2 .card>div:not(.card-image) {
	width: 100%;
	text-align: center;
}

.section2 .card-title {
	font-size: clamp(18px, 1.5vw, 28px);
	font-weight: 700;
	margin: 0 0 1.5vh 0;
	color: #fff;
}

.section2 .card-description {
	font-size: clamp(16px, 1vw, 18px);
	line-height: 1.6;
	color: #ddd;
	font-family: 'NotoSansKR', sans-serif;
}

.section3 {
	background-image: url('/images/ntf02.png');
	align-items: center;
	flex-direction: column;
	justify-content: center;
	position: relative;
}

.section3 .apply-main-title {
	width: 90%;
	font-size: clamp(32px, 4.5vw, 80px);
	font-weight: 900;
	text-align: center;
	z-index: 10;
	font-family: 'Montserrat', sans-serif;
	color: white;
	margin: 0 auto 3vh auto;
	text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.8);
}

.section3 .apply-form-overlay {
	width: 90%;
	max-width: 900px;
	background-color: rgba(0, 0, 0, 0.6);
	z-index: 20;
	padding: 3vh 3vw;
	border-radius: 15px;
	margin: 0 auto;
}

.section3 .apply-header {
	font-size: clamp(24px, 3.5vw, 40px);
	font-weight: 900;
	margin-bottom: 2vh;
	color: white;
}

.section3 .input-group {
	display: grid;
	grid-template-columns: auto 1fr auto 1fr;
	gap: 1vh 3vw;
	align-items: center;
	margin-bottom: 2vh;
}

.section3 .input-group label {
	font-size: clamp(14px, 1.1vw, 16px);
	font-weight: 700;
	color: #fff;
	width: 60px;
}

.section3 .input-group input {
	width: 100%;
	padding: 8px 10px;
	border: none;
	border-bottom: 2px solid white;
	background-color: transparent;
	color: white;
	font-size: 16px;
	outline: none;
}

.section3 .input-group input::placeholder {
	color: rgba(255, 255, 255, 0.5);
}

.section3 .agree {
	color: #fff;
	border: 1px solid #fff;
	padding: 15px;
	font-size: 12px;
	line-height: 1.6;
	max-height: 18vh;
	overflow-y: auto;
}

.section3 .checkbox-container {
	display: flex;
	align-items: center;
	margin-top: 1.5vh;
	font-size: 14px;
}

.section3 .custom-checkbox {
	position: absolute;
	opacity: 0;
	height: 0;
	width: 0;
}

.section3 .checkbox-label {
	color: #fff;
	cursor: pointer;
	display: flex;
	align-items: center;
}

.section3 .checkbox-icon {
	display: inline-flex;
	width: 18px;
	height: 18px;
	border: 2px solid white;
	margin-right: 10px;
	color: white;
	align-items: center;
	justify-content: center;
	font-size: 12px;
	flex-shrink: 0;
}

.section3 .custom-checkbox:checked~.checkbox-label .checkbox-icon::after {
	content: '\2713';
}

.section3 .apply {
	text-align: center;
	margin-top: 2vh;
}

.section3 .apply input[type="button"].apply {
	font-weight: 700;
	color: white;
	padding: 12px 40px;
	border-radius: 50px;
	border: 2px solid white;
	background: transparent;
	font-size: 16px;
}

.section3 .top {
	position: absolute; 
	bottom: 50px;
	right: 50px;
	border-radius: 100%;
	background: #eee;
	box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2); 
	width: 50px;
	height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
	cursor: pointer;
	z-index: 100;
}

.site-footer {
	display: block;
	background-color: #1a1a1a;
	color: #bbb;
	padding: 30px 20px;
	text-align: center;
}

.footer-content p {
	font-size: 14px;
}

.footer-nav {
	display: flex;
	justify-content: center;
	margin-top: 20px;
	gap: 40px;
}

.site-footer a img {
	width: 30px;
	height: 30px;
}

.item-1 {
	animation-delay: 0.5s;
}

.item-2 {
	animation-delay: 1.5s;
	margin-bottom: 20px;
}

.item-3 {
	animation-delay: 2s;
	margin-bottom: 20px;
}

.item-4 {
	animation-delay: 2.5s;
}

.item-4 i.fa-envelope {
    margin-right: 15px;
    font-size: 20px;
}

.main-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 20px 5%;
	background: #000;
	border-bottom: 1px solid #444;
}

.main-header .logo {
	margin: 0;
	line-height: 1;
}

.main-header .logo img {
	height: 8vh;
	max-height: 70px;
}

.main-header .header-nav {
	display: flex;
	align-items: center;
	gap: 30px;
	font-weight: 500;
}

.main-header .nav-item {
	color: #fff;
	text-decoration: none;
	padding: 0;
	white-space: nowrap;
	font-size: clamp(14px, 1.1vw, 18px);
	transition: color 0.3s;
}

.main-header .nav-item:hover {
	color: #aaa;
	background-color: transparent;
}

.main-header .nav-button {
	border: 1px solid #fff;
	border-radius: 30px;
	padding: 8px 18px;
}

body>header+div {
	position: relative;
	flex: 1 0 auto;
}

.background-image-container {
	position: relative;
	width: 100%;
	height: 80vh;
	overflow: hidden;
}

.logo-image {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.background-image-container::after {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: linear-gradient(to top, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0) 60%);
	z-index: 1;
}

.overlay-text {
	position: absolute;
	bottom: 8vh;
	left: 0;
	right: 0;
	z-index: 10;
	padding: 0 5%;
	color: #fff;
}

.overlay-left {
	text-align: left;
}

.overlay-right {
	text-align: right;
}

.overlay-title {
	font-size: clamp(36px, 6vw, 96px);
	font-weight: 700;
	margin-bottom: 20px;
	text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.8);
	font-family: 'Montserrat', sans-serif;
}

.about-text,
.business-text {
	font-size: clamp(18px, 1.8vw, 32px);
	line-height: 1.6;
	max-width: 700px;
}

.overlay-right .about-text,
.overlay-right .business-text {
	margin-left: auto;
}

.overlay-left .about-text,
.overlay-left .business-text {
	margin-right: auto;
}

.creator-background {
	background: #000;
}

.creator-background>div {
	padding: 100px 5% 80px;
	color: #fff;
	opacity: 0;
	transform: translateY(30px);
	animation: slideUp3 1s cubic-bezier(0.23, 1, 0.32, 1) 0.5s forwards;
}

.creator-background .overlay-title {
	position: static;
	font-weight: 900;
	text-shadow: none;
	margin-bottom: 50px;
	text-align: left;
}

.creator-image {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 25px;
	max-width: 1200px;
	margin: 0 auto;
	width: 100%;
}

.creator-image a {
	display: block;
	position: relative;
	width: 100%;
	padding-top: 100%;
	overflow: hidden;
	cursor: pointer;
	border: 1px solid #555;
	transition: border-color 0.3s;
	border-radius: 8px;
}

.creator-image img {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: opacity 0.5s ease, transform 0.5s ease;
}

.overlay-text-hover {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.5s ease;
    z-index: 5;
}

.creator-name {
    color: #fff;
    font-size: clamp(18px, 2.5vw, 30px);
    font-weight: 700;
    text-align: center;
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.creator-image a:hover {
	border-color: #fff;
}

.creator-image a:hover img {
	opacity: 0.8;
	transform: scale(1.05);
}

.creator-image a:hover .overlay-text-hover {
    opacity: 1;
}

.creator-image a:hover .creator-name {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.2s;
}

/* 태블릿 너비 */
@media all and (max-width: 1200px) {
	.main-header {
		padding: 15px 5%;
		flex-direction: column;
	}

	.main-header .logo {
		margin-bottom: 30px;
	}

	.main-header .logo img {
		max-height: 60px;
	}

	.main-header .header-nav {
		gap: 100px;
	}

	.background-image-container {
		height: 65vh;
	}
	
	.sub-nav {
		display: none;
	}

	.overlay-title {
		font-size: clamp(36px, 7vw, 80px);
	}

	.about-text,
	.business-text {
		font-size: clamp(18px, 2.5vw, 28px);
		max-width: 70%;
	}

	.creator-background>div {
		padding: 80px 5% 60px;
	}

	.creator-background .overlay-title {
		margin-bottom: 40px;
	}

	.creator-image {
		grid-template-columns: repeat(2, 1fr);
		gap: 20px;
	}
	
	.creator-name {
        font-size: clamp(16px, 3.5vw, 24px);
    }
}


/* 높이 800px 이하 */
@media all and (max-height: 800px) {
	.main-title {
		top: 5%;
	}

	.billboard-container {
		top: 5%;
	}

	.main-nav {
		bottom: 5%;
	}

	.nav-item {
		padding: 10px 20px;
		font-size: 16px;
	}

	.section2 .card-image {
		max-height: 30vh;
	}

	.section2 .card-title {
		font-size: clamp(16px, 1.4vw, 22px);
	}

	.section2 .card-description {
		font-size: clamp(12px, 0.9vw, 15px);
	}

	.section3 .apply-main-title {
		margin-bottom: 2vh;
	}

	.section3 .agree {
		max-height: 15vh;
		font-size: 11px;
	}

	.section3 .apply input[type="button"].apply {
		padding: 10px 30px;
	}
}

/* 높이 650px 이하 */
@media all and (max-height: 650px) {

	.section2 .card-image {
		max-height: 25vh;
	}

	.section2 .card-title {
		font-size: 16px !important;
		margin-bottom: 1vh;
	}

	.section2 .card-description {
		font-size: 12px !important;
	}

	.section3 .agree {
		max-height: 12vh;
		font-size: 10px;
		padding: 10px;
	}
}

/* 태블릿 너비 또는 화면 높이가 800px 이하일 때 적용 (모바일 제외) */
@media all and (max-width:1200px),
(max-height: 800px) and (min-width: 768px) {
	.main-nav {
		gap: 15px;
		flex-wrap: wrap;
		justify-content: center;
	}

	.section2 .card-container {
		flex-direction: column;
		align-items: center;
		gap: 2vh;
		width: 95%;
	}

	.section2 .card {
		flex-direction: row;
		align-items: center;
		width: 100%;
		max-width: 900px;
		padding: 2vh 2vw;
		max-height: 30vh;
	}

	.section2 .card-image {
		width: 45%;
		height: 100%;
		max-height: 100%;
		margin-bottom: 0;
		margin-right: 5%;
	}

	.section2 .card>div:not(.card-image) {
		flex: 1;
		text-align: left;
	}

	.section2 .card:nth-child(2) {
		flex-direction: row-reverse;
	}

	.section2 .card:nth-child(2) .card-image {
		margin-right: 0;
		margin-left: 5%;
	}

	.section2 .card:nth-child(2)>div:not(.card-image) {
		text-align: right;
	}

	.section2 .card-title {
		font-size: clamp(20px, 2.5vw, 30px);
		margin: 0 0 1.5vh 0;
	}

	.section2 .card-description {
		font-size: clamp(14px, 1.8vw, 20px);
	}

	.section3 .input-group {
		gap: 1.5vh 30px;
	}
}


@media all and (max-width:767px) {
	body {
		font-size: 14px;
	}

	.section1::after {
		background-color: rgba(0, 0, 0, 0.6);
	}

	.main-title {
		font-size: clamp(36px, 11vw, 55px);
		top: 10%;
	}

	.billboard-container {
		width: 40%;
	}

	.main-nav {
		gap: 12px;
		flex-direction: column;
		align-items: stretch;
		align-content: center;
	}

	.nav-item {
		font-size: 16px;
		padding: 12px;
	}

	.section2 .card-container {
		flex-direction: column;
		gap: 2.5vh;
		width: 90%;
	}

	.section2 .card {
		flex-direction: row;
		padding: 2vh 3vw;
		max-height: 30vh;
	}

	.section2 .card:nth-child(2) {
		flex-direction: row;
	}

	.section2 .card-image {
		width: 35%;
		margin: 0 20px 0 0;
	}

	.section2 .card:nth-child(2) .card-image {
		margin: 0 20px 0 0;
	}

	.section2 .card>div:not(.card-image) {
		text-align: left !important;
	}

	.section2 .card-title {
		font-size: clamp(18px, 5vw, 22px);
		margin-bottom: 1vh;
	}

	.section2 .card-description {
		font-size: clamp(14px, 3.8vw, 16px);
	}

	.section3 .apply-main-title {
		font-size: clamp(28px, 7.5vw, 36px);
	}

	.section3 .apply-form-overlay {
		padding: 25px 20px;
	}

	.section3 .input-group {
		gap: 0.5vh;
		margin-bottom: 1vh;
	}

	.section3 .input-group label {
		font-size: 14px;
		margin-top: 1.5vh;
	}

	.section3 .input-group label:first-child,
	.section3 .input-group label[for="phone"] {
		margin-top: 0;
	}

	.section3 .input-group input {
		font-size: 14px;
	}

	.section3 .agree {
		max-height: 20vh;
	}

	.section3 .apply input[type="button"].apply {
		width: 100%;
		padding: 15px 0;
	}

	.main-header {
		padding: 15px 20px;
	}

	.main-header .logo img {
		height: 6vh;
		max-height: 50px;
	}

	.main-header .header-nav {
		gap: 30px;
	}

	.main-header .nav-item {
		font-size: 15px;
	}

	.main-header .nav-button {
		padding: 6px 12px;
	}

	.background-image-container {
		height: 60vh;
	}

	.overlay-text {
		bottom: 5vh;
	}

	.overlay-right {
		text-align: left;
	}

	.overlay-title {
		font-size: clamp(32px, 10vw, 48px);
		margin-bottom: 15px;
	}

	.about-text,
	.business-text {
		font-size: clamp(16px, 4.5vw, 20px);
		max-width: 100%;
		margin-left: 0;
	}

	.creator-background>div {
		padding: 60px 5% 50px;
	}

	.creator-background .overlay-title {
		margin-bottom: 30px;
	}

	.creator-image {
		grid-template-columns: 1fr;
		gap: 30px;
	}
	
	.creator-name {
        font-size: clamp(14px, 5vw, 20px);
    }
}

@media (max-width: 768px) {
    .section3 .top {
        bottom: 50px;
        right: 20px;
        width: 40px;
        height: 40px;
    }
}
