body {
	margin: 0;
	padding: 0;
	min-height: 100vh;
	font-family: 'Roboto', Arial, Helvetica, sans-serif;
	background: #f0f0f0;
}

.container {
	width: 100%;
	height: auto;
	margin-bottom: 50px;
}

.content {
	width: calc(100% - 30px);
	padding: 0 15px;
}

.header-top {
	width: 100%;
	height: 140px;
	display: flex;
	flex-direction: column;
	align-items: center;
	align-content: center;
	justify-content: center;
	border-bottom: 7px solid #0c436b;
	position: relative;
}

	.header-top::after {
		position: absolute;
		content: "";
		width: 0;
		height: 0;
		border-style: solid;
		border-width: 30px 40px 0 40px;
		border-color: #0c436b transparent transparent transparent;
		bottom: -30px;
	}

	.header-top h3 {
		margin: 0 auto;
		font-size: 35px;
		color: #0c436b;
		text-transform: uppercase;
		font-weight: 300;
	}

	.header-top p {
		margin: 0 auto;
		font-size: 1.2rem;
		font-weight: 100;
		color: #555;
	}

@media (max-width: 520px) {
	.header-top h3 {
		text-align: center;
		font-size: 1.2rem;
		font-weight: bold;
	}

	.header-top p {
		font-size: .8rem;
	}
}

.selector-area {
	width: 100%;
	display: flex;
	flex-direction: column;
	padding: 20px 0;
	margin: 30px 0;
}

	.selector-area ul {
		width: 480px;
		display: flex;
		padding: 0;
		margin: 0 auto;
		list-style: none;
	}

		.selector-area ul li {
			width: auto;
			margin: 0 10px;
			text-transform: uppercase;
			color: #666;
			font-size: .8rem;
			padding: 10px;
			cursor: pointer;
			transition: all .5s ease-in-out;
		}

			.selector-area ul li:hover {
				width: auto;
				margin: 0 10px;
				text-transform: uppercase;
				color: #666;
				font-size: .8rem;
				padding: 10px;
				background: #fafafa;
			}

			.selector-area ul li.active {
				width: auto;
				margin: 0 10px;
				text-transform: uppercase;
				color: #fff;
				font-size: .8rem;
				background-color: #d53b3b;
				padding: 10px;
			}

@media (max-width: 520px) {

	.selector-area {
		width: 100%;
		display: flex;
		padding: 0;
		margin: 15px auto;
		list-style: none;
	}

		.selector-area ul {
			width: 60%;
			display: flex;
			flex-direction: column;
			padding: 0;
			margin: 20px auto;
			list-style: none;
		}
}

.content-portfolio {
	width: calc(100% - 30px);
	margin: 0 auto;
	padding: 0 15px;
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	justify-content: center;
}

.item-portfolio {
	width: calc(310px - 10px);
	height: calc(260px - 10px);
	padding: 10px;
	background-color: #fff;
	margin: 5px;
	position: relative;
	box-shadow: 0px 0px 2px rgb(0, 0, 0, 20%);
}

	.item-portfolio.hide {
		display: none;
	}

	.item-portfolio .detail {
		width: calc(100% - 20px);
		height: calc(100% - 20px);
		background-color: rgba(75,75,75,.5);
		position: absolute;
		top: 10px;
		opacity: 0;
		cursor: pointer;
		transition: all .3s ease-in-out;
		display: flex;
		flex-direction: column;
		justify-content: center;
	}

	.item-portfolio:hover .detail {
		display: flex;
		opacity: 1;
	}

	.item-portfolio .detail h3 {
		color: #fff;
		font-weight: 400;
		text-align: center;
		text-shadow: 0 0 1px rgba(75,75,75,.5);
		border-top: 8px solid rgba(255, 255, 255, .6);
		border-bottom: 1px solid rgba(255, 255, 255, .6);
		height: 50px;
		width: 80%;
		margin: 15px auto 0 auto;
		padding: 15px 0;
	}

	.item-portfolio img {
		width: 100%;
		height: 100%;
		transition: all .3s ease-in-out;
		cursor: pointer;
	}

	.item-portfolio:hover img {
		filter: blur(2px);
		opacity: .8;
		transform: translate(0px, -5px);
	}

.actions-button {
	width: 80%;
	display: flex;
	flex-direction: column;
	align-items: center;
	margin: 10px auto;
}

	.actions-button button {
		margin: 5px 0;
		background-color: #4e4e4e;
		color: #eee;
		width: 100%;
		padding: 12px 0;
		border: none;
		cursor: pointer;
	}

		.actions-button button.access {
			margin: 5px 0;
			background-color: #1573B8;
			color: #eee;
			width: 100%;
			padding: 12px 0;
			border: none;
			cursor: pointer;
		}

footer {
	width: 100%;
	height: 40px;
	background: #0c436b;
	padding: 15px 0;
}

	footer .footer-text {
		text-align: center;
		color: #fefefe;
		height: 40px;
		justify-content: center;
		display: flex;
		flex-direction: row;
		align-items: center;
	}

.modal {
	width: 100vw;
	position: fixed;
	height: 100vh;
	background-color: rgba(255, 255, 255, .75);
	z-index: 999;
	top: 0;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
}

	.modal.hidden {
		display: none;
	}

	.modal .modal-content {
		width: 90%;
		height: 90%;
		background-color: #1b1b1b;
	}

	.modal .close-modal {
		width: 60px;
		height: 60px;
		color: #1b1b1b;
		font-size: 2.5rem;
		position: absolute;
		right: 10px;
		top: 10px;
		cursor: pointer;
	}


	.modal .modal-content iframe {
		border: none;
		width: 100%;
		height: 100%;
	}

.hidden {
	display: none;
}
