/* * {outline: 1px solid white} */
html {
    margin: 0;
    padding: 0;
}
body {
    margin: 0;
    padding: 0;
    background: #2D2216;
    /* text-align: left; */
    text-align: center;
	font-family: "HelveticaNeue-Light", "Helvetica Neue Light", "Helvetica Neue", Helvetica, Arial, "Lucida Grande", sans-serif;
    font-weight: 300;
}
ul, li {
    margin: 0;
    padding: 0;
    list-style-type: none;
}
p {
    padding: 0;
    margin: 0;
}
h1 {
    padding: 0;
    margin: 0;
	clear: both;
}
img {
    max-width: 100%;
    height: auto;
    border: 0;
}
#wrap {
    max-width: 1100px;
    margin-inline: auto;
    padding-inline: .5rem;
}
#header {
	float: left;
	/* width: 320px; */
    /* height: 56px; */
    font: bold 40px 'Rajdhani', sans-serif;
    color: #E51B33;
	line-height: 1.4;
	padding: 0 1rem 0 1rem;
}               
    #header a {
        color: #E51B33;
        text-decoration: none;
    }
            @media screen and (max-width: 990px) {
                #header {
                    float: none;
                    width: 100%;
                    margin-inline: auto;
                    text-align: center;
                    padding: 0;
                }
            }
main {
    clear: both;
    display: grid;
    grid-template-columns: 1fr 220px;
    gap: 1rem;        
	margin-block: 1.2rem;
}        
        /* @media screen and (max-width: 950px) {
            main {
                grid-template-columns: 1fr 190px;
            }
        } */

        @media screen and (max-width: 800px) {
            main {
                grid-template-columns: 1fr;
            }
        }            
.gallerynav {
    /* clear: both; */
    display: grid;
    grid-template-columns: 1fr 2fr 2fr 1fr;
    gap: 1.1rem;    
    margin-block: .5rem;
}    
    .gallerynav a {
        font-size: clamp(1.1875rem, 0.9049rem + 1.413vw, 2rem);
        color: #fff;
        /* border: .1rem solid #fff; */
        /* margin-bottom: .8rem; */
        padding-block: .5rem;
        background-color: #E51B33;
        border-radius: .3rem;
        text-decoration: none;
    }
    .gallerynav a:hover {
        color: #fff;
        background-color: #92A960;
        text-decoration: none;
        /* border-color: #FF652F; */
    }
.singleitem {
    margin-block: .5rem;
}    
    .singleitem img {
        border-radius: .3rem;
    }      
.tops {
	clear: both;
	font-size: 0;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px,1fr));
    gap: .4rem;
    margin-block: .4rem;
}
    .tops a {
        vertical-align: top;
        border-radius: .3rem;
        font: bold 28px 'Titillium Web', sans-serif;
        text-decoration: none;
        color: #FFFFFF;        
        padding: 1.4rem .6rem;
        line-height: 1.0;
        background: #92A960;
        /* transition: all 0.3s ease-out; */
        align-self: stretch;        
    }
    .tops a:hover {
        background: #E51B33;
    }
    .tops a:visited {
        background: #B6C98D;
    }
    .tops p {
        font-family: "HelveticaNeue-Light", "Helvetica Neue Light", "Helvetica Neue", Helvetica, Arial, "Lucida Grande", sans-serif;
        font-weight: normal;
        color: #2D2216;
        font-size: 13px;
        margin: 0;
        padding: 8px 10px 0 10px;
    }
            @media screen and (max-width: 800px) {
                .tops {
                    grid-template-columns: repeat(2, 1fr);
                }
                .tops a {
                    display: block;
                    padding: .7rem .6rem;
                }
            }
            @media screen and (max-width: 500px) {
                    .tops {
                        grid-template-columns: 1fr;
                    }  
            }
            @media screen and (max-width: 330px) {
                .tops a {
                    font-size: 1.5rem;
                }
            }
.thumbs {
    clear: both;
	text-align: center;
    font-size: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
	gap: .4rem;
    align-content: start;
    margin-block: .4rem;
}
    .thumbs a img {
        border-radius: .3rem;
        cursor: pointer;        
    }
            @media screen and (max-width: 800px) {
                .thumbs a:last-child {
                    display: none;
                }
            }
            @media screen and (max-width: 630px) and (min-width:480px) {
                .thumbs a:nth-last-child(2) {
                    display: none;
                }
            }
.thumbs.related {
	clear: both;
	font-size: 0;
	text-align: center;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
	gap: .5rem;
    align-content: start;
}
    .thumbs.related a img {
        border-radius: .3rem;
        cursor: pointer;
    }
            @media screen and (max-width: 800px) {
                .thumbs.related a:last-child {
                    display: none;
                }
            }
            @media screen and (max-width: 500px) {
                .thumbs.related a {
                    /* width: calc(50% - 4px); */
                }
            }  
.footerlinks {
    clear: both;
    padding-block: 1rem;
    margin-inline: auto;
    text-align: center;
    display: inline-flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: calc(.6rem + .3vw);
    /* grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); */
}
    .footerlinks a {
        text-transform: capitalize;
        border-radius: .3rem;
        font-size: 1.6rem;
        color: #fff;
        padding: 1rem 1.5rem;
        background-color: #E51B33;
        text-decoration: none;
        display: block;
    }
    .footerlinks a:hover {
        color: #E51B33;
        background-color: #fff;
        text-decoration: none;
    }                      
#footer {
	clear: both;
	margin-inline: auto;
	padding: 2rem 0 0 0;
	font-size: .9rem;
	color: #aaa;
}
    #footer a {
        text-decoration: underline;
        color: #aaa;
    }
    #footer a:hover {
        text-decoration: none;
    }
            @media screen and (max-width: 800px) {
                #footer {
                    width: 80%;
                    text-align: center;
                }
            }
            @media screen and (max-width: 330px) {
                #footer {
                    font-size: .6rem;
                }
            }           