* {
    padding: 0px;
    margin: 0px;
    box-sizing: border-box;
}

html {
    background-color: #fff;
}

/* fonts */
h1, h2, h3, h4, h5, h6 {
    font-family: "Libre Baskerville", serif;
    color: #1d1d1d;
}

p, ul, div {
    font-family: Arial, Helvetica, sans-serif;
    color: #1d1d1d;
}

.textAlignCenter {
    text-align: center;
}
/* fonts */

/* Button */
button {
    padding: 7px 40px;
    background-color: white;
    border: 1px solid black;
    box-shadow: none;
    cursor: pointer;
    margin-top: 10px;
    font-size: large;
    font-family: "Libre Baskerville", serif;
    font-weight: bold;
    font-style: normal;
    text-transform: uppercase;
}

button:hover {
    background-color: rgb(241, 241, 241);
}
/* Button */

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, auto));
    grid-gap: 5px;
}

.column {
   height: 100%;
}

.columnFlex33 {
   flex: 33%;
}

.row {
    width: 100%;
}

.flex {
    display: flex;
}

.flexWrap {
    display: flex;
    flex-wrap: wrap;
}

.flexCenter {
    align-items: center;
    justify-content: center;
}

/* Header */
header {
    min-height: 75px;
    padding: 10px 0px;
}

header a {
    text-decoration: none;
}

#logo {
    font-size: 20px;
    font-weight: 400;
}

#header-navigation {
    align-self: center;
}

#header-navigation a {
    font-family: "Libre Baskerville", serif;
    color: #1d1d1d;
    font-size: 12px;
    font-weight: 400;
    text-decoration: none;
    margin-right: 20px;
    position: relative
}

a:after {    
  background: none repeat scroll 0 0 transparent;
  bottom: 0;
  content: "";
  display: block;
  height: 1px;
  left: 50%;
  position: absolute;
  background: #1d1d1d;
  transition: width 0.2s ease 0s, left 0.2s ease 0s;
  width: 0;
}
a:hover:after { 
  width: 100%; 
  left: 0; 
}
/* Header */

.pageTitle {
    margin-left: 20px;
}

/* Photogrid */
.photogrid .row {

}

.photogrid .imgWrapper {
    overflow: hidden;
    height: 100%;
    flex: 25%;
    justify-self: center;
    align-self: center;
    aspect-ratio: 4 / 3;
}

.photogrid img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 50% 50%;
}

.photogrid .imgLower img{
    object-position: 50% 75%; 
}

.photogrid .imgHigher img{
    object-position: 50% 25%; 
}

.photogrid .imgBottom img{
    object-position: 50% 100%; 
}
/* Photogrid */

/* Portfolio */
.cube {
    min-width: 500px;
    padding-bottom: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.cube > div {
    flex: 100%;
    max-width: 900px;
}

#portfolio .imgWrapper {
    overflow: hidden;
    height: 540px;
}

#portfolio img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 50% 50%;
}

#portfolio h3 {
    margin-top: 20px;
    font-size: 32px;
}

#portfolio h6 {
    margin-top: 10px;
    font-size: 14px;
}
/* Portfolio */

/* Connect */
#connect {
    padding: 30px;
}

#connect .imgWrapper {
    overflow: hidden;
    max-height: 600px;
    aspect-ratio: 2 / 3;
    margin-right: 20px;
}

#connect img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 50% 50%;
}
/* Connect */

/* Footer */
footer {
    padding: 30px;
}

footer p {
    font-size: 10px;
    font-weight: 200;
    color: rgb(196, 196, 196);
    letter-spacing: 2px;
}
/* Footer */

/* Lightbox */
#lightbox {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.9);

    display: flex;
    justify-content: center;
    align-items: center;

    opacity: 0;
    visibility: hidden;
    transition: opacity .3s ease;

    z-index: 1000;
}

#lightbox.active {
    opacity: 1;
    visibility: visible;

        transition:
        opacity .3s ease,
        visibility 0s;
}

#lightbox img {
    max-width: 90vw;
    max-height: 90vh;
    object-fit: contain;
}
/* Lightbox */