body {
  margin: 0;
  font-family: Arial, sans-serif;
}

.container {
  display: flex;
}

/* Sidebar */
.sidebar {
  width: 200px;
  background: #2a34c1;
  padding: 20px;
  height: 725vh;
}

.sidebar h2 {
  text-align: center;
}

.sidebar a {
  display: block;
  padding: 10px;
  margin: 5px 0;
  text-decoration:none;
  color: rgb(8, 9, 80);
  background: #24addf;
  border-radius: 5px;
  text-align: center;
}

.sidebar a:hover {
  background: #20e3a9;
}

/* Main content */
.main {
  flex: 1;
  background-color: aliceblue;
  padding: 20px;
}

.tabcontent {
  display: none;
}

.tabcontent:target {
  display: block;
}

/* Show Home when opening */
body:not(:has(:target)) #home {
  display: block;
}


/* Grid for homecards */
.home-grid {
  display:block;
  grid-template-rows: repeat(2, 1fr);
  gap:10px;
  width: 1250px;
  margin-top: 30px;
}

.home-card {
  background: #2a34c1;
  text-align: center;
  padding: 20px;
  text-align: center;
  border-radius: 8px;
  height: 50px;

  text-decoration: none;
  color: rgb(64, 176, 228);
  display: block;
  font-size: 30px; 
  font-weight: bold;


}

.home-card a {
  text-decoration: none;
  color: rgb(64, 176, 228);
  display: block;
}

.home-card:hover {
  background: #20e3a9;
  color: rgb(15, 31, 113);
}


/* Meme images */
.tabcontent img {
  display: block;
  margin: 10px auto;
  max-width: 90%;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

/* Meme captions */
.tabcontent h3 {
  text-align: center;
  margin-top: 10px;
  margin-bottom: 5px;
  color: #2a34c1;
  font-weight: normal;
}

/* Headings */
.tabcontent h1 {
  margin-bottom: 20px;
  color: #2a34c1;
  text-align: center;
}

.tabcontent h2 {
  margin-top: 20px;
  margin-bottom: 10px;
  color: #0f1f71;
  text-align: center;
}






/* Month layout*/
.month {
  display: flex;          
  flex-wrap: wrap;        
  gap: 20px;              
  margin-bottom: 40px;   
}

.month div {
  text-align: center; 
  flex: 0 1 300px; 
}
    

.month img {
  max-width: 300px;       
  width: 100%;
  border-radius: 10px;    
  box-shadow: 0 4px 8px rgba(0,0,0,0.2); 
}
