*{
  box-sizing: border-box;
}
/**/
body {
  background-image: url("assets/images/lunartics_bg.gif");
  background-repeat: repeat;
}

@font-face {
  font-family: "Video";
  src: url(assets/fonts/HomeVideo.ttf);
}

@font-face {
  font-family: "Basic";
  src: url(assets/fonts/MatrixtypeDisplayBold.ttf);
}

@font-face {
  font-family: "BasicButton";
  src: url(assets/fonts/MatrixtypeDisplayBold.ttf);
}

h1{
  font-family: "Video";
  font-size: 28px;
}

h2{
  font-family: "Video";
  font-size: 16px;
}

p{
  font-family: "Basic";
  font-size: 11px;
}

hr{
  border: solid 1px #5d00a6;
  width: 100%;
}

container{
  margin-left: auto;
  margin-right: auto;
  display: flex;
  justify-content: center;
  align-items: stretch;
}

button{
  width: 88px;
  height: 31px;
  background-image: url(assets/buttons/button.png);
  background-position: center;
  border-color: transparent;
  color: #ffffff;
  font-family: "BasicButton";
  font-size: 10px;
  background-color: transparent;
}

button:hover{
  width: 88px;
  height: 31px;
  background-image: url(assets/buttons/button_hover.png);
  background-position: center;
  border-color: transparent;
  color: #ffffff;
  font-family: "BasicButton";
  font-size: 10px;
  background-color: transparent;
}

#yellow{
  color: #f0b527; 
}

#white{
  color: #ffffff; 
}

#green{
  color: #2fc924; 
}

#darkgreen{
  color: #248a1d; 
}

#floating{
  float: left; 
}

#rainbow-text{
  display: inline-block;
  color: white;
  background: linear-gradient(90deg, red, orange, yellow, green, cyan, blue, violet);
  background-size: 100%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: rainbow-hue 2s linear infinite;
  filter: hue-rotate(0deg);
}

@keyframes rainbow-hue {
  0%{
    filter: hue-rotate(0deg);
  }
  100%{
    filter: hue-rotate(360deg);
  }
}

.emoji{
  width: 1em;
  height: 1em;
  display: inline-block;
  vertical-align: -0.125em;
}

.breadcrumb{
  font-family: "Basic";
  font-size: 10px;
  color: #ffffff;
}

.breadcrumb-static{
  font-family: "Basic";
  font-size: 10px;
  color: #ffffff;
}

.breadcrumb:hover{
  font-family: "Basic";
  font-size: 10px;
  color: #f0b527;
}

.breadcrumb-link{
  display: flex;
  align-items: center;
  text-decoration: none;
}

.grid-img{
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-template-rows: repeat(4, 1fr);
  width: 100%;
  max-width: 100%;
}

.grid-img img{
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cell{
  width: 100%;
  position: relative;
  display: block;
}

.cell img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  top: 0;
  left: 0;
}

.img1{
  grid-row-start: 1;
  grid-row-end: 3;
  grid-column-start: 1;
  grid-column-end: 2;
}

.img2{
  grid-row-start: 3;
  grid-row-end: 5;
  grid-column-start: 2;
  grid-column-end: 3;
}

.img-square{
  aspect-ratio: 1 / 1;
}

.box{
  border-image: url(assets/tabs/starry_box.png);
  border-image-slice: 128 128 fill;
  border-image-width: 64px;
  flex: 1 1 25%;
  color: #ffffff;
}

.box-border{
  border: solid #5d00a6;
  border-radius: 10px;
  background-color: #000000;
  color: #ffffff;
  flex: 1 1 25%;
  max-width: 50%;
}

.box-left-middle{
  border-image: url(assets/tabs/inverted_left_middle.png);
  border-image-slice: 128 128 fill;
  border-image-width: 64px;
  flex: 1 1 25%;
  max-width: 75%;
}

.box-right{
  border-image: url(assets/tabs/inverted_right.png);
  border-image-slice: 128 128 fill;
  border-image-width: 64px;
  flex: 1 1 25%;
  max-width: 75%;
}

.box-right-middle{
  border-image: url(assets/tabs/inverted_right_middle.png);
  border-image-slice: 128 128 fill;
  border-image-width: 64px;
  flex: 1 1 25%;
  max-width: 75%;
}

.box-inner{
  border-image: url(assets/tabs/inverted_invert.png);
  border-image-slice: 128 128 fill;
  border-image-width: 64px;
  flex: 1 1 25%;
  max-width: 75%;
}

.box-invis{
  border-image: url(assets/tabs/invis.png);
  border-image-slice: 128 128 fill;
  border-image-width: 64px;
  flex: 1 1 25%;
}

.box-checkered{
  border-image: url(assets/tabs/checkered.png) 28 round;
  border-style: solid;
  border-image-width: 19px;
  border-image-slice: 28 fill;
  flex: 1 1 25%;
}

.box-checkered-switched{
  border-image: url(assets/tabs/checkered_qblock.png) 28 round;
  border-style: solid;
  border-image-width: 21px;
  border-image-slice: 28 fill;
  flex: 1 1 25%;
}

.box-top-switched{
  border-image: url(assets/tabs/inverted_top_switched.png);
  border-image-slice: 128 128 fill;
  border-image-width: 64px;
  flex: 1 1 25%;
}

.box-left-switched{
  border-image: url(assets/tabs/inverted_left_switched.png);
  border-image-slice: 128 128 fill;
  border-image-width: 64px;
  flex: 1 1 25%;
  max-width: 50%;
}

.box-left-middle-switched{
  border-image: url(assets/tabs/inverted_left_middle_switched.png);
  border-image-slice: 128 128 fill;
  border-image-width: 64px;
  flex: 1 1 25%;
  max-width: 75%;
}

.box-right-switched{
  border-image: url(assets/tabs/inverted_right_switched.png);
  border-image-slice: 128 128 fill;
  border-image-width: 64px;
  flex: 1 1 25%;
  max-width: 75%;
}

.box-right-middle-switched{
  border-image: url(assets/tabs/inverted_right_middle_switched.png);
  border-image-slice: 128 128 fill;
  border-image-width: 64px;
  flex: 1 1 25%;
  max-width: 75%;
}

.box-inner-switched{
  border-image: url(assets/tabs/inverted_invert_switched.png);
  border-image-slice: 128 128 fill;
  border-image-width: 64px;
  flex: 1 1 25%;
  max-width: 75%;
}

.box-window{
  border-image: url(assets/tabs/window.png);
  border-image-slice: 128 128 fill;
  border-image-width: 64px;
  flex: 1 1 25%; 
}

.close-btn{
  position: absolute;
  top: 8px;
  right: 8px;
  z-index: 1000;
  cursor: pointer;
}

.close-btn img{
  width: 16px;
  height: 16px;
}
