body {
    font-family: Arial, sans-serif;
    background-image: url("brightmorebg.png");
	background-repeat:no-repeat;
background-size:contain;
    background-color: #020202;
    margin: 0;
    padding: 20px;
}

.container {
    color:white;
    max-width: 1600px;
    margin: 0 auto;
    background: #292222d9;
    padding: 20px;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
    border-radius:25px;
}

h1,h2 {
    text-align: center;
    margin: 30px;
}

.counter-container {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 30px;
	margin-top:30px;
    flex-wrap: wrap;
}
.level{
font-size:28px;
}
.counter, .level, button {
    margin: 5px;
}
.skillpoint-counter{
width:100%;
font-size:28px;
margin:0 auto;
text-align:center;

}

#basic-magic-skill-tree{
   background-image: url("arcanabg.png");
   background-size:cover;
   border-radius:25px;
   box-shadow: 0px 0px 15px 3px #0000008a;
}
#power-words-skill-tree{
   background-image: url("utilitybg.png");
   background-size:cover;
   border-radius:25px;
   box-shadow: 0px 0px 15px 3px #0000008a;
}
#augmentation-skill-tree{
   background-image: url("combatbg.png");
   background-size:cover;
   border-radius:25px;
   box-shadow: 0px 0px 15px 3px #0000008a;
}


#resetButton, #level-up, #level-down {
    background-color: #333;
    color: #fff;
    border: none;
    padding: 10px 20px;
    cursor: pointer;
    font-size: 16px;
    border-radius: 5px;
}

#resetButton:hover, #level-up:hover, #level-down:hover {
    background-color: #555;
}

.tabs {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 50px;
	margin-top:30px;
}

.tab-button {
    background-color: #333;
    color: #fff;
    border: 2px solid #ffffff33;
    padding: 10px 20px;
    cursor: pointer;
    font-size: 18px;
    border-radius: 10px;
    margin: 15px;
}

#basicMagicTabButton{
background-color:#8282c3;
}
#basicMagicTabButton:hover{
background-color:#9e9ed3;
}
#powerWordsTabButton{
background-color:#79af79;
}
#powerWordsTabButton:hover{
background-color:#9abf9a;
}
#augmentationsTabButton{
background-color:#b13838;
}
#augmentationsTabButton:hover{
background-color:#bf4f4f;
}

.tab-button:hover {
    background-color: #555;
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

.skill-tree {
    width: 100%;
    height: auto;
    position: relative;
}

.tooltip {
    position: absolute;
    background-color: white;
    color: black;
    padding: 10px;
	border:2px solid black;
    border-radius: 10px;
    font-size: 14px;
    display: none;
    z-index: 10;
    font-family: Helvetica;
    margin-left: 20px;
	filter: drop-shadow(0px 0px 8px #000000);
}

.skill {
    cursor: pointer;
		filter: drop-shadow(2px 2px 0px #000000);
}

.skill:hover rect {
    fill: #9fdf9f;
}

.skill.selected rect {
    fill: #3d9b3d;
}

.titletext{
	font: bold 8px sans-serif;
}

.costtext{
	font: italic 8px sans-serif;
}

#Augmentations.skill:hover rect{
	fill:#f78b8b;
}

#Augmentations.skill.selected rect{
	fill:#bf3a3a;
}

#selected-skills {
    margin-top: 50px;
    padding: 40px;
    border-top: 1px solid #333;
}

#selected-skills h2 {
    margin-top: 0;
}

#skills-summary {
    list-style-type: none;
    padding: 0;
}

#skills-summary li {
    margin: 5px 0;
    line-height:25px; 
    list-style-type: none;
}
#skills-summary li span{
position:relative;
bottom:7px;
}
.guideText{
width:50%;
text-align:center;
margin:40px auto;
}

#schoolSelectDiv{
width:100%;
text-align:center;
margin-bottom:30px;
}

.selectDiv{
flex-shrink:3;
margin:10px;
}


@media (max-width: 768px) {
    .counter-container {
        flex-direction: column;
        align-items: stretch;
    }
    .tabs {
        flex-direction: column;
        align-items: center;
    }
    .tab-button {
        width: 80%;
        margin-bottom: 10px;
    }
    .skill-tree {
        overflow-x: auto;
        display: block;
    }
    .skill-tree svg {
        width: 100%;
        height: auto;
    }

}

#spell-crafting {
    padding: 40px;
    border-top: 1px solid #333;
}

#spell-crafting h2 {
    margin-top: 0;
}

.dropdowns {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.dropdowns label, .dropdowns select {
    font-size: 16px;
    padding:5px;
    color:white;
    background-color:#231d1d;
}

.dropdowns label{
margin-left:20px;
margin-right:5px;
}

#craft-spell-button {
    display: block;
    margin: 20px auto;
    background-color: #333;
    color: #fff;
    border: none;
    padding: 10px 20px;
    cursor: pointer;
    font-size: 26px;
    border-radius: 5px;
	margin-top:50px;
    box-shadow: 0px 0px 20px 6px #8988c7b0;
}

#craft-spell-button:hover {
    background-color: #555;
}
#spell-output {
    margin-top: 20px;
    display:none;
}


#save-spell-button{
    padding: 8px;
    display: block;
    text-align: center;
    margin: 40px auto;
    color: white;
    background-color: #6fa76d;
    margin-top: -20px;
}

.spell-card {
    display: flex;
    align-items: flex-start;
    padding: 10px;
    border: 1px solid #ccc;
	border-radius: 10px;
    margin-top: 10px;
    background-color: #2b2b2b;
	box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.spell-card img.spell-image {
    width: 10vw;
    margin-right: 10px;
    object-fit: cover;
}

.text-container {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.spell-card h3 {
    margin: 0;
    font-size: 1.2em;
}

.spell-card p {
    margin: 5px 0 0 0;
    font-size: 0.9em;
}
