:root {
	/* to-do: maybe do non-variables here */
    --color-comments: #c1dcff;
    --color-borders: #eaeaea;
    --color-borders-embed: #c8c8c8;
    --color-background: #f5f5f5;
    --color-background-alt: #c1dcff;
    --color-host: #c1dcff;
    --font-color: #000000;
    --font-size: 1.5em;
    --font-size-repost: 0.8em;
    --font-meta-color: #555;
    --font-meta-size: 1.3em;
    --link-color: #0000ff;
    --link-visited-color: #551a8b;
    --link-hover-color: #0000ff;
    --icon-size: 60px;
    --icon-radius: 5em;
    --box-max-width: 600px;
    --box-border-radius: 5px;
}

#comments-container {
    margin: 20px 0;
}

#comments-container p {text-align:left;}

#comments-container a {
    color: white;
	font-weight:bold;
	text-decoration: none;
}

/*#comments-container a:visited {
    color: var(--link-visited-color);
}*/

/* a very hacky workaround for specific types of embeds */
.embed-message {
	padding: 6px;
	font-style: italic;
	color: lightgray;
}

#comments-container a:hover {text-decoration: underline;}

.comment-box {
    margin: 10px 0;
    padding: 10px;
    border: 1px solid #333;
	box-shadow: 0 0 5px black;
}
.comment-repost .comment-box {
    border: 0;
	background: #151515;
	box-shadow: inset 0 0 5px #222;
}

p.comment-text {
    font-size: 15px;
	text-align: left;
	margin: 10px auto;
}

.comment-innerbox {
    display: flex;
}

.comment-image {
    max-width: 100%;
}

.comment-meta {
    color: var(--font-meta-color);
    font-size: 12px;
}

#comments-container .comment-meta a {color: gray;}
#comments-container .comment-meta a.comment-date {font-weight:normal;}
#comments-container .comment-meta a:hover {color: white;}

.comment-avatar {
    border: 1px solid gray;
    height: 50px;
    width: 50px;
    margin-right: 1em;
}

.comment-replies {
    margin-left: 20px;
    border-left: 0px solid var(--color-comments);
    padding-left: 10px;
}

.comment-box.comment-host {
    border-left: 10px solid #c30;
    box-shadow: 0 0 5px #3d0f00;
}

.comment-imagebox {
    display: flex;
}

.comment-metricsbox {
    display: flex;
}
/* the metrics values are useless as I don't use that here */
/* .comment-metricslink {
    color: var(--color-text);
    display: flex;
    gap: 0.7em;
}

.comment-metrics {
    display: flex;
    align-items: center;
}

.comment-metrics>svg {
    height: 1.5em;
}
*/

.comment-embedbox {
    text-align: center;
    /*background-color: var(--color-background-alt);*/
    padding: 1em;
    border-radius: 0.5em;
    max-width: 100%;
    border: none;
    color: var(--font-color);
    font-weight: bold;
}

.comment-embedbox-thumb {
    border: 1px solid #444;
    background-color: #222;
    border-radius: 2px;
    overflow: hidden;
	padding: 5px;
	margin: 5px;
	box-shadow: 0 0 5px black;
}
/* embed thumbnails take up a large percentage of the page, so i'm formatting them like this */
.comment-embedbox-thumb .embed-details {display: flex;}

.comment-embedbox-thumb img {
    border: 1px solid #444;
    width: 100px;
}

.comment-embedbox-thumb > a {
    color: var(--font-color);
}

.comment-embedbox-thumb p {
    margin: 0px 20px 3px 10px;
	font-weight:normal;
}
.comment-embedbox-thumb .embed-uri {color: gray; font-size:12px;}
#comments-container .comment-embedbox-thumb a:hover strong {text-decoration:underline;} /* at least have the underline show if there's a strong element */
#comments-container .comment-embedbox-thumb a:hover {text-decoration:none;}

.comment-repost {
    margin-left: 4em;
    font-size: 13px;
}

.comment-repost .comment-avatar {
    height: calc(var(--icon-size) * 0.66666);
    width: calc(var(--icon-size) * 0.66666);
}