@import url('https://fonts.cdnfonts.com/css/motiva-sans');

@font-face {
    font-family: "San Francisco";
    font-weight: 400;
    src: url("https://applesocial.s3.amazonaws.com/assets/styles/fonts/sanfrancisco/sanfranciscodisplay-regular-webfont.woff");
  }

body {
    background-color: #000000;
    overflow-x: hidden;
    font-family: "Motiva Sans";
    color: #969696;
}

div {
    display: block;
    unicode-bidi: isolate;
}

a {
    color: #ebebeb;
    text-decoration: none;
    cursor: pointer;
}

b {
    font-family: "Motiva Sans";
    font-weight: bold;
}

#profile-page {
    background-image: url('bg.jpg');
    background-size: 100%;
    background-repeat: no-repeat;
}

#profile-header-bg {
    max-width: 1018px;
    min-height: 224px;
    margin: 0 auto;
}

#profile-header-bg-texture {
    max-width: 976px;
    min-height: 224px;
    background:
        radial-gradient(
		    farthest-side at bottom right,
		    rgba(0, 0, 0, 0.25),
		    transparent 500px
	    ),
	    radial-gradient(
		    farthest-corner at bottom left,
		    rgba(0, 0, 0, 0.25),
		    transparent 600px
	    )
    ;
    background-color: rgba(0, 114, 206, 0.25);
    margin: 0 auto;
}

#profile-header {
    max-width: 926px;
    padding-top: 24px;
    margin: 0 auto;
}

#profile-header-content {
    color: #c4c4c4;
    font-size: 13px;
    padding-top: 8px;
    padding-right: 8px;
}

#profile-header-avatar {
    float: left;
    width: 168px;
    height: 168px;
    margin-right: 18px;
}

#player-avatar-autosize {
    top: 2px;
    right: 2px;
    bottom: 2px;
    left: 2px;
}

#player-avatar-autosize > img {
    background: none;
    filter: none;
    display: block;
    padding: 0;
    width: 100%;
    height: 100%;
}

#player-avatar-frame {
    z-index: 1;
    pointer-events: none;
}

#player-avatar-frame > img {
    background: none;
    filter: none;
    display: block;
    padding: 0;
    width: 100%;
    height: 100%;
    transform: scale(1.22);
}

#profile-header-centered-persona {
    left: 186px;
    right: 268px;
    white-space: nowrap;
    padding-left: 18px;
    padding-bottom: 18px;
}

#persona-name {
    line-height: 40px;
    color: #ffffff;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-family: "Motiva Sans", sans-serif;
}

#header-real-name {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

#profile-flag {
    vertical-align: middle;
    width: 16px;
    height: 11px;
}

#profile-header-badgeinfo {
    float: right;
}

#profile-header-badge-area {
    width: 268px;
}

#persona-level-area {
    color: #ebebeb;
}

#persona-level {
    font-size: 24px;
    color: #ffffff;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-family: "Motiva Sans", Sans-serif;
    font-weight: 200;
    line-height: 40px;
    margin-bottom: 13px;
}

#profile-header-summary {
    padding-right: 18px;
    padding-left: 18px;
}

#persona-name-spacer {
    line-height: 40px;
    font-size: 24px;
    color: #ffffff;
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
    font-family: "Motiva Sans", Sans-serif;
    font-weight: 200;
}

#header-real-name-spacer {
    height: 52px;
}

#profile-summary-noexpand {
    line-height: 18px;
    height: 76px;
    overflow: hidden;
    margin-bottom: 8px;
}

#lvl-6000 {
    border: none;
    border-radius: 0;
    background-repeat: no-repeat;
    background-position: 0 0;
    font-size: 14px;
    height: 32px;
    width: 32px;
    line-height: 32px;
    text-shadow: 1px 1px #1a1a1a;
    background-image: url("https://community.fastly.steamstatic.com/public/shared/images/community/levels_6000_snowflake.png");
    vertical-align: middle;
    display: inline-block;
}

#profile-header-badge {
    border-radius: 3px;
    background-color: rgba(0, 0, 0, 0.3);
    height: 70px;
    margin-bottom: 13px;
}

#favorite-badge {
    position: relative;
    padding: 8px 8px;
    display: flex;
    align-items: center;
    gap: 8px;
}

#favorite-badge-icon {
    display: flex;
}

#favorite-badge-description {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    font-size: 12px;
}

#badge-icon-small {
    width: 54px;
    height: 54px;
}

#badge-desc-text {
    color: #ffffff;
}

#badge-desc-xp {
    color: #ffffff;
}

#profile-content {
    padding: 12px 12px 12px 12px;
    max-width: 976px;
    margin: 0 auto;
    font-size: 13px;
    min-height: calc(100vh - 511px);
    background: radial-gradient(farthest-side at top right, rgba(0, 0, 0, 0.25), transparent 500px), radial-gradient(farthest-corner at top left, rgba(0, 0, 0, 0.25), transparent 600px), radial-gradient(farthest-corner at bottom right, rgba(0, 0, 0, 0.25), transparent 500px), radial-gradient(farthest-corner at bottom left, rgba(0, 0, 0, 0.25), transparent 600px);
    background-color: rgba(0, 114, 206, 0.25);
    margin-top: 0px;
    padding-top: 16px;
    margin: 0 auto;
}

#profile-content-inner {
    padding-bottom: 0;
}

#profile-rightcol {
    background-color: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(20px);
    padding: 10px;
    border-radius: 3px;
    width: 288px;
    float: right;
}

#profile-leftcol {
    width: 652px;
    float: left;
}

.profile-showcase {
    position: relative;
    background-position: top left;
    background-repeat: no-repeat;
    background-color: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(20px);
    border-radius: 3px;
    padding: 0px 0px 0px 0px;
    margin-bottom: 12px;
    font-size: 13px;
    overflow: hidden;
}

.profile-showcase-header {
    font-family: "Motiva Sans", Sans-serif;
    font-weight: 200;
    background: linear-gradient(90deg, rgba(0, 114, 206, 1) 0%, rgba(0, 88, 160, 0.66) 90%);
    padding: 5px 10px 5px 10px;
    color: #ffffff;
    font-size: 16px;
    line-height: 30px;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.profile-customization-block {
    position: relative;
    border-radius: 5px;
    padding: 20px 10px 11px 10px;
    margin-bottom: 0px;
    font-size: 13px;
    overflow: hidden;
    container-type: inline-size;
}

.showcase-content-bg {
    background-color: rgba(0, 0, 0, 0.3);
    padding: 8px;
    border-radius: 5px;
    margin-bottom: 9px;
    overflow: hidden;
    padding-bottom: 3px;
}

.showcase-stats-row {
    white-space: nowrap;
}

.showcase-slot {
    display: block;
    float: left;
}

.showcase-achievement {
    width: 64px;
    height: 64px;
    line-height: 64px;
    margin-left: 4.5%;
    margin-bottom: 5px;
}

.showcase-stats {
    font-size: 34px;
    display: inline-block;
    margin-left: 42px;
}

.stats-value {
    font-size: 1em;
    font-family: "Motiva Sans", Sans-serif;
    font-weight: 200;
    color: #ffffff;
}

.stats-label {
    font-size: 0.5em;
    color: #9b9b9b;
}

#stats-projects-count {
    margin-left: 0;
}

#profile-status {
    margin-bottom: 32px;
}

#profile-status-header {
    font-family: "Motiva Sans", Sans-serif;
    font-weight: 200;
    font-size: 20px;
    color: #57cbde;
}

#profile-ban-status {
    margin-bottom: 32px;
    color: #f36563;
    line-height: 22px;
}

#profile-ban-info {
    color: #9b9b9b;
}

.white-link {
    color: #ebebeb;
    text-decoration: none;
    cursor: pointer;
}

.white-link:hover {
    color: #57cbde;
}

.profile-modal-links {
    margin-bottom: 10px;
}

#profile-badges-header, #profile-projects-header, #profile-goals-header, #profile-resume-header, #profile-group-header, #profile-educ-header{
    font-size: 14px;
    margin-bottom: 4px;
    min-height: 29px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.link-label:hover {
    text-decoration-line: underline;
}

.link-count {
    font-family: "Motiva Sans", Sans-serif;
    font-weight: 200;
    color: #9b9b9b;
    font-size: 24px;
}

.showcase-notes {
    word-wrap: break-word;
    overflow: hidden;
    overflow-y: auto;
    max-height: 600px;
}

#profile-header-actions {
    white-space: nowrap;
}

.btn-profile-action {
    border-radius: 2px;
    color: lightgray !important;
    padding: 1px;
    display: inline-block;
    text-decoration: none;
    cursor: pointer;
    background-color: rgba(0, 0, 0, .3);
    font-size: 15px;
    line-height: 30px;
    padding: 0 10px;
}

.btn-profile-action:hover {
    background: rgb(255, 255, 255, .2);
    text-shadow: 1px 1px 2px #000000aa;
    color: #fff;
    transition: all 0.1s ease-in-out;
}

.bb-h1 {
    font-size: 20px;
    line-height: 23px;
    color: #5aa9d6;
    margin-bottom: 10px;
    clear: both;
    border-bottom: 1px dotted #666666;
    font-weight: 900;
}

.recent-project {
    backdrop-filter: blur(20px);
    background-color: rgba(0, 0, 0, 0.3);
    border-radius: 3px;
    margin-bottom: 10px;
}

.recent-project-content {
    padding: 8px 10px;
}

.project-info {
    height: 69px;
}

.project-info-img {
    float: left;
    margin-right: 8px;
    width: 184px;
}

.cert-info-img {
    float: left;
    margin-right: 8px;
    width: 69px;
}

.text-issued-by {
    font-size: 12px;
    color: #969696;
}

.project-capsule {
    max-width: 184px;
    max-height: 69px;
}

.cert-capsule {
    max-width: 69px;
    max-height: 69px;
}

.project-info-details {
    right: 0;
    bottom: 0;
    text-align: right;
}

.project-info-name {
    padding-top: 10px;
    font-size: 14px;
}

.profile-group-img{
    width: 64px;
    height: 64px;
}

.profile-educ-img {
    width: 64px;
    height: 64px;
}

.profile-group-avatar {
    box-shadow: 2px 2px 3px #0c0c0c;
    width: 64px;
    height: 64px;
    display: inline-block;
}

.profile-educ-avatar {
    width: 64px;
    height: 64px;
    display: inline-block;
}

.profile-small-educ-avatar {
    width: 32px;
    height: 32px;
    display: inline-block;
}

#profile-primary-group-details, #profile-primary-educ-details, .profile-secondary-educ-details{
    display: inline-block;
    padding-left: 10px;
}

#profile-primary-group, #profile-primary-educ, .profile-secondary-educ {
    height: 64px;
    margin-bottom: 12px;
}



.zoom-pic-container {
    height: 164px;
    width: 164px;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
}

.zoom-pic {
    height: 164px;
    width: 164px;
    transform-origin: 55% 40%;
    transform: scale(1.75); 
}

.profile-modal {
    color: #ffffff;
}

.profile-modal-header {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    border-bottom: none;
}

.profile-modal-close {
    font-family: 'Sans Francisco';
    font-weight: 900;
    color: #6c757d;
    font-size: 20px;
    background-color: transparent;
    border: 0;
}

.profile-modal-close:hover {
    color: #343a40;
}

@media screen and (max-width: 965px) {
    #profile-rightcol {
        float: none;
        margin: 0 auto;
        width: 100%;
        max-width: 800px;
        margin-bottom: 20px;
    }

    #profile-header-avatar {
        float: none;
        margin: 0 auto;
    }

    #profile-header-badgeinfo {
        float: none;
        margin: 0 auto;
        max-width: 268px;
        margin-top: 10px;
    }

    #profile-summary-noexpand {
        height: 20px;
        max-width: 175px;
        margin: 0 auto;
    }

    #persona-name-spacer {
        max-height: 0;
    }

    #profile-header-centered-persona {
        margin: 0 auto;
        max-width: 275px;
        position: relative !important;
        left: 0;
        right: 0;
        padding-left: 0;
    }

    #header-real-name-spacer {
        max-height: 40px;
    }

    #profile-leftcol {
        float: none;
        margin: 0 auto;
        width: 100%;
        max-width: 800px;
    }

}

@media screen and (max-width: 679px) {
    #achievements {
        display: none !important;
    }

    .showcase-content-bg.showcase-stats-row {
        display: flex;
        flex-direction: column;
    }

    #stats-certifications-count, #stats-years-exp, #stats-goal-completion {
        margin-left: 0;
    }
}

@media screen and (max-width: 615px) {
    .project-info {
        display: flex;
        flex-direction: column;
        height: 100px;
    }

    .cert-info {
        height: 150px;
    }

    .project-info-name{
        max-width: 200px;
        max-height: 10px;
    }
}

@media screen and (max-width: 340px) {
    .project-info {
        height: 150px;
    }
    
    .project-info-details {
        margin-top: 5px;
        position: static !important;
        text-align: left;
    }
}

@keyframes appear {
    from {
        opacity: 0;
        transform: translateX(-100px);
    }
    to {
        opacity: 1;
        transform: translateX(0px);
    }
}