.contacts {
    width: 100%;
}

.screenshot-showcase {
    width: 100%;
    max-width: 50%;
    margin: clamp(20px, 3vw, 32px) auto;
    padding: 0;
    border: 6px solid #7d2128;
    border-radius: 8px;
    background: transparent !important;
    overflow: hidden;
    line-height: 0;
}

.screenshot-showcase img {
    display: block;
    width: 100%;
    height: auto;
}

.contact-links {
    display: grid;
    gap: clamp(20px, 3vw, 32px);
    margin: 20px auto;
}

.contact-links article {
    background-color: rgba(4, 5, 5, 0.55);
    border: 3px solid;
    border-radius: 12px;
    box-shadow: 0 24px 40px rgba(0, 0, 0, 0.35);
    padding: clamp(18px, 3vw, 28px);
}

.contact-links p {
    line-height: 1.5;
    margin: 10px auto;
    max-width: none;
}

.contacts tr {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contacts h2 {
    padding: 0;
}

.contacts tr td {
    width: 100%;
    height: fit-content;
    padding-bottom: 10px;
}

.ts3viewer {
    background-color: rgba(4, 5, 5, 0.82);
    border: 1px solid;
    border-radius: 16px;
    box-shadow: 0 24px 40px rgba(0, 0, 0, 0.35);
    width: 100%;
    padding: 10px;
    height: 100%;
    overflow: scroll;
}

.discordviewer {
    width: 100%;
    height: 300px;
}

.contact-web-badge {
    display: block;
    height: auto;
    margin: 8px auto 0;
    width: clamp(72px, 12vw, 96px);
}

.socials {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
    padding: 8px 0;
    margin-bottom: 40px;
}

.socials a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    width: 84px;
    height: 84px;
    background-color: transparent;
    border: none;
    border-radius: 50%;
    box-shadow: none;
    padding: 0;
    overflow: hidden;
    transition: transform 0.2s ease;
}

.socials a:hover,
.socials a:focus {
    transform: translateY(-2px);
}

.socials a img {
    width: 100%;
    height: 100%;
    margin: 0;
    border-radius: 50%;
    object-fit: cover;
}

.socials a .contact-facebook-glyph {
    display: flex;
    width: 100%;
    height: 100%;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 76px;
    font-weight: 900;
    line-height: 1;
    transform: translateY(7px);
}

@media screen and (min-width:768px) {
    .contact-links {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .contacts tr {
        flex-direction: row;
        justify-content: space-between;
    }

    .contacts tr td {
        width: 50%;
        padding: 0 clamp(10px, 2vw, 20px);
    }

    .discordviewer {
        width: 90%;
        height: 90%;
    }

    .ts3viewer {
        height: 90%;
    }
}

@media screen and (min-width:1200px) {
    .contacts tr td h2 {
        padding: 10px 0;
    }

    .discordviewer {
        height: 800px;
    }
}
