/*sn main page*/

#sn-body .header,
#sn-body .head-table,
#sn-body .breadcrumb-navigation {
    display: none;
}

#sn-body br {
    display: none;
}

#sn-body #header #panel br {
    display: block;
}

.socialmain {
    background: var(--social-top-bg);
    border-radius: 50px;
    position: relative;
    margin-top: 150px;
}
.socialmain:before {
    content: "";
    position: absolute;
    left: 50px;
    bottom: calc(100% + 10px);
    display: block;
    max-width: calc(100% - 100px);
    width: 100%;
    height: 1px;
    background: var(--medium);
}

.sm-wrapper {
    padding: 50px 30px;
    background: var(--social-wrapper);
}

.sm-inside {
    padding: 0 20px 50px;
    z-index: 1;
}

.sm-headarea {
    position: relative;
    width: 100%;
    z-index: 3;
    max-width: calc(100% - 50px);
    margin: 0 auto 30px;
}

.sm-branding {
    padding: 50px 100px;
}
.sm-logo {
    position: relative;
    font-size: 50px;
    text-align: center;
    text-transform: uppercase;
    line-height: 1em;
    padding-bottom: 20px;
    font-weight: 200;
    letter-spacing: 0.05em;
	color: var(--color-main3);
}
.sm-logo b {
    font-weight: 900;
		color: var(--color-main3);

}
.sm-logo:after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    display: block;
    width: 100%;
    height: 1px;
    background: linear-gradient(to right, var(--darker-medium), var(--medium), var(--darker-medium));
}

.sm-headimg {
    display: flex;
    flex-direction: column;
    position: relative;
    z-index: -1;
    border-radius: 30px 30px 0 0;
    overflow: hidden;
}
.sm-headimg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}
.sm-headimg:after,
.sn-profile:after,
.sn-postarea:after {
    content: "";
    display: block;
    width: 100%;
    height: var(--social-bottom-lines-height);
    background: var(--social-bottom-lines);
    border-radius: 0 0 10px 10px;
}
.sm-headarea .dots {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
}
.sm-headarea .dots > div {
    width: 15px;
    aspect-ratio: 1 / 1;
    border-radius: 50%;
    overflow: hidden;
    background: var(--social-primary);
}
.sm-headinfo {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 20px;
    padding: 0 80px;
    width: 100%;
    margin-top: -120px;
    z-index: 2;
}
.sm-profileimg {
    position: relative;
    border-radius: 50%;
    border: 1px solid var(--social-primary);
    padding: 10px;
    width: calc(150px + (10px*2));
    aspect-ratio: 1 / 1;
    z-index: 4;
}
.sm-profileimg:hover img {
    filter: grayscale(0);
}
.sm-profileimg:hover:before {
    opacity: 0;
}
.sm-profileimg img {
    border-radius: 50%;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}
.sm-infobox {
    width: 100%;
    flex: 1;
}
.sm-actualname {
    font-size: 40px;
    font-weight: 900;
    text-transform: uppercase;
    color: var(--social-primary);
    line-height: 1.1em;
    text-shadow: 0 0 30px var(--light);
}
.sm-username {
    display: flex;
    align-items: center;
    font-size: 18px;
    font-weight: 300;
    color: var(--dark);
    line-height: 1em;
    margin-top: 5px;
    text-shadow: 0 0 30px var(--light);
}
.sm-username:before {
    content: "@";
}
.sm-quote {
    color: var(--social-secondary);
    display: block;
    margin-top: 40px;
    text-align: right;
    text-transform: uppercase;
    font-size: 11px;
    line-height: 1.3em;
    font-style: italic;
}

.sn-profile {
    display: flex;
    flex-direction: column;
    gap: 5px;
    padding-left: 20px;
}

.sn-mainarea {
    display: grid;
    gap: 20px;
    grid-template-columns: 1fr 3fr;
}

.sn-createpost {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 0 50px;
}

.sn-createpost form {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.sn-createpost legend {
    display: flex;
    align-items: center;
    gap: 10px;
    text-transform: uppercase;
    color: var(--social-primary);
    margin-bottom: 10px;
    font-weight: 300;
    font-style: italic;
}
.sn-createpost legend:before {
    content: "////";
}
.sn-createpost fieldset {
    display: flex;
    flex-direction: column;
    padding: 0 0 40px;
    border: none;
}
.sn-createpost fieldset:after,
.sm-actualpost:after {
    content: "";
    display: block;
    width: 80%;
    height: 1px;
    background: linear-gradient(to right, var(--darker-medium), var(--medium), var(--darker-medium));
    margin: 40px auto 0;
}

.userdoesntknow.snUser_1 .sm-actualpost .sn_img a img {
    filter: blur(10px) invert(0.5) brightness(1.5);
}
.userdoesntknow.snUser_1 .sm-actualpost .sn_img {
    position: relative;
    pointer-events: none;
}
.userdoesntknow.snUser_1 .sm-actualpost .sn_img:before {
    content: "";
    display: block;
    border: 5px solid var(--social-secondary);
    border-top: 5px solid var(--social-primary);
    border-radius: 50%;
    width: 30px;
    height: 30px;
    animation: spin 2s linear infinite;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 10;
}
@keyframes spin {
    0% { transform: translate(-50%, -50%) rotate(0deg); }
    100% { transform: translate(-50%, -50%) rotate(360deg); }
}
.sn-createpost input,
.sn-createpost textarea {
    background: var(--social-top-bg);
    color-scheme: var(--color-scheme);
}
.sn-createpost input[type="file"],
.sn_answer_form input[type="file"] {
    background: none;
    border: none;
    padding: 0;
    color: var(--social-primary);
    text-transform: uppercase;
}
.sn-createpost input[type="submit"] {
    background: none;
    border-radius: 10px;
}
.sn-createpost .lower-form,
.sn_answer_form .lower-form {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}
.sn-postinfo-inputs {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
}

.sn-postinfo-inputs input {
    flex: 1;
}

.sm-heading {
    text-transform: uppercase;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    font-weight: 200;
    font-style: italic;
    color: var(--social-primary);
    font-size: 26px;
    line-height: 1em;
    margin-top: -0.6em;
    padding: 0 20px;
    max-width: 300px;
}
.sm-heading:before {
    content: "////////";
    color: var(--social-primary);
}
.newsfeed_links .sm-heading {
    max-width: none;
    color: var(--light);
    margin-bottom: 100px;
}
.sn-friendslist .sm-heading {
    margin: 50px 0 20px;
    padding: 0;
    max-width: none;
}
.sn-profile {
    position: relative;
    z-index: 2;
    height: max-content;
    display: flex;
    flex-direction: column;
    padding: 20px 0 0;
}
.sn-profile .memberinfo {
    padding: 30px 20px 20px;
}
.sn-postarea {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    padding: 20px 0 0;
    gap: calc(60px + 30px);
}
.sn-postarea #posts {flex: 1;}
.sn-postarea .sn_rechts fieldset {
    padding: 0 50px 0 calc((60px/2) + 40px);
    border: none;
}
.sn-profile:before,
.sn-postarea:before {
    content: "";
    position: absolute;
    top: 0.6em;
    left: 0;
    font-size: 26px;
    width: 100%;
    height: calc(100% - 0.6em);
    overflow: hidden;
background-color: var(--color-background-opac);
  background-blend-mode: overlay;
  background-attachment: fixed;
  background-image: var(--accent-bg);
    border-radius: 10px;
    z-index: -1;
}

.sn_links {
    display: flex;
    flex-direction: column;
    gap: 5px;
}
.sn_friend {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    text-transform: uppercase;
	color: var(--color-main3);
}
.sn-smallicon {
    position: relative;
    width: 25px;
    aspect-ratio: 1 / 1;
    border-radius: 50%;
    overflow: hidden;
    z-index: 2;
}
.sn-smallicon img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}
.sn_links .friendname {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex: 1;
    gap: 10px;
    flex-wrap: wrap;
}
.sn_links .sn_link {
    color: var(--light);
    transition: color 0.3s ease;
}
.sn_links .sn_link:hover {
    color: var(--social-primary);
}
.acceptdeny {
    display: flex;
    align-items: center;
    gap: 5px;
    flex-wrap: wrap;
}

.sn-profile .sm-infobit {
    display: flex;
    flex-direction: column;
    gap: 50px;
    font-weight: 300;
    font-size: 12px;
    line-height: 1.3em;
}
.sm-shortfacts {
    display: flex;
    flex-direction: column;
    gap: 5px;
}
.sn-profile .info-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 5px;
    text-transform: lowercase;
}
.sn-biography {
    text-align: justify;
}
#sn-body .sn-biography br {
    display: block;
}
#sn-body form {
    color-scheme: var(--color-scheme);
}
#sn-body input[type="button"] {
    cursor: pointer;
}
.sn-biography i {
    color: var(--social-primary);
}

.dot-request {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    padding: 0 30px;
    margin-bottom: 10px;
}

.dot-request .button,
.dot-request a.button:link,
.dot-request a.button:visited,
.dot-request a.button:active {
    display: flex;
    align-items: center;
    gap: 10px;
    border-radius: 20px;
    padding: 5px 10px;
    border: none !important;
    background: var(--social-primary);
    color: var(--social-wrapper);
    transition: background 0.3s ease;
}
.dot-request .button:hover,
.dot-request a.button:link:hover,
.dot-request a.button:visited:hover,
.dot-request a.button:active:hover {
    background: var(--social-secondary);
}

.sn_postBox {
    position: relative;
    background: var(--color-bg-transparent-dark);
    padding: 60px 40px 40px 80px ;
    border-radius: 20px;
    max-width: 620px;
    width: 100%;
    margin: 0 auto;
}

.sn_rightBox {
    display: flex;
    flex-direction: column;
    gap: 80px;
}

.sm-postImg {
    position: absolute;
    top: calc((60px / 2) * -1);
    left: calc(((60px / 2) + 3px) * -1);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}
.sn_edit.mainpost {
    position: absolute;
    top: 10px;
    right: 40px;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}
.sn_edit.mainpost button,
.sn_edit.mainpost a,
.sn_postBox button[class="editDelete"],
.sn_postBox a[class="editDelete"],
button[href*="like=like"],
a[href*="like=like"],
button[href*="like=dislike"],
a[href*="like=dislike"] {
    font-size: 11px;
    color: var(--social-primary);
    border: 1px solid var(--social-primary);
    border-radius: 50%;
    padding: 5px;
    display: flex;
    justify-content: center;
    align-items: center;
    aspect-ratio: 1 / 1;
    width: 24px;
    transition: color 0.3s ease, border 0.3s ease;
}
button[href*="like=like"],
a[href*="like=like"],
button[href*="like=dislike"],
a[href*="like=dislike"] {
    font-size: 12px;
    width: 2.2em;
}
.sn_edit.mainpost button:hover,
.sn_edit.mainpost a:hover,
.sn_postBox button[class="editDelete"]:hover,
.sn_postBox a[class="editDelete"]:hover,
button[href*="like=like"]:hover,
a[href*="like=like"]:hover,
button[href*="like=dislike"]:hover,
a[href*="like=dislike"]:hover {
    color: var(--social-secondary);
    border: 1px solid var(--social-secondary);
}

.sn_postimg {
    position: relative;
    border-radius: 50%;
    border: 1px solid var(--social-primary);
    padding: 5px;
    width: calc(60px + (5px*2));
    aspect-ratio: 1 / 1;
    z-index: 4;
}
.sn_postimg:hover img {
    filter: grayscale(0);
}
.sn_postimg:hover:before {
    opacity: 0;
}
.sn_postimg img {
    border-radius: 50%;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.sm-postinfos {
    position: absolute;
    left: 0;
    bottom: 100%;
    width: 100%;
    text-transform: lowercase;
    color: var(--light);
    font-size: 11px;
    line-height: 1.1em;
    padding-left: calc((60px/2) + (5px*2) + 10px);
    padding-right: 20px;
    padding-bottom: 5px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 5px;
    flex-wrap: wrap;
}
.sm-postinfos a {
    color: var(--light);
    transition: color 0.3s ease;
}
.sm-postinfos a:hover {
    color: var(--social-primary);
}
.sm-postinfos .sn_postName {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 2px;
}
.sm-postinfos .sn_postName:before {
    content: "@";
}

.sn_post {
    display: flex;
    flex-direction: column;
    gap: 30px;
    max-width: 500px;
}
.sn_socialPost {
    text-align: justify;
}
.sn_img {
    margin: 20px auto;
}
.sn_img a {
    height: 0px;
}
.sn_img a img {
    display: block;
    margin: 0 auto;
}
.sn_post .sn_likes {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 5px;
    text-align: right;
    text-transform: uppercase;
}

.sm-answerbit,
.sm-answerform {
    position: relative;
    padding-left: 20px;
}
.sm-answerbit:before,
.sm-answerform:before {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    display: block;
    width: 1px;
    height: calc(100% - (25px + 5px));
    background: var(--medium);
}
.sm-answerbit .sn-answericon,
.sm-answerform .sn-answericon {
    position: absolute;
    top: 0;
    left: calc((25px/2) * -1);
}
.sn_answer_form form {
    display: flex;
    flex-direction: column;
    gap: 5px;
}
.sn_answer_form input,
.sn_answer_form textarea {
    color-scheme: var(--color-scheme);
}
.sn_answer_form input[type="submit"] {
    border-radius: 20px;
}
.answer-controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 5px;
    flex-wrap: wrap;
    margin-bottom: 10px;
}
.answer-controls button,
.answer-controls a,
.answer-controls button[class="editDelete"],
.answer-controls a[class="editDelete"] {
    font-size: 10px;
    width: 22px;
}
.answer-controls .sn_edit {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 5px;
}
.sn_ansName a {
    display: flex;
    align-items: center;
    width: auto;
    color: var(--social-primary);
    font-size: 16px;
    font-weight: 700;
    line-height: 1.1em;
    transition: color 0.3s ease;
}
.sn_ansName a:hover {
    color: var(--social-secondary);
}
.sn_ansName a:before {
    content: "@";
}
button[onclick*="addImg"],
a[href*="deleteImg"] {
    margin-top: 10px;
    width: auto !important;
    height: auto;
    aspect-ratio: auto !important;
    border: none !important;
    padding: 0px !important;
    max-width: max-content;
    color: var(--social-secondary) !important;
    font-size: 11px;
    font-weight: 400;
    transition: color 0.3s ease !important;
}
a[href*="deleteImg"] {
    margin-left: auto;
    margin-right: auto;
}
button[onclick*="addImg"]:hover,
a[href*="deleteImg"]:hover,
button[onclick*="addImg"]:hover:after,
a[href*="deleteImg"]:hover:after {
    color: var(--social-primary) !important;
}
button[onclick*="addImg"]:after {
    content: "Bild hinzufügen";
    color: var(--social-secondary) !important;
    font-weight: 400;
    margin-left: 0.5em;
    transition: color 0.3s ease;
}
a[href*="deleteImg"]:after {
    content: "Bild entfernen";
    margin-left: 0.5em;
    font-weight: 400;
    text-transform: uppercase;
    transition: color 0.3s ease;
}
.answer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 5px;
    margin-top: 5px;
    font-size: 11px;
}

.answer-info {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    flex: 1;
    gap: 10px;
    font-size: 11px;
}

.sn_hashtag {
    color: var(--social-secondary);
    cursor: pointer;
    transition: color 0.3s ease;
}
.sn_hashtag:hover {
    color: var(--social-primary);
    cursor: pointer;
}

/*image pop up*/
.infopop {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: hsla(0, 0%, 0%, 0.5);
    z-index: 999;
    opacity: 0;
    -webkit-transition: .5s ease-in-out;
    -moz-transition: .5s ease-in-out;
    transition: .5s ease-in-out;
    pointer-events: none;
}

.infopop:target {
    opacity: 1;
    pointer-events: auto;
}

.infopop>.pop {
    background: #aaaaaa;
    margin: 10% auto;
    padding: 10px;
    width: fit-content;
    z-index: 3;
}

.closepop {
    position: absolute;
    right: -5px;
    top: -5px;
    width: 100%;
    height: 100%;
    z-index: 2;
}

/* TOOLTIP - container */
.sn_tooltip {
	position: relative;
	display: inline-block;
}

/* TOOLTIP - text */
.sn_tooltip .sn_tooltiptext {
	visibility: hidden;
	background-color: var(--color-background-opac);
  background-blend-mode: overlay;
  background-attachment: fixed;
  background-image: var(--accent-bg);
	color: var(--color-main);
	text-align: center;
	padding: 5px;
	font-size: 10px;
	text-transform: uppercase;
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	position: absolute;
	left: 50%;
	top: 100%;
	z-index: 1;
	transform: translateX(-50%);
	width: max-content;
	max-width: 50vw;
}

.sn_tooltip:hover .sn_tooltiptext {
	visibility: visible;
}