@import url("https://fonts.googleapis.com/css2?family=Open+Sans&display=swap");

/* Reset the default styles */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* Set up the font family */
body {
  font-family: "Open Sans", sans-serif;
}

/* Style the navigation bar */
nav {
  display: grid;
  grid-template-columns: 40% 20% 40%;
  align-items: center;
  background-color: #f8f8f8;
  padding: 10px 20px;
  font-size: 1.5vw;
}
.nav_l,
.nav_m,
.nav_r {
  display: grid;
}
.nav_l {
  align-items: center;
  justify-items: start;
}
.nav_m {
  align-items: center;
  justify-items: center;
}
.nav_r {
  align-items: center;
  justify-items: end;
}

nav button {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  color: #444;
  z-index: 2;
}

nav ul {
  display: flex;
  list-style: none;
}

nav li {
  padding: 0 10px 0 0;
  font-size: 1rem;
}

nav a {
  text-decoration: none;
  color: #444;
  font-weight: bold;
}

nav a:hover {
  text-decoration: underline;
}

/* Style the hero image */
.hero {
  display: grid;
  justify-items: center;
  margin: 0 auto;
}

.hero img {
  width: 100%;
  height: auto;
}

/* Style the bottom hero section */
.bot_hero {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-gap: 20px;
  padding: 20px;
  background-color: #e1a198;
  color: #fff;
}

.left_bot_hero img {
  display: grid;
  width: 100%;
  height: auto;
}

.right_bot_hero {
  display: grid;
  grid-template-rows: auto 1fr;
}

.right_bot_hero h2 {
  font-size: 1.8em;
  margin-bottom: 10px;
  text-align: center;
  padding: 0 0 5% 0;
}

.right_bot_hero h1 {
  text-align: center;
  font-size: 3em;
  padding: 5%;
  margin-bottom: 10px;
  text-decoration: underline;
}

.right_bot_hero p {
  text-align: justify;
  font-size: 1.7rem;
  padding: 10px 5% 10px 5%;
  margin-bottom: 20px;
}

.right_bot_hero img {
  width: 100%;
  height: auto;
  display: grid;
  align-items: end;
}

.bot {
  display: grid;
  align-items: end;
}

/* Style the services section */
.sec_a {
  display: grid;
  background-color: #f8f8f8;
  background-image: url(../image/s.jpg);
  background-repeat: no-repeat;
  background-size: cover;
}

.sec_a h2 {
  font-size: 2.5rem;
  font-weight: 500;
  padding: 10% 5% 0 5%;
  display: grid;
  justify-items: center;
}

.services {
  display: grid;
  grid-template-columns: 1fr;
  justify-content: center;
  grid-gap: 20px;
  padding: 2% 5% 5% 5%;
  margin-bottom: 5%;
}

.service_one {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-gap: 20px;
  padding: 3% 5% 10% 5%;
}

.service_two {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-gap: 20px;
  padding: 5% 15% 5% 15%;
}

.service {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.service a {
  text-decoration: none;
  color: #000;
}

.service a:hover {
  text-decoration: underline;
  box-shadow: 3px 3px 7px #000;
}

.service ul {
  list-style-type: none;
}

.service li {
  display: grid;
  align-items: center;
}

.service h3 {
  display: grid;
  justify-items: center;
  align-items: center;
  font-size: 1.5em;
  padding: 25px;
  background-color: #fff;
}

.service img {
  width: 100%;
  height: auto;
}

/* Style the Instagram section */
.sec_b {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-gap: 20px;
  padding: 20px 23%;
  background-color: #f8f8f8;
}
.sec_b a {
  color: #000;
  text-decoration: none;
}
.sec_b a:hover {
  text-decoration: underline;
}

.left_sec_b {
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
  align-items: end;
  justify-content: end;
}

.left_sec_b h3 {
  font-size: 1.5vw;
  margin-bottom: 10px;
  text-align: center;
}

.left_sec_b h2 {
  font-size: 3vw;
  margin-bottom: 20px;
  text-align: center;
}

.left_sec_b img {
  max-width: 100%;
  margin-bottom: 20px;
}

.right_sec_b {
  display: flex;
  flex-direction: column-reverse;
  flex-wrap: wrap;
  align-items: start;
  justify-content: start;
}

.right_sec_b img {
  max-width: 100%;
  margin-bottom: 20px;
}

/*contact section*/
.contact {
  display: grid;
  align-items: center;
  height: 70vh;
  padding: 20px 23%;
  margin: 0 auto;
}
.contact h2 {
  font-size: 1.5rem;
  font-weight: 600;
}

.contact form {
  display: grid;
  grid-template-columns: 1fr;
  grid-row-gap: 20px;
  justify-items: center;
  background-color: #e1a198;
  padding: 20px;
  width: 100%;
  border-radius: 5px;
  box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1);
}

.contact ul {
  list-style: none;
  margin: 0;
  padding: 0;
  width: 100%;
  padding: 5%;
}

.contact li {
  display: grid;
  grid-template-columns: 1fr;
  grid-row-gap: 5px;
}

.contact label {
  font-size: 16px;
  font-weight: bold;
  margin-bottom: 5px;
  color: #333;
}

.contact input[type="text"],
.contact input[type="email"],
.contact textarea {
  width: 100%;
  padding: 10px;
  border-radius: 5px;
  border: none;
  box-shadow: inset 0px 0px 3px rgba(0, 0, 0, 0.2);
}

.contact button[type="submit"] {
  background-color: #333;
  color: #fff;
  border: none;
  border-radius: 5px;
  padding: 10px 20px;
  margin-top: 15px;
  font-size: 16px;
  font-weight: bold;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.contact button[type="submit"]:hover {
  background-color: #555;
}

.contact .error {
  color: red;
  font-size: 14px;
  margin-top: 10px;
  margin-bottom: 10px;
}

/*cjenik*/
.container {
  display: grid;
  align-items: center;
  height: 100%;
  padding: 20px 23%;
  margin: 5% auto;
}
.inner {
  background-color: #e1a198;
  padding: 5%;
  display: grid;
  border-radius: 5px;
  box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1);
}

.inner h1 {
  text-align: center;
  margin-bottom: 20px;
}

.inner table {
  border-collapse: collapse;
}

td {
  padding: 10px;
  border: 1px solid #ddd;
  text-align: left;
  font-weight: 600;
}

tr:nth-child(even) {
  background-color: #f2f2f2;
}

tr:hover {
  background-color: #ddd;
}
.inner ul {
  list-style: none;
  margin-left: 1.5em;
  text-align: left;
}
.inner p {
  margin-top: 32px;
  font-size: 14px;
  text-align: center;
}

.container_pp {
  display: grid;
  align-items: center;
  padding: 20px 23%;
  margin: 5% auto;
}
.inner_pp {
  background-color: #e1a198;
  padding: 5%;
  display: grid;
  border-radius: 5px;
  box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1);
}

.inner_pp h1 {
  font-size: 36px;
  margin: 0;
}

.inner_pp h2 {
  font-size: 24px;
  margin-top: 10px;
  margin-bottom: 0;
}
.inner_pp h3 {
  font-size: 18px;
  margin-top: 20px;
}

.inner_pp p {
  font-size: 16px;
  line-height: 1.5;
  margin-bottom: 20px;
}
.inner_pp ul {
  list-style: disc;
  margin-left: 1.5em;
}

.cookie-popup {
  /*display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;*/
  display: grid;
    grid-template-columns: auto auto 21%;
    justify-items: center;
    align-items: center;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    /* padding: 20px; */
    background-color: #fff;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.2);
    height: 155px;
    width: 50%;
    margin: 0 auto;
    border-radius: 5px;
    padding: 5px;
}

.cookie-popup img {
  width: 150px;
    height: auto;
}

.cookie-popup p {
  font-size: 1.1rem;
  text-align: left;
}

.cookie-popup a {
  color: #007bff;
}

.cookie-popup-btns{
  display: grid;
  width: 100%;
  grid-template-columns: repeat(2,1fr);
  justify-items: center;
  align-items: center;
  gap: 10px;
  padding: 10px;
}
.cookie-popup-btns button:first-child {
  background-color: #e1a198;
}


.cookie-popup button {
  background-color: #9c9c9c;
    color: #fff;
    border: none;
    border-radius: 5px;
    /* padding: 10px; */
    /* margin-top: 1.2rem; */
    cursor: pointer;
    /* width: 80%; */
    /* height: 50%;*/
}

.cookie-popup button:hover {
  background-color: #333;
}

.cookie-popup {
  top: 50%;
  transform: translateY(-50%);
}

/* Style the footer */
footer {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr;
  grid-gap: 20px;
  padding: 20px 23%;
  background-color: #e1a198;
}
footer a {
  color: #000;
  text-decoration: none;
}
footer a:hover {
  text-decoration: underline;
}
footer button {
  background-color: #000;
  color: #fff;
  padding: 10px;
  width: 100%;
  border: 0;
}
footer button:hover {
  box-shadow: 3px 3px 7px white;
}

footer ul {
  list-style-type: none;
}
.ll,
.rm,
.lm {
  border-right: 1px solid black;
}

.rr input {
  padding: 10px;
  margin-bottom: 10px;
  width: 100%;
  border: 0;
}

footer h3 {
  font-size: 1.5em;
  font-weight: 400;
  margin-bottom: 20px;
}

.footercr {
  display: grid;
  grid-template-columns: 1fr 1fr;
  padding: 20px 23%;
  background-color: #e1a198;
}

.cr {
  display: grid;
  justify-items: start;
  font-size: 1rem;
}

.hamag {
  display: grid;
  grid-template-columns: repeat(4, auto);
  justify-items: center;
  align-items: center;
  padding: 20px 23%;
  grid-gap: 15px;
}

.hamag img {
 width: 100%;
 height: auto;
 padding: 0;
 margin: 0;
}

.pb {
  display: grid;
  justify-items: end;
}
.pb a {
  text-decoration: none;
  color: #000;
}
.pb a:hover {
  text-decoration: underline;
}
@media screen and (max-width: 1670px) {
  .right_bot_hero h3 {
    font-size: 1.5vw;
  }
  .right_bot_hero h1 {
    font-size: 2.5vw;
  }
  .right_bot_hero p {
    font-size: 1.3vw;
  }
  .left_bot_hero img {
    height: 100%;
  }
  .cookie-popup{
    grid-template-columns: 1fr;
    height: auto;
    width: 50%;
    padding: 5%;
  }
}

@media screen and (max-width: 1330px) {
  footer {
    grid-template-columns: 1fr;
  }

  .hamag {
    grid-template-columns: repeat(2, auto);
    padding: 20px auto;
  }

  .service_one, .service_two {
    grid-template-columns: 1fr 1fr;
  }

  .service_two {
    padding: 5%;
  }
  }

@media screen and (max-width: 920px) {
  .bot_hero {
    grid-template-columns: 1fr;
  }
  .left_bot_hero img {
    height: auto;
  }
  .right_bot_hero h3 {
    font-size: 1.5rem;
  }
  .right_bot_hero h1 {
    font-size: 2.5rem;
  }
  .right_bot_hero p {
    font-size: 1.3rem;
    text-align: left;
  }
  nav button {
    display: block;
    text-align: start;
  }
  .nav li {
    font-size: 5vw;
  }
  .menu {
    display: none;
    background-color: #e1a198;
    color: #000;
    flex-direction: column;
    width: 100%;
    position: absolute;
    left: 0px;
    top: 0px;
    padding: 20% 10% 10% 10%;
    z-index: 1;
    font-size: 1.8;
  }
  .menu li {
    padding: 10px;
  }
  nav {
    padding: 20px 5%;
  }
  .container {
    padding: 20px 5%;
  }
  .hero {
    display: none;
  }
  .bot_hero {
    padding: 0;
  }
  .right_bot_hero {
    padding: 5%;
  }
  .sec_b {
    padding: 20px 5%;
  }
  .contact {
    padding: 20px 5%;
  }
  footer {
    padding: 20px 5%;
  }
  .footercr {
    padding: 20px 5%;
  }
  #numb {
    font-size: 1.5rem;
    display: grid;
  }
  .cookie-popup p {
    font-size: 0.8rem;
  }

  .hamag {
    grid-template-columns: repeat(1, auto);
    padding: 20px auto;
  }
}

@media screen and (max-width: 600px) {
  .sec_b {
    padding: 20px 10%;
  }
  .cookie-popup{
    grid-template-columns: 1fr;
    height: auto;
    width: 90%;
    padding: 5%;
  }
  .cookie-popup p {
    font-size: 0.8rem;
  }
  .contact {
    padding: 20px 10%;
  }
  .container {
    padding: 20px 10%;
  }

  table {
    width: 100%;
  }
  nav {
    grid-template-columns: 10% auto auto;
  }
  #numb {
    padding: 0 10px 0 0;
    font-size: 5vw;
    padding-left: 10%;
  }

  footer {
    padding: 20px 10%;
  }

  .footercr {
    padding: 20px 10%;
  }
  .service_one, .service_two {
    grid-template-columns: 1fr;
  }

  .left_sec_b h3 {
    font-size: 3.5vw;
  }

  .left_sec_b h2 {
    font-size: 5vw;
  }

  .footercr {
    padding: 10px;
  }
  .hamag{
    padding: 20px;
  }

  .hamag img {
    width: 100%;
    height: auto;
  }
}
