*,*::before,*::after {
    -webkit-box-sizing: border-box;
       -moz-box-sizing: border-box;
            box-sizing: border-box;
}

body {
	background-color: #303030;
	background-image: url('https://mysteryslug.com/p/isaac/social/assets/bg.png');
	font-family: sans-serif;
}

img,picture,video,canvas,svg {
	display: inline-block;
	max-width: 100%;
}

/* Scrollbar Styling */

::-webkit-scrollbar {
	width: 0px;
	height: 10px;
}

::-webkit-scrollbar-thumb {
	background: #000;
}

::-webkit-scrollbar-track {
	background: rgba(0, 0, 0, 0);
}


.expand-img {
  min-width: 100%;
  max-width: 100%;
  min-height: 100%;
  max-height: 100%;
  object-fit: cover;
  object-position: center 20%;
}

.social-list {
	border-width: 4px 4px 0 4px;
	border-color: #717171;
	border-style: solid;
	max-width:550px;
	margin: 10px auto;
}

.social-wrapper {
	border-bottom: #717171 4px solid;
}

.social-summary {
	background: #efefef;
	display: grid;
	grid-template-columns: 64px 140px 1fr;
	grid-template-areas: 
            "social-image social-name rank-bar"
            "social-image social-role rank-text";
			align-items: center;
			
	cursor: pointer;
}

.social-summary:hover {
	background: #b6b6b6;
}

.social-summary .social-image {
	grid-area: social-image;
	height: 100%;
	width: 100%;
}

.social-summary .social-name {
	grid-area: social-name;
	padding:6px;
	padding-bottom:0px;
	font-weight: bold;
	font-size: 1.25em;
}
.social-summary .social-role {
	grid-area: social-role;
	padding:6px;
	font-weight: bold;
	background: #a95d20;
	color: white;
	text-align: center;
	border-radius: 5px;
	margin-left: 6px;
	margin-bottom: 6px;	
}

.social-summary .rank-bar {
	grid-area: rank-bar;
	padding:6px;
	padding-bottom:0px;
    align-self: end;
}

.social-summary .rank-progress {
	display:flex;
	border-radius: 10px;
}

.social-summary .rank-progress > div {
	border-color: #a95d20;
	border-width: 4px;
	border-style: solid;
	height: 16px;
	flex-grow: 1;
}

.social-summary .rank-progress > div:not(:first-child):not(:last-child) {
	border-left-width: 2px;
	border-right-width: 2px;
}

.social-summary .rank-progress > div:first-child {
	border-radius: 10px 0 0 10px;
	border-right-width: 2px;
}
.social-summary .rank-progress > div:last-child {
	border-radius: 0 10px 10px 0;
	border-left-width: 2px;
}

.social-summary .bar-filled {background-color: #ffcb3e;}
.social-summary .rank-negative .bar-filled {background-color: #d3c5c5;}

.social-summary .bar-empty {background-color: #bd8360;}

.social-summary .rank-text {
	grid-area: rank-text;
	padding:6px;
	padding-top: 4px;
	font-weight: bold;
    align-self: start;
}

.social-summary .rank-text .rank-number {
	font-style: italic;
	font-size: 1.25em;
}

.social-summary .rank-text .rank-max {
	display:inline-block;
	color: #e17610;
	transform: translateY(-3px) translateX(3px) rotate(20deg);
}

.inline-block {
	display: inline-block;
}

.social-extras {
	background: #efefef;
	padding: 1.5em;
	border-top: 4px #cccccc solid;
}

.social-extras p {
	margin: 0;
}

.extras-title {font-size: 0.9em;}
.extras-name {font-size: 1em;}

.extras-text {
	margin-top: 0.5em !important;
	font-style: italic;
	text-indent: 1em;
	font-size: 1.1em;
}
