/*! main.css	*/
/* Base Styles */


body {
    font-family: Arial, sans-serif;
    
    padding: 0;
}

.container {
    width: 90%;
    margin: 0 auto;
}

header {
    background-color: #333;
    color: white;
    padding: 1em 0;
    text-align: center;
}
/*  
main {
    display: block;
	margin: 0;
	h1 {
    font-size: 2em;
    margin: .67em 0;
}

hr {
    box-sizing: content-box;
    height: 0;
    overflow: visible;
}
pre {
    font-family: monospace, monospace;
    font-size: 1em;

*/ 	
}
nav {
    display: flex;
    justify-content: space-around;
    align-items: center;
    background-color: #444;
    color: white;
    padding: 0.5em 0;
}

nav a {
    color: white;
    text-decoration: none;
    padding: 0.5em;
}

/* ... */

}
.main-content {
    margin-top: 20px;
}

.tm-gallery-item {
    width: 100%;
    box-sizing: border-box;
    margin-bottom: 10px;
}

.modal {
    display: none;
    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.4);
}

.modal-content {
    background-color: #fefefe;
    margin: 15% auto;
    padding: 20px;
    border: 1px solid #888;
    width: 80%;
}

.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
}

.close:hover,
.close:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}

/* Responsive Styles */
@media (min-width: 768px) {
    .container {
        width: 80%;
    }

    nav {
        flex-direction: row;
    }

    .tm-gallery-item {
        width: calc(50% - 10px);
    }
}

@media (min-width: 992px) {
    .container {
        width: 70%;
    }

    .tm-gallery-item {
        width: calc(33.333% - 10px);
    }
}

@media (min-width: 1200px) {
    .container {
        width: 60%;
    }

    .tm-gallery-item {
        width: calc(25% - 10px);
    }
}