/* gridStyle.css: for both gridLeft.html and gridRight.html */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }
  
  body {
    background: #111;
    color: #eee;
    font-family: "Courier New", monospace;
    min-height: 100vh;
    display: flex;
    align-items: center;  
    justify-content: center;
    padding: 20px;
  }
  
.window-frame {
    background: #c19a6b;
    border: 8px solid #8b5a2b;
    border-radius: 12px;
    box-shadow: 2px 2px 10px rgba(0,0,0,0.3);
    padding: 20px;
    width: 500px;
    height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .window-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr; 
    gap: 10px;   
    width: 100%;    
    height: 100%;  
    position: relative;
  }
  
  .pane {
    background: rgba(240, 248, 255, 0.7);
    border: 4px solid #ffffff;         
    border-radius: 6px;
    position: relative;
    overflow: hidden;
    display: flex; 
    align-items: center; 
    justify-content: center;
  }

  .pane-gif {
    position: absolute;  
    top: 0; 
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;  
    opacity: 0;          
    transition: opacity 0.4s ease;
    z-index: 2;          
  }
  
  .pane:hover .pane-gif {
    opacity: 1; 
  }
 
  .pane:hover {
    border-color: #eeeeee; 
    transition: border-color 0.3s;
  }
  
  /* plant */
.window-frame {
    position: relative;
  }
  
 
  .plant-link {
    position: absolute;
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 9999; 
    text-decoration: none; 
    cursor: pointer; 
  }
  
  .plant-img {
    width: 80px;
    transition: transform 0.3s ease;
  }
  
  .plant-link:hover .plant-img {
    transform: scale(1.1) translateY(-5px);
  }
  