@charset "UTF-8";
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Roboto";
  font-weight: bold;
  letter-spacing: 0.5px;
}

body {
  max-width: 1920px;
  width: 100%;
  margin: auto;
  background-image: url("img/backgroundImage.jpg");
  background-attachment: fixed;
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
}

.width {
  padding: 0 6%;
  margin: 0 auto;
}

.width-10 {
  padding: 0 9%;
  margin: 0 auto;
}

img {
  width: 100%;
  height: 100%;
  -o-object-fit: contain;
     object-fit: contain;
}

a {
  text-decoration: none;
}

header {
  height: 245px;
  max-height: 245px;
  margin-bottom: 60px;
  padding: 45px 0;
}
header .width {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  width: 100%;
}
header .width .logo {
  width: 130px;
  margin-right: 40px;
}
header .width .right-group {
  display: flex;
  align-items: center;
  margin-left: auto;
  gap: 25px;
}
header .width .right-group h1 {
  color: #f9c852;
  font-size: 24px;
  text-align: right;
}
header .width .right-group h1 span {
  display: block;
  max-width: 23ch;
}
header .width .right-group .contact {
  display: flex;
  align-items: center;
  justify-content: flex-end;
}
header .width .right-group .contact > a {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  text-decoration: none;
  margin-left: 15px;
  margin-right: 10px;
}
header .width .right-group .contact > a img {
  width: 40px;
}
header .width .right-group .contact > a span {
  padding-left: 10px;
  font-size: 22px;
  color: azure;
}
header .width .right-group .language {
  display: flex;
  align-items: center;
  justify-content: center;
}
header .width .right-group .language > div {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  margin: 5px;
  cursor: pointer;
  border: 4px solid transparent; /* domyślnie przezroczysty */
  transition: border 0.3s;
}
header .width .right-group .language > div.active {
  border-color: #f9c852;
}
header .width .right-group .language > div img {
  border-radius: 50%;
}

.villa-container {
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.villa-container .wrapper {
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  position: relative;
}
.villa-container .wrapper .header-left {
  position: absolute;
  left: -50px;
  background-color: rgba(240, 255, 255, 0.699);
  width: 50px;
  height: calc(100% - 130px);
  margin-top: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.villa-container .wrapper .header-left h3 {
  transform: rotate(-90deg);
  transform-origin: center;
  font-size: 26px;
  text-transform: uppercase;
}
.villa-container .wrapper figure {
  width: 500px;
  height: 500px;
  border: 10px solid rgba(240, 255, 255, 0.699);
  position: relative;
  overflow: hidden;
  margin-bottom: 30px;
}
.villa-container .wrapper figure .villa-personnes {
  margin-left: 4px;
  font-weight: 400;
}
.villa-container .wrapper figure img {
  height: 100%;
  -o-object-fit: cover;
  object-fit: cover;
  max-width: 100%;
}
.villa-container .wrapper figure:hover .cover {
  top: 0;
}
.villa-container .wrapper figure:hover a p {
  left: 0;
  opacity: 1;
  visibility: visible;
}

.villa-container-half {
  margin-bottom: 100px;
}
.villa-container-half .wrapper-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}
.villa-container-half .wrapper-container .wrapper {
  width: auto;
}
.villa-container-half .wrapper-container .wrapper:nth-child(2) figure {
  margin-left: auto;
}

.cover {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 355px;
  background-color: rgba(3, 46, 116, 0.555);
  padding: 15px;
  transition: 0.6s;
  -webkit-transition: 0.6s;
  -moz-transition: 0.6s;
  -ms-transition: 0.6s;
  -o-transition: 0.6s;
}
.cover.animate > * {
  opacity: 1;
  transform: translateX(0);
}
.cover > * {
  opacity: 0;
  transform: translateX(-30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
  color: azure;
  font-family: "Roboto";
  text-align: center;
}
.cover a {
  display: block;
  margin-bottom: 0;
  position: relative;
  text-transform: uppercase;
  font-weight: 300;
  opacity: 0;
  visibility: hidden;
  transform: translateX(-30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.cover a:hover p {
  background-color: rgba(240, 248, 255, 0.418);
}
.cover a p {
  background-color: transparent;
  transition: 0.3s;
  display: block;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 110%;
  font-weight: 300;
}
.cover h2 {
  font-size: 38px;
  font-weight: bold;
}
.cover h3 {
  font-weight: 400;
  margin-bottom: 90px;
  font-size: 18px;
  display: flex;
  justify-content: center;
}

/* -------------------------------- */
#contact {
  background-color: #F5FFFF;
  padding-top: 100px;
  padding-bottom: 50px;
  border-top: 2px solid #f9c852;
  display: flex;
  align-items: flex-start;
  width: 100%;
  justify-content: space-between;
}
#contact .contact-details {
  width: 30%;
}
#contact .contact-details h3 {
  margin-bottom: 6px;
}
#contact .contact-details p, #contact .contact-details p a {
  color: black;
  transition: all 0.4s linear;
  margin-bottom: 3px;
}
#contact .contact-details p a {
  white-space: nowrap;
}
#contact .contact-details a:hover {
  color: #f9c852;
}
#contact .contact-about {
  width: 55%;
}
#contact .contact-about p {
  font-weight: 400;
  max-width: 75ch;
  text-align: right;
  margin-left: auto;
}

/* -------------------------------- */
#gallery {
  height: 0;
  width: 0;
  top: 0;
  z-index: -1;
  opacity: 0;
  visibility: hidden;
  left: 0;
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
  transition: opacity 0.3s;
}
#gallery.show {
  height: 100vh;
  width: 100vw;
  max-width: 100%;
  position: fixed;
  background-color: #719ac6;
  top: 0;
  z-index: 9;
  opacity: 1;
  visibility: visible;
}
#gallery .prev,
#gallery .next {
  width: 60px;
  height: 90px;
  background-color: rgba(255, 255, 255, 0.5);
  position: absolute;
  left: 0;
  top: calc(50vh - 45px);
  cursor: pointer;
  background-image: url("img/arrow.svg");
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0.3;
  transition: opacity 0.3s;
}
#gallery .prev:hover,
#gallery .next:hover {
  opacity: 0.6;
}
#gallery .next {
  right: 0;
  transform: rotate(180deg);
  margin-left: auto;
}
#gallery .galleryClose {
  position: absolute;
  background-color: rgba(255, 255, 255, 0.5);
  opacity: 0.3;
  transition: 0.3s;
  right: 30px;
  top: 30px;
  height: 45px;
  width: 45px;
  transform: scale(0.8);
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
}
#gallery .galleryClose:hover {
  opacity: 0.6;
  transform: scale(1);
}
#gallery .galleryClose span {
  display: block;
  height: 2px;
  width: 45px;
  background-color: black;
  position: absolute;
  transform: rotate(45deg);
}
#gallery .galleryClose span:nth-of-type(2) {
  transform: rotate(-45deg);
}
#gallery .galleryImage {
  height: 100%;
  width: 100%;
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
}

@media (max-width: 1830px) {
  .width-10 {
    padding: 0 4%;
  }
}
@media (max-width: 1600px) {
  .width-10 {
    padding: 0 13%;
  }
}
@media (max-width: 1400px) {
  .width-10 {
    padding: 0 8%;
  }
  .width {
    padding: 0 4%;
  }
  header .width .right-group {
    flex-wrap: wrap;
    justify-content: flex-end;
  }
  header .width .right-group h1 {
    width: 100%;
    margin-left: auto;
  }
  header .width .right-group h1 span {
    margin-left: auto;
  }
}
@media (max-width: 1260px) {
  .width-10 {
    padding: 0 5%;
  }
}
@media (max-width: 1150px) {
  .villa-container .wrapper.wrapper-bompas {
    justify-content: center;
    width: 500px;
  }
  .villa-container .wrapper.wrapper-bompas .header-left {
    left: -50px;
  }
  .villa-container .wrapper-container {
    justify-content: center;
    flex-wrap: wrap;
    width: 500px;
  }
}
@media (max-width: 900px) {
  header .width {
    align-items: flex-start;
  }
  header .width .right-group .contact {
    display: flex;
    align-items: flex-end;
    justify-content: flex-end;
    flex-wrap: wrap;
  }
  header .width .right-group .contact a {
    width: 100%;
    justify-content: flex-end;
  }
  header .width .logo {
    width: 220px;
  }
  #contact {
    padding-top: 50px;
    flex-wrap: wrap;
  }
  #contact .contact-details {
    width: 100%;
  }
  #contact .contact-about {
    width: 100%;
    margin-top: 40px;
  }
  #contact .contact-about p {
    margin-left: initial;
    text-align: left;
  }
}
@media (max-width: 600px) {
  .width-10 {
    padding: 0 2%;
  }
  body {
    position: relative;
  }
  body:after {
    content: "";
    background-color: rgba(0, 0, 0, 0.2);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
  }
  header {
    height: auto;
    max-height: 100%;
    padding: 20px 0;
    margin-bottom: 20px;
  }
  header .width {
    flex-wrap: wrap;
    align-items: center;
  }
  header .width .logo {
    margin: 0 auto 20px auto;
    width: 100px;
  }
  header .width .right-group {
    width: 100%;
    text-align: center;
    justify-content: center;
    align-items: center;
  }
  header .width .right-group h1 {
    font-size: 22px;
    text-align: center;
  }
  header .width .right-group h1 span {
    margin: 0 auto;
  }
  header .width .right-group .contact {
    justify-content: center;
    align-items: center;
  }
  header .width .right-group .contact > a {
    justify-content: flex-start;
    margin-bottom: 10px;
    text-align: left;
  }
  header .width .right-group .contact > a img {
    width: 30px;
  }
  header .width .right-group .contact > a span {
    margin-left: 20px;
    font-size: 18px;
  }
  .villa-container .wrapper .header-left {
    left: 0px !important;
    width: 40px;
  }
  .villa-container .wrapper .header-left h3 {
    font-size: 20px;
  }
  .villa-container .wrapper figure {
    margin-left: 20px;
    height: 480px;
    width: 90%;
    border: 5px solid rgba(240, 255, 255, 0.699);
  }
  .villa-container-half .wrapper-container .wrapper figure {
    margin-left: 35px;
  }
  .villa-container-half .wrapper-container .wrapper:nth-child(2) figure {
    margin-left: 35px;
  }
}
@media (max-width: 500px) {
  .cover h2 {
    font-size: 30px;
  }
  .villa-container .wrapper figure {
    margin-left: 20px;
    width: 350px;
  }
  .villa-container .wrapper .header-left {
    left: 50px !important;
  }
  .villa-container-half .wrapper-container .wrapper figure {
    margin-left: 20px;
  }
  .villa-container-half .wrapper-container .wrapper:nth-child(2) figure {
    margin-left: 20px;
  }
  .villa-container-half .wrapper-container .wrapper .header-left {
    left: -15px !important;
  }
}
@media (max-width: 370px) {
  .villa-container .wrapper .header-left {
    width: 30px;
    left: 85px !important;
  }
  .villa-container .wrapper figure {
    margin-left: 20px;
    width: 300px;
  }
  .villa-container-half .wrapper-container .wrapper .header-left {
    left: -8px !important;
  }
}/*# sourceMappingURL=style.css.map */