@import url('https://fonts.googleapis.com/css2?family=Jersey+10&display=swap');

body {
  color: black;
  font-family: "Jersey 10";
  background-color: #131321;
  font-size: 2.7vh;
}

body h1 {
  margin-top: 1%;
  margin-bottom: 1%;
}

img, div { 
  image-rendering: optimizeSpeed;             /* STOP SMOOTHING, GIVE ME SPEED  */
  image-rendering: -moz-crisp-edges;          /* Firefox                        */
  image-rendering: -o-crisp-edges;            /* Opera                          */
  image-rendering: -webkit-optimize-contrast; /* Chrome (and eventually Safari) */
  image-rendering: pixelated;                 /* Universal support since 2021   */
  image-rendering: optimize-contrast;         /* CSS3 Proposed                  */
  -ms-interpolation-mode: nearest-neighbor;   /* IE8+                           */
}

button {
  background-image: url("res/button_slice.png");
  background-repeat: repeat;
  background-size: contain;
  background-color: transparent;
  border-style: none;
  
  font-family: "Jersey 10";
  font-size: 120%;
  color: #131321;
}
button:hover {
  background-image: url("res/button_slice_selected.png");
  background-repeat: repeat;
  background-size: contain;
  background-color: transparent;
  border-style: none;
}
button:active {
  background-image: url("res/button_slice_pressed.png");
  background-repeat: repeat;
  background-size: contain;
  background-color: transparent;
  border-style: none;
  
  padding-top:5%;
}

@keyframes scroll {
  0% {
    background-position: 0 0;
  }
  100% {
    background-position: 300px 0;
  }
}

.bg { /* scrolling stars */
  position: absolute;
  width: 100%;
  height: 100%;
  
  background-size: 300px;
  background-repeat: repeat; 
}
#bg_l1 {
  background-image: url('res/bg_stars_l1.png');
  animation: scroll 16s linear infinite; 
}
#bg_l2 {
  background-image: url('res/bg_stars_l2.png');
  animation: scroll 14s linear infinite; 
}
#bg_l3 {
  background-image: url('res/bg_stars_l3.png');
  animation: scroll 12s linear infinite; 
}
#bg_l4 {
  background-image: url('res/bg_stars_l4.png');
  animation: scroll 10s linear infinite; 
}
#bg_l5 {
  background-image: url('res/bg_stars_l5.png');
  animation: scroll 8s linear infinite; 
}

.main-div { 
  margin: 0;
  position: absolute;
  top: 50%;
  left: 50%;
  -ms-transform: translate(-50%, -50%);
  -webkit-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
  
  aspect-ratio: 16 / 6;
  height: 55%;
  background-image: url("/res/bg.png");
  background-size: contain;
}

#cat-logo {
  position: absolute;
  left: 75%;
  top: -33%;
  width: 21%;
}

#area-intro {
  position: absolute;
  top: 10%;
  left: 21.7%;
  width: 53.3%;
  height: 27.5%;
  color: #f2d3ab;
  overflow-y: auto;
  
  padding-left: 1.2%;
}

#area-title-aboutme {
  position: absolute;
  
  top: 56.5%;
  left: 21.4%;
  width: 36.5%;
  height: 7%;
  
  text-align:left;
  color:#f2d3ab;
  padding-left: 1%;
}
#area-title-aboutme p {
  margin-top: 0%;
  font-size: 4vh;
}

#area-text-aboutme {
  position: absolute;
  color: #f2d3ab;
  overflow-y: auto;
  
  top: 64.3%;
  left: 21.4%;
  width: 36.5%;
  height: 26.2%;
  padding-left: 1%;
}
#area-text-aboutme p {
  margin-top: 1%;
}

#sat_status {
  position: absolute;
  left: 92.2%;
  width: 6.6%;
  top: 3%
}

#garage_info {
  position: absolute;
  color: #f2d3ab;
  
  left: 39.7%;
  top: 2%;
  width: 51%;
  
  font-size: 3.5vh;
}

@keyframes blink {
  0%, 100% {
    opacity: 1;
  }
  30% {
    opacity: 0;
  }
}

#os_info_text {
  position: absolute;
  color: #f2d3ab;
  left: 22.4%;
  top: -3%;
  font-size: 3vh;
  animation: blink 3s step-start infinite;
}

#area-pxorama-tribute {
  position: absolute;
  left: 23%;
  top: 92.5%;
  width: 40%;
  color: #f2d3ab;
}
#area-pxorama-tribute a {
  position: inherit;
  top: -10%;
}
#area-pxorama-tribute img {
  width: 11vh;
  height: inherit;
}

#my-btn-title {
  position: absolute;
  left: 7.2%;
  top: 12.4%;
  width: 13.3%;
  height: 6%;
  color:#f2d3ab;
  font-size: 3.6vh;
}
#my-btn-title p {
  margin-top: 0%;
}

#my-btn-text {
  display: flex;
  flex-direction:column;
  position: absolute;
  top: 20%;
  left: 6.4%;
  width: 14.6%;
  
  justify-content: center;
  align-items: center;
}
#my-btn-text img {
  margin-bottom: 2%;
  width: 56%;
  border-style: solid;
  border-width: 0.3vh;
  border-color: white;
}
#my-btn-text button {
  height: 4.3vh;
  width: 10vh;
}

#current-moon-widget {
  position: absolute;
  left: 60.4%;
  top: 57%;
  display: flex;
  width: 18.3%;
  height: auto;
}

#featured-buttons {
  display: flex;
  flex-direction: column;
  position: absolute;
  left: 20.3%;
  top: 39%;
  width: 58%;
  height: 16%;
}
#featured-buttons\/row1, #featured-buttons\/row2 {
  height: 50%;
}
#featured-buttons\/row1 img {
  width: 15%;
}
#featured-buttons\/row2 img {
  width: 15%;
}