.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("onas.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;
    gap: 0px 0px;
    grid-auto-flow: row;
    grid-area: PHOTO; 
    font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
    font-size: 2em; 
  }

  

.TEXT{
    margin: 2%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: hsla(78, 74%, 47%, 0.150);
    padding: 1%;
    line-height: 140%;
    text-indent: 3%;
}

.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;
}




/* Change color of dropdown links on hover */
.dropdown-content a:hover {background-color: #ddd;}
@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;
    gap: 0px 0px;
    grid-auto-flow: row;
    grid-area: PHOTO; 
    font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
    font-size: 2em; 
  }

  
  

.FIRSTPHOTO{
  display: grid;
  background-image: url("onas.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;
}

.PHOTO {  display: grid;
  gap: 0px 0px;
  grid-auto-flow: row;
  grid-area: PHOTO; 
  font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
  font-size: 6vw; 

}



.TEXT{
  margin: 2%;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: hsla(78, 74%, 47%, 0.150);
  padding: 5%;
  line-height: 140%;
  text-indent: 3%;
}

.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;}
  