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

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

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

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

}

/* ====================
TEXT BOX
==================== */
.text-box {
max-width: 1000px;
width: 100%;
height: auto;
margin: 0 auto;    
}

.text-box img {
max-width: 100%;
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: 480px;
margin: 4px;
}

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

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

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

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

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

.rounded-image {
display: block;
max-width: 100%;
height: auto;
border: 3.25px solid #000;
border-radius: 20px;
overflow: hidden;
}

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

.footer-container {
display: flex;
width: 1000px;
max-width: 100%;
height: calc(1000px * (109 / 1085));
}

.footer-container a:nth-child(1) { width: calc(1000px * (441 / 1085)); }
.footer-container a:nth-child(2) { width: calc(1000px * (172 / 1085)); } 
.footer-container a:nth-child(3) { width: calc(1000px * (472 / 1085)); }

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

.footer-container img:hover {
transform: scale(1.02);
}

/* ====================
COPYRIGHT FOOTER
==================== */
.site-footer {
max-width: 1000px;
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;
}

.text-box img {
width: 98%;
max-width: 100%;
height: auto;
}

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

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

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

.rounded-image {
display: block;
max-width: 100%;
height: auto;
border: 2px solid #000 !important;
border-radius: 15px !important;
overflow: hidden;
}

.footer-nav {
max-width: 99%;
height: auto;
justify-content: center;
align-items: center;
}

.footer-container {
width: 99%;
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: 100%;
height: auto;
display: block;
}
}