/* Theming */

@import url('https://fonts.googleapis.com/css2?family=Inria+Sans:ital,wght@0,300;0,400;0,700;1,300;1,400;1,700&display=swap');

/* variables*/
:root {
  --white: #F2F4F3;
  --black: #272828;
  --gray: #85888C;
  --hover-color: #cdc3b9;
}

/* scroll-behavior */
html {
  scroll-behavior: smooth;
}

/* Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background-color: var(--white);
  font-family: "Inria Sans", sans-serif;
}

a {
  text-decoration: none;
  text-align: center;
}

ul {
  list-style: none;
}

h1 {
  background-color: var(--white);
  box-shadow: 1px 1px 5px 0px var(--grey);
  position: static;
  top: 80px;
  width: 100%;
}

/* Header */
.header {
  position: -webkit-sticky;
  position: sticky;
  top: 0;
  right: 0;
  left: 0;
  z-index: 1030;
  display: flex;
  width: 100%;
  background-color: var(--white);
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: justify;
  padding: 20px 5vw;
  flex-wrap: wrap;
  color: black;
  justify-content: space-between;
  max-width: 1600px;
  margin-left: auto;
  margin-right: auto;
}

@media (min-width: 992px) {
  .header {
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
    -ms-flex-flow: row nowrap;
    flex-flow: row nowrap;
    -webkit-box-pack: start;
    -ms-flex-pack: start;
    justify-content: flex-start;
  }
}

/* Logo */
.logo {
  width: 138px;
  height: 67px;
  display: inline-block;
  padding-top: 0.3125rem;
  padding-bottom: 0.3125rem;
  margin-left: 30px;
  margin-right: 1rem;
  font-size: 1.25rem;
  line-height: inherit;
  white-space: nowrap;
}

/* Nav menu */
.nav {
  width: 100%;
  position: sticky;
  background-color: var(--white);
  color: black;
  overflow: hidden;
  margin-left: auto;
  margin-right: auto;
}

.menu a {
  display: block;
  padding: 30px;
  color: var(--black);
}

.menu a:hover {
  background-color: var(--hover-color);
}

.nav {
  max-height: 0;
  transition: max-height 0s ease-out;
}

/* Menu Icon */
.hamb {
  cursor: pointer;
  float: right;
  padding: 40px 20px;
}

/* Style label tag */

.hamb-line {
  background: var(--white);
  background: var(--black);
  display: block;
  height: 2px;
  position: relative;
  width: 24px;
}

/* Style span tag */

.hamb-line::before,
.hamb-line::after {
  background: var(--white);
  background: var(--black);
  content: '';
  display: block;
  height: 100%;
  position: absolute;
  transition: all .1s ease-out;
  width: 100%;
}

.hamb-line::before {
  top: 5px;
}

.hamb-line::after {
  top: -5px;
}

.side-menu {
  display: none;
}

/* Hide checkbox */

/* Toggle menu icon */
.side-menu:checked~nav {
  max-height: 100%;
}

.side-menu:checked~.hamb .hamb-line {
  background: transparent;
}

.side-menu:checked~.hamb .hamb-line::before {
  transform: rotate(-45deg);
  top: 0;
}

.side-menu:checked~.hamb .hamb-line::after {
  transform: rotate(45deg);
  top: 0;
}

/* Responsiveness */
@media (min-width: 925px) {
  .nav {
    max-height: none;
    top: 0;
    position: relative;
    float: right;
    width: fit-content;
    background-color: transparent;
  }

  .menu li {
    float: left;
  }

  .menu a:hover {
    background-color: transparent;
    color: var(--gray);

  }

  .hamb {
    display: none;
  }
}

.side-menu:checked .main {
  position: fixed;
  opacity: 0;
}

.shifted-anchor {
  scroll-margin-top: 95px;
}

@media screen and (max-height: 600px) and (max-width: 925px) {
  .shifted-anchor {
    scroll-margin-top: 50px;
  }
}

.nav-active {
  max-height: 0%;
}

.test-svg {
  transform: scale(1.2);
}

.whoweare-container {
  display: flex;
  flex-direction: row;
  align-items: center;
  padding: 100px;
  max-width: 1600px;
  margin-left: auto;
  margin-right: auto;
  gap: 40px;
}

@media only screen and (max-device-width: 800px) {
  .whoweare-container {
    flex-direction: column;
    align-items: center;
    gap: 0px;
    padding: 80px;
  }
}

@media only screen and (max-width: 800px) {
  .whoweare-container {
    flex-direction: column;
    align-items: center;
  }
}

.whoweare-text-container {
  flex-basis: 100%;
  text-align: center;
  flex-shrink: 0.8;
}

@media only screen and (max-width: 800px) {
  .whoweare-text-container {
    padding-bottom: 50px;
  }
}

.whoweare-h1 {
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
  align-content: center;
  font-weight: 700;
  font-size: 48px;
  line-height: 60px;

}

.whoweare-text {
  flex-direction: column;
  display: flex;
  gap: 20px;
  font-size: 18px;
}

/*------------------ */
.services-container {
  display: flex;
  background-color: aliceblue;
  flex-direction: column;
  flex-wrap: wrap;
  align-content: center;
  justify-content: center;
  align-items: flex-start;
  margin-bottom: 50px;
  padding: 25px;
  background-color: var(--black);
  color: var(--white);
}

@media only screen and (max-device-width: 800px) {
  .services-container {
    align-items: center;
  }
}

@media only screen and (max-width: 889px) {
  .services-container {
    align-items: center;
  }
}

.services-h2 {
  text-align: left;
  margin-bottom: 50px;
  font-weight: 700;
  font-size: 48px;
  line-height: 60px;
}

@media only screen and (min-width: 889px) {
  .services-h2 {
    text-align: center;
    padding-left: 70px;
  }
}

@media only screen and (max-device-width: 790px) {
  .services-box {
    width: 70vw;
  }
}

.services-boxes {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  margin-left: 50px;
  margin-right: 50px;
  gap: 20px;
  justify-content: center;
}

.services-box {
  max-width: 360px;
  background-color: var(--black);
  border: 2px solid #e3dddd;
  border-radius: 10px;
  color: white;
  cursor: pointer;
  padding-bottom: 20px;
}

.services-box>ul>li {
  padding: 20px;
  font-weight: 400;
  font-size: 18px;
  line-height: 32px;
}

.services-box:hover {
  -webkit-filter: grayscale(1) invert(1);
  filter: grayscale(1) invert(1);
  transition: 1s;
  z-index: 0;
}

.services-titles {
  padding: 20px;
  min-height: 80px;
  font-weight: 700;
  font-size: 24px;
  line-height: 32px;
  min-height: 105px;
}

hr.services-underline-solid {
  border-top: 1px solid var(--white);
}

/*---------------------*/

.realizations-container {
  display: flex;
  background-color: var(--white);
  flex-direction: column;
  flex-wrap: wrap;
  align-content: center;
  justify-content: center;
  align-items: flex-start;
  margin-left: auto;
  margin-right: auto;
  max-width: 1200px;
  padding: 25px;
  margin-left: auto;
}

.realizations-container div {
  margin-left: 0;
  flex-basis: 100%;
}

.image-gallery>div>h2 {
  font-weight: 700;
  font-size: 48px;
  line-height: 60px;
}

.image-gallery {
  display: flex;
}

.image-gallery {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
}

.image-gallery>li {
  /*flex-basis: 350px; */
}

@media screen and (min-width: 1200px) {
  .image-gallery>li {
    /*  flex-basis: 30%;  */
  }
}

.image-gallery li img {
  object-fit: cover;
  max-width: 360px;
  height: auto;
  max-height: 360px;
  vertical-align: middle;
  border-radius: 5px;
}


.image-gallery-text{
    color: black;
    cursor: pointer;
    text-decoration: none;
}

.image-gallery-text.clicked {
    color: red;
}


.overlay {
  display: inline-block;
  overflow: hidden;
  transition: all 0.5s ease;
}

.overlay~img {
  transition: all 1s ease;
  vertical-align: middle;
}

.overlay:hover {
  border-radius: 1rem;
}

.overlay:active {
  border-radius: 1rem;
}

.zoom-in-effect:hover {
  transform: scale(115%);
}

.zoom-in-effect:active {
  transform: scale(115%);
}

.bold-effect:hover {
  font-weight: bold;
}

.bold-effect:active {
  font-weight: bold;
}

/* --------------- */
.process-container {
  padding: 50px;
}

.process-container-flex {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: center;
  gap: var(--cluster-scale);
  flex-direction: column;
}

@media screen and (min-width: 770px) {
  .process-container-flex {
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: flex-start;

  }
}

@media screen and (min-width: 770px) {
  .process-container-title {
    flex-basis: 100%;
  }
}

@media screen and (max-width: 770px) {
  .test1 {
    transform: rotate(90deg);
  }
}

.process-container-block {
  text-align: center;
  max-width: 330px;
}

.process-container-block8 {
  flex: 1 1 1;
}

.process-container-arrows {
  position: relative;
  top: 5px;
}

@media screen and (max-width: 770px) {
  .process-container-arrows {
    padding: 30px;
  }
}

.process-container-block-text {
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
  align-content: center;
}

.process-container {
  padding: 50px;
}

hr.solid3 {
  border-top: 10px solid var(--hover-color);
  position: relative;
  top: -12;
  z-index: -1;
  width: 120px;
}

.process-container-block-title {
  display: inline-block;
  font-weight: 400;
  font-size: 33.18px;
  line-height: 60px;
  text-align: center;
}

.process-container-title {
  margin: 0 auto;
  padding-bottom: 50px;
  font-weight: 700;
  font-size: 48px;
  line-height: 60px;
  text-align: center;
  max-width: 1200px;
}

.process-container-block-5 {
  flex-basis: 95%;
}

hr.underline-solid {
  border-top: 20px solid var(--hover-color);
  position: relative;
  top: -23px;
  z-index: -1;
  width: calc(100% + 16px);
  left: -8px;
}

/* -------------------- */

.form-container {
  background-color: var(--black);
}

.form-container-flex {
  display: flex;
  /* Temporary */
  flex-direction: column;
  flex-wrap: wrap;
  gap: 30px;
  justify-content: center;
  align-items: flex-start;
  background-color: var(--black);
  color: white;
  padding: 50px;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

@media screen and (max-width: 800px) {
  .form-container-flex {
    flex-direction: column;
  }
}

.form-container-text {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;

}

.form-container-flex>div {
  flex-basis: 30%;
  display: flex;
  flex-direction: column;
  align-content: center;
  justify-content: center;
}

.form {
  order: 1;
  flex-basis: 50%;
  display: flex;
  align-content: stretch;
  align-items: stretch;
  flex-wrap: wrap;
  flex-direction: column;
  justify-content: space-between;
}

.form input {
  outline: none;
  border: none;
  background-color: transparent;
  color: white;
}

.form input::placeholder {
  color: white;
}

.form textarea {
  outline: none;
  border: none;
  background-color: transparent;
  color: var(--white);
}

.form textarea::placeholder {
  color: white;
}

.form__group {
  display: flex;
  flex-direction: column;
  padding-bottom: 10px;
}

.form__group textarea {
  padding-top: 10px;
}

.form__row-0 {
  top: 26px;
  display: block;
  position: relative;
  font-weight: 400;
  font-size: 16px;
  line-height: 60px;
}

.form-container-text-font-details {

  font-size: 18px;
  size: 18px;
  line-height: 25px;
  font-weight: 200;
}

.form-container-text-contact-details {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.form-container-text-title {
  font-weight: 700;
  font-size: 52px;
  line-height: 60px;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.main-img {
  display: flex;
  flex-wrap: nowrap;
  justify-content: flex-end;
  background-image: url(main-img.jpg);
  background-size: cover;
  background-position: right;
  background-blend-mode: multiply;
  overflow: hidden;
  height: 92vw;
  background-repeat: no-repeat;
  max-width: 1440px;
  max-height: 716px;
}

@media screen and (min-width: 500px) {
  .main-img {
    height: 87vw;
  }
}

@media screen and (min-width: 600px) {
  .main-img {
    height: 82vw;

  }
}

@media screen and (min-width: 750px) {
  .main-img {
    height: 75vw;

  }
}

@media screen and (min-width: 1440px) {
  .main-img {
    height: 100%;
    margin-left: auto;
    margin-right: auto;

  }
}

@media screen and (max-height: 550px) and (max-width: 1440px) {
  .main-img {
    height: 100vh;
    background-position: right 0px bottom 110px;
  }
}

.img-text-container {
    position: relative;
    text-align: left;
    max-width: 1440px;
    color: white;
    margin-left: auto;
    margin-right: auto;
   /* margin-top: -50px; */ /* Przesuwa kontener 50px w górę */ 
}

.h1-img-text {
  background-color: transparent;
  box-shadow: 1px 1px 5px 0px var(--grey);
  position: static;
  top: 80px;
  width: 100%;
  font-weight: 700;
  font-size: 48px;
  line-height: 60px;
}

.img-description {
  font-weight: 400;
  font-size: 18px;
  line-height: 32px;
  letter-spacing: 0.28px;
}

.img-button {

  width: 279px;
  height: 48px;
  border-radius: 50px;
  padding: 0px 0px 0px 12px;
  gap: 4px;
  background-color: var(--white);

}
/* 123 */

@media screen and (min-width: 925px) {
  .img-logo {
    display: none;
  }
}

@media screen and (max-width: 924px) {
  .logo {
    display: none;
  }
}

@media screen and (max-width: 925px) {
  .header {

    justify-content: center;
  }
}

@media screen and (max-height: 600px) and (max-width: 924px) {
  .header {
    padding: 0px 5vw;
  }
}

.main-opacity {
  opacity: 0.1;
}

.hamb-clicked {
  opacity: 0.1;
}

.hamb-unclicked {
  opacity: 1;
}

.img-logo {
  position: absolute;
  top: 18%;
  left: 50%;
  transform: translate(-50%, -50%) scale(1.3);
  filter: contrast(1) brightness(100);
}

.img-text {
  position: absolute;
  top: 31%;
  left: 5%;
  max-width: 550px;
}

@media screen and (max-height: 550px) and (max-width: 1440px) {
  .img-text {
    position: absolute;
    top: 11%;
    left: 5%;
    max-width: 400px;
  }
}

@media screen and (max-width: 924px) {
  .img-text {
    display: none;
  }
}

/* 456 */

header>div {
  width: 50%;
  background-color: rgba(0, 0, 0, 0.5);
  padding: 48px;
  backdrop-filter: blur(4px);
  box-shadow: 0px 0px 20px rgba(0, 0, 0, 0.4);
}

header>div h1,
header>div p {
  margin-bottom: 20px;
  color: #eee;
}

header>div button {
  padding: 12px 24px;
  font-size: 18px;
  border: none;
  margin-top: 20px;
}