

  .div{

    height: 4px;
  } 

    
    
    .grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-auto-rows: 100px;
  grid-gap: 8px;
}

.grid-item {
  transition: transform 0.3s ease, box-shadow 0.3s ease;

}

.grid-item:nth-child(8n+1),
.grid-item:nth-child(8n+3),
.grid-item:nth-child(8n+5),
.grid-item:nth-child(8n+6) {
  grid-row: span 2;

}


    /* Make logo auto-resize and fit nicely */
    .navbar-brand img {
      max-height: 50px; /* Adjust height */
      width: auto;
      height: auto;
    }

.navbar {
  background-color: #f3bd55;
  border-bottom: 5px solid #84c228;
}
.grid-item:hover {
    transform: scale(1.1); /* zoom in by 10% */
    box-shadow: 0 8px 20px rgba(0,0,0,0.3);
    border-color: whitesmoke;
  }

@keyframes roll {
  from { transform: rotateY(0deg); }
  to { transform: rotateY(360deg); }
}
.logo {
  
  animation: roll 4s linear infinite;
  transform-style: preserve-3d;
  max-height: 60px; /* default logo height */
  height: auto;
  width: auto;
}


body {
    background-image: url('../img/bg.png');
     background-size: cover;         /* keep aspect ratio */
    background-position: center;     /* center the image */
    background-repeat: no-repeat;
}


 .loader-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: white; /* background color */
  display: flex;
  justify-content: center; /* center horizontally */
  align-items: center;     /* center vertically */
  z-index: 9999;
}

/* Loader image */
.loader img {
  width: 100px; /* adjust size */
  animation: spin 2s linear infinite;
}

/* Spin animation */
@keyframes spin {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

/* Smooth fade-out effect */
.fade-out {
  animation: fadeOut 0.8s ease forwards;
}

@keyframes fadeOut {
  to { opacity: 0; visibility: hidden; }
}