/* Variables */
            :root {
                /* colors */
                --basecolor: #fdfefe;
                --color1: #0081a7;
                --color2: #00afb9;
                --color3: #fdfcdc;
                --color4: #fed9b7;
                --color5: #f07167;
            }
* {
margin: 0;
padding: 0;
box-sizing: border-box;}

  
/* Basics */
body {
font-family: 'Nunito';
background: var(--basecolor); 
color: var(--basecolor);
font-size:12px;
display: flex;
min-height: 100vh;
letter-spacing:1px;}
  
textarea {background:#222;color:#999;letter-spacing:1px;font-size:10px;}
    
/* Links */
a:link,a:visited,a:active { color: var(--color5); text-decoration: none; }
a:hover { color: var(--color3); }
  
/* Scrollbar */
::-webkit-scrollbar-thumb {
background-color: #000; 
border:1px solid #eee;
border-radius: 3px;}

::-webkit-scrollbar { 
width: 7px; 
height: 0px; 
background: transparent; }
    

/* Sidebar */
.sidebar {
position: sticky;
font-size: 14px;
top: 0;
height: 100vh;
width: 200px;
background: var(--color2);
padding: 20px;
display: flex;
flex-direction: column;
align-items: center;
flex-shrink: 0;}

.sidebar h2 {
font-family: 'Dongle';
font-size: 32px;
color: var(--color5);
margin-bottom: 10px;
text-shadow: 2px 2px 4px white;
letter-spacing:3px;}

.sidebar a {
color: var(--basecolor);
text-decoration: none;
margin: 10px 0;
transition: color 0.3s;}

.sidebar a:hover {
color: var(--color1);}
    
.blinkie {margin-bottom:5px;}

/* Main Content */
.content {
flex: 1;
padding: 50px 20px 20px 50px; 
background: url(https://64.media.tumblr.com/4f3462cf7754229ea31ff5078833402f/00e53650586036f5-ce/s1280x1920/fdfece1057a74e1a7ea699680cad7d68186bdf84.gifv) repeat-x;}

.site-name {
font-family: 'Dongle';
font-size: 54px;
color: var(--color5);
margin-bottom: 10px;
text-shadow: 3px 3px 6px white;
text-align:center;}
    
.slogan {
font-family: 'Nunito';  
text-align:center;
font-style:italic;
color:#82e9e9;}

.post {
background: var(--color1);
border: 2px solid var(--color2);
border-radius: 10px;
padding: 20px;
margin-bottom: 20px;
box-shadow: 0 0 10px var(--color1);
max-width: 500px;
width: 100%;}

.post h3 {
font-family: 'Nunito';
margin-bottom: 10px;
color: var(--basecolor);
letter-spacing:2px;}

/* 1. Define the grid container */
.image-grid {
display: grid;
/* Automatically fits as many columns as possible, minimum 250px wide */
grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
/* Adds a 16px gap between the grid items */
gap: 8px;
padding: 8px;
}

/* 2. Style the images inside the grid */
.image-grid img {
width: 100px;
height: 100px; /* Forces all images to have the same height */
object-fit: cover; /* Prevents stretching by cropping to fit nicely */
border: 2px solid white;
border-radius: 50px; /* Optional: rounds the corners of your images */
}

/* This makes layout responsive ! */
@media (max-width: 768px) {
body {
flex-direction: column;}

.sidebar {
position: relative;
height: auto;
width: 100%;
flex-direction: row;
justify-content: center;
flex-wrap: wrap;
}
      

.sidebar h2 {
width: 100%;
text-align: center;
margin-bottom:5px;}

.content {
padding: 15px;
padding-top:50px;}

.site-name {
font-size: 24px;
text-align: center;}
}
