@import url("https://fonts.googleapis.com/css2?family=Space+Mono:ital,wght@0,400;0,700;1,400;1,700&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Syne:wght@400..800&display=swap");
/* Telefony */
* {
  margin: 0;
  padding: 0;
  overflow-x: hidden;
}
body {
  font-size: 16px;
  line-height: 1.4;
  width: 100%;
}

h1 {
  font-size: 34px;
  font-family: Syne;
}

h2 {
  color: #fff;
  font-family: Syne;
  font-size: 32px;
  font-style: normal;
  font-weight: 700;
  line-height: normal;
}
h3 {
  color: #d9d9d9;
  font-family: "Space Mono";
  font-size: 24px;
  font-style: normal;
  font-weight: 700;
  line-height: normal;
}
p {
  color: #fff;
  font-family: "Space Mono";
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
}

.hero {
  display: flex;
  padding: 50px 20px 25px 20px;
  flex-direction: column;
  align-items: flex-start;
  gap: 40px;
}

#logo {
  width: 250px;
  height: 180px;
}

#Slogan {
  color: #01497c;
  font-family: Syne;
  font-size: 34px;
  font-style: normal;
  font-weight: 700;
  line-height: normal;
}

.Hero-button {
  align-self: center;
  width: 90%;
  height: 50px;
  flex-shrink: 0;
  border-radius: 15px;
  border: none;
  margin-bottom: 10px;
}
#poznaj {
  color: #fff;
  font-family: Syne;
  font-size: 20px;
  font-style: normal;
  font-weight: 700;
  line-height: normal;
  background: #246eb5;
}

#skontatkuj {
  color: #17313b;
  font-family: Syne;
  font-size: 20px;
  font-style: normal;
  font-weight: 700;
  line-height: normal;
  background: #5dc5ea;
}

.Onas {
  display: flex;
  flex-direction: column;
  background: #133759;
  padding: 20px;
  padding-top: 31px;
  gap: 37px;
}

#photo1 {
  width: 150px;
  height: 150px;
  flex-shrink: 0;
}
#onas-text {
  width: 90%;
}
.interesting-info {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: flex-start;
  flex-shrink: 0;
  border-radius: 15px;
  background: #1a4a78;
  padding: 25px;
  margin-top: 23px;
}
.light-blue {
  display: flex;
  background: #133759;
  width: 95%;
  height: 200px;
  flex-shrink: 0;
  align-self: center;
  border-radius: 15px;
  margin-bottom: 20px;
  align-items: center;
  justify-content: center;
}
.parent {
  display: flex;
  height: 400px;
  padding: 50px 0px;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  flex-shrink: 0;
  background: #194a78;
}

.div1 {
  display: flex;
  padding: 0px 80px;
  justify-content: space-between;
  align-items: center;
  align-self: stretch;
}
.div1 svg {
  width: 80px;
  height: 80px;
}

.div3 {
  display: flex;
  padding: 0px 80px;
  justify-content: space-between;
  align-items: center;
  align-self: stretch;
}
.div3 svg {
  width: 50px;
  height: 80px;
}

.div5 {
  display: flex;
  padding: 0px 80px;
  justify-content: space-between;
  align-items: center;
  align-self: stretch;
}
.div5 svg {
  width: 80px;
  height: 80px;
}
.opis {
  display: flex;
  padding: 50px 0px;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  flex-shrink: 0;
  background: #133759;
  gap: 50px;
}
.opis img {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 90%;
  height: 90%;
  border-radius: 15px;
  margin: 0 auto;
}
.opis p {
  font-size: 14px;
  width: 90%;
  padding-left: 20px;
}
.opis h2 {
  padding-left: 20px;
}
.opisy {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.Galeria {
  padding: 50px 2.5%;
  background: #194a78;
  justify-content: center;
}
.Galeria h2 {
  font-size: 32px;
  margin-bottom: 50px;
}
.GridPhoto {
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  grid-template-rows: repeat(3, 1fr);
  grid-column-gap: 16px;
  grid-row-gap: 16px;
}

.photos {
  background: red;
  height: 180px;
  border-radius: 10px;
  overflow-y: hidden;
}
.photos img {
  width: 100%;
  height: 100%;
}
#div1 {
  grid-area: 1 / 1 / 2 / 5;
}
#div2 {
  grid-area: 1 / 5 / 2 / 9;
}
#div3 {
  grid-area: 2 / 6 / 3 / 9;
}
#div4 {
  grid-area: 2 / 3 / 3 / 6;
}
#div5 {
  grid-area: 2 / 1 / 3 / 3;
}
#div6 {
  grid-area: 3 / 1 / 4 / 9;
}
.footer {
  display: flex;
  padding: 50px 10px 30px 10px;
  flex-direction: column;
  align-items: center;
  gap: 50px;
  background: #133759;
}
.footer p {
  color: #fff;
  font-family: Syne;
  font-size: 22px;
  font-style: normal;
  font-weight: 700;
  line-height: normal;
}

#contactData {
  color: #fff;
  text-align: center;
  font-family: Syne;
  font-size: 14px;
  font-style: normal;
  font-weight: 300;
  line-height: normal;
}
#phone-number:active {
  color: #fff;
}

.view-More {
  width: 50%;
  height: 50px;
  flex-shrink: 0;
  border-radius: 15px;
  border: none;
  color: #133759;
  background-color: #d9d9d9;
  margin-top: 20px;
  font-size: 18px;
}
.popup .overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.7);
  z-index: 3;
  display: none;
}
.close-btn,
button,
.socials img {
  cursor: pointer;
  color: #000;
}
.popup .content-call {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0);
  background: rgba(144, 163, 207, 1);
  width: 90%;
  height: fit-content;
  z-index: 2;
  padding: 20px;
  box-sizing: border-box;
  border-radius: 5px;
}
.popup .close-btn {
  position: absolute;
  right: 10px;
  top: 10px;
  z-index: 3;
}
.grid-call {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  justify-content: center;
  align-items: center;
}
.popup .content-call img {
  width: 100%;
  grid-column: 1/2;
}
.call-text {
  grid-column: 2/3;
  width: 100%;
}
.call-text h1 {
  font-size: 15px;
  font-weight: 500;
}
.call-text p {
  font-size: 14px;
}
#phone-ico {
  width: 18px;
  height: 18px;
  margin-right: 10px;
}
.number {
  display: flex;
  justify-content: center;
  align-items: center;
}
.number span {
  font-size: 18px;
  line-height: 50px;
}
.popup.active .overlay {
  display: block;
}
.popup.active .content-call {
  transition: all 0.3s ease-in-out;
  transform: translate(-50%, -50%) scale(1);
}
.lang-menu {
  font-weight: 500;
  grid-column: 12/13;
}
.lang-menu .selected-lang {
  position: absolute;
  height: 50px;
  right: 20px;
  top: 20px;
  display: flex;
  line-height: 1.2;
  cursor: pointer;
  height: fit-content;
}
.lang-menu .selected-lang .pl {
  display: flex;
  line-height: 1.2;
  cursor: pointer;
  height: fit-content;
}
.lang-menu .en:before {
  content: "";
  display: inline-block;
  width: 32px;
  background-image: url(../Grafika/united-kingdom.svg);
  background-size: contain;
  background-repeat: no-repeat;
}
.lang-menu .pl:before {
  content: "";
  display: inline-block;
  width: 32px;
  background-image: url(../Grafika/poland.svg);
  background-size: contain;
  background-repeat: no-repeat;
}
.lang-menu ul {
  margin: 0;
  padding: 0;
  display: none;
  background-color: #fff;
  border: 1px solid #f8f8f8;
  position: absolute;
  top: 45px;
  right: 0px;
  width: 125px;
  border-radius: 5px;
  box-shadow: 0px 1px 10px rgba(0, 0, 0, 0.2);
}

.lang-menu ul li {
  list-style: none;
  text-align: left;
  display: flex;
  justify-content: space-between;
}

.lang-menu ul li a {
  text-decoration: none;
  width: 125px;
  padding: 5px 10px;
  display: block;
}

.lang-menu ul li:hover {
  background-color: #f2f2f2;
}

.lang-menu ul li a:before {
  content: "";
  display: inline-block;
  width: 25px;
  height: 25px;
  vertical-align: middle;
  margin-right: 10px;
  background-size: contain;
  background-repeat: no-repeat;
}

.en:before {
  background-image: url(../Grafika/united-kingdom.svg);
}
.pl:before {
  background-image: url(../Grafika/poland.svg);
}

.lang-menu:hover ul {
  display: block;
}
.opinions {
  margin: 20px auto;
  text-align: center;
  justify-content: center;
  align-items: center;
  width: 90%;
}
.opinion {
  background-color: rgb(19, 55, 89);
  border-radius: 30px;
  height: fit-content;
  font-size: 12px;
  margin-bottom: 10px;
  padding: 20px 0;
}
.stars {
  margin-bottom: 15px;
}
.star {
  width: 24px;
  height: 24px;
}
.review {
  margin: 10px 10px;
}
.person {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 20px;
}
.person p {
  font-size: 15px;
  margin-bottom: 0;
}
.person img {
  width: 32px;
  height: 32px;
  margin-right: 15px;
}
#MG-URL {
  width: 50px;
  height: 50px;
}
#visit {
  float: right;
  font-size: 14px;
  line-height: 50px;
  padding-left: 5px;
  overflow-y: hidden;
}
/* Tablety */
@media (min-width: 768px) {
  body {
    font-size: 18px;
    line-height: 1.5;
  }

  h1 {
    font-size: 32px;
  }

  h2 {
    font-size: 28px;
  }

  #Slogan {
    color: #01497c;
    text-align: center;
    font-family: Syne;
    font-size: 64px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
    width: 70%;
  }
  #logo {
    align-self: center;
    width: 269px;
    height: 227px;
    flex-shrink: 0;
  }

  .buttons {
    align-self: center;
    display: flex;
    width: 70%;
    height: 60px;
    justify-content: center;
    align-items: center;
    gap: 20px;
    flex-shrink: 0;
    margin-bottom: 30px;
  }
  .Hero-button {
    width: 40%;
  }

  .Onas h2 {
    color: #fff;
    font-family: Syne;
    font-size: 36px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
    float: right;
  }
  #onas-text {
    color: #fff;
    font-family: "Space Mono";
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    width: 100%;
  }
  .Onas span {
    width: 55%;
    display: flex;
    flex-direction: column;
    gap: 30px;
  }
  #kim {
    display: flex;
    justify-content: space-between;
  }
  #photo1 {
    width: 300px;
    height: 300px;
    flex-shrink: 0;
    justify-self: center;
    align-self: center;
    padding: 0;
    margin: auto;
  }
  .interestings-info {
    display: inline-flex;
    align-items: center;
    width: 100%;
    gap: 5px;
  }
  .interesting-info {
    width: 27%;
    margin: 0;
    height: 550px;
    gap: 50px;
    display: block;
    padding: 20px;
  }
  .interesting-info p {
    font-size: 14px;
    line-height: normal;
  }
  .interesting-info h3 {
    font-size: 24px;
    line-height: 1.3;
    overflow-y: hidden;
    margin-bottom: 20px;
    padding: 0;
    font-weight: 500;
  }
  .light-blue {
    width: 100%;
  }
  .parent {
    flex-direction: row;
    height: 200px;
    padding: 0 80px;
    justify-content: center;
    align-items: center;
    flex-shrink: 0;
    border: none;
  }
  .div1 {
    padding: 0 16px;
    gap: 32px;
  }
  .div3 {
    padding: 0 16px;
    gap: 32px;
  }
  .div5 {
    padding: 0 16px;
    gap: 32px;
  }
  .opisy {
    display: flex;
    flex-direction: row;
    padding: 20px;
  }
  #opis2,
  #opis4 {
    flex-direction: row-reverse;
  }
  .opisy span {
    width: 50%;
  }
  .opisy img {
    width: 50%;
    margin: auto;
  }
  .Galeria {
    padding: 5%;
  }
  .Galeria h2 {
    font-size: 60px;
  }

  .photos {
    background: red;
    height: 320px;
    border-radius: 10px;
    overflow-y: hidden;
  }
  .footer {
    gap: 30px;
    padding: 20px;
    margin: 0;
  }
  .footer p {
    font-size: 36px;
  }
  #contactData {
    font-size: 20px;
  }
  #visit {
    font-size: 24px;
    line-height: 70px;
    padding-left: 10px;
  }

  .view-More {
    height: 75px;
    font-size: 36px;
    margin-top: 30px;
    margin-left: 25%;
    font-family: Syne;
  }

  .lang-menu .selected-lang {
    gap: 10px;
  }

  .lang-menu ul {
    width: 150px;
  }
}

/* Komputery */
@media (min-width: 1024px) {
  body {
    font-size: 20px;
    line-height: 1.6;
  }

  h1 {
    font-size: 36px;
  }

  h2 {
    font-size: 32px;
  }

  .hero {
    height: 900px;
    gap: 70px;
  }
  #logo {
    margin-top: 70px;
    width: 414px;
    height: 361px;
    flex-shrink: 0;
  }
  #Slogan {
    font-size: 80px;
    text-align: center;
    width: 100%;
    align-self: center;
  }

  .Hero-button {
    width: 25%;
  }

  #photo1 {
    width: 500px;
    height: 500px;
    margin: auto;
    justify-content: center;
    align-items: center;
  }
  .Onas span {
    padding: 50px 80px;
    width: 40%;
  }
  .Onas h2 {
    font-size: 40px;
  }
  #onas-text {
    font-size: 20px;
  }
  .light-blue {
    height: 40%;
  }
  .interesting-info {
    width: 30%;
    margin: auto;
    height: 650px;
  }
  .interesting-info h3 {
    font-size: 28px;
  }
  .interesting-info p {
    font-size: 22px;
  }
  .parent {
    height: 150px;
    justify-content: center;
  }
  .div1 svg {
    width: 90px;
    height: 90px;
  }
  .div3 svg {
    width: 90px;
    height: 90px;
  }
  .div5 svg {
    width: 90px;
    height: 90px;
  }
  .div1,
  .div3,
  .div5 {
    gap: 75px;
    padding: 0 36px;
  }
  .opis {
    padding: 50px;
  }
  .opisy span {
    margin: auto;
  }
  .opis h2 {
    font-size: 40px;
  }
  .opis p {
    font-size: 20px;
  }
  .Galeria {
    padding: 50;
    margin: auto;
  }
  .GridPhoto {
    grid-column-gap: 30px;
    grid-row-gap: 30px;
    width: 75%;
    margin: auto;
  }
  .photos {
    height: 450px;
  }
  #div6 img {
    height: 500px;
  }
  .footer {
    padding-left: 50px;
  }
  .footer p {
    width: 60%;
    align-self: flex-start;
    font-size: 34px;
  }
  #contactData {
    align-self: center;
    font-size: 20px;
  }

  .view-More {
    width: 30%;
    margin-left: 33%;
    padding: 10px, 20px;
  }
  .popup .grid-call {
    width: 100%;
    height: 100%;
  }
  .popup .content-call img {
    height: fit-content;
    width: 70%;
    margin: auto;
  }
  .popup .call-text {
    height: fit-content;
  }
  .popup .call-text h1 {
    font-size: 32px;
  }
  .popup .call-text p {
    font-size: 24px;
  }
  .popup .call-text .number {
    display: block;
    justify-content: space-between;
    height: 100px;
    width: fit-content;
  }
  .popup .call-text .number span {
    font-size: 30px;
    letter-spacing: 0.1rem;
  }
  #phone-ico {
    position: relative;
    top: 15px;
    width: 60px;
    height: 60px;
  }
  #visit {
    font-size: 40px;
    float: right;
    width: fit-content;
    line-height: 50px;
    overflow-x: hidden;
  }
  .footer p {
    width: 100%;
  }
}
@media (min-width: 2300px) {
  .GridPhoto {
    width: 60%;
  }
  .Galeria h2 {
    margin-left: 25%;
  }
}
