
/*  || General Styles  ||  */
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
	font: inherit;
	vertical-align: baseline;
}
ol, ul {
	list-style: none;
}
blockquote, q {
	quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
	content: '';
	content: none;
}
table {
	border-collapse: collapse;
	border-spacing: 0;
}
body {
    background-color: #ecf0f1;
    font-family: "Poppins", serif;
}

/***************   header and navigation   ******************/
.sticky {
    position: -webkit-sticky;
    position: sticky;
    top: 0;
    z-index: 999;
}
.main-header {
    height: auto;
    margin: 15px;      
    background-color: #ecf0f1;  
}
.navigation {
    background-color: #ecf0f1;
    border: 5px solid #424949;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    align-items: center;
    box-shadow: 8px 10px 10px -6px rgba(34,34,34,0.60);
}
ul.link-pages {
    display: flex;
    align-items: center;
    justify-content: space-around;
    padding: auto 20px;
    flex: 1;
}
li {
    text-transform: uppercase; 
    font-size: 3rem;
}
.navigation a {
    color: #8f9562;
    text-decoration: none;
    font-weight: 500;
    letter-spacing: 2px;
}
.navigation a:hover {
    color: #b87b5c;
}
.navigation a:not(.main-img)::before {
    content: "[";
    left: .15rem;
}
.navigation a:not(.main-img)::after {
    content: "]";
    right: .15rem;
}
.navigation a::before,
.navigation a::after {
  position: relative;
  opacity: 0;
  color: #b87b5c;
  top: -1px;
  transition: all .5s;
}
.navigation a:hover::before,
.navigation a:hover::after {
  opacity: 0.8;
}
.navigation a:hover::before {
  left: -1.5rem;
}
.navigation a:hover::after {
  right: -1.5rem;
}
img.logo {
    display: grid;
    place-items: center;
    width: 100%;
    height: auto;
}
hr {
    height: 1em;
    border-width: 0;
    color: #da983c;
    background-color: #da983c;
}

/***********************Images****************************/

.parent {
    --col: 5; /* number of columns*/
    --g: 16px; /* controls the gap*/
    --rowH: 400px; /* controls the row height */

    box-sizing: border-box;
    padding: var(--g);
   
    display: grid;
    gap: var(--g);
    grid-template-columns: repeat(var(--col), 1fr);
    grid-auto-rows: var(--rowH);
}
.child > img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    cursor: pointer;
    transition: .35s linear; 
    box-shadow: 8px 10px 10px -6px rgba(34,34,34,0.60);
}
.child {
    position: relative;
    
}
.text {
   position: absolute;
   bottom: 10px;
   left: 10px;
   color: #f4ddb8;
   padding: 4px 8px;
   margin: 0;
   background: rgba(0, 0, 0, .4);   
   text-align: start;
   text-wrap: balance;
}
.parent .child {
    background: #da983c;
}
.parent .child img {
    opacity: 1;
    -webkit-transition: .3s ease-in-out;
    transition: .3s ease-in-out;
}
.parent img:hover {
    opacity: .5;
}

/*Modal Styles*/
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.8);
    justify-content: center;
    align-items: center;
    z-index: 1000;
}
.modal img {
    max-width: 80%;
    max-height: 80%;
    transition: all 0.3s ease;
}
.modal .close {
    position: absolute;
    top: 30px;
    right: 30px;
    color: #ecf0f1;
    font-size: 50px;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.3s ease;
}
.modal .close:hover {
    color: #da983c;
}

/**************************Footer*******************/
.bottom {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--g);
    box-sizing: border-box;
    width: auto;
    margin: 15px;
    box-shadow: 8px 10px 10px -6px rgba(34,34,34,0.60);
}
.item {
    width: auto;
    height: 95%;
    gap: var(--g);
}
.left {
    font-size: 1.5rem;
    padding-left: 10px;
    place-self: start;
    color: #424949; 
}
.webSize {
    font-size: 1.5rem;
}
.copy {
    font-size: .85rem;
}
.middle {
    font-size: 1.5rem;
    place-self: center;
    height: 3.5rem;
}
.middle a {
    text-decoration: none;
    font-weight: 500;
    color: #8f9562;
    text-transform: uppercase;
}
.middle a:hover {
    color: #b87b5c;
}
.middle a::before {
    content: "[";
    left: .5rem;
}
.middle a::after {
    content: "]";
    right: .5rem;
}
.middle a::before,
.middle a::after {
  position: relative;
  opacity: 0;
  color: #b87b5c;
  top: -1px;
  transition: all .5s;
}
.middle a:hover::before,
.middle a:hover::after {
  opacity: 0.8;
}
.middle a:hover::before {
  left: -.5rem;
}
.middle a:hover::after {
  right: -.5rem;
}
.right {
    place-self: end;
    padding-right: 10px;
    text-align: center;
    font-size: 1rem;
}
.transbox{
	font-family: "Poppins", serif;
    font-size: 1.25rem;
	margin: 50px auto 25px;
    padding-bottom: 1%;
    width: 85%;
	color: #424949; 
	line-height: 1.3em;
}
.aboutImg {
    float: left;
    margin: 2.5% 3% 1% 7.5%;
    width: 25%;
    border: solid 2px #424949;
    box-shadow: 8px 10px 10px -6px rgba(34,34,34,0.60);
}

/***************************Media Queries**********************/

@media screen and (max-width: 1450px) {
    .parent {
        --col: 4;
        --rowH: 400px;
    }
    .text {
        left: 10px;
        font-size: 1rem;
        padding: 4px 4px;
        left: 8px;
    }
    li {
        font-size: 2.5rem;
    }
    .navigation a:not(.main-img)::before {
        content: "[";
        left: .15rem;
    }
    .navigation a:not(.main-img)::after {
        content: "]";
        right: .15rem;
    }
    .webSize {
        font-size: 1.35rem;
    }
    .copy {
        font-size: .85rem;
    }
}

@media screen and (max-width: 1024px) {
    .parent {
        --col: 3;
        --rowH: 325px;
    }
    .text {
        left: 10px;
        font-size: .85rem;
        padding: 4px 4px;
        left: 8px;
    }
    li {
        font-size: 2rem;
    }
    .navigation a:not(.main-img)::before {
        content: "[";
        left: .10rem;
    }
    .navigation a:not(.main-img)::after {
        content: "]";
        right: .10rem;
    }
    .aboutImg {
        margin: 4% 3% 1% 7.5%;
    }
    .webSize {
        font-size: 1rem;
    }
    .copy {
        font-size: .70rem;
    }
    .middle {
        font-size: 1.15rem;
    }
}

@media screen and (max-width: 768px) {
    .parent {
        --col:2;
        --rowH: 350px;
    }
    .text {
        left: 10px;
        font-size: .85rem;
        padding: 4px 4px;
        left: 8px;
    }
    li {
        font-size: 1.75rem;
    }
    .navigation a:not(.main-img)::before {
        content: "[";
        left: .08rem;
    }
    .navigation a:not(.main-img)::after {
        content: "]";
        right: .08rem;
    }
    .aboutImg {
        margin: 5% 3% 1% 7.5%;
    }
    .webSize {
        font-size: .90rem;
    }
    .copy {
        font-size: .70rem;
    }
    .middle {
        font-size: .85rem;
    }
}

@media screen and (max-width: 500px) {
    .parent {
        --col: 1;
        grid-auto-rows: auto;
    }
    li {
        font-size: 1.25rem;
    }
    .text {
        left: 10px;
        font-size: 1rem;
        padding: 4px 4px;
        left: 8px;
    }
    .navigation a:not(.main-img)::before {
        content: "[";
        left: .02rem;
    }
    .navigation a:not(.main-img)::after {
        content: "]";
        right: .02rem;
    }
    .transbox {
        font-size: 1rem;
    }
    .aboutImg {
        margin: 8% 3% 1% 7.5%;
    }
    .webSize {
        font-size: .75rem;
    }
    .copy {
        font-size: .60rem;
    }
    .middle {
        font-size: .85rem;
    }
    .parent img:hover {
        opacity: 1;
    }

}







  

