* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

.container {
	display: flex;
	justify-content: center;
	width: 100%;
	height: 100vh;
	background-color: #190102;
}

ul {
	list-style: none;
}

a {
	text-decoration: none;
}

.sidebarContainer {
	width: 20%;
	padding-bottom: 2vw;
}

.logo {
	width: 100%;
	display: flex;
	padding-left: 3vw;
	align-items: center;
	margin-top: 2vw;
	gap: 5%;
	font-size: 2vw;
	font-weight: bolder;
	color: white;
}

.logo img {
	width: 4vw;
}

.main {
	width: 80%;
	height: 100%;
}

.main-top {
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.main-top>ul {
	width: 40%;
	display: flex;
	margin-top: 2vw;
	padding-right: 3vw;
	justify-content: space-between;
	cursor: pointer;
}

.main-top>ul {
	color: #ffffff99;
	font-size: 1vw;
}

.queryContainer {
	width: 50%;
	display: flex;
	justify-content: center;
	gap: 2%;
	padding-top: 2vw;
	margin-left: 2vw;
}

.queryContainer>input {
	width: 75%;
	text-indent: 1em;
	height: 2.5vw;
	font-size: 0.9vw;
	outline: none;
	border: none;
	border-radius: 2vw;
	background-color: #2c2c2c;
	color: #e6e9f0;
	cursor: pointer;
}

.queryContainer>div {
	width: 16%;
	display: flex;
	font-size: 0.9vw;
	justify-content: center;
	align-items: center;
	color: #714809;
	border-radius: 2vw;
	background-color: #fcda7e;
	cursor: pointer;
}

.sidebarContainer>ul {
	color: white;
	display: flex;
	margin-top: 2vw;
	flex-direction: column;
	align-items: center;
	height: calc(100vh - 9.5vw);
	overflow: auto;
}

.sidebarContainer>ul::-webkit-scrollbar {
	display: none;
}

.sidebarContainer>ul>li {
	display: flex;
	align-items: center;
	margin-bottom: 2vw;
	gap: 1vw;
	border-radius: 0.2vw;
	flex-shrink: 0;
	font-size: 1.2vw;
	color: #ffffff99;
	overflow: hidden;
	width: 100%;
	flex-flow: 0;
	cursor: pointer;
	padding-left: 3vw;
}

.sidebarContainer>ul>li:last-child {
	margin-bottom: 0;
}

.sidebarContainer>ul>li img {
	width: 8%;
	transform: translateY(-10vw);
	filter: drop-shadow(#ffffff99 0 10vw);
	border-radius: 0.2vw;
}

.sidebarContainer>ul>li label {
	cursor: pointer;
}

.main-list {
	height: calc(100vh - 7.5vw);
	overflow: auto;
	position: relative;
	top: 3vw;
}

.main-list::-webkit-scrollbar {
	display: none;
}

.main-list>ul {
	display: flex;
	flex-wrap: wrap;
	margin: 3vw 2vw;
	margin-top: 0;
	margin-bottom: 0;
}

.main-list>ul>li {
	width: 20%;
	display: flex;
	justify-content: center;
	margin-bottom: 2vw;
	font-size: 0.9vw;
}

.main-list>ul>li>a {
	width: 90%;
	display: flex;
	flex-direction: column;
	justify-content: center;
}

.main-list>ul>li>a>div:first-child {
	position: relative;
	height: 18.4vw;
}

.card-tag {
	position: absolute;
	padding: 0.4vw 1vw;
	border-radius: 0 1vw 0 1vw;
}

.main-list>ul>li>a>div:first-child span {
	left: 0;
	bottom: 0;
	color: white;
	background-color: #ff650f;
	color: #663d00;
	color: white;
}

.main-list>ul>li>a>div:first-child label {
	right: 0;
	top: 0;
	background-color: #FCDA7E;
	color: #663d00;
}

.main-list>ul>li>a {
	width: 90%;
	display: flex;
	flex-direction: column;
	justify-content: center;
	color: white;
}

.main-list img {
	width: 100%;
	border-radius: 1vw;
	height: 100%;
	object-fit: cover;
}

.main-list>ul>li>a>div:nth-child(2) {
	padding: 1vw 0;
	display: flex;
	flex-direction: column;
	justify-content: center;
	gap: 0.5vw;
}

.card-subtitle {
	color: #ffffff99;
	font-size: 1vw;
}

.card-title {
	font-size: 1.2vw;
}

.main-top img {
	display: none;
}

@media (max-width:768px) {
	.main {
		width: 100%;
	}

	.sidebarContainer {
		display: none;
		width: 30%;
	}

	.logo {
		display: none;
	}

	.sidebarContainer>ul {
		margin-top: 2vw;
		padding-top: 4vw;
		height: calc(100vh - 16.5vw);
	}

	.sidebarContainer>ul>li img {
		display: none;
	}

	.sidebarContainer>ul>li {
		margin-bottom: 6vw;
		font-size: 4vw;
		gap: 2vw;
		padding-left: 5vw;
	}

	.main-list>ul>li {
		width: 50%;
	}

	.main-list>ul>li>a>div:first-child {
		height: 46vw;
	}

	.card-title {
		font-size: 4.2vw;
		margin-top: 2.5vw;
	}

	.card-subtitle {
		font-size: 3.5vw;
	}

	.main-list>ul>li>a>div:nth-child(2) {
		gap: 2.5vw;
	}

	.main-list>ul>li>a>div:first-child label {
		font-size: 3.5vw;
		padding: 1.5vw 3vw;
	}

	.main-list>ul>li>a>div:first-child span {
		font-size: 3.5vw;
		padding: 1vw 3vw;
	}

	.main-top {
		justify-content: space-between;
	}

	.main-top img {
		display: block;
		margin-left: 4vw;
		width: 6vw;
		height: 6vw;
		position: relative;
		top: 0.6vw;
	}

	.main-top>ul {
		display: none;
	}

	.queryContainer {
		width: 84%;
		gap: 3%;
		padding-top: 5vw;
		margin-bottom: 3vw;
	}

	.queryContainer>input {
		height: 8.5vw;
		width: 70%;
		font-size: 3.9vw;
		border-radius: 8vw;
	}

	.queryContainer>div {
		width: 24%;
		font-size: 3.9vw;
		border-radius: 8vw;
		margin-right: 4vw;
	}

	.main-list {
		height: calc(100vh - 22.5vw);
	}
}
