.head-photo {
  position: relative;
  background-size: cover;
  background-position: center;
  display: flex;
  justify-content: center; /* Горизонтальне вирівнювання */
  align-items: center;
  height: 240px; /* Встановіть висоту вашого елемента */
}
@media (max-width: 1024px) {
  .head-photo {
    position: relative;
    background-size: cover;
    background-position: center;
    display: flex;
    justify-content: center; /* Горизонтальне вирівнювання */
    align-items: center; /* Вертикальне вирівнювання */
    height: 200px; /* Встановіть висоту вашого елемента */
  }
}
@media (max-width: 768px) {
  .head-photo {
    position: relative;
    background-size: cover;
    background-position: center;
    display: flex;
    justify-content: center; /* Горизонтальне вирівнювання */
    align-items: center; /* Вертикальне вирівнювання */
    height: 240px; /* Встановіть висоту вашого елемента */
  }
}

@media (max-width: 450px) {
  .head-photo {
    position: relative;
    background-size: cover;
    background-position: center;
    display: flex;
    justify-content: center; /* Горизонтальне вирівнювання */
    align-items: center; /* Вертикальне вирівнювання */
    height: 100px;
    /* Встановіть висоту вашого елемента */
  }
}
.head-photo::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.4); /* Чорний колір з 40% прозорістю */
  z-index: 1; /* Встановлює порядок розташування псевдоелемента */
  pointer-events: none; /* Щоб маска не впливала на взаємодію з контентом */
}
.head-text {
  font-family: Arsenal;
  font-size: 65px;
  font-weight: 400;
  line-height: 81.51px;
  text-align: center;
  color: #fff;
  text-shadow: 0 4px 4px 0 rgba(0, 0, 0, 0.25);
}

@media (max-width: 768px) {
  .head-text {
    font-family: Arsenal;
    font-size: 50px;
    font-weight: 400;
    line-height: 62.7px;
    text-align: center;
    color: #fff;
    text-shadow: 0 4px 4px 0 rgba(0, 0, 0, 0.25);
  }
}

@media (max-width: 450px) {
  .head-text {
    font-family: Arsenal;
    font-size: 20px;
    font-weight: 400;
    line-height: 25.08px;
    text-align: center;
    color: #fff;
    text-shadow: 0 4px 4px 0 rgba(0, 0, 0, 0.25);
  }
}
:root {
  --font-family: "Ubuntu", sans-serif;
  --second-family: "Arsenal", sans-serif;
}
html {
  scroll-behavior: smooth;
}
body {
  background-color: white;
  font-family: "Arsenal", sans-serif !important;
  font-size: 14px;
  font-weight: 400;
  min-width: 320px;
}

header {
  max-width: 1140px;
  z-index: 999;
  background-color: white;
}

.nav-link {
  position: relative;
  display: inline-block;
  text-decoration: none;
  font-size: 14px;
  transition: color 0.3s ease;
  text-align: end;
}

.nav-link::after {
  content: "";
  position: absolute;
  width: 100%;
  transform: scaleX(0);
  height: 1px;
  bottom: 0;
  left: 0;
  background-color: #000; /* Change the color as needed */
  transform-origin: bottom right;
  transition: transform 0.3s ease;
}

.nav-link.no-underline::after {
  content: "";
  position: absolute;
  width: 100%;
  transform: scaleX(0);
  height: 0; /* Set height to 0 to remove the underline */
  bottom: 0;
  left: 0;
  background-color: transparent; /* Make background color transparent */
  transform-origin: bottom right;
  transition: none; /* Disable transition */
}

.nav-link:hover::after {
  transform: scaleX(1);
  transform-origin: bottom left;
}

.nav-link:hover {
  color: #000; /* Change the text color on hover if needed */
}

.nav-allblack {
  text-transform: uppercase;
  color: #424b5a;
}
.logo {
  height: 78px;
  width: 79px;
}
@media screen and (max-width: 450px) {
  .logo {
    height: 50px;
    width: 51px;
  }
}

@media screen and (max-width: 450px) {
  .navbar-toggler {
    padding: 0.25rem 0.75rem;
    font-size: 1rem !important; /* Збільшено значення font-size для читабельності */
    line-height: 1;
    background: #424b5a;
    border: 1px solid white;
    border-radius: 0.25rem;
  }
}

.centered-text {
  position: relative;
  z-index: 10000; /* Щоб текст був вище за псевдоелемент ::after */
  text-align: center; /* Вирівнювання тексту по центру */
  color: #ffffff; /* Колір тексту */
  font-family: Arsenal; /* Шрифт */
  font-size: 65px; /* Розмір шрифту */
  font-weight: 400; /* Вага шрифту */
  line-height: 81.51px; /* Висота рядка */
}

@media (max-width: 450px) {
  .centered-text {
    position: relative;
    z-index: 10000; /* Щоб текст був вище за псевдоелемент ::after */
    text-align: center; /* Вирівнювання тексту по центру */
    color: #ffffff; /* Колір тексту */
    font-family: Arsenal; /* Шрифт */
    font-size: 18px; /* Розмір шрифту */
    font-weight: 400; /* Вага шрифту */
    line-height: 81.51px; /* Висота рядка */
  }
}
.main-photo-project {
  position: relative;
  width: 100vw;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
}

@media (max-width: 450px) {
  .center-image {
    display: block;
    margin: 0 auto;
    object-fit: cover; /* Adjust this as needed (cover, contain, fill, none, scale-down) */
    width: 320px;
    height: 162px;
  }
}

.arrow_up {
  height: 48px;
  width: 48px;
  display: block;
  margin-left: auto;
  margin-right: auto;
  margin-top: 75px;
}

@media (max-width: 450px) {
  .arrow_up {
    height: 24px;
    width: 24px;
    display: block;
    margin-left: auto;
    margin-right: auto;
    margin-top: 25px;
  }
}

.footer_hr {
  width: 90%;
  height: 1px;
  text-align: center;
  color: #dadada;
  border: none;
  background-color: #dadada;
  margin-top: 110px;
}
@media (max-width: 768px) {
  .footer_hr {
    width: 90%;
    height: 1px;
    border: none;
    text-align: center;
    color: #dadada;
    background-color: #dadada;
    margin-top: 60px;
  }
}
@media (max-width: 425px) {
  .footer_hr {
    width: 90%;
    height: 1px;
    border: none;
    text-align: center;
    color: #dadada;
    background-color: #dadada;
    margin-top: 20px;
    margin-bottom: 0px;
  }
}

.brand_name {
  font-family: Arsenal;
  font-size: 20px;
  font-weight: 200;
  text-align: center;
  color: #dadada;
}

@media (max-width: 450px) {
  .brand_name {
    font-family: Arsenal;
    font-size: 9px;
    font-weight: 200;
    text-align: center;
    color: #dadada;
  }
}

.copyfontsize {
  font-size: small;
}
.hover-overlay:hover {
  opacity: 0.4;
  transition: opacity 0.4s;
}

.switch {
  position: relative;
  display: inline-block;
  margin: 0 5px;
}

.switch > span {
  position: absolute;
  top: 14px;
  pointer-events: none;
  font-family: "Helvetica", Arial, sans-serif;
  font-weight: bold;
  font-size: 14px;
  text-transform: uppercase;
  text-shadow: 0 1px 0 rgba(0, 0, 0, 0.06);
  width: 50%;
  text-align: center;
}

input.check-toggle-round-flat:checked ~ .off {
  color: #454545;
}

input.check-toggle-round-flat:checked ~ .on {
  color: #fff;
}

.switch > span.on {
  left: 0;
  padding-left: 2px;
  color: #454545;
}

.switch > span.off {
  right: 0;
  padding-right: 4px;
  color: #fff;
}

.check-toggle {
  position: absolute;
  margin-left: -9999px;
  visibility: hidden;
}
.check-toggle + label {
  display: block;
  position: relative;
  cursor: pointer;
  outline: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}
.black {
  color: #080808 !important;
  font-size: 1.2rem;
}

input.check-toggle-round-flat + label {
  padding: 2px;
  width: 87px;
  height: 35px;
  background-color: #d9d9d9;
  border-radius: 50px;
}
input.check-toggle-round-flat + label:before,
input.check-toggle-round-flat + label:after {
  display: block;
  position: absolute;
  content: "";
}

input.check-toggle-round-flat + label:before {
  top: 2px;
  left: 2px;
  bottom: 2px;
  right: 2px;
  background-color: #e6e6e6;
  border-radius: 20px;
}
input.check-toggle-round-flat + label:after {
  top: 4px;
  left: 4px;
  bottom: 4px;
  width: 35px;
  background-color: #fff;
  -webkit-border-radius: 52px;
  -moz-border-radius: 52px;
  -ms-border-radius: 52px;
  -o-border-radius: 52px;
  border-radius: 52px;
  -webkit-transition: margin 0.2s;
  -moz-transition: margin 0.2s;
  -o-transition: margin 0.2s;
  transition: margin 0.2s;
}

input.check-toggle-round-flat:checked + label:after {
  margin-left: 44px;
}

.footer-center {
  justify-content: space-between;
}
@media screen and (max-width: 768px) {
  .footer-center {
    justify-content: center;
  }
  ul .mobilecopyright {
    margin-left: auto;
    margin-right: auto;
    text-align: center;
  }
}

.home-photography {
  position: relative;
  width: 100%;
  overflow: hidden;
}
.loader,
.owl-carousel-no-slider {
  height: 100%;
}

.designer_foto {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
}

.block_cv {
  position: relative;
  bottom: -80px;
  z-index: 100;
  max-width: 85%;
  margin: 0 auto;
  background: #f2f5f7;
  box-shadow: 0px 4px 4px 0px #00000040;
  margin-top: 150px;
}
@media (max-width: 450px) {
  .block_cv {
    position: relative;
    bottom: -80px;
    z-index: 100;
    min-width: 260px;
    margin: 0 auto;
    background: #f2f5f7;
    box-shadow: 0px 4px 4px 0px #00000040;
    margin-top: 100px;
  }
}

.rounded {
  border-radius: 0 !important;
}
.lang-switch {
  /* position: relative; */
  display: block;
  padding-top: 3px;
  margin: 0;
  border: #080808;
  border: 2px 2px;
  /* top: 19px; */
  right: 20px;
}
.pll-switcher-select {
  padding: 4px 6px;
  font-size: small;
  border: 2px;
  border-radius: 3px;
  color: #080808;
  background: white;
  text-transform: uppercase;
  outline: #080808;
}

.text-mes {
  position: relative;
  display: inline-block;
}

.text-mes a {
  display: block;
  position: relative;
  text-decoration: none;
}

.text-mes img {
  display: block;
  width: 100%;
  height: auto;
}

.overlay-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: rgb(138, 135, 135);
  /* Optional: add a background to the text for better readability */
  padding: 10px;
  text-align: center;
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none; /* Ensure the text does not interfere with clicking the link */
}

.text-mes:hover .overlay-text {
  opacity: 1;
}

@media screen and (max-width: 375px) {
  .project-single {
    padding: 30px 0 0;
  }
}

@media screen and (max-width: 615px) {
  .project-single {
    padding: 30px 0;
  }
}

.project-single {
  padding: 50px 0;
}

.width-full {
  width: 100%;
  height: 55vh;
  object-fit: cover;
}

.opinie {
  color: #ffffff;
  font-family: Arsenal;
  font-size: 65px;
  font-weight: 400;
  line-height: 81.51px;
  text-align: center;
  padding-top: 20px;
  margin-top: 160px;
}
@media (max-width: 768px) {
  .opinie {
    color: #ffffff;
    font-family: Arsenal;
    font-size: 40px;
    font-weight: 400;
    line-height: 50.16px;
    text-align: center;
    margin-top: 20px;
  }
}

@media (max-width: 450px) {
  .opinie {
    color: #ffffff;
    font-family: Arsenal;
    font-size: 20px;
    font-weight: 400;
    line-height: 25.08px;
    text-align: center;
    margin-top: 18pxpx;
  }
}

.opinie-text {
  font-style: italic;
  font-weight: 400;
  font-size: 22px;
  line-height: 126%;
  text-align: center;
  color: #fff;
}

.opinie-h5 {
  font-style: italic;
  font-weight: 700;
  font-size: 22px;
  text-align: center;
  color: #fff;
  margin-bottom: 50px;
}

@media (max-width: 768px) {
  .opinie-text {
    font-style: italic;
    font-weight: 400;
    font-size: 18px;
    line-height: 126%;
    text-align: center;
    color: #fff;
    /* margin-bottom: 60px; */
  }

  .opinie-h5 {
    font-style: italic;
    font-weight: 700;
    font-size: 18px;
    text-align: center;
    color: #fff;
    margin-bottom: 50px;
  }
}

@media (max-width: 450px) {
  .opinie-text {
    font-style: italic;
    font-weight: 400;
    font-size: 10px;
    line-height: 126%;
    text-align: center;
    color: #fff;
  }

  .opinie-h5 {
    font-style: italic;
    font-weight: 700;
    font-size: 10px;
    text-align: center;
    color: #fff;
    margin-bottom: 0;
  }
}

.project-description p {
  font-family: Arsenal;
  font-size: 22px;
  font-weight: 400;
  text-align: left;
}

/* For tablets and medium screens */
@media (max-width: 1024px) {
  .project-description p {
    font-size: 18px;
  }
}

/* For mobile screens */
@media (max-width: 768px) {
  .project-description p {
    font-size: 12px;
  }
}
.center-image {
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.cookie-consent {
  position: fixed;
  left: 0;
  width: 100%;
  /* height: 80%; Adjust height to ensure it fits within the viewport */
  background-color: rgba(
    255,
    255,
    255,
    0.9
  ); /* Slightly transparent background */
  color: black;
  text-align: center;
  padding: 20px;
  box-shadow: 0 -2px 5px rgba(0, 0, 0, 0.1);
  font-family: Arial, sans-serif;
  z-index: 1000;
  display: none; /* Initially hidden */
}

.cookie-consent p {
  margin: 0 0 10px;
  font-size: 14px;
  line-height: 1.5;
}

.cookie-consent a {
  color: #007bff;
  text-decoration: underline;
}

.cookie-consent a:hover {
  text-decoration: none;
}

.cookie-consent button {
  background-color: black;
  color: white;
  border: none;
  padding: 10px 20px;
  font-size: 14px;
  cursor: pointer;
  border-radius: 3px;
}

.cookie-consent button:hover {
  background-color: #444;
}
