/*
Theme Name: Starlith
Theme URI: http://starlith.eu
Author: Artea
Author URI: http://starlith.eu
Description: Starlith Theme version 1.0
Version: 1.0
Text Domain: starlith
Template: divitheme
*/



body {
	background-image: url('img/starlith_bg.jpg');
	font-family: sans-serif;
	background-attachment: fixed;
}

.starlith-logo {
	transition: all 0.25s ease;
}

.starlith-logo:hover {
	scale: 1.05;
	filter: brightness(1.25);
}

#text, p, h1, h2, h3, h4, h5, h6 {
	color: #fff;
}

/* Navigation Bar */
navigation {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	backdrop-filter: blur(5px);
	background-color: rgba(142, 39, 245, 0.1);
	height: 128px;
	box-shadow: rgba(0, 0, 0, 0.2) 0px 10px 10px;
	z-index: 999;
}

navigation .starlith-logo {
	width: 128px;
	position: absolute;
}

.nav-list {
	position: relative;
	top: 5px;
	left: 150px;
}

.nav-list li {
	display: inline-flex;
	color: #fff;
	padding: 1em 1em;
	font-size: 20px;
	align-items: center;
}

.nav-tab-icon {
	width: 48px;
	transition: filter ease 0.5s;
}

#open-login {
	background-color: #a576e3;
  	border-radius: 25px;
  	padding: 1em 2em;
  	color: #fff;
  	position: absolute;
  	right: 2em;
  	top: 55px;
  	cursor: pointer;
  	border: 0px;
}

#login-username, #login-password, #reg-username, #reg-email, #reg-password {
  	background-color: rgba(200, 200, 200, 0.2);
  	padding: 1em;
 	border-radius: 15px;
  	border: 0;
  	color: #fff;
  	width: 90%;
  	transition: outline 0.1s ease;
  	outline: 0px solid rgba(250, 200, 250, 0.3);
	margin-bottom: 1em;
}

#login-username:focus-visible, #login-password:focus-visible {
  outline: 3px solid rgba(250, 200, 250, 0.3);
}

/* Container für Avatar + Dropdown */
#user-avatar-container {
    position: absolute;
    right: 35px; /* Passe diese Werte an deine Stelle an */
    top: 35px;
    display: inline-block;
    z-index: 9999;
}
#user-avatar {
	transition: all ease 0.2s;
}

#user-avatar-container:hover #user-avatar {
	filter: brightness(0.75);
	transform: scale(1.1);
}

/* Avatar-Bild */
#user-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    display: block;
}

/* Dropdown-Box */
#user-dropdown {
    display: none;
    position: absolute;
    right: 0;
    top: 100%;
    background: white;
    border: 1px solid #ccc;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    min-width: 150px;
    z-index: 1000;
}

/* Dropdown-Links */
#user-dropdown a {
    display: block;
    padding: 10px;
    text-decoration: none;
    color: #333;
    font-size: 14px;
    transition: background 0.2s ease;
}

/* Hover-Effekt */
#user-dropdown a:hover {
    background: #f0f0f0;
}



#login-modal {
  position: fixed;
  inset: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 9999;
}

#login-modal.show {
  opacity: 1;
  pointer-events: auto;
}

/* Overlay */
.modal-backdrop {
  position: fixed; 
  top: 0;
  left: 0;
  width: 100vw;    
  height: 100vh;
  background: rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(2px);
  z-index: 0;
}


.modal-content {
  backdrop-filter: blur(5px);
  background-color: rgba(70, 39, 120, 0.85);
  padding: 20px;
  width: 320px;
  border-radius: 12px;
  position: relative;
  z-index: 1;
  transform: translateY(-20px);
  transition: transform 0.3s ease, opacity 0.3s ease;
  opacity: 0;
}


#login-modal.show .modal-content {
  transform: translateY(0);
  opacity: 1;
}

/* Close Button */
.close-modal {
  position: absolute;
  top: 10px; right: 15px;
  cursor: pointer;
  font-size: 24px;
	color: #fff;
}

.nav-list li a {
	text-decoration: none;
	color: #fff;
	transition: all ease 0.5s;
}

.nav-list li:hover .nav-main-link {
	color: #dfc0fa;
}

.nav-list > li:hover {
	background-color: #5c3a7a;
}

li:hover .nav-tab-icon {
  filter: invert(83%) sepia(20%) saturate(5000%) hue-rotate(300deg) brightness(602%) contrast(98%);
}

/* Ensure proper positioning */
.nav-list > li {
    position: relative;
	transition: background-color 0.3s ease-in-out 0.1s;
	background-color: transparent;
	
}

/* Hidden dropdown by default */
.navigation-child-pages-list {
    position: absolute;
    top: 100%;
    left: 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition:
        opacity 0.3s ease,
        transform 0.3s ease,
        visibility 0s linear 0.3s; /* visibility delayed until after fade */
    background: #5c3a7a;
    padding: 0.5rem;
    border-radius: 6px;
	border-top-left-radius: 0px;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1);
    z-index: 100;
    min-width: 200px;
    pointer-events: none;
}

/* Show dropdown when hovering over the entire <li> (link or dropdown itself) */
.nav-list > li:hover .navigation-child-pages-list {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    transition:
        opacity 0.3s ease,
        transform 0.3s ease,
        visibility 0s linear 0s; /* make visible instantly */
    pointer-events: auto;
}

/* Optional: keep child pages clean */
.navigation-child-pages-list ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.navigation-child-pages-list li a {
    display: block;
    padding: 0.4rem 0.8rem;
    text-decoration: none;
    color: #fff;
    border-radius: 4px;
    white-space: nowrap;
}

.navigation-child-pages-list li a:hover {
    background-color: #f0f0f0;
	color: #333;
}


a {
	color: #8e38ff;
}

/* Footer */

.footer {
	background-color: rgba(142, 39, 245, 0.1);
	position: fixed;
	bottom: 0;
	left: 0;
	width: 100%;
	color: #fff;
	text-align: center;
	backdrop-filter: blur(5px);
	
}

#main-content .et_pb_section {
	color: #fff;
	background-color: rgba(0, 0, 0, 0.2);
	backdrop-filter: blur(5px);
	margin: 1em 10%;
	padding: 3em;
	border-radius: 25px;
	transition: height 0.5s ease;
}


/* FF16 Tooltip */
.tooltip-container {
	position: relative;
	display: inline-block;
	margin: 5px;
	text-align: center;
}
.tooltip-content {
	position: absolute;
	left: 50%;
	bottom: 130%;
	transform: translateX(-50%);
	visibility: hidden;
	color: white;
	backdrop-filter: blur(0px);
	text-align: left;
	border: rgb(150, 150, 150) 2px solid;
	border-radius: 5px;
	min-width: 350px;
	max-width: 400px;
	font-size: 14px;
	z-index: 10;
	opacity: 0;
	transition: opacity 0.3s ease-in-out, backdrop-filter 0.3s ease-in-out;
}
.tooltip-container:hover .tooltip-content {
	visibility: visible;
	opacity: 1;
}
.quantity {
	display: block;
	font-size: 14px;
}

.ff16-bounty-boss-container {
 	background-color: rgba(200, 200, 200, 0.2);
 	padding: 1em;
 	margin: 1em 0;
 	border-radius: 25px;
	position: relative;
	height: 210px;
}

.ff16-bounty-currency-drops {
	right: 5em;
	top: 1.5em;
	position: absolute;
	
}

.ff16-currency-amount {
 	transform: translateY(15px);
 	position: absolute;
	right: -50px;
}

.tooltip-header {
	background-color: rgba(100, 100, 100, 0.5);
	padding: 1em;
	border-bottom: rgb(150, 150, 150) 2px solid;		
	backdrop-filter: blur(5px);
}

.tooltip-desc-container {
	background-color: rgba(50, 50, 50, 0.5);
	padding: 1em;
	white-space: normal; 
	word-wrap: break-word;
	backdrop-filter: blur(5px);
}

.tooltip-text {
	position: absolute;
	left: 7.2em;
}

.tooltip-name {
	margin: 5px;
	top: 1.5em;
}

.tooltip-type {
	margin: 5px;
	top: 4.5em;
	color: #d0c5b2;
}

.tooltip-usage {
	color: #f0d258;
}

.ff16-grade {
  position: absolute;
  right: 5em;
  top: 40%;
  font-size: 50px;
}

.ff16-bounty-level {
  background-color: rgb(142, 39, 245);
  padding: 8px;
  display: inline-block;
  border-radius: 20px;
  position: absolute;
  bottom: -5px;
  left: 0;
  font-size: 20px;
}

/* Error 404 Page */
.error404 main {
	text-align: center;
}

.tft-comp-unit-img {
	width: 64px;
	margin: 0 0.5em;
	border-radius: 15px;
	border-color: #ccc;
	border: 2px solid;
}

.tft-tier-1 {
	border-color: #ccc;
}

.tft-tier-2 {
	border-color: #74fa5c;
}

.tft-tier-3 {
	border-color: #4ab2f7;
}

.tft-tier-4 {
	border-color: #c33ef0;
}

.tft-tier-5 {
	border-color: #f0d53e;
}

.tft-comp-container {
	background-color: rgba(200, 200, 200, 0.2);
	margin: 1em;
	padding: 1em;
	border-radius: 15px;
	position: relative;
	padding-top: 3em;
	color: #fff;
	opacity: 0%;
	transition: filter ease 0.25s, scale ease 0.25s, opacity ease 0.25s;
}

.tft-active-comp {
	opacity: 100%;
}

.tft-comp-container:hover {
	filter: brightness(1.1);
	scale: 1.0075;
}

.tft-usage-label {
	background-color: #fb0;
	padding: 5px;
	margin: 0 0.75em;
	border-radius: 15px;
	transform: translateY(-25px);
	position: relative;
	display: inline-block;
	font-weight: bold;
	color: #cb8700;
}

#loading {
  width: 150px;
  height: 150px;
  position: fixed;
  left: 50%;
	transform:	translate(-50%, 0%);
  border-radius: 50%;
  opacity: 75%;
	transition: opacity 0.5s ease-in-out;
}

.tft-synergy-title {
  	background-color: rgb(142, 39, 245);
	display: flex;
	align-items: center;
}

.tft-synergy-title img {
	width: 22px;
}
.tft-synergy-text {
	display: inline-block;
	padding: 0px !important;
  	border-radius: 0px  !important;
  	margin-right: 0px  !important;
}

.tft-tier-title {
	background-color: rgb(245, 183, 39);
}

.tft-roll-title {
	background-color: rgb(90, 202, 250);
}

.tft-hero-label {
	background-color: rgb(237, 36, 36);
}

.tft-comp-unit-img-container {
	display: inline-flex;
	flex-direction: column;
	align-items: center;
}

.tft-comp-unit-name {
	margin-top: 5px;
}

.tft-comp-unit-stars {
  position: absolute;
  transform: translateY(-10px);
}

.tft-comp-container-header {
	display: flex;
	row-gap: 1em;
	position: absolute;
	top: -5px;
	left: 0;
	font-size: 20px;
}

.tft-comp-container-header div {
	padding: 8px;
	border-radius: 15px;
	margin-right: 5px;
}

.tft-container {
	min-height: 300px;
}

/* Comment function */
.comment {
	background-color: rgba(200, 200, 200, 0.2);
	padding: 1em;
	border-radius: 15px;
	position: relative;
	margin: 1em 0;
}

.comment-username {
  display: inline-block;
  background-color: rgb(142, 39, 245);
  padding: 5px;
  border-radius: 10px;
  position: absolute;
  left: -10px;
  top: -10px;
}

.comment-reply {
	display: none;
}

#commentsContainer {
  margin: 2em 0;
}

.comment-username-input, .comment-text-input, input[type="text"], input[type="email"], input [type="password"] {
  background-color: rgba(200, 200, 200, 0.2);
  padding: 1em;
  border-radius: 15px;
  border: 0;
  color: #fff;
	width: 91%;
	margin-bottom: 1em;
}

.comment-username-input {
	width: 300px;
}

.comment-text-input {
	display: block;
	margin: 1em 0;
	width: 300px;
  	height: 50px;
}

.comment-username-input:focus-visible, .comment-text-input:focus-visible {
	outline: none;
}

.comment-submit, button, input[type="submit"] {
	background-color: #a576e3;
	border-radius: 25px;
	padding: 1em 2em;
	color: #fff;
	cursor: pointer;
	outline: none;
	border: none;
	transition: background-color 0.5s ease-in-out, color 0.5s ease-in-out;
}

#do-login, #do-register {
	width: 100%;
}

.comment-submit:hover {
	background-color: #845eb5;
	color: #e8e8e8;
}


/* GW2 Timer */

#gw2-timer-container {
  display: flex;
  overflow: hidden;
}

.time-container {
	width: 250px;
	height: 100px;
	text-align: center;
	flex: 0 0 auto;
}

.time-container:nth-child(even) {
	background-color: rgba(220, 220, 220, 0.2);
}

.time-container:nth-child(odd) {
	background-color: rgba(70, 70, 70, 0.2);
}

.statistica-latest-advancements {
	padding: 0 1em 0 1em;
	margin: 0 0 1em 0;
	display: inline-block;
	list-style-type: none;
}

.statistica-item {
	background-color: rgba(200, 200, 200, 0.2);
	margin: 1em 0;
	padding: 1em;
	border-radius: 15px;
}

.statistica-time:first-child {
	margin: 0 0 1em 0 !important;
}

.statistica-top-list {
	list-style-type: none !important;
	padding: 0.1em 0;
}

.statistica-top-item {
	background-color: rgba(200, 200, 200, 0.2);
	margin: 1em 0;
	padding: 1em;
	border-radius: 15px;
}


