@font-face {
  font-family: 'Gaegu';
  src: url(/assets/fonts/Gaegu/Gaegu-Light.ttf);
}

body{
background-color: #e8f5e9; /* light green background */
font-family: 'FortySeven Micro NBP', sans-serif;
}

#container{
display: flex;
justify-content: center;
align-items: center;
width: 800px;
margin: 0 auto;
border: 1px solid #4caf50;
padding: 3px;
}

#box{
width: 800px;
background-color: #e8f5e9;
color: #000;
border: 1px solid #4caf50;
}

#header{
margin-bottom: 10px;
padding: 10px;
border-bottom: 1px solid #4caf50;
background-image: linear-gradient(to right, #4caf50, #a5d6a7);
color: #fff;
letter-spacing: 3px;
}

#header h1{
margin: 0px;
}

#side{
float: left;
width: 145px;
padding: 0px 0px 5px 10px;
overflow: hidden;
}

.sidebox{
border: 1px solid #4caf50;
margin: 0px 0px 5px 0px;
}

.sidecontent{
padding: 0px 0px 0px 5px;
color: #2e7d32;
font-size: 17px;
letter-spacing: 1px;
}

.sidecontent ul, li{
margin: 0px;
list-style-type: none;
padding-left: 0px;
}

a{
text-decoration: none;
color: #4caf50;
}

a:visited{
color: #388e3c;
}

a:hover{
text-shadow: 0px 0px 2px #a5d6a7;
}

#scrollcontainer{
padding: 5px;
}

#scrolly{
overflow: scroll;
overflow-x: hidden;
width: 110px;
height:110px;
border: 1px solid #4caf50;
margin: 0 auto;
text-align: center;
}

#scrollyheader{
margin: 0px;
border-bottom: 1px dotted #4caf50;
}

#main{
float: right;
width: 624px;
overflow: hidden;
padding: 0px 10px 5px 0px;
}

.mainboxes{
border: 1px solid #4caf50;
padding: 0px;
margin: 0px 0px 5px 0px;
}

.subheader{
background-image: linear-gradient(to right, #4caf50, #a5d6a7);
border-bottom: 1px solid #4caf50;
padding: 3px;
color: #fff;
letter-spacing: 3px;
}

.subheader h3{
margin: 0px;
}

.mainboxescontent{
padding: 0px 15px 0px 15px;
color: #2e7d32;
font-size: 17px;
}

#footer{
clear: both;
padding: 3px;
border-top: 1px solid #4caf50;
background-image: linear-gradient(to right, #4caf50, #a5d6a7);
color: #fff;
font-size: 14px;
}

#footer p{
margin: 0px;
}

::-webkit-scrollbar{
width: 8px;
}

::-webkit-scrollbar-track{
background-color: #e8f5e9;
}

::-webkit-scrollbar-thumb{
background-color: #4caf50;
}


/* blog iframe thingy */
iframe{
border: none;
}

.mainboxescontent {
  font-family: 'Gaegu';
  font-size: 15px;
}

/*about me page*/
.frogjk img {
  width: 200px;
  height: auto;
}

.actual img {
  width: 200px;
  height: auto;

}

/* === Status Widget (theonlyfrogs green theme) === */

.status-section {
  font-family: 'Gaegu', sans-serif;
  color: #2e7d32;
  margin: 1.5rem 0;
}

.status-section h2 {
  font-size: 1rem;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: #fff;
  background-image: linear-gradient(to right, #4caf50, #a5d6a7);
  border: 1px solid #4caf50;
  padding: 5px 8px;
  margin: 0 0 6px 0;
  border-radius: 4px;
  text-shadow: 0 0 2px #2e7d32;
}

.status-section h2 a {
  color: #fff;
  text-decoration: none;
}

.status-section h2 a:hover {
  text-shadow: 0 0 4px #c8e6c9;
}

/* container for all statuses */
.status-list {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}

/* individual bubble */
.status-bubble {
  background-color: #e8f5e9;
  border: 1px solid #4caf50;
  border-radius: 8px;
  padding: 0.6rem 0.8rem;
  box-shadow: 1px 1px 0 #a5d6a7;
  transition: transform 0.2s ease, box-shadow 0.3s ease;
}

.status-bubble:hover {
  transform: translateY(-2px);
  box-shadow: 2px 2px 0 #81c784;
}

/* date */
.status-date {
  font-size: 0.8rem;
  color: #388e3c;
  display: block;
  margin-bottom: 0.2rem;
  font-family: "JetBrains Mono", monospace;
}

/* text */
.status-text {
  font-size: 0.95rem;
  color: #2e7d32;
  white-space: pre-wrap;
  word-wrap: break-word;
  line-height: 1.5;
}

/* fade-in animation */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(3px); }
  to { opacity: 1; transform: translateY(0); }
}

.status-bubble {
  animation: fadeIn 0.4s ease forwards;
}

.mainboxescontent .status-section {
  margin-top: 10px;
}


/* --- Wrapper layout --- */
.nowplaying-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 8px;
  transition: all 0.4s ease;
}

.nowplaying-wrapper.idle {
  flex-direction: row;
  justify-content: space-between;
}

.nowplaying-wrapper.active {
  justify-content: center;
}

/* --- Adaptive container --- */
#now-playing-box {
  width: 420px;
  background-color: #e8f5e9;
  border: 1px solid #4caf50;
  border-radius: 8px;
  padding: 8px;
  margin: 10px auto;
  font-family: 'Gaegu', sans-serif;
  color: #1b5e20;
  box-shadow: 0 2px 4px rgba(76, 175, 80, 0.25);
  transition: width 0.4s ease, background-color 0.3s ease;
}

/* Make the box wider when idle (to fit right-hand list) */
.nowplaying-wrapper.idle #now-playing-box,
#now-playing-box.idle {
  width: 520px;
}

/* --- Track Card --- */
.track-card {
  display: flex;
  align-items: center;
  gap: 18px;
  background: #f1f8e9;
  border: 1px solid #a5d6a7;
  border-radius: 6px;
  padding: 6px;
  transition: all 0.3s ease;
  width: 100%;
}

.track-card.playing {
  background-image: linear-gradient(to right, #81c784, #a5d6a7);
  border-color: #66bb6a;
  box-shadow: 0 0 8px rgba(76, 175, 80, 0.5);
}

.track-card.idle {
  opacity: 0.8;
  filter: grayscale(40%);
}

/* --- Album Art + Notes --- */
.album-art {
  position: relative;
  margin-right: 6px;
}

.album-art img {
  width: 64px;
  height: 64px;
  border-radius: 4px;
  border: 1px solid #4caf50;
}

.music-notes {
  position: absolute;
  top: 0;
  width: 40px;
  height: 64px;
  overflow: visible;
  pointer-events: none;
  left: 80%;
}

.music-notes span {
  position: absolute;
  opacity: 0;
  transform: translateY(0);
}

/* Floating animation */
@keyframes floatNote {
  0% {
    opacity: 0;
    transform: translateY(10px) scale(0.9);
  }
  10% {
    opacity: 1;
  }
  70% {
    opacity: 1;
    transform: translateY(-40px) scale(1.1);
  }
  100% {
    opacity: 0;
    transform: translateY(-60px) scale(1);
  }
}

/* --- Right-hand recent tracks --- */
.recent-tracks-side {
  width: 150px;
  text-align: left;
  border-left: 1px dashed #a5d6a7;
  padding-left: 6px;
  animation: fadeIn 0.4s ease;
}

.recent-tracks-side .recent-title {
  font-size: 0.9em;
  color: #33691e;
  font-weight: bold;
  margin-bottom: 4px;
}

.recent-tracks-side ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.recent-tracks-side li {
  display: flex;
  align-items: center;
  gap: 5px;
  margin-bottom: 4px;
}

.recent-tracks-side li img {
  width: 24px;
  height: 24px;
  border-radius: 4px;
  border: 1px solid #a5d6a7;
}

.recent-info {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.recent-song {
  font-weight: bold;
  font-size: 0.8em;
  color: #2e7d32;
}

.recent-artist {
  font-size: 0.75em;
  color: #33691e;
}

/* --- Fade Animation --- */
.fade-in {
  animation: fadeIn 0.6s forwards;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(3px); }
  to { opacity: 1; transform: translateY(0); }
}

.status-bubble {
  border: 1px solid #4caf50;
  background: #e8f5e9;
  border-radius: 12px;
  padding: 0.75rem;
  margin-bottom: 1rem;
  box-shadow: 0 2px 3px rgba(0,0,0,0.1);
}

.status-date {
  display: block;
  font-size: 0.8rem;
  color: #388e3c;
  margin-bottom: 0.25rem;
}

.status-text {
  font-family: 'Gaegu', sans-serif;
  line-height: 1.4;
}

