/*

CSS LOGIC
1.  Import - fonts
2.  Reset
3.  Variables
4.  Core Elements (html, body, p, a, img, ...)
5.  Headlines
6.  Containers & wrappers
7.  Layout - column system
8.  Layout utils
9.  Custom components
    A. header
    B. hero
    C. benefits
    D. photo grids
    E. rooms
    F. booking.com award
    G. reviews
    H. swiper styling
    I. footer
    J. price-list
    K. accordition
    L. mouse scroll hint
10. Custom elements - pages    
11. RWD @media mods
    A. max-width 1920
    B. max-width 1024
    C. max-width 768
    D. max-width 568
    E. max-width 320
11. Test utils

*/

/* ----------------- */
/* 1. IMPORT - FONTS */
/* ----------------- */

@import url("https://fonts.googleapis.com/css2?family=Fjord+One&family=Roboto+Slab:wght@300;500&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Roboto+Mono:wght@600&display=swap");
@font-face {
  font-family: "Gilroy";
  src: url(/assets/fonts/Gilroy-ExtraBold.woff) format("woff");
  font-weight: bold;
}

@font-face {
  font-family: "Gilroy";
  src: url(/assets/fonts/Gilroy-Light.woff) format("woff");
  font-weight: light;
}

/* ---------------- */
/* 2. RESET         */
/* ---------------- */

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* ------------- */
/* 3. VARIABLES  */
/* ------------- */

:root {
  /* FONT DEFINITIONS */
  --FONT-main: "Gilroy";
  --FONT-decor: "Roboto Slab"; /* for headlines and buttons */
  --FONT-decor2: "Fjord One"; /* for navigation */
  /* COLOR DEFINITIONS */
  --COLOR-background: #f3f3f3;
  --COLOR-accent: #3cc455;
  --COLOR-text: #222222;
  --COLOR-text-on-dark: rgb(220, 220, 220); /* for footer */
  --COLOR-text-minor-on-dark: rgb(160, 160, 160); /* for copyright */
  --COLOR-footer-background-1: #1e3051; /* footer - left module's bg */
  --COLOR-footer-background-2: rgb(67, 73, 84); /* footer - right module's bg */
  /* UNITS & SIZES*/
  --UNIT-rem: 18px;
  --UNIT-margin: 40px;
  --UNIT-line-height: 1.5;
  --SIZE-header-height: 140px;
  --SIZE-footer-height: 450px;
  --swiper-navigation-size: 2rem; /* override for swiper /
  /* FONT SIZES */
  --FONTSIZE-XS: 0.7rem;
  --FONTSIZE-S: 0.8rem;
  --FONTSIZE-button: 0.85rem;
  --FONTSIZE-base: 1rem;
  --FONTSIZE-M: 1.25rem;
  --FONTSIZE-L: 1.5rem;
  --FONTSIZE-XL: 1.75rem;
  --FONTSIZE-XXL: 2rem;
  --FONTSIZE-XXXL: 2.5rem;
}

/* ---------------- */
/* 4. CORE ELEMENTS */
/* ---------------- */

html {
  display: block;
  /* REM DEFINITION */
  font-family: var(--FONT-main);
  font-size: var(--UNIT-rem);
  font-weight: 300;
  color: var(--COLOR-text);
  line-height: var(--UNIT-line-height);
  text-align: left;
  scroll-behavior: smooth;
}

body {
  position: relative;
  background-color: white;
  min-height: 100vh;
  overflow-x: hidden;
}

article {
  padding-top: calc(var(--UNIT-margin) * 3);
  padding-bottom: calc(var(--UNIT-margin) * 3);
  width: 100vw;
}

p,
ol,
ul,
button {
  margin: var(--UNIT-margin) 0;
  max-width: 800px;
}

em {
  font-style: inherit;
}

span,
strong {
  font-style: inherit;
  font-weight: inherit;
}

address {
  font-size: var(--FONTSIZE-S);
  font-style: normal;
}

blockquote {
  font-style: italic;
}

table {
  margin: var(--UNIT-margin) 0;
  overflow-x: auto;
  border-collapse: collapse;
  border: none;
}

button {
  font-family: var(--FONT-decor);
  font-size: var(--FONTSIZE-button);
  font-weight: 500;
  color: var(--COLOR-accent);
  padding: 1em 3em;
  background-color: transparent;
  border: 2px solid var(--COLOR-accent);
  border-radius: 2px;
  text-align: center;
  cursor: pointer;
  user-select: none;
  transition: 0.6s;
}

button:hover {
  color: white;
  font-weight: 500;
  background-color: var(--COLOR-accent);
  box-shadow: 2.8px 2.8px 2.2px rgba(0, 0, 0, 0.02),
    6.7px 6.7px 5.3px rgba(0, 0, 0, 0.028),
    12.5px 12.5px 10px rgba(0, 0, 0, 0.035),
    22.3px 22.3px 17.9px rgba(0, 0, 0, 0.042),
    41.8px 41.8px 33.4px rgba(0, 0, 0, 0.05),
    100px 100px 80px rgba(0, 0, 0, 0.07);
}

a,
a:link,
a:visited {
  color: inherit;
  text-decoration: underline;
  text-decoration-color: var(--COLOR-accent);
  font-weight: bold;
  transition: 0.6s;
}

a:hover {
  color: var(--COLOR-accent);
  text-decoration: underline;
}

hr {
  margin: 20px 0;
  border-top: 0.5px solid black;
}

/* ------------------- */
/* 5. HEADLINES        */
/* ------------------- */

headline {
  display: inline-block;
  font-size: var(--FONTSIZE-S);
  text-transform: uppercase;
  font-family: var(--FONT-main);
  font-weight: bold;
  letter-spacing: 0.25em;
  color: var(--COLOR-accent);
  margin-bottom: var(--UNIT-margin);
}

h1 {
  font-family: var(--FONT-decor);
  font-size: var(--FONTSIZE-XXXL);
  font-weight: 300;
  color: var(--COLOR-footer-background-1);
  line-height: 1.25;
}

h2 {
  font-family: var(--FONT-decor);
  font-size: var(--FONTSIZE-XXXL);
  font-weight: 300;
  color: var(--COLOR-footer-background-1);
  line-height: 1.25;
}

h3 {
  font-family: var(--FONT-decor);
  font-size: var(--FONTSIZE-XL);
  font-weight: 300;
  color: var(--COLOR-footer-background-1);
  line-height: 1.25;
}

/* --------------------------- */
/* 6. CONTAINERS & WRAPPERS    */
/* --------------------------- */

.main-container {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  flex-wrap: wrap;
  width: 100vw;
  min-width: 100vw;
  background-color: white;
  margin: 0 auto;
  margin-bottom: var(--SIZE-footer-height);
  z-index: 0;
}

.footer-container {
  position: fixed;
  bottom: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  width: 100vw;
  height: var(--SIZE-footer-height);
  color: var(--COLOR-text-on-dark);
  z-index: -1;
}

.row {
  max-width: 1152px;
  width: 90%;
  align-self: center;
  margin: var(--UNIT-margin) auto;
  position: relative;
}

.row-full-width {
  width: 100%;
  align-self: center;
  background-color: white;
}

/* ------------------------- */
/* 7. LAYOUT - COLUMN SYSTEM */
/* ------------------------- */

.flex {
  display: flex;
  flex-direction: row;
  justify-content: start;
  flex-wrap: nowrap;
  gap: var(--UNIT-margin);
}

.flex-col-1-2 {
  flex: 1 50%;
}

.flex-col-1-4 {
  flex: 1 25%;
}

.flex-col-2-4 {
  flex: 1 50%;
}

.flex-col-3-4 {
  flex: 1 75%;
}

.flex-col-4-4 {
  flex: 1 100%;
}

.flex-col-1-3 {
  flex: 1 33.33333%;
}

.flex-col-2-3 {
  flex: 1 66.66666%;
}

.flex-col-3-3 {
  flex: 1 100%;
}

/* ---------------- */
/* 8. LAYOUT UTILS  */
/* ---------------- */

.nogap {
  gap: 0px;
}

.nowrap {
  flex-wrap: nowrap;
}

.light {
  font-weight: 300;
}

.top-margin-zero {
  margin-top: 0px;
}

.top-padding-zero {
  padding-top: 0px;
}

.bottom-margin-zero {
  margin-bottom: 0px;
}

.bottom-padding-zero {
  padding-bottom: 0px;
}

.padding-sides-1u {
  padding-left: var(--UNIT-margin);
  padding-right: var(--UNIT-margin);
}

.padding-top-1u {
  padding-top: var(--UNIT-margin);
}

.padding-bottom-1u {
  padding-bottom: var(--UNIT-margin);
}

.nomargin {
  margin-top: 0;
  margin-bottom: 0;
  padding-top: 0;
  padding-bottom: 0;
}

.nomargin-sides {
  margin-left: 0;
  margin-right: 0;
}

.full-height {
  height: 100%;
}

.hidden {
  display: none;
}

.z-index-negative {
  z-index: -1 !important;
}

.no-overflow {
  overflow: hidden;
}

.center {
  align-self: center;
}

.background-apply {
  background-color: var(--COLOR-background);
}

.background-apply-white {
  background-color: white;
}

nowrap {
  white-space: nowrap;
}

.flex-item-frombottom {
  margin-top: auto;
}

.text-right {
  text-align: right;
}

.square {
  aspect-ratio: 1 / 1;
  height: auto;
}

.opacity-hidden {
  visibility: hidden !important;
  opacity: 0 !important;
  transition: visibility 2s, opacity 2s linear;
}

/* ------------------ */
/* 9. CUSTOM ELEMENTS */
/* ------------------ */

/* A. HEADER */

header {
  position: fixed;
  top: 0;
  display: flex;
  height: var(--SIZE-header-height);
  background-color: white;
  transition: 0.6s;
  z-index: 1000;
}

header.sticky {
  position: fixed;
  top: 0;
  height: calc(0.8 * var(--SIZE-header-height));
}

header + #hero {
  margin-top: var(--SIZE-header-height);
}

/* .sticky + #hero {
  padding-top: calc(0.8 * var(--SIZE-header-height));
} */

.nav-tel {
  display: none;
}

#nav-top {
  justify-content: space-between;
}

#nav-top > a {
  align-self: center;
}

.logo {
  width: 12rem;
}

a.top-link {
  position: relative;
}

.top-link:link,
.top-link:visited {
  color: black;
  text-decoration: none;
  font-family: var(--FONT-decor);
  transition: 0.6s;
  font-weight: 500;
}

.top-link:hover {
  color: var(--COLOR-accent);
  font-weight: 500;
}

.top-link:after {
  content: "";
  position: absolute;
  width: 0;
  height: 3px;
  display: block;
  margin-top: 5px;
  right: 0;
  background: var(--COLOR-accent);
  transition: width 0.2s ease;
  -webkit-transition: width 0.2s ease;
}

.top-link:hover:after {
  width: 100%;
  left: 0;
  background: var(--COLOR-accent);
}

.menu {
  width: 100%;
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-btn {
  font-size: var(--FONTSIZE-L);
  color: black;
  align-self: center;
  display: none;
}

.close-btn {
  font-size: var(--FONTSIZE-L);
  color: black;
  align-self: center;
  display: none;
}

/* B. HERO */

#hero {
  background-image: url(/assets/images/bg.webp);
  background-position: right center;
  background-repeat: no-repeat;
  background-size: 70vw;
  contain: content;
}

#herobox {
  padding-top: calc(var(--UNIT-margin) * 1);
  padding-right: calc(var(--UNIT-margin) * 1);
  padding-bottom: calc(var(--UNIT-margin) * 1);
  margin-top: calc(var(--UNIT-margin) * 2);
  margin-bottom: calc(var(--UNIT-margin) * 2);
  align-self: center;
  width: 33.33333%;
  background-color: white;
}

/* C. BENEFITS */

#benefity {
  margin-top: calc(var(--UNIT-margin) * 3);
}

.icon {
  display: block;
  font-size: calc(var(--FONTSIZE-XXL) * 2);
  color: var(--COLOR-footer-background-1);
}

/* D. PHOTO GRID */

#grid-1 {
  margin-top: calc(var(--UNIT-margin) * 3);
}

#grid-1 > div > img {
  width: 100%;
  object-fit: cover;
  aspect-ratio: 1 / 1;
  vertical-align: bottom;
}

#grid-2 > div > img {
  width: 100%;
  object-fit: cover;
  aspect-ratio: 1 / 1;
  vertical-align: bottom;
}

.img-container {
  overflow: hidden;
  display: block;
  position: relative;
  box-shadow: 2.8px 2.8px 2.2px rgba(0, 0, 0, 0.02),
    6.7px 6.7px 5.3px rgba(0, 0, 0, 0.028),
    12.5px 12.5px 10px rgba(0, 0, 0, 0.035),
    22.3px 22.3px 17.9px rgba(0, 0, 0, 0.042),
    41.8px 41.8px 33.4px rgba(0, 0, 0, 0.05),
    100px 100px 80px rgba(0, 0, 0, 0.07);
}

.img-container > span,
.img-container > span:hover {
  font-family: var(--FONT-decor);
  color: white;
  position: absolute;
  right: 0;
  top: var(--UNIT-margin);
  padding: 0.5em 0.5em;
  background-color: var(--COLOR-footer-background-1);
}

/* E. ROOMS */

.teaser-img {
  max-width: 100%;
  object-fit: cover;
  aspect-ratio: 3 / 2;
  vertical-align: bottom;
  transition: transform 0.5s ease;
  cursor: pointer;
}

.teaser-img:hover {
  transform: scale(1.2);
}

.punkty {
  list-style: square;
  list-style-position: inside;
}

.punkty > li {
  font-size: var(--FONTSIZE-S);
}

/* F. Booking.com AWARD */

#Booking-award {
  background-image: url("/assets/images/Digital-Award-TRA-2023.png");
  background-repeat: no-repeat;
  background-size: cover;
  height: auto;
  box-shadow: 2.8px 2.8px 2.2px rgba(0, 0, 0, 0.02),
    6.7px 6.7px 5.3px rgba(0, 0, 0, 0.028),
    12.5px 12.5px 10px rgba(0, 0, 0, 0.035),
    22.3px 22.3px 17.9px rgba(0, 0, 0, 0.042),
    41.8px 41.8px 33.4px rgba(0, 0, 0, 0.05),
    100px 100px 80px rgba(0, 0, 0, 0.07);
}

#Booking-award::before {
  content: "";
  display: block;
  padding-top: 100%;
}

.Booking-thanks {
  align-self: center;
}

/* G. REVIEWS */

.opinia {
  background-color: white;

  width: 100%;
  padding: calc(var(--UNIT-margin) * 2);
  overflow: hidden;
  position: relative;
}

.opinia > h3 {
  font-size: var(--FONTSIZE-M);
  margin-bottom: var(--UNIT-margin);
  font-weight: 300;
}

.opinia > blockquote {
  font-size: var(--FONTSIZE-S);
  color: var(--COLOR-footer-background-1);
  max-width: 50vw;
  font-style: italic;
}

.opinia > p:first-of-type {
  margin-top: var(--UNIT-margin);
}
.opinia > p {
  font-size: var(--FONTSIZE-XS);
  padding-left: 50%;
  line-height: 1.2;
  margin: 0;
}

.opinia > p.autor {
  font-size: var(--FONTSIZE-S);
  color: #1e3051;
  font-weight: bold;
}

/* H. SWIPER FOR REVIEWS STYLING */

.swiper-button-next {
  height: var(--FONTSIZE-base);
  width: var(--FONTSIZE-base);
  border-radius: 50%;
  background-color: white;
  color: var(--COLOR-accent);
  transition: 0.6s;
}

.swiper-button-prev {
  height: var(--FONTSIZE-base);
  width: var(--FONTSIZE-base);
  border-radius: 50%;
  background-color: white;
  color: var(--COLOR-accent);
  transition: 0.6s;
}

.swiper-button-next:hover,
.swiper-button-prev:hover {
  background-color: white;
  color: var(--COLOR-accent);
}

.swiper-pagination-bullet {
  background-color: var(--COLOR-text);
}

.swiper-pagination-bullet-active {
  background-color: var(--COLOR-accent);
}

/* I. FOOTER */

#footer-nav > ul {
  list-style-type: none;
  padding-bottom: 0;
  margin-bottom: 0;
}

#footer-nav > ul > li {
  margin-bottom: calc(var(--UNIT-margin) / 4);
}

#footer-nav > ul > li:last-of-type {
  margin-bottom: 0;
}

.navlink-footer:link,
.navlink-footer:visited {
  color: white;
  text-decoration: none;
  font-family: var(--FONT-decor);
  font-weight: 500;
  transition: 0.6s;
}

.navlink-footer:hover {
  color: var(--COLOR-accent);
  font-weight: 500;
}

.footer-telno,
.footer-telno:link,
.footer-telno:active,
.footer-telno:visited {
  display: inline-block;
  color: var(--COLOR-accent);
  text-decoration: none;
  font-family: var(--FONT-decor1);
  font-weight: 500;
  font-size: var(--FONTSIZE-XXXL);
  font-style: italic;
}

.footer-logo {
  width: 5rem;
}

#footer-call > p:last-of-type {
  margin-bottom: 0;
}

address > p {
  margin: calc(var(--UNIT-margin) / 3) 0;
}

address > p > b {
  font-size: var(--FONTSIZE-base);
  color: white;
}

address > p:last-of-type {
  margin: 0;
}

#copyright {
  justify-content: space-between;
  color: var(--COLOR-text-minor-on-dark);
  font-size: var(--FONTSIZE-S);
}

#footer-custom-bg {
  position: fixed;
  bottom: 0;
  z-index: -500;
  height: 100%;
  width: 100vw;
  background: linear-gradient(
    to right,
    var(--COLOR-footer-background-1) 0%,
    var(--COLOR-footer-background-1) 50%,
    var(--COLOR-footer-background-2) 50%,
    var(--COLOR-footer-background-2) 100%
  );
}

.footer-bg1 {
  background-color: var(--COLOR-footer-background-2);
}

.footer-bg2 {
  background-color: var(--COLOR-footer-backgroundd-1);
}

/* J. PRICELIST */

thead,
thead > tr > th {
  font-family: var(--FONT-decor);
  font-weight: 300;
  font-size: var(--FONTSIZE-base);
  text-transform: uppercase;
  color: var(--COLOR-footer-background-1);
  padding-bottom: 10px;
  padding-right: 20px;
}

td {
  padding-top: 5px;
  padding-bottom: 5px;
  padding-right: 20px;
}

tr {
  border-top: 1px solid var(--COLOR-background);
  border-bottom: 1px solid var(--COLOR-background);
}

tr:first-of-type {
  border-top: none;
  border-bottom: 1px solid var(--COLOR-background);
}

td.price {
  font-family: "Roboto Mono";
  font-weight: 600;
  color: var(--COLOR-footer-background-1);
  text-align: right;
}

th.price-head {
  text-align: right;
  width: 100px;
}

.uwagi {
  color: var(--COLOR-text-minor-on-dark);
  font-size: var(--FONTSIZE-S);
}

/* K. ACCORDITION & ADDRESS*/

#dane-adresowe address p {
  color: var(--COLOR-text);
}

#faq {
  padding-top: calc(var(--UNIT-margin) * 2);
}

#faq ul {
  max-width: 100%;
}

#faq > ul li {
  padding-top: var(--UNIT-margin);
  border-top: 1px dotted var(--COLOR-footer-background-1);
  list-style-type: none;
  position: relative;
}

#faq i {
  padding-right: var(--UNIT-margin);
}

#faq h3 {
  max-width: 80%;
}

#faq ul li:nth-of-type(1) {
  animation-delay: 0.5s;
}
#faq ul li:nth-of-type(2) {
  animation-delay: 0.75s;
}
#faq ul li:nth-of-type(3) {
  animation-delay: 1s;
}

#faq ul li i {
  position: absolute;
  transform: translate(-6px, 0);
  margin-top: 16px;
  right: 0;
}

#faq ul li i:before,
#faq ul li i:after {
  content: "";
  position: absolute;
  background-color: var(--COLOR-accent);
  width: 3px;
  height: 9px;
}
#faq ul li i:before {
  transform: translate(-2px, 0) rotate(45deg);
}
#faq ul li i:after {
  transform: translate(2px, 0) rotate(-45deg);
}
#faq ul li input[type="checkbox"] {
  position: absolute;
  cursor: pointer;
  width: 100%;
  height: 100%;
  z-index: 1;
  opacity: 0;
}
#faq ul li input[type="checkbox"]:checked ~ p {
  margin-top: 0;
  max-height: 0;
  opacity: 0;
  transform: translate(0, 50%);
}
#faq ul li input[type="checkbox"]:checked ~ i:before {
  transform: translate(2px, 0) rotate(45deg);
}
#faq ul li input[type="checkbox"]:checked ~ i:after {
  transform: translate(-2px, 0) rotate(-45deg);
}

/* L. MOUSE SCROLL HINT */
#o-nas {
  position: relative;
}
.mouse {
  position: absolute;
  top: 0;
  margin: 40px auto;
  width: 100%;
  opacity: 1;
  visibility: visible;
}
.mouse-icon {
  width: 25px;
  height: 45px;
  border: 2px solid gray;
  border-radius: 15px;
  position: relative;
  text-align: center;
  margin: 0 auto;
}
.mouse-wheel {
  height: 6px;
  margin: 2px auto 0;
  display: block;
  width: 3px;
  background-color: var(--COLOR-accent);
  border-radius: 50%;
  -webkit-animation: 1.6s ease infinite wheel-up-down;
  -moz-animation: 1.6s ease infinite wheel-up-down;
  animation: 1.6s ease infinite wheel-up-down;
}
@-webkit-keyframes wheel-up-down {
  0% {
    margin-top: 2px;
    opacity: 0;
  }
  30% {
    opacity: 1;
  }
  100% {
    margin-top: 20px;
    opacity: 0;
  }
}
@-moz-keyframes wheel-up-down {
  0% {
    margin-top: 2px;
    opacity: 0;
  }
  30% {
    opacity: 1;
  }
  100% {
    margin-top: 20px;
    opacity: 0;
  }
}
@keyframes wheel-up-down {
  0% {
    margin-top: 2px;
    opacity: 0;
  }
  30% {
    opacity: 1;
  }
  100% {
    margin-top: 20px;
    opacity: 0;
  }
}

/* --------------------------- */
/* 10. CUSTOM ELEMENTS - PAGES */
/* --------------------------- */

/* Modal containers */
.modal {
  position: fixed;
  width: 100vw;
  height: 100vh;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 5000;
  background-color: rgba(0, 0, 0, 0.7);
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  visibility: hidden;
}

.modal-content {
  display: grid;
  grid-template-columns: 2fr 1fr;
  grid-template-rows: auto auto;
  gap: 0 0;
  max-width: 1152px;
  width: 90%;
  height: 90%;
  border: 1px solid gray;
  background-color: white;
  align-self: center;
  padding: 0;
  position: relative;
  overflow: auto;
  box-shadow: 2.8px 2.8px 2.2px rgba(0, 0, 0, 0.02),
    6.7px 6.7px 5.3px rgba(0, 0, 0, 0.028),
    12.5px 12.5px 10px rgba(0, 0, 0, 0.035),
    22.3px 22.3px 17.9px rgba(0, 0, 0, 0.042),
    41.8px 41.8px 33.4px rgba(0, 0, 0, 0.05),
    100px 100px 80px rgba(0, 0, 0, 0.07);
}

/* modal content */

.modal-gallery {
  grid-column: 1 / 2;
  grid-row: 1 / 2;
  overflow: hidden;
}
.modal-desc {
  grid-column: 1 / 2;
  grid-row: 2 / 3;
  padding: var(--UNIT-margin);
  background-color: white;
  font-size: var(--FONTSIZE-S);
}

.modal-desc p {
  margin: 10px 0;
}

.modal-info {
  grid-column: 2 / 3;
  grid-row: 1 / 3;
  background-color: var(--COLOR-background);
  padding: var(--UNIT-margin);
}

.modal-gallery-image {
  object-fit: cover;
  width: 100%;
  height: 100%;
  vertical-align: bottom;
}

.modal-close-btn {
  position: absolute;
  top: 0;
  right: 5px;
  font-size: var(--FONTSIZE-L);
  cursor: pointer;
}

.modal-info .fa-solid {
  padding-right: 5px;
}

.modal-info span {
  font-size: var(--FONTSIZE-base);
  display: block;
  margin-top: 10px;
}

.modal-info span:first-of-type {
  margin-top: 0px;
}

.modal-info ul {
  list-style: none;
  margin: 0;
  font-size: var(--FONTSIZE-S);
}

/* modal utils */

.active {
  opacity: 1 !important;
  visibility: visible !important;
}

.no-scroll {
  overflow: hidden;
}

/* modal swiper */
.swiper-pagination-ap1,
.swiper-pagination-ap2,
.swiper-pagination-apz {
  z-index: 6000;
  position: relative;
  top: -30px !important;
  text-align: center;
}

/* --------------------------- */
/* 11. RWD                     */
/* --------------------------- */

@media (max-width: 1920px) {
  /* improve visual effect */
  #hero {
    background-size: 80vw;
  }
}

@media (max-width: 1024px) {
  /* reduce space between articles */
  article {
    padding-top: calc(var(--UNIT-margin) * 2);
    padding-bottom: calc(var(--UNIT-margin) * 2);
  }

  /* ensure hamburger position */
  #nav-top {
    justify-content: end;
  }
  .nav-btn {
    display: block;
    cursor: pointer;
  }

  /* style phone number in sidebar nav */
  .nav-tel {
    display: block;
    color: var(--COLOR-background);
    text-align: center;
    border-top: dotted 0.5px white;
    margin-top: var(--UNIT-margin);
    margin-bottom: var(--UNIT-margin);
  }

  /* typography fix for smaller screens */
  h3 {
    font-size: var(--FONTSIZE-L);
  }
  .footer-telno,
  .footer-telno:link {
    font-size: var(--FONTSIZE-XL);
  }
  .footer-logo {
    width: 4em;
  }

  /* enlarge herobox for smaller screens */
  #herobox {
    width: 50%;
    padding-top: calc(var(--UNIT-margin) * 0.5);
    padding-right: calc(var(--UNIT-margin) * 0.5);
    padding-bottom: calc(var(--UNIT-margin) * 0.5);
    margin-top: calc(var(--UNIT-margin) * 0.5);
    margin-bottom: calc(var(--UNIT-margin) * 0.5);
    background-color: white;
  }

  /* hide copyright in footer */
  #copyright {
    display: none;
  }

  /* shorten footer */
  .main-container {
    margin-bottom: 300px;
  }
  .footer-container {
    height: 300px;
  }

  /* style sidebar nav */
  .close-btn {
    position: absolute;
    top: calc(var(--UNIT-margin) / 2);
    right: calc(var(--UNIT-margin) / 2);
  }

  .close-btn,
  .top-link:link,
  .top-link:visited {
    display: block;
    color: white;
    text-decoration: none;
    font-size: var(--FONTSIZE-XXL);
    transition: 0.6s;
    cursor: pointer;
    padding: calc(var(--UNIT-margin) / 4);
  }
  .close-btn:hover,
  .top-link:hover {
    color: var(--COLOR-accent);
  }
  .menu {
    display: flex;
    position: fixed;
    background: var(--COLOR-footer-background-1);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 100vw;
    height: 100vh;
    top: 0;
    right: -100%;
    padding: 80px 50px;
    transition-property: right;
    transition: 0.5s;
  }
  .menu.active {
    right: 0;
  }
}

@media (max-width: 768px) {
  /* fix rem unit and margin for small screens */
  :root {
    --UNIT-margin: 35px;
    --UNIT-rem: 16px;
  }
  /* ensure space in case of word-wrapping */
  h3.light {
    height: 60px;
  }
  ul.punkty {
    height: 100px;
  }

  /* position herobox for smaller screens */
  #herobox {
    margin-top: calc(var(--UNIT-margin) / 2);
    margin-bottom: calc(var(--UNIT-margin) / 2);
  }

  /* style swiper for smaller screens */
  .swiper-slide {
    width: 70%;
    text-align: center;
  }
  .opinia > blockquote {
    max-width: 100%;
  }
}

@media (max-width: 568px) {
  /* introduce order classes for re-ordering flex items */
  .order1 {
    order: 1;
  }
  .order2 {
    order: 2;
  }
  .order3 {
    order: 3;
  }
  .order4 {
    order: 4;
  }
  #o-nas {
    display: flex;
    flex-direction: column;
  }

  /* fix rem unit & logo size for tiny screens */
  :root {
    --UNIT-margin: 20px;
    --SIZE-header-height: 100px;
  }

  .logo {
    width: 10rem;
  }

  /* fix sidebar menu link */
  .top-link:link,
  .top-link:visited {
    font-size: var(--FONTSIZE-L);
    text-align: center;
  }

  /* center text */
  headline,
  h1,
  h2,
  h3:not(#faq h3),
  p:not(#faq p),
  .icon,
  ul.punkty {
    display: block;
    text-align: center;
    height: auto;
  }
  footer {
    text-align: center;
  }

  /* fix flow */
  .flex:not(header .flex) {
    flex-direction: column;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0px;
  }
  .flex-col-1-3:not(header .flex-col-1-3) {
    flex: 1 100%;
    text-align: center;
  }
  .flex-col-1-4 {
    flex: 1 50%;
    text-align: center;
  }
  footer .flex-col-1-4 {
    flex: 1 100%;
  }
  .flex-col-2-3,
  .flex-col-3-4 {
    flex: 1 100%;
  }

  #grid-1,
  #grid-2,
  header .row,
  footer .row,
  footer .flex {
    flex-direction: row !important;
  }

  /* fix margins and paddings */
  #o-nas {
    position: initial;
  }
  headline {
    margin-bottom: 0;
  }
  .img-container {
    width: 80%;
    margin: 0 auto;
    box-shadow: none;
  }
  h3.light {
    height: auto;
  }
  .icon {
    font-size: calc(var(--FONTSIZE-XXL) * 1.5);
    color: var(--COLOR-accent);
  }
  #dane-adresowe .row {
    width: 100%;
  }
  #Booking-copy {
    padding-top: 10px;
    padding-bottom: 10px;
  }
  #apartamenty headline {
    margin-top: 20px;
  }
  #apartamenty button {
    position: absolute;
    background-color: white;
    color: var(--COLOR-accent);
    margin: 0 auto;
    left: 0;
    right: 0;
    margin-top: -165px;
    width: 250px;
  }
  #apartamenty button:hover {
    background-color: var(--COLOR-accent);
    color: white;
  }
  #apartamenty .punkty {
    list-style: none;
    padding-top: 40px;
    padding-bottom: 20px;
    margin: 0 auto;
    width: 80%;
    background-color: white;
    border: 1px solid var(--COLOR-background);
    border-top: none;
  }

  /* fix table */
  p.uwagi {
    text-align: left !important;
  }
  .desc-head,
  .desc {
    display: none;
  }
  table {
    width: 100%;
  }
  .price,
  .price-head {
    padding-right: 0px;
  }

  /* fix faq */
  #faq i {
    padding-right: 5px;
  }

  /* hide unwanted */
  #Booking-award,
  .claim,
  #footer-nav,
  #footer-custom-bg {
    display: none;
  }

  /* style footer */
  footer {
    background-color: var(--COLOR-footer-background-1);
  }

  /* hero styling*/
  #herobox {
    display: none;
  }

  #hero {
    height: 300px;
    width: 90vw;
    background-size: 100vw !important;
    margin-bottom: -100px;
    background-position: center bottom;
  }

  /* background styling */
  #o-nas {
    background: linear-gradient(
      to bottom,
      var(--COLOR-background) 0%,
      var(--COLOR-background) 15%,
      white 50%,
      white 100%
    );
  }
  #o-nas hgroup {
    width: 80%;
    background-color: var(--COLOR-background);
    margin: 0 auto;
    padding-top: 10px;
  }

  .hide-on-mobile {
    display: none;
  }

  /* modals styling */
  .modal-content {
    width: 90%;
    height: 92%;
    grid-template-columns: auto;
    grid-template-rows: auto auto auto;
  }
  .modal-desc p {
    display: none !important;
  }
  .modal-desc headline {
    font-weight: bold;
  }
  .modal-close-btn {
    position: fixed;
    z-index: 7000;
    top: 5vh;
    right: 7vw;
    font-size: var(--FONTSIZE-L);
  }
  .modal-gallery {
    height: calc(100vw / 16 * 10);
  }
  .modal-info {
    grid-column: 1 / 2;
    grid-row: 3 / 4;
    padding-bottom: calc(3 * var(--UNIT-margin));
  }

  /* disable reveal footer */
  .main-container {
    margin-bottom: 0;
  }
  .footer-container {
    position: relative;
    z-index: 0;
  }
}

@media (max-width: 320px) {
  h2 {
    font-size: var(--FONTSIZE-XXL);
  }
  .footer-telno,
  .footer-telno:link {
    font-size: var(--FONTSIZE-L);
  }
  .top-link:link,
  .top-link:visited {
    font-size: var(--FONTSIZE-M);
  }
  h3 {
    font-size: var(--FONTSIZE-M);
  }
  #apartamenty button {
    margin-top: -180px;
    width: 200px;
    padding: 1em 1em;
  }
}

/* ------------------- */
/* SPINNER & LOADER    */
/* ------------------- */

.loader-container {
  position: fixed;
  top: 0;
  left: 0;
  height: 100vh;
  width: 100vw;
  background-color: white;
  margin: 0;
  padding: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1000;
  transition: 0.6s;
}

.loaded {
  transition: 0.6s;
  display: none;
}

.loader-spinner {
  pointer-events: none;
  width: 2.5em;
  height: 2.5em;
  border: 0.4em solid transparent;
  border-color: #eee;
  border-top-color: #3cc455;
  border-radius: 50%;
  animation: loadingspin 1s linear infinite;
}

@keyframes loadingspin {
  100% {
    transform: rotate(360deg);
  }
}

/* ------------------- */
/* 13. TESTING         */
/* ------------------- */

.test {
  background-color: rgba(255, 255, 255, 0.5);
}

.test1 {
  background-color: rgba(255, 0, 0, 0.5);
}

.test2 {
  background-color: rgba(0, 255, 0, 0.5);
}

.test3 {
  background-color: rgba(0, 0, 255, 0.5);
}
