/* ==== VARIABLES ==== */
:root {
  --gap: 10px;

  /* overall frame size */
  --container-width: 800px;
  --container-height: 960px;

  /* box border */
  --border-image: url(https://file.garden/ZZ2PUl9MPilKgIvB/collection/borders/fp9ci4.png) 8 fill round;
  --border-width: 10px;
  --border-style: solid;

  /* widths */
  --w-small: 45%;
  --w-med:   29.3%;
  --w-large: 70%;

  /* heights (percent of container) */
  --h-header:     20.83%;
  --h-subheader:   3.13%;
  --h-row3:       26.04%;
  --h-row4:       27.7%;
  --h-row2:       21.83%;
}

/* ==== RESET ==== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* ==== PAGE + LAYOUT ==== */
body {
  display: flex;
  justify-content: center;
  padding: 20px;
  background: #fafafa;
}

.layout {
  width:  var(--container-width);
  height: var(--container-height);
  display: flex;
  flex-direction: column;
  gap: var(--gap);
  position: relative;
}


/* ==== BOX BASE ==== */
.box {
  border-width: var(--border-width);
  border-style: var(--border-style);
  border-width: 10px;
  border-style: solid;
  border-image: url(https://file.garden/ZZ2PUl9MPilKgIvB/collection/borders/fp9ci4.png) 8 fill round;
  box-shadow:
    0 0 0 1.5px rgb(124, 255, 168),
    0 0 0 3px rgb(53, 73, 255);
  background: white;
}

/* ==== HEADER BARS ==== */
.header    { height: var(--h-header);    }
.subheader { height: var(--h-subheader); }

/* ==== ROWS + HEIGHTS ==== */
.row {
  display: flex;
  gap: var(--gap);
}
.row-3 { 
  height: 1800px;
  justify-content: center;
  align-items: stretch;   /* add this */
}

.row-2 {
  height: var(--h-row2);
  display: flex;
  gap: var(--gap);
  justify-content: center;
}

/* ==== CHILD BOXES FILL THEIR ROW ==== */
.row .small  { flex: 0 0 var(--w-small);  height: 100%; }
.row .medium { flex: 0 0 var(--w-med);    height: 100%; }
.row .large  { flex: 0 0 var(--w-large);  height: 100%; }
.row-2 .bottom {
  flex: 0 0 var(--w-med);
  height: 100%;
}

/* ==== NAV BAR & SECTION HEADER STYLE ==== */
.nav-header {
  padding:8px;
  text-align: center;
  font-weight: bold;
  background-image: url("images/tile.png");
  background-size: contain;
  font-size: 15px;
}

#box-row3-left .nav-list {
  position: relative;
  padding: 5px 5px 15px 5px;
  isolation: isolate;
  list-style: none;
  list-style-type: none;
}

#box-row3-left .nav-list::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("images/launchbg.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0.4;
  pointer-events: none;
  z-index: -1;
}

#box-row3-left .nav-list li {
  margin:4px 0;
}
#box-row3-left .nav-list a {
  display: block;
  padding: 2px 6px;
  text-decoration: none;
  color: #3c56ff;
  text-shadow: 0 0 3px #ffffff, 0 0 5px #ffffff;
  font-weight: 600;
  font-size: 18px;
  background: url(images/tilem.png);
  margin-left: auto;
  width: 132px;

  transition: transform .2s, box-shadow .2s, background .2s;

  cursor: pointer;
  margin-bottom: 4px;
}

#box-row3-left .nav-list a:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 8px rgba(0,0,0,0.4), inset 0 1px 0 rgba(255,255,255,0.7);
  background: linear-gradient(to bottom, #9ac4ff, #bbeeff);
  text-decoration: none;
  color: #fff;
}

#box-row3-left .nav-list a:active {
  transform: translateY(0);
  box-shadow: 0 2px 4px rgba(0,0,0,0.3), inset 0 1px 0 rgba(255,255,255,0.3);
}


#box-row3-left .nav-list a:hover {
  text-decoration: none;
  color: #fff; 
  cursor: pointer;
}
/* ==== Centers the Link me thingy==== */
#box-row4-right .nav-header {
  align-self: stretch;
  width: calc(100% + 20px);
  margin: 0 -10px;
  box-sizing: border-box;
}

#box-row4-right .link-me-content img {
  margin-top: 4px;
}

#box-row4-right {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 10px;
  flex: 0 0 19.2%;
  background-image: url("images/nav.png");
  background-size: contain;
}
#box-row4-right .link-me-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}
#box-row4-right textarea {
  max-width: 90%;
}

#box-subheader {
  position: relative;
  flex: 0 0 3%;
  width: 142.8%;
left: -21.4%;
  background-image: url("images/tilem.png");
}

#box-subheader2 {
  position: relative;
  flex: 0 0 3%;
  width: 142.8%;
   left: -17.2%;
  background-image: url("images/tilem.png");
  background-size: contain;
}
#box-header {
  position: relative;
  z-index: auto !important;
  background: url('images/Header.gif') center/cover no-repeat;
  height: 30%;
  width: 142.8%;
left: -21.4%;
}

/* So the logo stays on top of the tree */
#box-header img {
  position: relative;
  z-index: 9999;
  top: -20px;
  
}

/* Prevent the box from growing if the image is larger */
#box-row2-right {
  overflow: hidden;
  position: relative;
  background-image: url("images/nav.png");
  background-size: contain;
}

#box-row2-right img {
  display: block;
  max-width: 80%;
  max-height: 90%;
  width: auto;
  height: auto;
  object-fit: contain;
  margin: 4px auto;
}
#box-row4-left {
  flex: 0 0 150px; /* won't grow or shrink — stays exactly 120px */
  width: 100%;
  flex-direction: column;
  background-image: url("images/nav.png");
  background-size: contain;
  overflow: hidden;
}


#box-row4-left .changelog-content {
  flex: 1;
  overflow-y: auto;
  padding: 4px;
}


#box-row4-left .changelog-content ul {
  list-style: disc inside;
  margin: 0;
  padding-left: 1em;
}

#box-row4-left .changelog-content li {
  margin-bottom: 0.3em;
}

#box-header {
  position: relative;
  z-index: 100;
}


#box-header img {
  position: relative;  
  left: -100px;
  z-index: 101;
}

/* Hover animation */
.overlay-gif2:hover {
  transform: scale(1.1) rotate(5deg);
  filter: brightness(1.2) contrast(1.2);
  cursor: pointer;
}
/*chao gif*/
.overlay-gif3 {
  position: fixed;
  top: 65%;
  left: 82%;
  z-index: 999;  
  pointer-events: auto;
  transition: 
  
    transform 0.3s ease-in-out, 
    filter    0.3s ease-in-out;
}

.overlay-gif4 {
  position: absolute;
  top: -2562.8%;
  left:107%;
  z-index: 999;  
  pointer-events: none;
}

#row-4 {
  position: relative;
}


#box-row2-left {
  flex: 0 0 26%;
  height: 100%;
}

#box-row2-left {
  position: relative;
margin-left: 99px;;
}
#box-row2-left .overlay-gif {
  position: absolute;  
  top: -267px;
  left: -281px;
  z-index: 90;
}

/* make the VR AD fill the entire box */
#box-row3-right img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: auto;
}

#box-row3-right {
  flex: 0 0 25%;          /* matches left sidebar */
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 5px;
  overflow-y: auto;
  overflow-x: hidden;
  background-image: url("images/nav.png");
  background-size: cover;
}


#box-row3-right img {
  display: block;
  width: auto;
  height: auto;
}

#box-rps-sidebar {
  flex-shrink: 0;
}

#box-header {
  z-index: auto !important;
}

#box-header > img {
  position: relative !important;
  z-index: 999 !important;
    display: inline-block;       /* let transform work properly */
}


#box-row3-left {
  position: relative;
  background-image: url("images/nav.png");
  background-size: cover;

    flex: 0 0 25%;
}

@keyframes bounce {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-8px); /* how high it bounces */
  }
}
#box-row3-center {
  background-image: url(images/bgt.png);
  background-size: repeat;
  padding: 20px;
  overflow: hidden;
  height: 1075px;        /* match row-3 height exactly */
  max-height: 1075px;
  position: relative;
  flex: 0 0 86.8%;
}

/* headings & text inside get a friendly colour */
#box-row3-center h2,
#box-row3-center h3,
#box-row3-center p {
  color: #005bf9;
}


/* ensure each tab is spaced nicely */
#box-row3-center .tab-content {
  height: 100%;
  overflow-y: auto;
  overflow-x: hidden;
  box-sizing: border-box;
}

#box-row3-left .nav-list a:hover {
  text-decoration: underline;
  color: blue;
  cursor: pointer;
}

@keyframes click-jump {
  0%, 100%   { transform: translateY(0); }
  50%        { transform: translateY(-10px); }
}

.overlay-gif3.jump {
  animation: click-jump 0.3s ease;
}

.dragonair-shrine:hover {
  transform: scale(1.1) rotate(5deg);
  filter: brightness(1.2) contrast(1.2);
  cursor: pointer;
}


/* AYO BRUH SHOUTOUT W3SCHOOLS*/
::-webkit-scrollbar {
  width: 10px;
}

/* Track */
::-webkit-scrollbar-track {
  box-shadow: inset 0 0 5px grey; 
  border-radius: 10px;
}
 
/* Handle */
::-webkit-scrollbar-thumb {
  box-shadow: inset 0 0 10px White; 
  background: #0062ff; 
  border-radius: 10px;
}

/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
  background: #23aeff; 
}

.marquee {
  display: flex;
  overflow: hidden;
  white-space: nowrap;
}

.marquee__inner {
  display: flex;
  animation: scroll 80s linear infinite;
}

.marquee__inner img {
  flex-shrink: 0;
  margin: 2px;
}

@keyframes scroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); } 
}

/* START!!! */
/* Fullscreen background overlay (hidden by default) */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.6); /* Dimmed backdrop */
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  z-index: 999; /* Ensures it sits on top of everything else */
}

/* The actual white prompt box */
.modal-box {
  background: linear-gradient(to bottom, #e6f3ff, #2A2DDE, #ccff7a);
  padding: 30px;
  text-align: center;
  border-width: 10px;
  border-style: solid;
  border-image: url(https://file.garden/ZZ2PUl9MPilKgIvB/collection/borders/fp9ci4.png) 8 fill round;
  box-shadow: 0 2px 4px rgba(0, 89, 255, 0.2);
  font-family: "DotGothic16";
  color: #ffffff;
  transform: scale(0.8);
  transition: transform 0.3s ease;
}

/* Show states triggered via JavaScript classes */
.modal-overlay.show-modal {
  opacity: 1;
  pointer-events: auto;
}
.modal-overlay.show-modal .modal-box {
  transform: scale(1);
}

/* Simple button styling */
.modal-buttons {
  margin-top: 20px;
}
.btn-confirm, .btn-cancel {
  padding: 10px 20px;
  margin: 0 10px;
  border-width: 10px;
  border-style: solid;
  border-image: url("https://file.garden/ZZ2PUl9MPilKgIvB/collection/borders/fp9ci4.png") 8 fill round;
  cursor: pointer;
  font-weight: bold;
}
.btn-confirm {
  font-family: "DotGothic16";
  background-color: #ccff7a;
  color: white;
}
.btn-cancel {
  font-family: "DotGothic16";
  background-color: #2A2DDE;
  color: white;
}

/* Welcome tab boxes */
.welcome-top-box {
  background: linear-gradient(to bottom, #e6f3ff,#aaf2ff, #ccff7a);
  border-width: 10px;
  border-style: solid;
  border-image: url("https://file.garden/ZZ2PUl9MPilKgIvB/collection/borders/fp9ci4.png") 8 fill round;
      
  padding: 15px;
  margin: -1px 0;

  box-shadow: 0 2px 4px rgba(0,89,255,0.2);
}

.welcome-top-box h4 {
  color: #1f69ff;
  margin-bottom: 8px;
}

.welcome-top-box p {
  color: #1f69ff;
  margin: 0;
  font-size: 107%;
}

.welcome-box-row {
  display: flex;
  gap: 15px;
  margin: 20px 0;
  justify-content: space-between;
}

.welcome-small-box {
  flex: 1;
  background: linear-gradient(to bottom, #f0f8ff, #b9faff);
  border-width: 10px;
          border-style: solid;
          border-image: url("https://file.garden/ZZ2PUl9MPilKgIvB/collection/borders/fp9ci4.png") 8 fill round;
  padding: 8px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 2px 4px rgba(88,224,242,0.2);
}

.welcome-small-box:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(88,224,242,0.3);
}

.welcome-small-box h5 {
  color: #1f69ff;
  margin-bottom: 6px;
  font-size: 16px;
}

.welcome-small-box p {
  color: #1f69ff;
  font-size: 14px;
  margin: 0;
}

.doll {
  position: relative;
  float: right;
  top: -50px;
  image-rendering: pixelated;
}

.res {
  position: relative;
  float: right;
  top: -50px;
  image-rendering: pixelated;
}

.per {
position: relative;
float: left;
  image-rendering: pixelated;
}

.aboutme-row {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
}

.aboutme-row .images-box {
  flex: 1.7; 
}

.aboutme-row .interests-box {
  flex: 1;  
}

.images-box {
  display: grid;
  grid-template-columns: repeat(2, 50%);
  justify-content: center;   
  gap: 2px;
}

.images-box img {
  width: 100%; 
  height: auto;
  display: block;
}

.images-box2 {
  justify-content: center;   
}

.images-box2 img {
  width: 100%; 
  height: auto;
  display: block;
}
.quiz-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    padding: 20px;
}

        .quiz-item {
             background: linear-gradient(to bottom, #e6f3ff,#aaf2ff, #ccff7a);
  border-width: 10px;
          border-style: solid;
          border-image: url("https://file.garden/ZZ2PUl9MPilKgIvB/collection/borders/fp9ci4.png") 8 fill round;
      
            padding: 1px;
            border-radius: 10px;
            box-shadow: 0 2px 8px rgba(0,0,0,0.1);
            text-align: center;
            transition: transform 0.2s ease, box-shadow 0.2s ease;
        }

        .quiz-item:hover {
            transform: translateY(-2px);
            box-shadow: 0 4px 12px rgba(0,0,0,0.15);
        }

.quiz-item img {
    width: 100%;
    height: auto;
}

        .quiz-item a {
            display: block;
            text-decoration: none;
        }


        .quiz-grid-uniform .quiz-item {
            aspect-ratio: 1;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .quiz-grid-uniform .quiz-item img {
            max-width: 90%;
            max-height: 90%;
            object-fit: contain;
        }

/* STATUS.CAFE WIDGET*/
#statuscafe {
  background: linear-gradient(to bottom, #e6f3ff, #aaf2ff, #b3ff61, #ffffff);
  border-width: 10px;
  border-style: solid;
  border-image: url("https://file.garden/ZZ2PUl9MPilKgIvB/collection/borders/fp9ci4.png") 8 fill round;
  padding: 4px;
  margin: 1px 0;
  box-shadow: 0 2px 4px rgba(0,89,255,0.2);
  font-family: ms ui gothic, sans-serif;
  color: #1f69ff;
}

/* Username styled like a mini header */
#statuscafe-username {
  font-weight: bold;
  font-size: 13px;
  margin-bottom: 6px;
  color: #0059ff;
  text-shadow: 0 0 3px #9ac4ff;
}

/* Status content */
#statuscafe-content {
  font-size: 14px;
  line-height: 1.4;
  margin: 0;
  padding: 8px;
  background: rgba(255, 255, 255, 0.64);
  border-radius: 6px;
  border: 1px solid #9ac4ff;
  box-shadow: inset 0 1px 2px rgba(0,0,0,0.1);
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  border: 0;
}

/* this is for the new navbar bro*/
#box-topnav {
  position: relative;
  width: 142.8%;
  left: -21.4%;
  background-image: url("images/tile.png");
  background-size: contain;
  z-index: 500; 
  min-height: 36px;
  height: auto;
}

.top-nav {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  flex-wrap: wrap;
  justify-content: center;
}

/* Each menu item wrapper */
.top-nav-item {
  position: relative;
}

/* Shared style for both <a> and <span> top-level labels */
.top-nav-link {
  display: block;
  padding: 4px 14px;
  color: #3c56ff;
  text-shadow: 0 0 3px #ffffff, 0 0 5px #ffffff;
  font-weight: 700;
  font-size: 14px;
  font-family: "DotGothic16", sans-serif;
  text-decoration: none;
  background: url(images/tilem.png);
  border: 1px solid #0059ff;
  border-radius: 8px;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.2s, color 0.2s, box-shadow 0.2s;
  user-select: none;
}

.top-nav-item:hover > .top-nav-link,
a.top-nav-link:hover {
  background: linear-gradient(to bottom, #9ac4ff, #bbeeff);
  color: #fff;
  text-shadow: none;
  box-shadow: 0 3px 6px rgba(0, 80, 255, 0.3);
}

.top-nav-dropdown {
  display: none;
  position: absolute;
  top: calc(100% + 3px);
  left: 0;
  min-width: 190px;
  background: white;
  border: 1.5px solid #0059ff;
  border-radius: 8px;
  box-shadow: 0 6px 16px rgba(0, 80, 255, 0.25);
  z-index: 9999;
  overflow: hidden;
  top: 100%;
}

.top-nav-item:hover .top-nav-dropdown {
  display: block;
}

/* Dropdown */
.top-nav-dropdown a {
  display: block;
  padding: 7px 14px;
  color: #3c56ff;
  font-size: 13px;
  font-weight: 600;
  font-family: "DotGothic16", sans-serif;
  text-decoration: none;
  border-bottom: 1px solid #cce0ff;
  background: linear-gradient(to bottom, #f0f8ff, #e6f3ff);
  transition: background 0.15s, color 0.15s;
}

.top-nav-dropdown a:last-child {
  border-bottom: none;
}

.top-nav-dropdown a:hover {
  background: linear-gradient(to bottom, #9ac4ff, #bbeeff);
  color: #fff;
}

.recent-piece{
  display:block;
  margin-bottom:10px;
  text-decoration:none;
  color:white;
  font-size:10px;
}

.recent-piece img{
  width:100%;
  image-rendering:auto;
  border:1px solid hotpink;
}

/*more lastfm slop*/

#lastfm-widget {
  flex: 1;
  min-width: 0;
  background: linear-gradient(to bottom, #e6f3ff, #aaf2ff, #b3ff61, #ffffff);
  border-width: 10px;
  border-style: solid;
  border-image: url("https://file.garden/ZZ2PUl9MPilKgIvB/collection/borders/fp9ci4.png") 8 fill round;
  padding: 4px;
  margin: 1px 0;
  box-shadow: 0 2px 4px rgba(0,89,255,0.2);
  font-family: "MS UI Gothic", sans-serif;
  color: #000000;
}

  .lastfm-track {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 8px;
    margin: 4px 0;
    background: rgba(255,255,255,0.64);
    border-radius: 6px;
    border: 1px solid #9ac4ff;
    box-shadow: inset 0 1px 2px rgba(0,0,0,0.1);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
  }

  .lastfm-track:hover {
    transform: translateY(-1px);
    box-shadow: 0 3px 8px rgba(0,80,255,0.2);
  }

  .lastfm-track img {
    width: 40px;
    height: 40px;
    object-fit: cover;
    border-radius: 4px;
    border: 1px solid #9ac4ff;
    image-rendering: auto;
    flex-shrink: 0;
  }

  .lastfm-track-info {
    flex: 1;
    min-width: 0;
  }

  .lastfm-track-name {
    font-size: 12px;
    font-weight: bold;
    color: #0059ff;
    text-shadow: 0 0 3px #9ac4ff;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .lastfm-track-artist {
    font-size: 11px;
    color: #0d56e9;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .lastfm-nowplaying {
    font-size: 9px;
    font-weight: bold;
    color: #fff;
    background: linear-gradient(to right, #23aeff, #23aeff);
    border-radius: 4px;
    padding: 1px 5px;
    display: inline-block;
    margin-bottom: 2px;
    animation: pulse-badge 1.5s ease-in-out infinite;
  }

  @keyframes pulse-badge {
    0%, 100% { opacity: 1; }
    50%       { opacity: 0.6; }
  }

  .lastfm-loading {
    font-size: 12px;
    color: #1f69ff;
    text-align: center;
    padding: 8px;
  }

  .lastfm-error {
    font-size: 11px;
    color: #ff4466;
    text-align: center;
    padding: 6px;
  }

#tab-aboutme .welcome-small-box,
#tab-aboutme .welcome-top-box {
  margin-bottom: 12px;
}

#tab-aboutme h2 {
  margin-bottom: 10px;
}

#container, .main, #wrapper {
    width: 100%;
    max-width: 900px; /* Limits size on desktop, drops to 100% on small screens */
    margin: 0 auto;   /* Centers the site layout on widescreen monitors */
}

/* remove these when i find a better place for site buttons*/
#box-footer-buttons {
  width: 100%;
  max-width: 800px;
  margin: 0 auto;
  overflow: hidden;
  background-image: url("images/tilem.png");
  background-size: contain;
  padding: 2px 0;
}

.btn-marquee {
  display: flex;
  overflow: hidden;
}

.btn-marquee__inner {
  display: flex;
  align-items: center;
  gap: 4px;
  animation: scroll 50s linear infinite;
  padding: 2px 0;
}

.btn-marquee__inner a {
  flex-shrink: 0;
  line-height: 0;
}

/* sybauuuu osana unnie - sana */
.pop-in-auto {
  width: 300px; /* Adjust size as needed */
  animation: popInEffect 0.5s ease-out forwards;
}

/*osanas a mess mess mess - sana */
@keyframes popInEffect {
  0% {
    transform: scale(0);
    opacity: 0;
  }
  70% {
    transform: scale(1.1); /* i'm gay btw - sana */
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}

.pop-in-hover {
  width: 300px;
  /* bitchoff-Osana */
  transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275); 
}

/* nuh uh im literally batman - sana */
.pop-in-hover:hover {
  transform: scale(1.2); /* sybauuuuu - sana */
}


/* Hide on small screens alongside the tree/chao */
@media (max-width: 900px) {
  #box-topnav {
    width: 100%;
    left: 0;
  }
  .top-nav {
    justify-content: center;
  }
}

/* i used to have a crush on the T-Mobile lady */
@media (max-width: 1200px) {
  .layout {
    transform: scale(0.9) translateX(5.5%);
    transform-origin: top center;
    margin-bottom: -10%; /* getting rid of that weird gap happening on the bottom */
  }
}
@media (max-width: 900px) {
  .layout {
    transform: scale(0.75) translateX(16.5%);
    transform-origin: top center;
    margin-bottom: -25%;
  }
}
@media (max-width: 600px) {
  .layout {
    transform: scale(0.6) translateX(33%);
    transform-origin: top center;
    margin-bottom: -40%;
  }
}

@media (max-width: 900px) {
  .tree-gif,
  .overlay-gif3 {
    display: none !important;
  }
}

@media (max-width: 900px) {
  #box-header {
    text-align: center; 
  }

  #box-header img {
    position: relative !important;
    left: 0 !important;
    margin: 0 auto;
    display: block;
    max-width: 90%;
    height: auto;
  }
}

  font-family: 'Nintendo DS BIOS', sans-serif;
  font-family: 'nintendo_NTLG-DB_001', sans-serif;
  font-family: 'Super Smash 4.1', sans-serif;
  font-family: 'NintendoExt003', sans-serif;
  font-family: 'NintendoExtLE003', sans-serif;
  font-family: 'nintendo_udsg-r_std_003', sans-serif;

  img {
    max-width: 100%;
    height: auto;
  }
}