@import url('fonts.css');

html {
	font-family: 'BookkGothic';
	font-weight: 700;
	font-size: 16px;
	line-height: 1.5;
	word-break: keep-all;
	scroll-behavior: smooth;
}

body,h1,h2,h3,h4,p,ul {
	margin: 0px;
	padding: 0px;
}

body {
	padding-bottom: 70px;
}

section {
	background: #fff;
	padding: 100px 0px 120px;
}

h1 {
	font-size: 4.5rem;
	font-weight: 700;
	line-height: 1.4;
	margin: 20px 0px 30px;
}

h2 {
	font-family: 'BookkMyungjo';
	font-size: 4.5rem;
	font-weight: 700;
	line-height: 1.4;
	margin: 20px 0px 30px;
}

h3 {
	font-family: 'BookkMyungjo';
	font-size: 2.5rem;
	font-weight: 700;
}

/* 텍스트 호버 */
h4 {
	font-family: 'BookkMyungjo';
	font-size: 1rem;
	font-weight: 700;
	line-height: 1.6;
}

p {
	font-family: 'BookkGothic';
	font-size: 1.5rem;
	font-weight: 700;
	line-height: 2;
}

.wrap {
	width: 1300px;
	margin: auto;
	position: relative;
}

.center-spacing {
	text-align: center;
}

.room-header {
	background: #fff;
	padding: 100px 0 120px;
}

.room-header h2 {
	margin-bottom: 30px;
}

.section-nav {
	position: fixed;
	bottom: 0;
	left: 0;
	width: 100%;
	background-color: #ffffff;
	padding: 0;
	z-index: 100;
	box-sizing: border-box;
	border-top: 2px solid #111;
}

.section-nav .wrap {
	display: flex;
	justify-content: stretch;
	width: 100%;
	max-width: none;
	gap: 0;
	flex-wrap: nowrap;
}

.section-nav a {
	flex: 1;
	text-align: center;
	text-decoration: none;
	color: #111;
	font-family: 'BookkMyungjo';
	font-size: 1.1rem;
	padding: 14px 22px;
	border-radius: 0;
	border-right: 2px solid #111;
	transition: all 0.3s;
}

.section-nav a:last-child {
	border-right: none;
}

.section-nav a:hover {
	color: whitesmoke;
	background: #111;
}

section[id] {
	scroll-margin-bottom: 80px;
}

/* 까맣게 가려진 텍스트 */
.blackout {
    font-family: 'BookkMyungjo';
    background-color: #111;
    color: #111; /* 글자색도 검정 → 안 보임 */
    transition: all 0.3s ease;
}

/* 드래그(선택) 시 글자가 보임 */
.blackout::selection {
    background-color: #e10505;
    color: white;
}

/* Firefox 대응 */
.blackout::-moz-selection {
    background-color: #e10505;
    color: white;
}


.back-btn {
	position: fixed;
	right: 110px;
	bottom: 100px;
	font-size: 4rem;
	text-decoration: none;
	color: black;
	z-index: 9999;
	transition: transform 0.3s;
}

.back-btn:hover {
	transform: translateX(-8px);
}