/*index.css*/

#fragrance, #makeup, #care, #fragrance > div, #makeup > div, #care > div {
	position: relative;
	width: 100%;
}

#fragrance img, #makeup img, #care img {
    display: block;
    position: relative;
	width: 100%;
}

#fragrance > div.header, #makeup > div.header, #care > div.header {
	padding: 20px 0;
}

#fragrance > div.header h4, #makeup > div.header h4, #care > div.header h4 {
	padding: 8px 0;
	color: #000;
	font-size: 18px;
	text-align: center;
}

#fragrance > div.header hr, #makeup > div.header hr, #care > div.header hr {
	max-width: 200px;
	height: 1px;
	margin: 0 auto;
	background-color: rgb(195, 25, 22);
	border-radius: 2px;
}

#fragrance > div.content, #care > div.content, #makeup > div.content {
	position: relative;
	width: 100%;
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-flex: 0;
	-ms-flex: 0 1 auto;
	flex: 0 1 auto;
	-webkit-box-orient: horizontal;
	-webkit-box-direction: normal;
	-ms-flex-flow: row wrap;
	flex-flow: row wrap;
	padding: 0 10px;
	overflow: hidden;
}

#fragrance > div.content > div, #care > div.content > div {
	-ms-flex-preferred-size: 33.3333333%;
	-webkit-flex-basis: 33.3333333%;
	flex-basis: 33.3333333%;
}

#makeup > div.content > div {
	-ms-flex-preferred-size: 25%;
	-webkit-flex-basis: 25%;
	flex-basis: 25%;
}

#fragrance > div.content > div, #care > div.content > div, #makeup > div.content > div {
    display: block;
    position: relative;
    padding: 0px 10px;
}

#fragrance > div.content > div > a, #care > div.content > div > a, #makeup > div.content > div > a {
    display: block;
    position: relative;
    border-radius: 8px;
    overflow: hidden;
}

.tt {
    display: block;
    position: absolute;
    bottom: 0px;
    left: 0px;
    z-index: 1;
    width: 100%;
    padding: 10px 0px;
    text-align: center;
    font-size: 16px;
    font-weight: bold;
    background-color: rgba(255,255,255,0.5);
    color: #000;
    text-decoration: none;
    border-bottom-style: solid;
    border-bottom-width: 1px;
    border-bottom-color: rgb(195, 25, 22);
    backdrop-filter: blur(2px);
}

@media (max-width: 990px) {
	#makeup > div.content > div {
		-ms-flex-preferred-size: 50%;
		-webkit-flex-basis: 50%;
		flex-basis: 50%;
	}
}

@media (max-width: 500px) {
	#fragrance > div.content > div, #care > div.content > div, #makeup > div.content > div {
		-ms-flex-preferred-size: 100%;
		-webkit-flex-basis: 100%;
		flex-basis: 100%;
		padding: 10px 0px;
	}
}