* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    background-image: url(/images/TinySelentiaBG.png);
    animation: bgScroll 60s linear infinite;
    background-size: 100%;
    background-attachment: fixed;
    background-repeat: repeat;
    image-rendering: pixelated;
}

@keyframes bgScroll {
    0% {
        background-position: 0;
    }
    100% {
        background-position: -1920px;
    }
}

header {
    padding: 32px;
    text-align: center;
    border-bottom: 2px solid #000;
}

.webRingLinkLeft {
    position: absolute;
    left: 30px;
    margin-top: 1.5%;
    font-size: 20px;
    color: var(--link-unvisited) !important;
}

.webRingLinkRight {
    position: absolute;
    right: 30px;
    margin-top: 1.5%;
    font-size: 20px;
    color: var(--link-unvisited) !important;
}

.webRingLinkLeft span, .webRingLinkRight span {
    font-size: 25px;
}

.nav-bar {
    padding-top: 20px;
    
}

.nav-buttons {
    list-style: none;
    display: inline;
    margin-right: 20px;
}

.nav-buttons a {
    color: #000;
    text-decoration: none;
    font-weight: bold;
}

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

footer {
    background-color: #9c82e3;
    text-align: center;
    padding: 10px;
    position: fixed;
    bottom: 0;
    width: 100%;
}


.text-contrast {
    text-shadow: 2px 0 #fff, -2px 0 #fff, 0 2px #fff, 0 -2px #fff, 1px 1px #fff, -1px -1px #fff, 1px -1px #fff, -1px 1px #fff;
}

.text-content {
    margin: 20px 30%;
    padding: 20px;
    background-color: rgba(255, 255, 255, 1);
}

.subtitle {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 10px;
    background-color: rgba(0, 0, 0, 0.5);
    color: #fff;
}










.socials {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.card {
    display: flex;
    align-items: center;
    max-width: 400px;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    margin-right: 10px;
    margin-bottom: 10px;
}

.card img {
    width: 80px;
    height: auto;
    margin-right: 20px;
}

.card h2 {
    font-size: 24px;
    margin-bottom: 10px;
}

.card p {
    font-size: 16px;
    margin-bottom: 20px;
}

.card-button {
    display: inline-block;
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.card-button:hover {
    background-color: #f1f1f1;
}

.discord-card {
    background-color: #7289da;
    color: #fff;
}

.discord-button {
    background-color: #fff;
    color: #7289da;
}

.github-card {
    background-color: #333;
    color: #fff;
}

.github-button {
    background-color: #fff;
    color: #333;
}

.youtube-card {
    background-color: #ff0000;
    color: #fff;
}

.youtube-button {
    background-color: #fff;
    color: #ff0000;
}

.matrix-card {
    background-color: #000;
    color: #fff;
}

.matrix-button {
    background-color: #fff;
    color: #000;
}

.last-dance-card {
    background-image: url("/images/celestial-bg.jpg");
    background-color: #333;
    color: #fff
}

.last-dance-button {
    background-color: #fff;
    color: #000
}




code {
    background-color: #f1f1f1;
    padding: 3px;
    border-radius: 5px;
}



.profile-grid {
    display: flex; /* Use flexbox */
    align-items: center; /* Center items vertically */
    padding: 20px;
    gap: 20px; /* Space between items */
}

.pfp {
    border-radius: 50%;
    height: auto;
    width: 20%;
}




@media (max-width: 1200px) {

    header {
        padding-bottom: 56px;
    }

    .text-content {
        margin: 20px 10%;
    }

    .webRingLinkLeft {
        left: 5px;
    }

    .webRingLinkRight {
        right: 5px;

    }

    .webRingLinkLeft, .webRingLinkRight {
        top: 120px !important;
        font-size: 16px;
    }

    footer img {
        width: 50px;
    }
}