/* ====================
GLOBAL RESET
==================== */

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

.page-container { 
max-width: 1100px;
width: 100%;
margin: 0 auto;
}
/* ====================
PAGE HEADER
==================== */
.site-header {
padding: 4px 0;

}
.site-header img {
width: 100%;
max-width: 1100px;
height: auto;
display: block;
margin: 0 auto;

}
/* ====================
NAVIGATION BAR
==================== */
.main-nav {
width: 100%;
    display: flex;
    justify-content: center;
    padding: 3px 0;
padding-bottom: 5px;
}

.nav-container {
display: flex;
justify-content: space-between;
flex-wrap: wrap;
max-width: 1100px;
margin: 0 auto;
width: 100%;
gap: 2px;
}

.nav-container a {
flex: 0 1 181px;
}

.nav-container a img {
width: 100%;
height: auto;
display: block;
}

.nav-container a:not(.nav-active) img:hover {
transform: scale(1.03);
}

.nav-container a.nav-active img {
transform: none;
}

.nav-container .nav-active {
pointer-events: none;
}

/* ====================
TEXT BOX
==================== */
.text-box img {
max-width: 1100px;
width: 100%;
height: auto;
margin: 0 auto;    
}
/* ====================
WORK SAMPLES WITH CAPTIONS
==================== */
.two-images {
display: flex;
justify-content: center;
gap: 3px;
margin-bottom: 2px;
flex-wrap: nowrap;
}

.image-block {
max-width: 540px;
margin: 4px;
}

.image-block img {
width: 100%;
height: auto;
display: block;
}

.caption {
margin-top: 4px;
width: 100%;
}

.caption img{
width: 100%;
max-width:  540px;
height: auto;
}

.large-image {
max-width: 1100px;
width: 100%;
margin: 0 auto;
padding-bottom: 10px;
}

.large-image img {
width: 100%;
max-width: 100%;
height: auto;
display: block;
}

/* ====================
FOOTER NAVIGATION BAR
==================== */
.footer-nav {
width: 100%;
display: flex;
justify-content: center;
margin: 0 auto;
}

.footer-container {
display: flex;
width: 1100px;
height: 147px;
}

.footer-container a:nth-child(1) { width: 526px; }
.footer-container a:nth child(2) { width: 53px: }
.footer-container a:nth-child(3) { width: 526px; }

.footer-container img {
width:100%;
height: 100%;
display: block;
}

.footer-container img:hover {
transform: scale(1.02);
}
/* ====================
COPYRIGHT FOOTER
==================== */
.site-footer {
max-width: 1100px;
text-align: center;
justify-content: center;
padding-top: 5px;
padding-bottom: 10px;
margin: 0 auto;
}

.site-footer img {
max-width: 100%;
height: auto;
display: inline-block;
}

/* ====================
MOBILE RESPONSIVE
==================== */

@media (max-width: 768px) {

.page-container {
max-width: 98% !important;
margin: 0 auto !important;
box-sizing: border-box;
}

.site-header {
width: 98%;
padding: 4px 0;
}

.nav-container {
width: 98%;
flex-wrap: wrap;
justify-content: center;
gap: 4px;
}

.nav-container a {
flex: 1 1 calc(33.33% - 8px);
max-width: 120px;
}

.nav-container a img {
width: 100%;
height: auto;
display: block;
}

.text-box {
width: 100%;
max-width: 100%;
height: auto;
margin-left: 2px;
margin-right: 2px;
margin-bottom: 4px;
}

.two-images {
flex-direction: column;
align-items: center;
}

.image-block {
max-width: 98%;
}

.large-image {
max-width: 98%;
width: 100%;
}

.footer-nav {
max-width: 98%;
height: auto;
justify-content: center;
align-items: center;
gap: 3px;
}

.footer-container {
width: 98%;
height: auto;
margin: 0 auto;
gap: 2px;
}

.footer-container a {
flex: 1 1 auto;
}

.footer-container img {
width: 100%;
height: auto;
display: block;
}

.site-footer img {
width: 98%;
max-width: 98%;
height: auto;
display: block;
}
}
