.flexbox {
display: flex;
}

.floatLeft {
float: left;
}

.floatRight {
float: right;
}

.left {
  float: left;
  width: 50%;
  box-sizing: border-box;
}

.right {
  float: right;
  width: 50%;
  box-sizing: border-box;
}

.center {
  margin: auto;
  display: block;
}

.clear {
  clear: both;
}

/* Tooltip container */
.tooltip {
  position: relative;
  display: inline-block;
  border-bottom: 1px dotted black; /* Add dots under the hoverable text */
  cursor: pointer;
}

/* Tooltip text */
.tooltiptext {
  visibility: hidden; /* Hidden by default */
  width: 130px;
  background-color: black;
  color: #ffffff;
  text-align: center;
  padding: 5px 0;
  border-radius: 6px;
  position: absolute;
  z-index: 1; /* Ensure tooltip is displayed above content */
}

/* Show the tooltip text on hover */
.tooltip:hover .tooltiptext {
  visibility: visible;
}

/*img spoiler */


.spoiler {
  overflow: hidden;
  position: relative;
  width: fit-content;
  height: fit-content;

}

.spoiler-button {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  height: fit-content;
  line-height: 30px;
}


.spoiler img {
	vertical-align: bottom;
	filter: blur(13px) grayscale(10%);
	transition: 0.3s;   
}

.nospoiler img {
	filter: none;
}

.nospoiler button {
	display: none;
}

/* text spoiler */

.spoil {
  color: var(--body-font-color);
  background-color: var(--body-font-color);
  width:fit-content;
}

/*.spoil:hover {
  color: inherit;
  background-color: inherit;
}*/

.nospoil {
  background-color: transparent;
}
.inactive {
  text-decoration: line-through
}

.hidden {
  display: none;
}