* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: Arial, sans-serif;
}
.h1{
  color: #FFFDD0;
}
body {
  background-color: #f5f5f5;
}

.container {
  display: flex;
  min-height: 100vh;
}

/* Sidebar Styles */
.sidebar {
  width: 250px;
  background-color: #FFFDD0;
  color: #800000;
  padding: 20px;
  transition: transform 0.3s ease, width 0.3s ease;
  z-index: 100;
}

.sidebar.collapsed {
  width: 0;
  padding: 0;
  overflow: hidden;
}

.sidebar-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.close-button {
  background: none;
  border: none;
  color: #800000;
  font-size: 24px;
  cursor: pointer;
}

.sidebar h2 {
  text-align: center;
}

#month-list {
  list-style: none;
}

#month-list li {
  margin-bottom: 10px;
}

#month-list a {
  color: #800000;
  text-decoration: none;
  display: block;
  padding: 8px;
  border-radius: 4px;
  transition: background-color 0.2s;
}

#month-list a:hover {
  background-color: #800000;
  color: #FFFDD0;
}

/* Main Content Styles */
.main-content {
  flex: 1;
  padding: 20px;
  background: rgb(245,91,0);
background: linear-gradient(180deg, rgba(245,91,0,1) 0%, rgba(222,174,9,1) 48%, rgba(223,255,0,1) 100%);
  transition: margin-left 0.3s ease;
}

header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 20px;
  border-bottom: 1px solid #ddd;
  width: 100%;
}

.nav-icons {
  display: flex;
  gap: 15px;
  color: #FFFDD0;
}

.menu-icon {
  background: none;
  border: none;
  font-size: 24px;
  cursor: pointer;
  text-decoration: none;
}

.datetime {
  text-align: right;
  font-size: 14px;
  color: #FFFDD0;
  box-shadow: #800000;
}

.calendar-header {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 30px 0;
  gap: 30px;
  background-color: #800000;
}

.circle-image {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
  border-radius: 10px;
  border-color: #222;
}

/* Months Grid */
.months-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 20px;
  margin-top: 30px;
}

.month-card {
  border: 1px solid #800000;
  border-radius: 15px;
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 20px 10px;
  width: 100%;
  
}

.month-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 5px 15px #800000;
}

.image-icon {
  width: 100%;
  height: 70px;
  margin-bottom: 10px;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.image-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.image-icon span {
  position: absolute;
  bottom: 15px;
  font-size: 12px;
  font-weight: bold;
}

.month-name {
  background-color: #FFFDD0;
  color: #800000;
  padding: 8px 15px;
  border-radius: 20px;
  font-weight: bold;
  font-size: 14px;
  margin-top: 10px;
}

/* Image Viewer Styles */
.hidden {
  display: none;
}

.image-header {
  display: flex;
  align-items: center;
  margin: 20px 0;
  gap: 20px;
}

.back-button,
.download-button {
  background-color: #800000;
  color: #FFFDD0;
  border: none;
  padding: 8px 15px;
  border-radius: 5px;
  cursor: pointer;
  font-size: 14px;
  transition: background-color 0.2s;
  text-decoration: none;
  display: inline-block;
}

.back-button:hover,
.download-button:hover {
  background-color: #FFFDD0;
  color: #800000;
}

#image-month-title {
  font-size: 24px;
  flex-grow: 1;
  text-align: center;
  color: #FFFDD0;
}

.image-container {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  margin-top: 20px;
  overflow: auto;
}

.calendar-month-image {
  max-width: 100%;
  height: auto;
  border: 1px solid #ddd;
  border-radius: 5px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

/* Footer */
footer {
  background-color: #FFFDD0;
  color: #800000;
  text-align: center;
  padding: 15px;
  margin-left:80px ;
}

/* Responsive Design */
@media (max-width: 768px) {
  .container {
    flex-direction: column;
  }

  .sidebar {
    width: 100%;
    transform: translateX(-100%);
    position: fixed;
    height: 100%;
    z-index: 1000;
  }

  .sidebar.active {
    transform: translateX(0);
  }

  .sidebar.collapsed {
    transform: translateX(-100%);
  }

  .months-grid {
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  }

  .image-header {
    flex-direction: column;
    gap: 10px;
  }

  #image-month-title {
    order: -1;
  }

  .back-button,
  .download-button {
    width: 100%;
    text-align: center;
  }
}

  