@charset "UTF-8";

:root {
	
	/* color */
	--album-border: var(--blue-gray-light);
	--album-title-text: var(--white);
	--album-title-background: var(--orange-base);
	--album-thumbs-background: var(--blue-gray-light);
	--picture-background: var(--white);
	
	/* url */
/* 	--search-help-dist-bg-img: url('../img/home-search-bg.jpg'); */
	
	/* search catalog */
	--search-our-catalog-bg: var(--blue-washed);
	--search-our-catalog-color: var(--blue-dark2);
	--magnifying-glass-bg: var(--transparent);
	--arrow-right-bg: var(--transparent);
	--search-our-catalog-bg-img: url('../img/home-search-bg.jpg');
	--search-our-catalog-magnifying-glass-transparent-white: url('../img/magnifying-glass-transparent-white.svg');
	--search-our-catalog-right-arrow: url('../img/arrow-right-transparent-white.svg');

}


/*-----------------------------------------
|                 CONTENTS                 |
 -----------------------------------------*/

.gallery-container {
	display: flex;
	flex-direction: column;
	justify-content: center;
	max-width: 1200px;
	min-height: 400px;
	margin: 0 auto;
	padding: 0 1em 1em 1em;
	box-sizing: border-box;
}

.album {
	border: 2px solid var(--album-border);
	margin: 1em 0;
	padding: 1em;
}

.album h3 {
	margin: 0;
	margin-bottom: 1em;
	padding: .5em 2em;
	text-align: center;
	text-transform: uppercase;
	color: var(--album-title-text);
	background: var(--album-title-background);
	border-radius: .2em;
}

.album .thumbs {
	background: var(--album-thumbs-background);
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	align-items: flex-start;
	justify-content: space-around;
	padding: .5em;
}

.album .picture {
	width: 200px;
	height: 200px;
	flex-shrink: 0;
	background: var(--picture-background);
	display: flex;
	flex-direction: column;
	padding: .5em;
	margin: 1em;
}

.picture .image {
	width: 100%;
	height: 160px;
	position: relative;
	background: black no-repeat center;
	background-size: cover;
	overflow: hidden;
}

.picture .description {
	flex-grow: 1;
	display: flex;
	align-items: center;
	justify-content: center;
	text-align: center;
	margin-top: .1em;
	color: var(--gray-medium);
}

/*-----------------------------------------
|            SEARCH-OUR-CATALOG            |
 -----------------------------------------*/

main .search-our-catalog {
	display: flex;
	justify-content: center;
	align-items: center;
	
	width: 100%;
	height: 400px;
	
	background: var(--search-our-catalog-bg);
	background-image: var(--search-our-catalog-bg-img);
	background-position: center center;
	background-repeat: no-repeat;
	background-size: cover;
	
	box-sizing: border-box;
}

.search-our-catalog #magnifying-glass {
	width: 128px;
	height: 128px;
	margin-left: .5em;
	
	background: var(--magnifying-glass-bg);
	background-image: var(--search-our-catalog-magnifying-glass-transparent-white);
	background-position: center center;
	background-repeat: no-repeat;
	background-size: contain;
}

.search-our-catalog #catalog-link {
	min-width: 40%;
	max-width: 60%;
	white-space: pre-wrap;
	font-size: 48px;
	font-family: 'Open Sans', Sans-Serif, sansserif, sans;
	font-weight: bold;
	font-weight: 800;
	text-align: left;
	text-transform: uppercase;
	text-decoration: none;
	color: var(--search-our-catalog-color);
	margin: 1em 1.5em;
}

.search-our-catalog #catalog-link:hover {
	text-decoration: underline;
	filter: brightness(140%);
}

.search-our-catalog #catalog-link > span {
	display: block;
	width: 100%;
	white-space: nowrap;
}

.search-our-catalog .search-arrow {
	width: 80px;
    height: 100px;
	margin-right: .5em;    

	background: var(--arrow-right-bg);
	background-image: var(--search-our-catalog-right-arrow);
	background-position: center center;
	background-repeat: no-repeat;
	background-size: contain;
}



/*-----------------------------------------
|              MEDIA QUERIES               |
 -----------------------------------------*/


 
@media only screen and (max-device-width: 1024px), screen and (max-width: 1024px) {
	
	.search-our-catalog #catalog-link {
		font-size: 42px;
	}
	
}

@media only screen and (max-device-width: 860px), screen and (max-width: 860px) {

	.search-our-catalog #catalog-link {
		font-size: 34px;
	}
	
}

@media only screen and (max-device-width: 768px), screen and (max-width: 768px) {
	
	main .search-our-catalog {
		height: 300px;
		padding-top: 1em;
		background-position: left 25% center;
		flex-flow: column nowrap;
	}
	
	.search-our-catalog #catalog-link {
		max-width: 100%;
	}
	
	.search-our-catalog #catalog-link > span {
		text-align: center;
	}
	
	.search-our-catalog .search-arrow {
		display: none;
	}
	
}

@media only screen and (max-device-width: 650px), screen and (max-width: 650px) {
	
	.search-our-catalog #catalog-link {
		font-size: 28px;
	}
	
	.album .picture {
		width: 150px;
		height: 150px;
		font-size: 13px;
		margin: .5em;
	}
	
	.picture .image {
		height: 120px;
	}
	
}

@media only screen and (max-device-width: 520px), screen and (max-width: 520px) {
	
	.search-our-catalog #catalog-link {
		font-size: 24px;
	}
}

@media only screen and (max-device-width: 460px), screen and (max-width: 460px) {
	.search-our-catalog #catalog-link {
		font-size: 20px;
	}
	
}

@media only screen and (max-device-width: 320px), screen and (max-width: 320px) {
	.search-our-catalog #catalog-link {
		font-size: 18px;
	}
}
