* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: sans-serif;
  background: linear-gradient(to bottom, #2b2b2b, #202930, #2b2b2b);
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  background: none;

}

header,
footer {
  background-color: none;
  color: white;
  padding: 1em;
  text-align: center;
}

#banner {
    display: flex;
    align-items: center;
    justify-content: center;
}

#banner h1 {
    color: #ffffff;
    margin: 0;
    padding: 5px;
    font-size: 45px;
    text-shadow: 4px 4px 6px #000000;
}

#banner img {
    width: 80px;
	padding: 0px 10px 0px 10px;
}

.content {
  display: flex;
  flex-wrap: wrap;
  column-gap: 0;
  row-gap: 1em;
  padding: 0 2em;
  align-items: flex-start;

}

/* nav stuff */
#topnav {
  max-width: 1200px;
  padding: 0.5em;
  gap: 1em;
  margin: 0 3em;
  background: linear-gradient(to bottom, #969696, #616161);
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
  flex-wrap: wrap;
  position: sticky;
  top: 0;
  z-index: 1;
}


.nav-top {
  padding: 0.1em 1em;
  border-bottom: 1px solid #444;
  font-size: 20px;
}

.nav-bottom {
  padding: 0em 1em;
  display: flex;
  justify-content: flex-end;
  align-items: center;
}

.site-links {
  display: flex;
  gap: 0.5em;
}

.site-links a {
  color: white;
  text-decoration: none;
  font-weight: bold;
  transition: color 0.2s;
  padding: 4px;
  border-radius: 0.25rem;
}

.site-links a:hover {
  color: #000000;
  background-color: #00bfff;
  padding: 4px;
  border-radius: 0.25rem;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.social-links {
  display: flex;
  gap: 0.5em;
}

.social-links img {
  width: 35px;
  height: 35px;
  filter: brightness(0) invert(1);
  transition: transform 0.2s, filter 0.2s;
}

.social-links a:hover img {
  transform: scale(1.1);
  filter: brightness(0.8)
    sepia(0.2)
    saturate(8)
    hue-rotate(185deg);
}

.changelog li {
  font-size: 1em;
}

.changelog li small{
  font-size: 0.9em;
  font-weight: bold;
}

/* nav stuff ends */


/* main stuff*/
main {
  flex: 1;
  padding: 1em;
  display: flex;
  flex-direction: column;
  gap: 1em;
}


.main-section {
  background-color: #fff;
  padding: 1.2em;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
}


.main-section h2 {
  margin-top: 0;
  font-size: 1.2em;
  border-bottom: 1px solid #ddd;
  padding-bottom: 0.4em;
}

.main-section ul {
  padding-left: 0;
  margin: 0;
}

.main-section ul li{
  list-style: none;
}

/* end of main stuff */





/* aside stuff*/
aside {
  width: 28%;
  padding: 1em;
  display: flex;
  flex-direction: column;
  gap: 1em;
  position: sticky;
  top: 90px;
  height: fit-content;
}

.aside-section {
  font-size: 13px;
  background-color: #fff;
  padding: 0;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
  max-height: auto;           /* Set the height you want */
  scroll-behavior: smooth;
}

.changelog-container {
  height: 220px;
  overflow-y: scroll;
  overflow-x: hidden;
}

.aside-section h3 {
  margin-top: 0;
  font-size: 1em;
  padding: 8px;
  border-bottom: 1px solid #ddd;
  padding-bottom: 0.5em;
  border-radius: 8px 8px 0px 0px;
  background: linear-gradient(to bottom, #b1b6cc, #61e5ff);
}

.aside-section ul {
  list-style: none;
  padding-left: 9px;
  margin: 0;
}

.aside-section ul li {
  margin-bottom: 1.5em;
}

.aside-section a {
  text-decoration: none;
  color: #000000;
  padding: 8px 12px;
  border-radius: 0.7rem;
  background-color: #bbbbbb;
  text-decoration: none;
  margin: 5px;
}

.aside-section a:hover {
  background-color: #61e5ff;
  padding: 8px;
  border-radius: 0.7rem;
  color: #000000;
  text-decoration: none;
}

/* end of aside stuff */


/* footer stuff*/
footer a {
  text-decoration: none;
  color: #ffffff;
}
/* end of footer stuff */

/* form stuff */
.editform {
    background: white;
    padding: 20px;
    display: flex;
    flex-direction: column;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
}

#textlog {
    display: block;
    resize: none;
    width: 400px;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
}

.editform button {
    background-color: #4CAF50;
    color: white;
    border: none;
    cursor: pointer;
    width: 100px;
}

.editform button:hover {
    background-color: #45a049;
}

.form-error{
    color: red;
}

.main-section h3 {
    color: #000000;
    margin-top: 0;
    font-size: 1.2em;
    padding-bottom: 0.4em;
    margin-inline: auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

.login-section h3 {
    color: #ff0000;
    margin-top: 0;
    font-size: 1.2em;
    padding-bottom: 0.4em;
}

.login-section {
    background-color: #fff;
    padding: 1.2em;
    border-radius: 8px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
    margin-inline: auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* end of form stuff*/

/* blog stuff*/
.post { 
    margin-bottom: 20px; 
    padding: 10px; 
    border-bottom: 1px solid #ccc; 
}
    
.post-title { 
    font-size: 1.2em; 
    font-weight: bold; 
}
    
.post-date { color: gray; 
    font-size: 0.9em; 
}
/* end of blog stuff*/


/* Date Calendar HW stuff */
:root {
  --font-mono: #000000;
  --color-text-primary: #111111;
  --color-text-secondary: #666666;
  --color-text-tertiary: #999999;
  --color-text-info: #1a6db5;
  --color-border-tertiary: rgba(0, 0, 0, 0.15);
}

  .hw{
    font-family:var(--font-mono);
    font-size:13px;
    line-height:2;
    white-space:nowrap;
    padding:0.5rem 0;
  }

  .hw-row{
    display:flex;
    gap:0.75rem;
    align-items:baseline;
  }

  .hw-label{
    color:var(--color-text-secondary);
    font-size:11px;
    width:3ch;
    flex-shrink:0;
    text-align:right;
  }

  .hw-date{
    color:var(--color-text-secondary);
    flex-shrink:0;
  }

  .hw-name{
    color:var(--color-text-primary);
    font-weight:500;
  }

  .hw-today-date{
    color:var(--color-text-primary);
    font-weight:500;
  }

  .hw-holiday-name{
    color:var(--color-text-info);
    font-weight:500;
  }

  .hw-past .hw-name,.hw-past .hw-date {
    color:var(--color-text-tertiary);
  }

  .hw-divider{border:none;
    border-top:0.5px solid var(--color-border-tertiary);
    margin:0.25rem 0;
  }

/* 🔁 Mobile Responsive Styles */
@media (max-width: 700px) {

  #topnav {
    max-width: 700px;
    margin: 0 1em;
    gap: 0.5em;
    padding: 0.1em;
  }

  .content {
    flex-direction: column;
    gap: 0.5em;
    padding: 0 0;
  }
  aside {
    width: 100%;
  }

  .aside-section ul li {
  margin-bottom: 1.7em;
}

.aside-section a {
  padding: 10px 15px;
  margin: 5px;
}

.aside-section a:hover {
  padding: 10px;
}

  main {
    width: 100%;
  }

header,
footer {
  padding: 0.2em;
}

.nav-top {
  padding: 0.5em 1em;
  border-bottom: 1px solid #444;
  font-size: 0.9em;
}

.site-links {
  display: flex;
  gap: 0.5em;
}

.social-links {
  display: flex;
  gap: 0.2em;
}

.social-links img {
  width: 25px;
  height: 25px;
}

}


