@charset "utf-8";
/* CSS Document */
/*   portfolio  */
.portfolio {
    margin: 0;
    padding: 0;
    background-size: cover;
    background-position: 50% 50%;
    background-repeat: none;
    background-color: var(--greybg);
    z-index: 10;
}
.portfolio h2 {
    position: absolute;
    top: 20px;
    margin: 0 auto;
    left: 50%;
    transform: translateX(-50%);
}
.captionPortfolio {
    display: block;
    width: 100%;
    padding: 0;
    margin: 0;
}
.portfolioArea {
    width: 100%;
    padding: 0;
    margin: auto;
    background-size: cover;
    background-position: 50% 50%;
    background-repeat: none;
}
.feed-grid {
    display: flex;
    width: 100%;
    margin: 0 auto;
    flex-flow: row wrap;
    justify-content: center;
    align-content: flex-start;
}
.card {
    position: relative;
    width: 300px;
    height: 300px;
    margin: 0;
    background-color: #dce6f0;
    box-shadow: 0px 0px 10px 0px rgba(110, 123, 140, 0.3);
    flex: auto;
    overflow: hidden;
}
.card img {
    width: 100%;
    height: 100%;
    -o-object-fit: cover;
    object-fit: cover;
    image-rendering: optimizeQuality;
    -webkit-transition: all 1.6s ease;
    -moz-transition: all 1.6s ease;
    -o-transition: all 1.6s ease;
    -ms-transition: all 1.6s ease;
    transition: all 1.6s ease;
}
.card:nth-child(5) {
    flex: 400px;
}
.card-half {
    display: flex;
    width: 300px;
    height: 300px;
    margin: 0;
    line-height: 1;
    background-color: #dce6f0;
    box-shadow: 0px 0px 10px 0px rgba(110, 123, 140, 0.3);
    flex-flow: column wrap;
    justify-content: flex-end;
    flex: auto;
}
.wide {
    width: 450px;
}
.contact-half {
	width: 50%;
	padding: 3em;
	height: 400px;
}
.contact-half a, .contact-half a:hover, .contact-half a:visited, .contact-half a:focus {
	text-decoration: none;
	color: #bbc5cf;
}


.card:last-of-type {
    height: 1px;
    background: transparent;
	display: block;
    width: 450px;
    position: relative;
    margin: 0;
    flex: auto;
}
.card-btn {
	position: relative;
    width: 300px;
    height: 300px;
    margin: 0;
    flex: auto;
    overflow: hidden;
	display: flex;
	background: transparent;
	justify-content: center;
	align-items: center;
	box-shadow: none;
}
.card-btn .btn {
	margin: auto;
}
.card-half:hover .card-img img {
    -webkit-transform: scale(1.05);
    -moz-transform: scale(1.05);
    -o-transform: scale(1.05);
    -ms-transform: scale(1.05);
    transform: scale(1.05);
    z-index: 5;
}
.card:hover img {
    -webkit-transform: scale(1.05);
    -moz-transform: scale(1.05);
    -o-transform: scale(1.05);
    -ms-transform: scale(1.05);
    transform: scale(1.05);
    z-index: 5;
}
.card:hover .info-center {
    opacity: 0;
    -webkit-transition: all 0.6s ease-in-out;
    -moz-transition: all 0.6s ease-in-out;
    -o-transition: all 0.6s ease-in-out;
    -ms-transition: all 0.6s ease-in-out;
    transition: all 0.6s ease-in-out;
}
.card-img {
    position: relative;
    height: 160px;
    flex: auto;
    overflow: hidden;
}
.card-img img {
    width: 100%;
    height: 100%;
    -o-object-fit: cover;
    object-fit: cover;
    image-rendering: optimizeQuality;
    -webkit-transition: all 1.6s ease;
    -moz-transition: all 1.6s ease;
    -o-transition: all 1.6s ease;
    -ms-transition: all 1.6s ease;
    transition: all 1.6s ease;
}
.contain img {
    -o-object-fit: contain;
    object-fit: contain;
}
.label {
    position: absolute;
    top: 20px;
    right: 20px;
    color: #323c46;
    font-size: 1.25em;
}
.card-text {
    padding: 5px;
    background-color: #f4f4f4;
}
.card-text h4 {
    color: #323c46;
    text-transform: uppercase;
/*    letter-spacing: 0.15em;*/
}
.card-text p {
    margin: 5px auto;
    padding: 0;
    color: #000;
}
.info-center {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    display: flex;
    padding: 0 10px;
    text-align: center;
    color: #f4f4f4;
    opacity: 1;
    background: rgba(0, 0, 0, 0.3);
    text-shadow: 1px 1px 10px rgba(0, 0, 0, 0.2);
    letter-spacing: 0.1em;
    font-size: 1.5em;
    font-weight: bold;
    justify-content: center;
    align-items: center;
    -webkit-transition: all 0.6s ease-in-out;
    -moz-transition: all 0.6s ease-in-out;
    -o-transition: all 0.6s ease-in-out;
    -ms-transition: all 0.6s ease-in-out;
    transition: all 0.6s ease-in-out;
}
