.container {  display: grid;
    grid-template-columns: 100%;
    grid-template-rows: 100%;
    grid-auto-columns: 100%;
    grid-auto-rows: 100%;
    gap: 0px 0px;
    grid-auto-flow: row;
    grid-template-areas:
      "MAIN";
      font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
  }
  
  .MAIN {  display: grid;
    grid-template-columns: 100%;
    grid-template-rows: 10vh 40vh 40vh;
    gap: 0px 0px;
    grid-auto-flow: row;
    grid-template-areas:
      "MENU"
      "FIRSTPHOTO"
      "PHOTO";
    grid-area: MAIN;
  }
  
  .MENU {  display: grid;
    grid-template-columns: 20% 20% 20% 20% 20%;
    grid-template-rows: 100%;
    gap: 0px 0px;
    grid-auto-flow: row;
    grid-template-areas:
      "SOLE O-NAS NIERUCHOMOŚCI USŁUGI  KONTAKT";
    grid-area: MENU;
  }
  
  a {
    text-decoration: none;
    color: black;
 }
  
  .SOLE { grid-area: SOLE;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5vw; }
  
  .NIERUCHOMOŚCI { grid-area: NIERUCHOMOŚCI;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5vw;
    text-align: center;
    text-decoration: none;
    }
  
  .USŁUGI { grid-area: USŁUGI;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5vw;
    text-align: center;
    text-decoration: none;}
  
  .O-NAS { grid-area: O-NAS;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5vw;
    text-decoration: none;}
  
  .KONTAKT { grid-area: KONTAKT;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5vw;
    text-decoration: none;
 }

 .FIRSTPHOTO{
    display: grid;
    background-image: url("wynajem.jpg");
    background-size: 100%;
    background-repeat: no-repeat;
    grid-area: FIRSTPHOTO; 
 }

 

 

  .FIRSTPHOTO h2 {
    margin: 0;
    font-size: 4em;
    text-decoration:underline;
    color: white;
    z-index: 2;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 7%;
  }
  
  
  .PHOTO {  display: grid;
    grid-template-columns: 33vw 33vw 33vw;
    grid-template-rows: 33vh 33vh 33vh;
    gap: 0px 0px;
    grid-auto-flow: row;
    grid-template-areas:
    "Info1 Info2 Info3"
    "Info4 Info5 Info6"
    "Info7 Info8 Info9";

    grid-area: PHOTO;  
  }

  

  
  .Info1 { grid-area: Info1; 
    font-size: 1.7em;
    display: flex;
    align-items: center;
    justify-content: center;
    
    margin: 3%;
    background-color: hsla(78, 74%, 47%, 0.150)}
  
  .Info2 { grid-area: Info2; 
    font-size: 1.7em;
    display: flex;
    align-items: center;
    justify-content: center;
    
    margin: 3%; 
    background-color: hsla(78, 74%, 47%, 0.150);}
  
  .Info3 { grid-area: Info3; 
    font-size: 1.7em;
    display: flex;
    align-items: center;
    justify-content: center;
    
    margin: 3%;
    background-color: hsla(78, 74%, 47%, 0.150);}
  
  .Info4 { grid-area: Info4; 
    font-size: 1.7em;
    display: flex;
    align-items: center;
    justify-content: center;
    
    margin: 3%;
    background-color: hsla(78, 74%, 47%, 0.150); }
  
  .Info5 { grid-area: Info5;
    font-size: 1.7em;
    display: flex;
    align-items: center;
    justify-content: center;
    
    margin: 3%;
    background-color: hsla(78, 74%, 47%, 0.150);
 }
  
  .Info6 { grid-area: Info6; 
    font-size: 1.7em;
    display: flex;
    align-items: center;
    justify-content: center;
    
    margin: 3%;
background-color: hsla(78, 74%, 47%, 0.150); }

.Info7 { grid-area: Info7; 
    font-size: 1.7em;
    display: flex;
    align-items: center;
    justify-content: center;
    
    margin: 3%;
    background-color: hsla(78, 74%, 47%, 0.150); }

.Info8 { grid-area: Info8; 
        font-size: 1.7em;
        display: flex;
        align-items: center;
        justify-content: center;
        
        margin: 3%;
        background-color: hsla(78, 74%, 47%, 0.150); }

.Info9 { grid-area: Info9; 
       font-size: 1.7em;
       display: flex;
        align-items: center;
        justify-content: center;
        margin: 3%;
        background-color: hsla(78, 74%, 47%, 0.150); }

        .dropdown-content {
          display: none;
          position: absolute;
          background-color: white;
          min-width: 20%;
          width: 100%;
          box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
          z-index: 3;
          top: 10vh;
          align-items: center;
        }
       
   

    @media (max-width: 768px) {
      .MAIN {  display: grid;
        grid-template-columns: 100%;
        grid-template-rows: 5vh 15vh 40vh;
        gap: 0px 0px;
        grid-auto-flow: row;
        grid-template-areas:
          "MENU"
          "FIRSTPHOTO"
          "PHOTO";
        grid-area: MAIN;
      }
      
      .MENU {  display: grid;
        grid-template-columns: 20% 20% 20% 20% 20%;
        grid-template-rows: 100%;
        gap: 0px 0px;
        grid-auto-flow: row;
        grid-template-areas:
          "SOLE O-NAS NIERUCHOMOŚCI USŁUGI  KONTAKT";
        grid-area: MENU;
      }
  
      .PHOTO {  display: grid;
        grid-template-columns: auto;
        grid-template-rows: 20vh 20vh 20vh 20vh 15vh 15vh 33vh 33vh 15vh ;
        grid-auto-flow: row;
        grid-template-areas:
        "Info1" 
        "Info2"
        "Info3"
        "Info4"
        "Info5" 
        "Info6"
        "Info7"
        "Info8"
        "Info9";
    
        grid-area: PHOTO;  
      }
  
      .Info1 { grid-area: Info1;; 
        font-size: 5vw;
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 2%;
        margin: 3%;
        background-color: hsla(78, 74%, 47%, 0.150)}
      
      .Info2 { grid-area: Info2;; 
        font-size:5vw;
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 2%;
        margin: 3%; 
        background-color: hsla(78, 74%, 47%, 0.150);}
      
      .Info3 { grid-area: Info3;; 
        font-size: 5vw;
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 2%;
        margin: 3%;
        background-color: hsla(78, 74%, 47%, 0.150);}
      
      .Info4 { grid-area: Info4;; 
        font-size: 5vw;
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 2%;
        margin: 3%;
        background-color: hsla(78, 74%, 47%, 0.150); }
      
      .Info5 { grid-area: Info5;
        font-size: 5vw;
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 2%;
        margin: 3%;
        background-color: hsla(78, 74%, 47%, 0.150);
     }
      
      .Info6 { grid-area: Info6;; 
        font-size: 5vw;
        display: flex;
        align-items: center;
        justify-content: center;
        margin: 3%;
    background-color: hsla(78, 74%, 47%, 0.150); 
    padding: 2%;}
        
    .Info7 { grid-area: Info7; 
      font-size: 5vw;
      display: flex;
      align-items: center;
      justify-content: center;
      padding: 2%;
      margin: 3%;
      background-color: hsla(78, 74%, 47%, 0.150); }
  
    .Info8 { grid-area: Info8; 
          font-size: 5vw;
          display: flex;
          align-items: center;
          justify-content: center;
          padding: 2%;
          margin: 3%;
          background-color: hsla(78, 74%, 47%, 0.150); }
  
    .Info9 { grid-area: Info9; 
         font-size: 5vw;
         display: flex;
          align-items: center;
          justify-content: center;
          margin: 3%;
          background-color: hsla(78, 74%, 47%, 0.150); }
      
  
    .FIRSTPHOTO{
      display: grid;
      background-image: url("wynajem.jpg");
      background-size: 100%;
      background-repeat: no-repeat;
      grid-area: FIRSTPHOTO; 
   }
   
  
  .FIRSTPHOTO h2 {
    margin: 0;
    font-size: 8vw;
    text-decoration:underline;
    color: white;
    z-index: 2;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 7%;
  } 
  
  .SOLE { grid-area: SOLE;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3vw; }
  
  .NIERUCHOMOŚCI { grid-area: NIERUCHOMOŚCI;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3vw;
    text-align: center;
    text-decoration: none;
    }
  
  .USŁUGI { grid-area: USŁUGI;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3vw;
    text-align: center;
    text-decoration: none;}
  
  .O-NAS { grid-area: O-NAS;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3vw;
    text-decoration: none;}
  
  .KONTAKT { grid-area: KONTAKT;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3vw;
    text-decoration: none;
  }

  .dropdown-content {
    display: none;
    position: absolute;
    background-color: white;
    min-width: 20%;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 3;
    top: 5vh;
    align-items: center;
    font-size: 2vw;
  }
  }

            
  /* The container <div> - needed to position the dropdown content */
  .dropdown {
    position: relative;
  display: flex; /* Dodajemy flexbox */
  align-items: center; /* Wyśrodkowanie w pionie */
  justify-content: center; /* Wyśrodkowanie w poziomie */
  width: 100%;
  height: 100%;
  

  }
  
  /* Dropdown Content (Hidden by Default) */
  
  
  /* Links inside the dropdown */
  .dropdown-content a {
    color: black;
    padding: 12px 5px;
    text-decoration: none;
    display: block;
    text-align: center;
  }
  
  /* Change color of dropdown links on hover */
  .dropdown-content a:hover {background-color: #ddd;}
  
  /* Show the dropdown menu on hover */
  .NIERUCHOMOŚCI:hover .dropdown-content {display: block;}
  
  /* Change the background color of the dropdown button when the dropdown content is shown */
  .NIERUCHOMOŚCI:hover .dropbtn {background-color: #3e8e41;}
  
  
  .USŁUGI:hover .dropdown-content {display: block;}
  