body {
    margin: 0;
    font-family: Tahoma, Geneva, Verdana, sans-serif;
    font-size: 14px;
    color: #fff;
    margin: 0;
    min-height: 100vh;
    background: url("/backgroundnew.png") top center no-repeat #000;
    background-size: 100% auto;
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
}

a {
    color: #e48feb;
    text-decoration: none;
}
    
a:hover {
    text-decoration: underline;
}
    
header {
    z-index: 100;
    position: relative;
}

header .top {
    background: linear-gradient(to bottom, #464646, #020202);
    margin: 0;
    border-bottom: 1px solid white;
}
    
header .top-content {
    width: 888px;
    margin: 0 auto;
    display: flex;
}
    
header .links-container {
    background: #4d00be;
}
    
header .search {
    flex: 1;
}
    
header .links {
    font-family: Arial, Helvetica, sans-serif;
    text-align: center;
    display: flex;
    width: 888px;
    margin: 0px auto;
}
    
header .links a {
    line-height: 20px;
    flex: 1;
    border-bottom: 2px solid #000554;
    text-align: center;
    font-size: 10pt;
    font-weight: bold;
    padding: 2px;
    color: white;
}
    
header .links a:hover {
    text-decoration: none;
    border-bottom: 2px solid white;
    text-shadow: 0px 0px 5px #fff;
    background: linear-gradient(to bottom, rgba(42, 172, 179, 0) 66%, #a258df 100%);
}
    
footer {
    text-align: center;
}

content {
    width: 888px;
    margin: 0 auto;
    display: block;
    background: #202020;
    box-shadow: 0px 0px 14px 2px rgba(0, 0, 0, 0.6);
}

article img {
    max-width: 537px;
}

article {
    padding: 5px;
}

.newsposts {
    width: 550px;
    background: #00000054;
    margin: 4px;
    display: block;
}

.newsposts article h1 {
    margin-top: 0;
}

.newsposts article a {
    color: #e48feb;
}

.headerimg {
    max-width: 865px;
    margin: 10px;
}

.homeside {
    vertical-align: top;
    width: 310px;
}

.latestcontent, .associatedacts {
    background: #000000a3;
    margin: 4px;
    display: block;
}

.latestcontent h1, .associatedacts h1 {
    margin-top: 0;
    margin-bottom: 0;
    color: #9b9b9b;
    padding: 5px;
    font-size: 16px;
    text-align: center;
}

.latestcontent img, .associatedacts img {
    width: 140px;
    height: 78px;
    object-fit: cover;
    border-radius: 5px;
    border: 1px ridge #4e4e4e;
}

.associatedacts img {
    width: 60px;
    height: 60px;
}

.latestcontent-container, .associatedacts-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 5px;
    /*! padding: 5px; */
}

.latestitem, .associateditem {
    padding: 5px;
}

content h1 {
    margin-top: 0;
}

@media (max-width: 768px) {
    body {
        font-size: 12px;
        background-size: cover;
    }

    header .top-content,
    header .links,
    content {
        width: 95%;
        margin: 0 auto;
    }

    header .links {
        flex-direction: column;
        align-items: stretch;
    }

    header .links a {
        flex: none;
        font-size: 12px;
        line-height: 1.5;
        padding: 6px;
    }

    .homeside {
        width: 100%;
        margin-bottom: 10px;
    }

    .latestcontent-container,
    .associatedacts-container {
        grid-template-columns: repeat(4, 1fr);
        gap: 3px;
    }

    .latestcontent img,
	.associatedacts img {
		width: 100px;
		height: 100px;
	}

    .headerimg {
        max-width: 100%;
        margin: 5px 0;
    }

    .newsposts {
        width: 100%;
        margin: 4px 0;
    }

    article img {
        max-width: 100%;
    }
	
	    table, thead, tbody, th, td, tr {
        display: block;
        width: 100%;
    }

    tr {
        margin-bottom: 15px;
        border-bottom: 1px solid #444;
    }

    th {
        display: none;
    }
}