* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }
  
  nav {
    background-color: rgb(248, 238, 238);
    box-shadow: 3px 3px 5px rgba(0, 0, 0, 0.1);
    padding: 20px;
    position: fixed;
    width: 100%;
    z-index: 4;
  }
  
  nav ul {
    width: 100%;
    list-style: none;
    display: flex;
    justify-content: flex-end;
    align-items: center;
  
  }
  
  
  nav ul img {
    max-width: 160px;
    margin-top: 0px;
    display: block;
  }
  
  nav li:not(:first-child) {
    height: 50px;
  }
  
  nav a {
    height: 100%;
    padding: 0 20px;
    text-decoration: none;
    display: flex;
    align-items: center;
    color: red;
    font-weight: bold;
    font-size: 22px;
  
  }
  
  nav a:hover {
    background-color: rgb(202, 199, 199);
  
  }
  
  nav li:first-child {
    margin-right: auto;
  
  }
  
  .sidebar {
    position: fixed;
    top: 0;
    right: 0;
    height: 100vh;
    width: 250px;
    z-index: 999;
    background-color: rgba(163, 167, 164, 0.205);
    backdrop-filter: blur(25px);
    box-shadow: -10px 0 10px black rgba(0, 0, 0, 0.1);
    display: none;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    position: absolute;
  }
  .k-img{
    max-width: 100%;
    height: auto;
    padding-top: 8px;
  
  }
  .k-img:hover{transform: scale(1.05);
    transition: transformation 0.4s ease-in-out;
  }
  
  .sidebar li {
    width: 100%;
  
  }
  
  .sidebar a {
    width: 100%;
  }
  
  @media(max-width: 800px) {
    .hideonmobile {
      display: none;
    }
  }
  
  @media(max-width: 400px) {
    .sidebar {
      width: 100%;
      background-color: black;
    }
  
  }


  /* Header */
  .header {
    text-align: center;
    padding: 1rem 0;
    background-color: #b30000;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
  }
  
  .header h1 {
    margin: 0;
    font-size: 2rem;
    padding-top: 89px;
  }
  
  /* Grid Container */
  .grid-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    padding: 1.5rem;
  }
  
  /* Grid Items */
  .grid-item {
    display: flex;
    flex-direction: column;
    background-color: #1e1e1e;
    border: 2px solid #b30000;
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
  }
  
  .grid-item:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 15px rgba(255, 0, 0, 0.3);
  }
  
  /* Slideshow */
  .image-container {
    position: relative;
    height: 400px;
    overflow: hidden;
  }
  
  .slideshow {
    position: relative;
    width: 100%;
    height: 100%;
  }
  
  .slide {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 1s ease-in-out;
  }
  
  .slide.active {
    opacity: 1;
  }
  
  /* Content Container */
  .content-container {
    text-align: center;
  }
  
  .content-container h3 {
    margin: 0.5rem 0;
    color: #b30000;
  }
  
  .content-container p {
    font-size: 0.9rem;
    color: #d3d3d3;
    
  }
  
  
  /* Responsive */
  @media (max-width: 600px) {
    .grid-container {
      padding: 1rem;
      gap: 1rem;
    }
  
    .content-container p {
      font-size: 1.2rem;
    }
  }

  footer{
    align-items: center;
    justify-content: center;
    background-color: #b71c1c;
    color: #f1ecec;
    padding: 20px;
    font-size: 15px;
    
  }
  