@import url('https://fonts.googleapis.com/css?family=Cherry Bomb One|Itim|Dongle|Silkscreen|Nerko One|');

body {
    background: white;
    font-family: 'Itim';
    cursor: url(https://somniumsaturnia.neocities.org/pxls/Curs01.png), default;
    overflow-x: hidden;
}

.magic-container {
    display: flex;
    width: 820px;
    margin: 0 0 0 30px;
    gap: 5px;
    align-items: flex-start;
}


.magic-sidebar {
    width: 200px;
    height: 205px;
    padding: 10px;
    border: 2px solid #864aca;
    border-radius: 5px;
    background: #fff;
    display: flex;
    flex-direction: column;
    overflow-y: auto;
}


.magic-sidebar h2,
.magic-main h1,
.collapsible h3 {
    margin: 0;
    padding: 0;
}



.sidebar-links {
    margin-top: auto;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.sidebar-links button {
    width: 100%;
    padding: 8px 6px;
    border: none;
    border-radius: 3px;
    background: linear-gradient(145deg, #ca9dfd, #864ACA);
    color: #ffffff;
    font-family: 'Nerko One';
    font-size: 18px;
    text-transform: uppercase;
    text-shadow: -1px 0 #000000, 0 1px #000000, 1px 0 #000000, 0 -1px #000000;
    letter-spacing: 0.5px;
    transition: background 0.2s;
    cursor: url(https://somniumsaturnia.neocities.org/pxls/Curs02.png), default;
}

.sidebar-links button:hover {
    background: linear-gradient(145deg, #f0bc00, #c48bff);
}



.sidebar-links button:hover {
    background: #f0bc00;
}

.magic-main {
    width: 520px;
    height: 830px;
    
    padding: 10px;
    border: 2px solid #864aca;
    border-radius: 5px;
    background: #fff;
    overflow-y: auto;
}
.magic-main img:not(.icon) {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
}


.magic-main h1 {
    border-radius: 3px;
    background: linear-gradient(145deg, #ca9dfd, #864ACA);
    text-transform: uppercase;
    text-shadow: -1px 0 #000000, 0 1px #000000, 1px 0 #000000, 0 -1px #000000;
    font-family: 'Nerko One';
    font-size: 30px;
    color: #ffffff;
    text-decoration: underline;
    margin: 0 0 6px 0;
    padding: 4px 10px;
}

.magic-main h2 {
    font-family: 'Nerko One';
    border-radius: 3px;
     background: linear-gradient(145deg, #864ACA, #ca9dfd);
    font-size: 23px;
    color: #ffffff;
    margin: 10px 0 4px 0;
    padding: 4px 10px;
    text-shadow: -1px 0 #000000, 0 1px #000000, 1px 0 #000000, 0 -1px #000000;
    
}


.magic-main p {
    font-family: 'Itim';
    font-size: 15px;
    font-weight: normal;
    color: #4A4446;
    margin: 4px 0 10px 0;
}
.magic-main b {
    font-family: 'Itim';
    font-size: 15px;
    font-weight: bold;
    text-decoration: underline;
    color: #4A4446;
    margin: 4px 0 10px 0;
}
.magic-main i {
    font-family: 'Itim';
font-weight: normal;
    text-transform: inherit;
    font-style: italic;

    color: #4A4446;
  
}



.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}




* {
    scrollbar-width: thin;
    scrollbar-color: #864ACA transparent;
}

.pxlstar {
  display: inline-block;
  width: 21px;
  height: 21px;
  background: url('https://somniumsaturnia.neocities.org/pxls/bstar.gif') no-repeat center center;
  background-size: 21px 21px;
  image-rendering: pixelated;
  margin-right: 4px;
  position: relative;
  top: 1px; 
}
.icon {
  position: relative;
  width: 90px;
  height: auto;
  margin-right: -10px;
  display: inline-block;
  vertical-align: middle;
}

.icon-wrap {
  position: relative;
  display: inline-block;
}

.icon-wrap::after {
  content: attr(data-name);
  position: absolute;
  top: 50px;
  left: 48px;
  transform: translateX(-50%);
  background-color: #c48bff;
  border-radius: 8px;
  padding: 2px 4px;
  font-family: "Cherry Bomb One", sans-serif;
  font-size: 16px;
  color: white;
  text-shadow: -1px 0 #000000, 0 1px #000000, 1px 0 #000000, 0 -1px #000000;
  opacity: 0;
  transition: opacity 0.3s ease-in-out;
  pointer-events: none;
  white-space: nowrap;
  

}

.icon-wrap:hover::after {
  opacity: 1;
  
}



::selection {
  background: #ca9dfd;
  color: white;
}

::-moz-selection {
  background: #ca9dfd;
  color: white;
}
.highlight {
  font-family: 'Itim';
  font-size: 18px;
  background-color: #864aca;
  color: white;
  border-radius: 4px;
  text-shadow: -1px 0 #000000, 0 1px #000000, 1px 0 #000000, 0 -1px #000000;
  padding: 2px 2px;
}
.highlight2 {
  font-family: 'Itim';
 font-weight: bold;
  color: #864aca;
 
}
.highlight3 {
  font-family: 'Itim';
  background-color: #864aca;
  color: white;
  border-radius: 4px;
  text-shadow: -1px 0 #000000, 0 1px #000000, 1px 0 #000000, 0 -1px #000000;
  padding: 2px 2px;
}

.earth {
  font-family: 'Itim';
 font-weight: bold;
  color: #516330;

}
.flora {
  font-family: 'Itim';
 font-weight: bold;
  color: #78b604;
}
.metal {
  font-family: 'Itim';
 font-weight: bold;
  color: #9b9c96;
  
}

.water {
  font-family: 'Itim';
 font-weight: bold;
  color: #4C78D8;
 
}
.ice {
  font-family: 'Itim';
 font-weight: bold;
  color: #2fd1ee;
  
}
.air {
  font-family: 'Itim';
 font-weight: bold;
  color: #D8AF13;
}
.lightning {
  font-family: 'Itim';
 font-weight: bold;
  color: #f3db07;
   text-shadow: -1px 0 #000000, 0 1px #000000, 1px 0 #000000, 0 -1px #000000;
  
  
 
}
.fire {
  font-family: 'Itim';
 font-weight: bold;
  color: #D8694C;

}



      
.hover-def {
    position: relative;
    cursor: url(https://somniumsaturnia.neocities.org/pxls/Curs02.png), default;
    color: #864aca;
    text-decoration: underline;
    
}

.hover-content {
    position: fixed;
     left: 50%;
    top: 50%;
    transform: translate(-100%);
    background-color: #fff;
    padding: 10px;
    border: 2px solid #864aca;
    border-radius: 5px;
    font-size: 20px;
    font-family: "Itim", sans-serif;
    font-weight: 700;
    font-style: normal;
    line-height: 1.2em;
    text-align: center;
    display: none;
    flex-direction: column;
    align-items: center;
    white-space: nowrap;
    z-index: 99999;
}

.hover-content span {
    margin-bottom: 10px;
}

.hover-content img {
    width: auto;
    height: auto;
    max-width: 250px;
    max-height: 200px;
    border-radius: 5px;
    border: 1px solid #864aca;
}

.hover-def:hover .hover-content {
    display: flex;
}