body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    color: #342E37;
    background-color: #FAFFFD;
    text-align: center;
}

header {
    background-color: #332e36;
    color: #FAFFFD;
    padding: 10px 0;
}

.logo {
    max-height: 100px;
}

.media {
    width: 800PX;
    max-width: 80%;
    text-align: center;
}



nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: center;
}

nav ul li {
    display: inline;
    padding: 0 2px;
}

nav a {
    color: #FAFFFD;
    text-decoration: none;
}

nav button:hover {
    text-decoration: underline;
    background-color: #2A72D7;
}

main {
    padding: 20px;
    margin-bottom: 55px;
}


h1 {
    text-align: center;
    font-size: 60px;
    color: #FAFFFD;
    background-color: #171c51;
    margin-left: 10%;
    margin-right: 10%;
}

.para {
    color: #171c51;
    margin-left: 10%;
    margin-right: 10%;
    text-align: center;
}

.legal section{
    text-align: left;
    font-family: courier new, courier-ps-w01, monospace;
    margin-left: 10%;
    margin-right: 10%;
}

section {
    margin: 20px;
    align-content: center;
}

footer {
    background-color: #252227;
    text-align: center;
    padding: 10px 0;
    position: fixed;
    bottom: 0;
    width: 100%;
    color: #FAFFFD;
    font-size: 10px;
}


nav button {
    background-color: #171c51;
    border: 1px;
    touch-action: manipulation;
    cursor: pointer;
    color: #FAFFFD;
    height: 25px;
}

button {
    background-color: #3d49c8;
    border: 1px;
    touch-action: manipulation;
    cursor: pointer;
    color: #FAFFFD;
    height: 25px;
}

button:hover {
    text-decoration: underline;
    background-color: #2A72D7;
}

figcaption {
    text-indent: 2%;
    font-size: small;
    font-weight: bolder;
}


.background {
    background-image: url(Banner.png);
    background-repeat: no-repeat;
    background-position: center;
    padding: 20%;
}

.image-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    max-width: 80%;
    margin: 0% 10% 10% 10%;
}

.grid-item:hover
{
    cursor: pointer;
}

.grid-item img {
    width: 100%;
    height: auto;
    border-radius: 5px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.homepage {
    margin-bottom: 15%;
}

.clickimagetext{
    margin-top: 10px;
    margin-bottom: 10px;
}

.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    justify-content: center;
    align-items: center;
    z-index: 999;
}

#full-screen-img {
    max-width: 90%;
    max-height: 90%;
    margin: auto;
    border-radius: 8px;
}

.close-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 2rem;
    color: white;
    cursor: pointer;
    background: rgba(0, 0, 0, 0.5);
    padding: 5px;
    border-radius: 5%;
}

@media (max-width: 600px) {
    nav ul li {
        display: block;
        margin: 5px 0;
    }
}