/* general page layout */

ul {
    list-style-type:none;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    margin: 1rem 3rem 1rem 1rem;
    padding: 0;
}
li a {
    display: flex;
    flex-wrap: wrap;
    flex-direction: column;
    align-items: center;
    align-content: center;
    justify-content: center;
    border: 1px solid;
    height: 160px;
    font-size: 2rem;
    padding: 15px;
    text-align: center;
    text-decoration: none;
}
li a::before {
    content: unset !important;
}
li a span {
    font-size: 70%;
}
li a:hover {
	filter: brightness(1.1) hue-rotate(30deg);   
}

@media (max-width: 1200px) {
    ul { grid-template-columns: repeat(4, 1fr); }
}

/* specific links */

.surf, .surf:visited {
    font-family: "trash hand", serif;
    color: orange;
    background: linear-gradient(#fff, #e9f4fd, #7bd7e6);
    text-shadow: rgba(0, 0, 0, 0.845) 1px 1px;
    font-size: 2.5rem;
}

.everyone, .everyone:visited {
	font-family: "Pixel Basiic";
	color: yellow;
	background: radial-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.4)), url("https://textures.neocities.org/textures/humans-and-technology/017C.png"); 
	background-size: contain;
}

.arthub, .arthub:visited {
    color: black;
    background: url('https://forum.melonland.net/images/plant_land.png'), #daeed5;
    background-size: contain;
    background-repeat: no-repeat;
    font-family: "Pixel Basiic";
}

.forum, .forum:visited {
	font-family: "Flavors";
	color: #ffe600;
	background: url('https://forum.melonland.net/Themes/pimp-my-classic/images/starsky.gif'), #1f0848;
}

.wiby, .wiby:visited {
    color: #7900A7;
    background: #FAFAFA;
    font-family: Arial, sans-serif;
}
.wiby span {
    font-family: Georgia, serif;
    font-weight: bold;
}

.spore, .spore:visited {
	color: white;
	background: url('https://spore.ribo.zone/mush.png'), #3F7C62;
	background-position: center;
	font-family: "chicago", monospace;
	text-shadow: 0 0 1vh #3F7C62, 0 0 1vw #3F7C62;
	line-height: 1.2;
}

.wikipedia {
	font-family: sans-serif;
	color: #0645ad;
	background-color: #f9f9f9;
	border-color: #ddd;
}
