/* Cyberwing homepage styles */
/* This file should include almost exclusively ID-based styles */
#social-button-twitch {
    border-color: var(--accent-twitch, #793fe4);
}

#social-button-twitch:hover {
    background-color: var(--accent-twitch, #793fe4);
}

#social-button-youtube {
    border-color: var(--accent-youtube, #e43f3f);
}

#social-button-youtube:hover {
    background-color: var(--accent-youtube, #e43f3f);
}

#social-button-discord {
    border-color: var(--accent-discord, #3f8ce4);
}

#social-button-discord:hover {
    background-color: var(--accent-discord, #3f8ce4);
}

#social-button-mastodon {
    border-color: var(--accent-mastodon, #3fe4b2);
}

#social-button-mastodon:hover {
    background-color: var(--accent-mastodon, #3fe4b2);
}

#social-button-github {
    border-color: var(--accent-github, #a1a1a1);
}

#social-button-github:hover {
    background-color: var(--accent-github, #a1a1a1);
}


@-moz-keyframes rotate {
    from { -moz-transform: rotate(0deg); }
    to { -moz-transform: rotate(360deg); }
}
@-webkit-keyframes rotate {
    from { -webkit-transform: rotate(0deg); }
    to { -webkit-transform: rotate(360deg); }
}
@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* Create a child element whose only contents are a background gradent */
/* Place that below the second child (the image) and rotate it around to act as a cool border */
#drayux-profile-border {
    padding: 0px;
    margin: 0px;
    width: 150%;
    height: 150%;
    position: absolute;
    top: -25%;
    left: -25%;
    background: linear-gradient(0deg, #d202d9, #2481e4);
    background-color: #2481e4;
    animation: rotate 4s linear;
    animation-iteration-count: infinite;
}

#drayux-profile-image {
    margin: 0px;
    padding: 0px;
    height: 93%;        /* 92% seems to work pretty well */
    width: 93%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    border-radius: 12px;
    z-index: 1;
    object-fit: cover;
    object-position: center;
}
