:root {
  --heightServ: 400px;
  --heightRange: 200px;
  --marginServ: 10px;
  /* Source Code Pro */
  --fontForLabels: "Poppins";
  /* monospace */
  --fontV2ForLabels: sans-serif;
}
.max-height{
    height: 100% !important;
}
.max-width{
    width: 100%;
}
.content {
  width: 75%;
  min-width: 1100px;
  margin: 50px auto 0 auto;
}
.tab3 {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
}
/* .white .col {
  height: var(--heightServ);
} */
#scope .col {
  display: grid;
  grid-template-rows: 1fr 1fr 1fr 1fr;
}
.servopt {
  height: calc((var(--heightServ) / 4) - (2 * var(--marginServ)));
  display: flex;
  align-items: center;
  margin: 10px;
}
.servopt img {
  width: auto;
}
.servopt p {
  font-family: "Raleway", sans-serif;
  margin-left: 20px;
  font-size: calc(20 * var(--heightServ) / 400);
  font-weight: 600;
  color: #47425d;
}
.centered {
  display: flex !important;
  justify-content: center;
  align-items: center;
}
.servDes {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  width: 50%;
}
.servDes h2 {
  font-family: "Raleway", sans-serif;
  color: #443f3f;
  text-align: center;
  font-weight: 600;
  font-size: calc(35 * var(--heightServ) / 400);
}
.servDes p {
  font-family: var(--fontForLabels), var(--fontV2ForLabels);
  font-size: calc(16 * var(--heightServ) / 400);
  text-align: center;
  color: #47425d;
}
.col2 {
  grid-column: 2/4;
  display: flex;
  align-items: center;
}
.white {
  background-color: white;
  height: fit-content;
}
.gray {
  background-color: #ededed;
  height: fit-content;
}
.gray .col {
  height: var(--heightRange);
}
.gray .col2 p,
#location .col2,
.center p,
#tekst,
p.link,
p.locat,
#time p,
.dane {
  font-family: var(--fontForLabels), var(--fontV2ForLabels);
  margin: 10px;
}
#map {
  grid-column: 1/4;
}
#portrait {
  width: 50%;
  margin-top: 30px;
}
#portrait + p {
  width: 70%;
  text-align: justify;
}
@media screen and (max-width: 1100px) {
  .white .tab3 {
    grid-template-columns: 1fr 1fr;
  }
  #location .col {
    height: 150px;
  }
  #location .col2 {
    grid-column: 1/3;
    margin: 0 30px;
  }
  .white .col:first-child {
    grid-column: 1/3;
    height: 300px;
  }
  .col {
    justify-content: center;
    align-items: center;
  }
  .content {
    min-width: unset;
    width: unset;
  }
  .col2 {
    margin: 0 20px;
  }
  #map {
    grid-column: 1/3;
    margin: 10px;
  }
  #portrait {
    width: 65%;
  }
}
@media screen and (max-width: 780px) {
  .white .tab3,
  .gray .tab3 {
    grid-template-columns: 1fr;
  }
  .white .col:first-child {
    grid-column: 1/2;
    height: fit-content;
    margin-bottom: 20px;
  }
  .col2 {
    grid-column: 1/2;
    margin: 0 25px 30px 25px;
    text-align: justify;
  }
  .gray .col {
    height: fit-content;
    margin: 25px;
    width: auto;
    /* do usuniecia */
  }
  #contact .col{
    margin: 0 25px; 
    /* do zmianu */
  }
  #portrait {
    width: 75%;
  }
  #portrait + p {
    margin: 25px 25px 30px 25px;
    width: auto;
  }
}
@media screen and (max-width: 380px) {
  #contact .col{
    margin: 0px;
    padding-left: 5px;
    padding-right: 5px;
  }
  .gray .col {
    margin: 0px;
    padding: 10px;
  }
  .servopt .max-width{
    width: auto;
  }
  .servopt{
    /* padding: 0px 20px; */
    width: auto;
  }
  #aboutContact #tekst{
    width: auto;
    margin: 10px;
  }
}
.person.v2 + .gray .content {
  margin-top: 0;
  padding: 10px 0px;
}
#contact .tab3 .col2,
#location .col2 {
  flex-direction: column;
  justify-content: center;
}
#contact .tab3 .col2 p,
#location .col2 p,
#tekst,
#time .col2 p {
  margin: 5px;
}
p.link{
  font-size: 24px;
}
.dane {
  font-size: 20px;
}
.content .center {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}
#contact .tab3 .col {
  padding: 20px 0px;
}
#contact .tab3 .col,
#comments .col {
  height: auto;
  text-align: justify;
}
#contact .tab3 .col,
#comments .col,
#time .col {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}
#contact .tab3 .col:last-child {
  margin: 0px 20px;
  width: auto !important;
}
#comments .tab3 {
  padding: 50px 0px;
}

#time .col:first-child {
  grid-column: 1/2;
}
#aboutContact{
  margin: 2rem auto;
}
#tekst {
  text-align: justify;
  flex-direction: column;
}
strong.dane {
  display: block;
  text-align: center;
}
#time .col {
  height: 250px;
}
#time {
  margin-bottom: 50px;
}



.link {
  font-size: 1.4rem;
  font-weight: 600;
  margin-bottom: 1rem;
  text-align: left;
  color: #443f3f;
}

.dane {
  font-size: 1.1rem;
  font-weight: 500;
  text-align: left;
  margin-bottom: 0.75rem;
  margin-left: 0;
  margin-right: 0;
  padding: 0 10px;
}

@media screen and (max-width: 780px) {
  .link {
    font-size: 1.2rem;
    text-align: center;
  }

  .dane {
    text-align: center;
  }
}

#aboutContact {
  margin: 2rem auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.locat {
  font-size: 1.1rem;
  font-weight: 500;
  margin-bottom: 0.5rem;
}

.label {
  font-weight: 600;
  color: #333;
  display: inline-block;
  min-width: 90px;
}
@media screen and (max-width: 780px) {
  .locat {
    font-size: 1rem;
    text-align: center;
  }

  .label {
    display: block;
    text-align: center;
    margin-bottom: 0.2rem;
    font-size: 1.rem;
  }
  #aboutContact{
    margin: 0 !important;
  }
}

#location .col2 p:first-of-type {
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 1rem;
  text-align: justify;
}

#locationgrid{
  display: grid;
  grid-template-columns: auto auto;
  justify-content: center;
  text-align: center;
  gap: 5px;
}
#locationgrid span:nth-child(2n), #locationgrid a{
  padding-left: 5px;
}
@media screen and (max-width: 780px) {
  #locationgrid{
    grid-template-columns: auto;
  }
  #locationgrid span:nth-child(2n){
    margin-bottom: 10px;
  }
}

@media screen and (min-width: 1100px) {
.margin-b{
  margin-bottom: 50px !important;
}
}
.empty{
  opacity: 0;

}
@media screen and (max-width: 780px) {
  #scope .col:last-child .servopt:last-child{
    height: 1px;
  }
}