* {
  margin: 0;
  padding: 0;
  font-family: "Poppins", sans-serif;
}
/* background "navbar"*/
.header {
  min-height: 100vh;
  width: 100%;
  background-image: linear-gradient(rgba(4, 9, 30, 0.7), rgba(4, 9, 30, 0.7)),
    url(images/banner.jpg);
  background-position: center;
  background-size: cover;
  position: relative;
}
nav {
  display: flex;
  padding: 2%;
  justify-content: space-between;
  align-items: center;
}

nav img {
  width: 150px;
}
.nav-links {
  flex: 1;
  text-align: right;
}
.nav-links ul li {
  list-style: none;
  display: inline-block;
  padding: 8px 12px;
  position: relative;
}
.nav-links ul li a {
  color: #fff;
  text-decoration: none;
  font-size: 13px;
}
.nav-links ul li::after {
  content: "";
  width: 0%;
  height: 2px;
  background: #696947;
  display: block;
  margin: auto;
  transition: 0.5s;
}
.nav-links ul li:hover:after {
  width: 100%;
}
/* hero*/

.text-box {
  width: 90%;
  color: #fff;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
}
.text-box h1 {
  font-size: 62px;
}
.text-box p {
  margin: 10px 0 40px;
  font-size: 14px;
  color: #fff;
}
.hero-btn {
  display: inline-block;
  text-decoration: none;
  color: #fff;
  border: 1px solid #fff;
  padding: 12px 34px;
  font-size: 13px;
  background: transparent;
  position: relative;
  cursor: pointer;
}
.hero-btn:hover {
  border: 1px solid #696947;
  background: #696947;
  transition: 1s;
}
nav .fa {
  display: none;
}
@media (max-width: 700px) {
  .text-box h1 {
    font-size: 20px;
  }
  .nav-links ul li {
    display: block;
  }
  .nav-links {
    position: fixed;
    background: #696947;
    height: 100vh;
    width: 200px;
    top: 0;
    right: -200px;
    text-align: left;
    z-index: 2;
    transition: 1s;
  }
  nav .fa {
    display: block;
    color: #fff;
    margin: 10px;
    font-size: 22px;
    cursor: pointer;
  }
  .nav-links ul {
    padding: 25px;
  }
  .row {
    flex-direction: column;
  }
}
/*oferta*/
.oferta {
  width: 80%;
  margin: auto;
  text-align: center;
  padding-top: 100px;
}
h1 {
  font-size: 36px;
  font-weight: 600;
}
p {
  color: #777;
  font-size: 14px;
  font-weight: 300;
  line-height: 22px;
  padding: 10px;
}
.row {
  margin-top: 5%;
  display: flex;
  justify-content: space-between;
}
.oferta1-col {
  flex-basis: 31%;
  background-color: #d4d492;
  border-radius: 10px;
  margin-bottom: 5%;
  padding: 20px 12px;
  box-sizing: border-box;
  transition: 0.5s;
}
h3 {
  text-align: center;
  font-weight: 600;
  margin: 10px 0;
}
.oferta1-col:hover {
  box-shadow: 0 0 20px 0px rgba(0, 0, 0, 0.4);
}

/*--oferta2--*/

.oferta2 {
  width: 80%;
  margin: auto;
  text-align: center;
  padding-top: 50px;
}
.oferta2-col {
  flex-basis: 32%;
  border-radius: 10px;
  margin-bottom: 30px;
  position: relative;
  overflow: hidden;
}
.oferta2-col img {
  width: 100%;
  height: 100%;
  display: block;
}
.ofertaImage img {
  width: 100%;
  height: 100%;
  display: block;
  cursor: pointer;
}
/*---oferta3---*/
.oferta3 {
  width: 100%;
  min-width: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 50px 8%;
}
.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  grid-gap: 30px;
}
.gallery img {
  float: left;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.layer {
  background: transparent;
  height: 100%;
  width: 100%;
  position: absolute;
  top: 0;
  left: 0;
  transition: 0.5s;
  cursor: pointer;
  display: inline-block;
  padding: 5px;

  cursor: pointer;
  text-decoration: underline;
}
.layer:hover {
  background: rgba(233, 235, 145, 0.5);
}
.description {
  display: none;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: white;
  padding: 20px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
}
.small-description {
  display: none;
}
@media (max-width: 700) {
  .ofertaImage {
    position: relative;
  }

  .ofertaImage::after {
    content: attr(data-description);
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: rgba(255, 255, 255, 0.8);
    padding: 10px;
    font-size: 14px;
    text-align: center;
    width: 80%;
    max-width: 200px;
  }
}
/*
.oferta2-col:hover .description {
  display: block;
  z-index: 2;
} */
.layer h3 {
  width: 100%;
  font-weight: 500;
  color: #fff;
  font-size: 26px;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  position: absolute;
  opacity: 0;
  transition: 0.5s;
}

.layer:hover h3 {
  bottom: 49%;
  opacity: 1;
}
/*oferta3*/
.oferta3 {
  width: 80%;
  margin: auto;
  text-align: center;
  padding-top: 100px;
}
.oferta3-col {
  flex-basis: 31%;
  border-radius: 10px;
  margin-bottom: 5%;
  text-align: left;
}
.oferta3-col img {
  width: 100%;
  border-radius: 10px;
}
.oferta3-col p {
  padding: 0;
}
.oferta3-col h3 {
  margin-top: 16px;
  margin-bottom: 15px;
  text-align: left;
}
/*opinie*/
.opinie {
  width: 80%;
  margin: auto;
  padding-top: 100px;
  text-align: center;
}
.opinie-col {
  flex-basis: 44%;
  border-radius: 10px;
  margin-bottom: 5%;
  background: #abebc6;
  padding: 25px;
  text-align: left;
}
.opinie-col img {
  height: 40px;
  margin-left: 5px;
  margin-right: 30px;
  border-radius: 50%;
}

.opinie-col p {
  padding: 0;
  font-size: 12px;
}
.opinie-col h3 {
  margin-top: 15px;
  text-align: left;
}

@media (max-widht: 700) {
  .opinie-col img {
    margin-left: 0px;
    margin-right: 15px;
  }
}

/*-----doAkcji----*/
.doAkcji {
  margin: 100px auto;
  width: 80%;
  background-image: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)),
    url(images/backrest.avif);
  background-position: center;
  background-size: cover;
  border-radius: 10px;
  text-align: center;
  padding: 100px 0;
}
.doAkcji h1 {
  color: #fff;
  margin-bottom: 40px;
  padding: 0;
}
@media (max-width: 700) {
  .doAkcji h1 {
    font-size: 24px;
  }
}
/*footer*/
.footer {
  width: 100%;
  text-align: center;
  padding: 30px 0;
}
.footer h4 {
  margin-bottom: 25px;
  margin-top: 20px;
  font-weight: 600;
}
.icons .fa {
  color: #696947;
  margin: 0 13px;
  cursor: pointer;
  padding: 18px 0;
}
/*about us page*/

.sub-header {
  height: 50vh;
  width: 100%;
  background-image: linear-gradient(rgba(4, 9, 30, 0.7), rgba(4, 9, 30, 0.7)),
    url(images/backrest.avif);
  background-position: center;
  background-size: cover;
  text-align: center;
  color: #fff;
}
.sub-header h1 {
  margin-top: 50px;
}

.about-us {
  width: 80%;
  margin: auto;
  padding-top: 80px;
  padding-bottom: 50px;
}
.about-col {
  flex-basis: 48%;
  padding: 30px 2px;
}
.about-col img {
  width: 100%;
}
.about-col h1 {
  padding-top: 0;
}
.about-col p {
  padding: 15px 0 25px;
}
.red-btn {
  border: 1px solid #696947;
  background: transparent;
  color: #696947;
}
.red-btn:hover {
  color: #fff;
}
/*news*/
.news {
  width: 80%;
  margin: auto;
  padding: 60px 0;
}
.news-left {
  flex-basis: 63%;
}
.news-left img {
  width: 50%;
}
.news-left h2 {
  color: #222;
  font-weight: 600;
  margin: 30px 0;
}
.news-left p {
  color: #999;
  padding: 0;
}

.news-right {
  flex-basis: 32%;
}
.news-right h3 {
  background-color: #a5a574;
  color: #fff;
  padding: 7px 0;
  font-size: 16px;
  margin-bottom: 20px;
}
.news-right div {
  display: block;
  align-items: right;
  justify-content: space-between;
  color: #696947;
  padding: 8px;
  box-sizing: border-box;
}
.comment-box span {
  border: 1px solid #ccc;
  margin: 50px 0;
  padding: 20px 20px;
}
.comment-box .h3 {
  text-align: left;
}
.comment-form .input,
.comment-form .textarea {
  width: 100%;
  padding: 10px;
  margin: 15px 0;
  box-sizing: border-box;
  border: none;
  outline: none;
  background: #f0f0f0;
}
.comment-form .button {
  margin: 10px 0;
}
@media (max-width: 700) {
  .header h1 {
    font-size: 24px;
  }
  .sub-header h1 {
    font-size: 24px;
  }
}
/*kontakt*/
.kontakt {
  width: 80%;
  margin: auto;
}
.kontakt-col {
  flex-basis: 50%;
  margin-bottom: 30px;
}
.kontakt-col div {
  display: flex;
  align-items: center;
  margin-bottom: 40px;
}
.kontakt-col div .fa {
  font-size: 28px;
  margin: 10px;
  margin-right: 30px;
}
.kontakt-col div p {
  padding: 0;
}
.kontakt-col div h5 {
  font-size: 20px;
  margin-bottom: 5px;
  color: #555;
  font-weight: 400;
}
.kontakt-col input,
.kontakt-col textarea {
  width: 100%;
  padding: 15px;
  margin-bottom: 17px;
  outline: none;
  border: 1px solid #ccc;
  box-sizing: border-box;
}

@media (max-width: 700) {
  .kontakt-col div h5 {
    font-size: 10px;
  }
}
