/* http://meyerweb.com/eric/tools/css/reset/ 
   v2.0 | 20110126
   License: none (public domain)
*/

html,
body,
div,
span,
applet,
object,
iframe,
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
pre,
a,
abbr,
acronym,
address,
big,
cite,
code,
del,
dfn,
em,
img,
ins,
kbd,
q,
s,
samp,
small,
strike,
strong,
sub,
sup,
tt,
var,
b,
u,
i,
center,
dl,
dt,
dd,
ol,
ul,
li,
fieldset,
form,
label,
legend,
table,
caption,
tbody,
tfoot,
thead,
tr,
th,
td,
article,
aside,
canvas,
details,
embed,
figure,
figcaption,
footer,
header,
hgroup,
menu,
nav,
output,
ruby,
section,
summary,
time,
mark,
audio,
video {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
  box-sizing: border-box;
}
/* HTML5 display-role reset for older browsers */
article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section {
  display: block;
}
body {
  line-height: 1;
}
ol,
ul {
  list-style: none;
}
blockquote,
q {
  quotes: none;
}
blockquote:before,
blockquote:after,
q:before,
q:after {
  content: '';
  content: none;
}
table {
  border-collapse: collapse;
  border-spacing: 0;
}

/* Main CSS */
body {
  background: #3498db;
  font-family: 'Lato', 'Helvetica Neue', 'Helvetica', Helvetica, Arial,
    sans-serif;
  line-height: 1;
  text-rendering: optimizeLegibility;
}

.site-header {
  background: #fff;
}

.site-header .wrap {
  padding: 30px 0;
}

.site-header h1 {
  color: #3498db;
  font-family: Pacifico;
  font-size: 75px;
  font-weight: 400;
  line-height: 1.2;
  margin: 0 auto;
  text-align: center;
}

.site-header h2 {
  color: #555;
  font-size: 16px;
  font-style: italic;
  font-weight: 400;
  margin: 10px auto;
  text-align: center;
  font-family: Lato;
}

h2 {
  font-family: Pacifico;
  font-size: 40px;
  margin: 20px auto;
  text-align: center;
  color: #fff;
  margin: 0 0 40px 0;
}

/* Site Main */
.site-main .wrap {
  padding: 40px 0;
}

.wrap {
  max-width: 1200px;
  margin: 0 auto;
}

.portfolio-col-img {
  border: 5px solid #fff;
  display: flex;
  width: 100%;
  background: #333;
  height: 250px;
  max-width: 100%;
  opacity: 1;
  transition: all 0.3s ease;
  flex-flow: column;
  justify-content: center;
  align-items: center;
}

.portfolio-col-img {
  position: relative;
}

.portfolio-col-img::after {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  transition: all 0.3s ease;
  opacity: 0;
  visibility: hidden;
}

.portfolio-col-inner:hover .portfolio-col-img::after {
  opacity: 1;
  visibility: visible;
}

.portfolio-col-title {
  font-size: 18px;
  font-weight: 700;
  line-height: 1.5;
  margin-bottom: 20px;
  text-align: center;
  font-family: sans-serif;
}

.portfolio-col-title a {
  text-decoration: none;
  color: #fff;
  border-bottom: 2px solid transparent;
  padding-bottom: 5px;
  display: inline-block;
  transition: all 0.3s ease;
  line-height: 1.3;
}

.portfolio-col-title a:hover {
  border-color: #fff;
}

.portfolio-col-img {
  margin-bottom: 15px;
  background-size: cover;
  background-position: center;
}

.portfolio-wrap {
  display: flex;
  flex-flow: row wrap;
}

.portfolio-col {
  max-width: 25%;
  flex: 0 0 25%;
  padding: 0 20px;
  margin-bottom: 20px;
}

.view-cta {
  position: relative;
  z-index: 1;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.5;
  margin-bottom: 40px;
  text-align: center;
  color: #fff;
  text-decoration: none;
  font-family: Pacifico;
  letter-spacing: 2px;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  border-bottom: 2px solid transparent;
}

.portfolio-col-inner:hover .view-cta {
  opacity: 1;
  visibility: visible;
}

.portfolio-col-inner:hover .view-cta:hover {
  border-color: #fff;
}
