/* @import url('http://fonts.googleapis.com/css?family=Poppins:100,200,300,400,500,600,700,800,900');  */
@import url('./modules/header.css');
@import url('./modules/weather.css');
@import url('./modules/calendar.css');

@font-face {
	font-family: custom_font;
	src: url('../fonts/headline.TTF') format('truetype');
}

@font-face {
	font-family: dialog;
	src: url('../fonts/FZZhenSYJW.TTF') format('truetype');
}


* {
	margin: 0;
	padding: 0;
	font-family: dialog;
	box-sizing: border-box;
	/* 统一盒模型 */
	scroll-behavior: smooth;
}

a {
	color: inherit;
	/* 继承父元素颜色 */
	text-decoration: none;
	/* 移除下划线 */
}

body {

	min-height: 100vh;
	background-image: url("../images/background.png");
	background-repeat: no-repeat;
	background-size: cover;
	display: flex;
	flex-direction: column;
}

section {
	overflow: hidden;
	position: relative;
	width: 100%;
	height: 100vh;
	padding: 6.25rem;
	display: flex;
	justify-content: center;
	align-items: center;
}

section img {
	object-fit: cover;

}

section img#mountain {
	z-index: 0;
}

section img.tree {
	position: absolute;
	bottom: 0;
	left: 0;
	width: 100%
}

section img#tree-behind {
	height: 110vh;
	z-index: 2;
}

section img#tree-middle {
	top: -60px;
	height: 110vh;
	z-index: 3;
}

section img#tree-front {
	height: 110vh;
	z-index: 4;
}

section img#head-portrait {
	position: absolute;
	bottom: 0;
	z-index: 1;
	height: 3.75rem;
	width: 3.75rem;
	border-radius: 1.875rem;

}

h1 {
	font-family: dialog;
	position: absolute;
	top: 35%;
	color: #49625e;
	font-weight: 400;
	letter-spacing: 2px;
	z-index: 10;
}

/* 第二屏 */
#second {
	position: relative;
	display: block;
	padding: 100px;
	height: 100vh;
	background-color: #0D2024;
	justify-content: center;
	align-items: center;
	z-index: 10;
}

.cards-container {
	position: relative;
	display: flex;
	flex-direction: row;
	gap: 10px;
	justify-content: center;

}

.left-container,
.right-container {
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.squarecards-container {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 10px;
}

.card {
	background-color: #fff8e7;
	border-color: burlywood;
	border-style: solid;
	border-radius: 5px;

}

#time {
	grid-column: 1;
	width: 700px;
	height: 250px;
	display: flex;
	justify-content: center;
	text-align: center;
	background-color: #deb887;
	border-radius: 5px;
}

.time-content {
	width: 100%;
	height: 80%;
	display: flex;
	flex-direction: column;
	justify-content: center;
	text-align: center;
	background-color: #fff8e7;
	color: #785221;
	border-radius: 10px;
	margin: auto;
}

#time-today {
	letter-spacing: 2px;
	margin-bottom: 20px;
}

.clock {

	display: flex;
	flex-direction: row;
	justify-content: center;
	text-align: center;
	font-size: 4rem;
	/* font-weight: 700; */
	letter-spacing: 0.5rem;

}



.square {
	justify-content: space-between;
	height: 200px;
	width: 200px;
	display: flex;
	flex-direction: column;

}

.square-head {
	width: 100%;
	height: 28px;
	background-color: #deb887;
	display: flex;
	justify-content: center;
	color: #785221;
	padding: 5px;
	font-weight: 700;
}

/* .dog {
	grid-column: 2;
	grid-row: 2;
}

.talk {
	grid-column: 3;
	grid-row: 2;
} */

.square-body {
	/* height: 100px; */
	width: 100%;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	color: #785221;
	font-size: 3rem;

}


.entry-button {
	padding: 5px;

	border: none;
	border-radius: 5px;
	color: #785221;
	margin: 5px auto;
	font-weight: 700;
}

.entry-button:hover {
	background-color: #deb887;
}

.square-foot {
	justify-self: end;
	width: 100%;
	height: 20px;
	background-color: #deb887;
}

.unfinished .square-body {
	font-size: 1rem;
}