/* Reset */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

/* Page */
body {
    background: #ffffff;
    color: #000000;
    font-family: Arial, sans-serif;
}

/* Grid */
.grid {
    display: grid;

    /*
     * Each column is at least 300px wide.
     * If there is more available space, cells expand
     * evenly to fill the row.
     */
    grid-template-columns: repeat(
        auto-fit,
        minmax(300px, 1fr)
    );

    gap: 10px;

    padding: 10px;
}

/* Individual cells */
.cell {
    min-width: 300px;
    min-height: 300px;

    background: #000000;
    color: #ffffff;

    display: flex;
    align-items: center;
    justify-content: center;

    font-size: 24px;
}

/* Mobile */
@media (max-width: 320px) {
    .grid {
        padding: 0;
        gap: 0;
    }

    .cell {
        min-width: 100%;
    }
}


/* Reset */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

/* Page */
body {
    background: #ffffff;
    color: #000000;
    font-family: Arial, sans-serif;
}

/* Grid */
.grid {
    display: grid;

    grid-template-columns: repeat(
        auto-fit,
        minmax(300px, 1fr)
    );

    gap: 10px;
    padding: 10px;
}

/* Individual cell */
.cell {
    min-width: 300px;
    min-height: 300px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;

    font-size: 24px;
}

/* Default content */
.cell-default {
    display: flex;
    align-items: center;
    justify-content: center;
    background-position: center;
    background-size: cover;
    width: 100%;
    height: 100%;
}

/* Hover content */
.cell-hover {
    display: none;
    font-size: 17px;
    width: 100%;
    height: 100%;
    text-align: center;
    align-items: center;
    justify-content: center;
    background-color: whitesmoke;
}
.cell-hover p {
    display: block;
    font-size: 17px;
    padding:13px;
}
.cell-hover caption {
    font-size: 13px;
}

/*
 * When the cell is hovered:
 * hide the default content
 * and show the hover content.
 */
.cell:hover .cell-default {
    display: none;
}

.cell:hover .cell-hover {
    display: flex;
}

.cell-1 .cell-default {
    background-image: url('images/portfolio-default-1.png');
}
.cell-2 .cell-default {
    background-image: url('images/portfolio-default-2.png');
}
.cell-3 .cell-default {
    background-image: url('images/portfolio-default-3.png');
}
.cell-4 .cell-default {
    background-image: url('images/portfolio-default-4.png');
}
.cell-5 .cell-default {
    background-image: url('images/portfolio-default-5.png');
}
.cell-6 .cell-default {
    background-image: url('images/portfolio-default-6.png');
}
.cell-7 .cell-default {
    background-image: url('images/portfolio-default-7.png');
}
.cell-8 .cell-default {
    background-image: url('images/portfolio-default-8.png');
}
.cell-9 .cell-default {
    background-image: url('images/portfolio-default-9.png');
}
.cell-10 .cell-default {
    background-image: url('images/portfolio-default-10.png');
}
.cell-11 .cell-default {
    background-image: url('images/portfolio-default-11.png');
}
.cell-12 .cell-default {
    background-image: url('images/portfolio-default-12.png');
}
.cell-13 .cell-default {
    background-image: url('images/portfolio-default-13.png');
}
.cell-14 .cell-default {
    background-image: url('images/portfolio-default-14.png');
}
.cell-15 .cell-default {
    background-image: url('images/portfolio-default-15.png');
}
.cell-16 .cell-default {
    background-image: url('images/portfolio-default-16.png');
}
.cell-17 .cell-default {
    background-image: url('images/portfolio-default-17.png');
}
.cell-18 .cell-default {
    background-image: url('images/portfolio-default-18.png');
}
.cell-19 .cell-default {
    background-image: url('images/portfolio-default-19.png');
}
.cell-20 .cell-default {
    background-image: url('images/portfolio-default-20.png');
}


/* =========================================
   INDIVIDUAL HOVER STATES
   ========================================= */

/* Cell 1 */
.hover-1 {
    
    background-position: center;
    background-size: cover;
    color: #000000;
}

/* Cell 2 */
.hover-2 {
    
    background-position: center;
    background-size: cover;
    color: #000000;
}

/* Cell 3 */
.hover-3 {
    
    background-position: center;
    background-size: cover;
    color: #000000;
}

/* Cell 4 */
.hover-4 {
    
    background-position: center;
    background-size: cover;
    color: #000000;
}

/* Cell 5 */
.hover-5 {
    
    background-position: center;
    background-size: cover;
    color: #000000;
}

/* Cell 6 */
.hover-6 {
    
    background-position: center;
    background-size: cover;
    color: #000000;
}

/* Cell 7 */
.hover-7 {
    
    background-position: center;
    background-size: cover;
    color: #000000;
}

/* Cell 8 */
.hover-8 {
    
    background-position: center;
    background-size: cover;
    color: #000000;
}

/* Cell 9 */
.hover-9 {
    
    background-position: center;
    background-size: cover;
    color: #000000;
}

/* Cell 10 */
.hover-10 {
    
    background-position: center;
    background-size: cover;
    color: #000000;
}

/* Cell 11 */
.hover-11 {
    
    background-position: center;
    background-size: cover;
    color: #000000;
}

/* Cell 12 */
.hover-12 {
    
    background-position: center;
    background-size: cover;
    color: #000000;
}

/* Cell 13 */
.hover-13 {
    
    background-position: center;
    background-size: cover;
    color: #000000;
}

/* Cell 14 */
.hover-14 {
    
    background-position: center;
    background-size: cover;
    color: #000000;
}

/* Cell 15 */
.hover-15 {
    
    background-position: center;
    background-size: cover;
    color: #000000;
}

/* Cell 16 */
.hover-16 {
    
    background-position: center;
    background-size: cover;
    color: #000000;
}

/* Cell 17 */
.hover-17 {
    
    background-position: center;
    background-size: cover;
    color: #000000;
}

/* Cell 18 */
.hover-18 {
    
    background-position: center;
    background-size: cover;
    color: #000000;
}

/* Cell 19 */
.hover-19 {
    
    background-position: center;
    background-size: cover;
    color: #000000;
}

/* Cell 20 */
.hover-20 {
    
    background-position: center;
    background-size: cover;
    color: #000000;
}


/* Mobile */
@media (max-width: 320px) {

    .grid {
        padding: 0;
        gap: 0;
    }

    .cell {
        min-width: 100%;
    }
}



h1,
h2,
h3,
h4,
h5,
p,
a,
ul,
li,
span,
small {
	font-family:'Alte Haas Grotesk', 'Roboto Mono', Helvetica, sans-serif;
	color:black;
	margin:0;
}
h1 {
	font-size:33px;
	line-height: 1;
	text-align: center;
	margin-top: 55px;
}
h2 {
	font-size:22px;
	font-weight:100;
	margin-bottom:33px;
	text-align: center;
}
h3 {
	font-size: 24px;
}
h4 {
	font-size: 17px;
}
h5,
ul,
li {
	color:grey;
}
p {
	font-size:33px;
}
span,
span a {
	font-size:11px;
	margin-top:11px;
}
span a:hover {
	color:white;
	background-color:white;
}
a {
	font-size:33px;
	text-decoration:none;
	font-weight:bold;
	background-color:lime;
	word-wrap: break-word;
}
a:hover {
	background-color:black;
	color:white;
}
a.threefivetwo {
	background-color:deeppink;
	color:white;
}
a.threefivetwo:hover {
	color:black;
}
h1::selection {
	background: #333;
}
h2::selection {
	background: #333;
}
h3::selection {
	background: #333;
}
p::selection {
	background: #333;
}
span::selection {
	background: #333;
}
a::selection {
	background: white;
}