/* -== top of css ==- */

* {
  box-sizing: border-box;
}

body {
  background: black url("https://softt0ne.neocities.org/indexstuff/bggg.png")
    no-repeat center;
  background-size: 150% auto;
}

/* -== quick ctrl F categories (2 find stuff) ==- */

/* containers */
/*  boxes  */
/* buttons */
/* links */
/* fonts */
/* dropdown */
/* mini display */

@media screen and (max-width: 992px) {
  body {
    background-size: 150%;
  }

  .btn-menu {
    flex: 20em;
    padding: 0px;
  }

  .box1 {
    margin-top: 50em;
    padding: 5em;
  }
}

@media (max-width: 800px) {
  .example-image-gallery div {
    width: calc(50% - 10px);
  }
}

@media screen and (max-width: 768px) {
  body {
    background-size: auto;
  }

  .btn-menu {
    flex: 15em;
  }

  .box1 {
    margin-top: 25em;
    padding: 3em;
  }
}

@media (max-width: 600px) {
  .btn-menu {
    flex-direction: column;
    flex-wrap: nowrap;
    gap: 0.5rem;
    align-items: center;
    width: 100%;
  }

  .btn-small {
    display: block;
    width: 90%;
    min-width: 0;
    margin: 0.25rem auto;
    box-sizing: border-box;
  }

  .btn-small p {
    margin: 0;
    padding: 0;
    display: inline-block;
    width: 100%;
    text-align: center;
  }
}

@media screen and (max-width: 480px) {
  body {
    background-size: auto;
  }

  .btn-menu {
    flex: 10em;
  }

  .box1 {
    margin-top: 15em;
    padding: 2em;
  }
}

::selection {
  background: #ebb813;
  color: rgb(0, 0, 0);
}

/* -== containers ==- */

.container {
  margin: 15px;
  margin-top: 15px;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  flex-shrink: 2;
  color: white;
  gap: 15px;
}

.title-box {
  margin-top: 50px;
  padding: 100px;
  padding-top: 0%;
  padding-bottom: 0%;
  background-color: #000000;
}

.title-box h1 {
  font-size: 30px;
  text-align: center;
}

.title-box img {
  display: block;
  margin: 0 auto;
  max-width: 100%;
  width: 65%;
  height: auto;
}

.box3 {
  width: 35em;
  height: auto;
  margin: 5px;
  padding: 15px;
  background-color: #000000;
}

.box3 a img {
  display: block;
  margin: 0 auto;
  max-width: 100%;
  height: auto;
}

.box3 img {
  display: block;
  margin: 0 auto;
  max-width: 100%;
  height: auto;
}

/* -== buttons ==- */

button {
  color: white;
}

button:hover {
  cursor: pointer;
  text-decoration: underline;
}

.btn-menu {
  margin: 1em auto 1em auto;
  display: flex;
  flex: 25em;
  flex-wrap: nowrap;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
  color: white;
}

.btn-menu-vert {
  margin: 1em auto 1em auto;
  display: flex;
  flex-direction: column;
  flex: 25em;
  flex-wrap: nowrap;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
  color: white;
}

.btn-small {
  margin: 0 5px;
  display: inline-block;
  flex: 0 0 auto;
  width: auto;
  min-width: 5.5rem;

  padding: 10px;
  text-align: center;
  background-color: #2b2b2b;
}

.btn-small p {
  margin: 0px;
  padding: 0px;
}

.btn-small:hover {
  background-color: #4e4e4e;
}

.btn-small:active {
  background-color: #6e6e6e;
  transform: translateY(1px);
}

.btn {
  margin: 0 auto 10px auto;
  display: block;
  width: 20%;
  padding: 10px;
  text-align: center;
  background-color: #2b2b2b;
}

.btn:active {
  background-color: #6e6e6e;
  transform: translateY(2px);
}

.btn:hover {
  background-color: #4e4e4e;
}

/* -== links ==- */

a:link {
  text-decoration: none;
  color: rgb(255, 255, 255);
  font-size: 14px;
}

a:hover {
  text-decoration: underline;
}

a:visited {
  text-decoration: none;
  color: rgb(255, 255, 255);
}

/* -== dropdown ==- */
.dropdown {
  position: relative;
  display: inline-block;
}

.dropdown-content {
  color: white;
  text-align: center;
  position: absolute;
  top: 100%;
  left: 0;
  background-color: #000000;
  min-width: 100px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  opacity: 0;
  transform: translateY(-5px);
  transition: all 0.3s;
  pointer-events: none;
}

.dropdown:hover .dropdown-content {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
  box-shadow: 5px 5px 5px 0px rgba(0, 0, 0, 0.521);
}

.dropdown-content a {
  color: #ffffff;
  padding: 0.02em;
  margin: 0.6rem;
  text-decoration: none;
  display: block;
  background-color: #4e4e4e;
}

.dropdown-content a:hover {
  background-color: #6e6e6e;
}

.dropdown-content a:active {
  background-color: #0c0c0c;
  box-shadow: inset 0px 0px 10px 2px rgba(0, 55, 126, 0.856);
  transform: translateY(0px);
}

/* -== tooltip ==- */

.tooltip {
  visibility: hidden;
  background-color: rgb(255, 255, 255);
  color: black;
  text-align: center;
  border-radius: 5px;
  padding: 5px;
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  white-space: nowrap;
  margin-top: 5px;
  z-index: 1;
}

.tooltip::before {
  content: "";
  position: absolute;
  bottom: 100%;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 6px solid transparent;
  border-right: 6px solid transparent;
  border-bottom: 6px solid rgb(255, 255, 255);
}

.mini-textbox {
  position: relative;
  display: inline-block;
  margin-left: 40px;
}

.mini-textbox:hover .tooltip {
  visibility: visible;
}

/* friend page tooltips .3.*/

.tooltipfren {
  position: relative;
  display: inline-block;

  cursor: pointer;
}

.tooltipfrentext {
  visibility: hidden;
  width: 130px;
  bottom: 95%;
  background: linear-gradient(
    to bottom,
    rgba(127, 162, 219, 1) 1%,
    rgba(77, 121, 209, 1) 5%,
    rgba(32, 68, 201, 1) 39%,
    rgba(32, 68, 201, 1) 81%,
    rgba(30, 48, 153, 1) 97%,
    rgba(32, 68, 201, 1) 100%,
    rgba(32, 68, 201, 1) 100%
  );

  color: #fff;
  text-align: center;
  border-radius: 16px;
  border: 4px ridge #0c0c0c;
  padding: 5px 0;
  position: absolute;
  z-index: 1;
  left: 65%;
  margin-left: -135px;
}

.tooltipfren:hover .tooltipfrentext {
  visibility: visible;
}
