html {
  overflow-y: scroll;
}

/* font */

@font-face {
  font-family: FuzzyBubbles;
  src: url(FuzzyBubbles-Regular.ttf);
}

@font-face {
  font-family: FuzzyBubbles;
  src: url(FuzzyBubbles-Bold.ttf);
  font-weight: bold;
}

div {
  font-family: FuzzyBubbles;
}

/* actual page stuff */

body {
  background-color: #2f00ff;
  background-image: url(img/checker.png);
  background-repeat: repeat;
  background-size: auto;
}

.container {
  max-width: 900px;       
  margin: 0 auto;        
  padding: 0 20px;       
  display: flex;
  flex-direction: column;
  align-items: center;
  height: 100%;
  justify-content: center;
}

header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 80px;
  background-color: rgba(112, 121, 171, 0.1);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  display: flex;
  z-index: 1000;
  align-items: center;
  justify-content: center;
}

header .logo {
    height: 95%;
    max-height: 100%;
    width: auto;
    object-fit: contain;
}

.center-text {
  text-align: center;
}

nav {
    display: flex;
    gap: 20px; 
    justify-content: center;
}

nav a {
    color: Black;
    text-decoration: none;
    margin-left: 0px;
}

nav a:hover {
    text-decoration: underline;
}

.content {
  padding-top: 90px;
  padding-left: 250px; 
  padding-right: 470px;
}

/* sidebars */

.left-sidebar-nav {
  position: fixed;
  top: 80px; 
  left: 0;
  bottom: 0;
  width: 150px;
  display: flex;
  flex-direction: column;
  justify-content: space-evenly;
  align-items: flex-start;
  padding: 20px;
  height: calc(100vh - 80px);
  box-sizing: border-box;
}

.left-sidebar-nav a {
  font-family: FuzzyBubbles;
  text-decoration: none;
  color: rgb(255, 255, 255);
  font-size: 30px;
  position: relative;
  display: inline-block;
  padding-bottom: 5px;
}

.left-sidebar-nav a::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  margin: auto;
  height: 2px;
  width: 0;
  background-color: #ffffff;
  transition: width 0.2s ease;
}

.left-sidebar-nav a:hover::after {
  width: 100%;
}

.ballman-right {
  position: fixed;
  top: 80px;
  right: 0;
  bottom: 0;
  width: 150px;
  padding: 0; 
  display: flex;
  flex-direction: column;
  justify-content: flex-end; 
  align-items: flex-end;    
}

.ballman-right img{
  width: 450px;
  height: auto;
}

/* transformations */

.trans-in {
  opacity: 0;
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
  will-change: opacity, transform;
}

.from-left {
  transform: translateX(-20px);
}

.from-top {
  transform: translateY(-20px);
}

.from-right {
  transform: translateX(20px);
}

.from-bottom {
  transform: translateY(20px);
}

.visible {
  opacity: 1;
  transform: translateX(0) translateY(0);
}

/* posts */

.devlog-content {
  padding-top: 90px;
  padding-left: 250px; 
}

.post {
  position: relative;
  background-color: #6259e4;
  border-radius: 12px;
  padding: 20px;
  margin-bottom: 15px;
  color: rgb(0, 0, 0);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4); 
}

.post-date {
  position: absolute;
  top: 10px;
  right: 15px;
  color: #ffffff;
  font-size: 0.85em;
  padding: 4px 8px;
  border-radius: 6px;
  font-weight: bold;
}

.post-body img {
  margin: 3px 0;
  max-width: 100%;
  border-radius: 8px;
}

.post-body h1, .post-body h2, .post-body h3 {
  margin-top: 10px;
  margin-bottom: 10px;
}

.post-body strong {
  font-weight: bold;
}

.author-meta {
  display: flex;
  align-items: center;
  margin-bottom: 15px;
}

.author-avatar {
  width: 60px;
  height: auto;
  border-radius: 50%;  
  object-fit: cover;        
  margin-right: 10px;
  border: 2px solid white;   
}

.author-name {
  font-weight: bold;
  font-size: 1.3em;
  color: white;
}