* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background-color: rgb(16, 16, 23);
  color: white;
  font-family: 'Quicksand', sans-serif;
  font-weight: 300;
  overflow-wrap: break-word;
  word-wrap: break-word;
  word-break: break-word;
  font-size: 1rem; /* 16px */
}

#hamburger {
  display: none;
}

header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background-color: rgb(16, 16, 23);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.8);
  width: 100%;
  height: 115px;
  padding: 30px 50px;
  position: relative;
}

#logo {
  display: flex;
  align-items: center;
}

#logo img {
  height: 100px;
}

#menu {
  display: flex;
  align-items: center;
}

#menu ul {
  list-style: none;
  display: flex;
  gap: 30px;
}

#menu li {
  font-size: 1.75rem; /* 32px */
  font-weight: bold;
}

a {
  text-decoration: none;
  color: white;
  cursor: pointer;
  position: relative;
  transition: 1s;
}

a::after {
  content: '';
  position: absolute;
  height: 3px;
  left: 0;
  bottom: 0;
  width: 0;
  background-color: white;
  transition: width 0.2s;
}

a:hover:after {
  width: 100%;
}

#description h1 {
  text-align: center;
  font-size: 2rem;
}

#OMnie {
  background-color: rgb(16, 16, 23);
}

#backImg {
  background: url(salon.jpg) no-repeat center/cover;
  border-radius: 20px;
  width: 80%;
  height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

main {
  min-height: calc(100vh - 115px);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem; 
  color: white;
}

.opis {
  background-image: url(logo_cropped.png) no-repeat conter/cover;
  background-color: rgba(16, 16, 23, 0.95);
  color: white;
  font-weight: bold;
  height: 300px;
  width: 600px;
  border-radius: 20px;
  font-size: 3rem; /* 48px */
  text-align: center;
  align-items: center;
  justify-content: center;
  display: flex;
  box-shadow: rgba(0, 0, 0, 0.25) 0px 54px 55px, rgba(0, 0, 0, 0.12) 0px -12px 30px, rgba(0, 0, 0, 0.12) 0px 4px 6px, rgba(0, 0, 0, 0.17) 0px 12px 13px, rgba(0, 0, 0, 0.09) 0px -3px 5px;
}

section {
  display: flex;
  align-items: center;
  justify-content: center;
}

#items {
  
  width: 80%;
  display: flex;
  flex-direction: row;
  color: black;
  background-color: white;
  border-radius: 20px;
  margin-top: 100px;
  margin-bottom: 100px;
  box-shadow: rgba(0, 0, 0, 0.1) 0px 4px 12px;
}

#description {
  width: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  padding: 40px;
}

#image {
  background: url(sylwia.jpg) no-repeat center/cover;
  width: 50%;
  border-radius: 20px;
}
#otwarcie{
    text-align: center;
  }

#name {
  font-size: 2.2rem; /* 35px */
  margin: 20px;
  font-weight: bold;
}

#description p {
  margin: 20px;
  text-align: center;
  font-size: 1.5rem; /* 20px */
}

#goTo {
 
  font-weight: bold;
  font-size: 1.5625rem; /* 25px */
  margin: 20px;
  border-radius: 10px;
  height: 50px;
  display: flex;
  color: white;
  padding: 10px;
  border: none;
  justify-content: center;
  align-items: center;
  background-color: rgb(16, 16, 23);
  box-shadow: rgba(0, 0, 0, 0.25) 0px 14px 28px, rgba(0, 0, 0, 0.22) 0px 10px 10px;
  transition: 1s;
}



#infoSection {
  background-color: rgb(16, 16, 23);
  display: grid;
  grid-template-columns: repeat(3,1fr);
}



#godziny, #lok,#kontakt {
  color: black;
  height: 50vh;
  padding: 20px;
  display: flex;
  align-items: center;
  flex-direction: column;
  justify-content: space-between;
  border-radius: 20px;
  font-size: 1.25rem; /* 20px */
  background-color: white;
  box-shadow: rgba(14, 30, 37, 0.12) 0px 2px 4px 0px, rgba(14, 30, 37, 0.32) 0px 2px 16px 0px;
  border: 2px solid white;
  margin: 20px;
}

iframe {
  border-radius: 20px;
  width: 100%;
  
}

#titleC{
  background-color: white;
  color: black;
  padding: 20px;
  font-size: 2rem;
  border-radius: 20px;
  font-weight: bold;
  margin: 40px;
  text-align: center;
  
  
}

#fb{
 
  color: rgb(7, 7, 212);
  font-size: 4rem;
}


#red{
  font-size: 3rem;
  color: red;
  letter-spacing: 1px;
}

strong {
  font-weight: bold;
}

#allC{
  display: grid;
  grid-template-columns: repeat(3,1fr);
  transition: 1s;
  width: 70%;
  border: 1px solid white;
  border-radius: 20px;
  background-color: white;
  
  

}
#certyfikaty{
  display: flex;
  flex-direction: column;
}
.cert{ 
    transition: 0.2s;
    border-radius:10px ;
    margin: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: white;
   
}
.cert img{
 width: 100%;
 border-radius: 10px;
}
.cert:hover{
  transform: scale(102%);
  
}

#allPhotos{
  display: grid;
  grid-template-columns: repeat(4,1fr);
}

.modal {
  display: none;
  position: fixed;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: black;
}

.modal-content {
  margin: auto;
  display: block;
  max-width: 90%;
  max-height: 80vh;
  border-radius: 10px;
  box-shadow: 0 0 20px black;
}

#close {
  position: absolute;
  top: 30px;
  right: 40px;
  color: white;
  font-size: 40px;
  font-weight: bold;
  cursor: pointer;
  font-size: 3rem;
  transition: 0.3s;
}

#close:hover {
  color: red;
}

#galeria{
  height: auto;
  display: flex;
  align-items: center;
  justify-content: center;
}
#photos{
  flex-direction: column;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 20px;
 
 
  
}
#photo{
  width: 100%;
  height: 100%;
  max-width: 1000px;
  max-width: 1000px;
  border-radius: 20px;
  
}
footer{
   background-color: rgb(16, 16, 23);
   display: flex;
   align-items: center;
   justify-content: space-around;
   box-shadow: 0 -8px 20px rgba(0, 0, 0, 0.8); 
   margin-top: 50px;


   
  
}
footer img{
  margin: 20px;
}



/* RESPONSYWNOŚĆ */
@media (max-width: 1100px)
{
   #items {
    flex-direction: column;
    width: 100%;
    margin: 20px;
    height: auto;
  }

  #image {
    height: 400px;
    width: 100%;
  }

  #description {
    width: 100%;
    padding: 10px;
    font-size: 1.25rem;
  }
  #OMnie{
    height: auto;
  }
}

@media (max-width: 768px) {
  header {
    flex-direction: column;
    height: auto;
    padding: 20px;
  }
  #allC{
  display: grid;
  grid-template-columns: repeat(1,1fr);
  width: auto;
  margin: 20px;
  }
  .cert{
    margin: 10px;
  }
 #titleC{
  margin-top: 40px;
 }

  #menu {
    display: none;
  }
  #allPhotos{
    grid-template-columns: repeat(1,1fr);
  }

  #hamburger {
    display: flex;
    align-items: center;
    justify-content: center;
  }

  #hamburger button {
    height: 70px;
    width: 70px;
    background-color: rgb(16, 16, 23);
    color: white;
    font-size: 2rem; 
    border-radius: 15px;
    border: 2px solid white;
    display: flex;
    
    align-items: center;
    justify-content: center;
  }

  #logo {
    display: flex;
    justify-content: space-between;
  }

  main {
    min-height: 0;
    height: auto;
    padding: 20px;
    font-size: 1.5rem; /* 24px */
  }

  #backImg {
    height: 400px;
    width: 100%;
    
  }

 .opis{
  display: none;
 }

  #menu ul {
    flex-direction: column;
    align-items: center;
    gap: 15px;
    margin-top: 10px;
  }

  #logo {
    margin-bottom: 10px;
    width: 95%;
  }

  #infoSection {
    grid-template-columns: repeat(1,1fr);
    align-items: center;
    justify-content: center;
    
  }

 
  #godziny, #lok,#kontakt{
    height: auto;
    margin: 20px;
  }
  .object{
    margin-bottom: 20px;
  }

  #OMnie {
    height: auto;
  }
  
  
}

@media (max-width: 480px) {
  #menu li {
    font-size: 1.5rem;
  }

  main {
    font-size: 1.5rem; 
  }
}
