@tailwind base;
@tailwind components;
@tailwind utilities;

@import './reset.css';
/* @import url("https://fonts.googleapis.com/css2?family=Noto+Sans+KR:wght@100..900&display=swap"); */
:root {
	/* font-family: "Noto Sans KR", sans-serif; */
	font-family: Inter, system-ui, Avenir, Helvetica, Arial, sans-serif;
	--font-20: 20px;
	--font-18: 18px;
	--font-17: 17px;
	--font-16: 16px;
	--font-15: 15px;
	--font-14: 14px;
	--font-12: 12px;
	--font-28: 28px;
}

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

@font-face {
	font-family: 'Pretendard';
	src: url('/public/fonts/Pretendard-Bold.woff') format('opentype');
	font-weight: 700;
}

@font-face {
	font-family: 'Pretendard';
	src: url('/public/fonts/Pretendard-Light.woff') format('opentype');
	font-weight: 300;
}

html,
body,
#root {
	@apply h-full w-full m-0 p-0 opacity-100;
	font-family: 'Pretendard';
}

.video-wrapper {
	position: relative;
	padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
	height: 0;
	overflow: hidden;
}

.video-wrapper iframe {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}

.without_ampm::-webkit-datetime-edit-ampm-field {
	display: none;
}
input[type='time']::-webkit-clear-button {
	-webkit-appearance: none;
	-moz-appearance: none;
	-o-appearance: none;
	-ms-appearance: none;
	appearance: none;
	margin: -10px;
}

/* 최대 줄 수를 2줄로 설정
  그 이상 텍스트는 ...으로 생략
*/
.two-line-clamp {
	display: -webkit-box;
	-webkit-line-clamp: 2; /* 최대 줄 수를 2줄로 설정 */
	-webkit-box-orient: vertical;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: normal;
}

.login-form {
	margin-top: 30px;
}

.google-home-hidden {
	display: none;
}

#google {
	font-family: Arial, sans-serif;
	margin: 0;
	padding: 0;
	background-color: #f8f9fa;
	color: #333;
}

#google header {
	background-color: #007bff;
	color: white;
	padding: 20px;
	text-align: center;
}

#google .brand {
	align-items: center;
	display: inline-flex;
	gap: 14px;
	justify-content: center;
	margin-bottom: 8px;
}

#google .brand img {
	height: 54px;
	margin: 0;
	object-fit: contain;
	width: auto;
}

#google .brand h1 {
	color: white;
	font-size: 3em;
	font-weight: bold;
	line-height: 1;
	margin: 0;
}

@media (max-width: 480px) {
	#google .brand {
		gap: 10px;
	}

	#google .brand img {
		height: 40px;
	}

	#google .brand h1 {
		font-size: 2.1em;
	}
}

#google main {
	padding: 20px;
	max-width: 800px;
	margin: 20px auto;
	background: white;
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
	border-radius: 8px;
}

#google .section {
	margin-bottom: 30px;
	padding-bottom: 20px;
	border-bottom: 1px solid #ddd;
}

#google .section:last-child {
	border-bottom: none;
}

#google .section h2 {
	color: #007bff;
	margin-bottom: 15px;
}

#google .footer {
	background-color: #303037;
	color: #ddd;
	padding: 30px 0;
}

#google .footer_inner {
	max-width: 1200px;
	margin: 0 auto;
	text-align: center;
}

#google .footer_inner ul {
	list-style: none;
	padding: 0;
	margin: 20px 0 30px;
	display: flex;
	justify-content: center;
	flex-wrap: wrap;
}

#google .footer_inner ul li {
	margin: 0 15px;
}

#google .footer_inner ul li a {
	color: #ddd;
	text-decoration: none;
	font-size: 14px;
}

#google .footer_inner ul li a:hover {
	text-decoration: underline;
	color: #007bff;
}

#google .footer_inner p {
	font-size: 13px;
	line-height: 1.8;
	color: #bbb;
}

#google .policy-link {
	font-weight: bold;
	color: #007bff;
}

/* iOS Safari를 포함, WebKit 기반 브라우저에 특화된 스타일 적용*/
@media screen and (-webkit-min-device-pixel-ratio: 0) {
	#select-custom {
		padding: 8px 16px;
		background-color: #fff;
		min-width: 73px;
		height: 40px; /* 원하는 높이로 조정 */
		line-height: 40px; /* 높이와 동일하게 설정 */
	}
	#select-custom:focus {
		outline: none;
	}
	#select-custom-withAMPM {
		padding: 8px 16px;
		background-color: #fff;
		min-width: 87px;
		height: 40px; /* 원하는 높이로 조정 */
		line-height: 40px; /* 높이와 동일하게 설정 */
	}
	#select-custom-withAMPM:focus {
		outline: none;
	}
}
