:root {
  --heading-color: #f9f9f9 ;
  --main-color:  #e6e6e6;
  --main-color-darker:#dcdcdcfd;
  --main-color-darker-transparent: rgba(220, 220, 220, 0.4);

  --secondary-color: #A855F7;
  --secondary-color-transparent: #A855F770;
  --secondary-color-light:#b977f8;
  --secondary-color-link: #609031;
  --secondary-color-link-hover: #7ebd3f;
  --secondary-color-darkest: #753bac;
  --secondary-color-gradient: #a855f720;

  --hr-color: #cfcfcf;

  --background: #f5f5f580;
  --background-soft: rgba(255, 255, 255, 0.63);
  --background-soft-full: rgba(240, 240, 240);
  --background-soft-transparent: rgba(240, 240, 240, 0.3);
  --background-muted: #dedede;
  --background-muted-tr: rgba(238, 238, 238, 0.9);
  --backdrop: rgba(255, 255, 255, 0.15);

  --text: #2e2e2e;
  --text-muted: #4a4a4a;
  --text-secondary: #6a6a6a;
  --text-strong: #1c1c1c;

  --overlay: rgba(0, 0, 0, 0.25);
  --overlay-soft: rgba(0, 0, 0, 0.12);

  --btn-background: rgba(75, 230, 71, 0.08);
  --btn-background-full: #A855F7;
  --btn-background-hover: #4BE647;
  --btn-border: #A855F7;

  --clr-success:  #4BE647;
  --clr-success-hover: #42ec42b0;
  --clr-error: #de4d46;
  --clr-error-hover:  #ea5851b0;
  --shadows: rgba(36, 36, 36, 0.4);

  --form-bg: rgba(245, 245, 245, 0.6);
  --form-border: rgba(200, 200, 200, 0.2);
  --input-bg: rgba(255, 255, 255, 0.35);
  --input-border:  rgba(0, 0, 0, 0.1);
  --white-border:  rgba(255, 255, 255, 0.5);
  --line-border:  rgba(0, 0, 0, 0.2);
}

html.dark {
  --heading-color: #f9f9f9;
  --main-color:  #1a1a1a;
  --main-color-darker: #111111;
  --main-color-darker-transparent: rgba(17, 17, 17, 0.5);

  --secondary-color: #A855F7;
  --secondary-color-transparent:  rgba(168, 85, 247, 0.3);;
  --secondary-color-light: #b977f8;
  --secondary-color-link: #a7f755;
  --secondary-color-link-hover:#c9ff93;
  --secondary-color-darkest: #753bac;
  --secondary-color-gradient: rgba(168, 85, 247, 0.2);

  --hr-color:  #3a3a3a;

  --background:  rgba(25, 25, 25, 0.8);
  --background-soft: rgba(37, 37, 37, 0.8);
  --background-soft-full: #252525;
  --background-soft-transparent:rgba(37, 37, 37, 0.2);
  --background-muted:  #2c2c2c;
  --background-muted-tr:  rgba(45, 45, 45, 0.9);
  --backdrop: rgba(40, 60, 40, 0.15);;

  --text: #eaeaea;
  --text-muted: #b3b3b3;
  --text-secondary: #888;
  --text-strong: #ffffff;

  --overlay: rgba(255, 255, 255, 0.2);
  --overlay-soft: rgba(255, 255, 255, 0.05);

  --btn-background:  rgba(75, 230, 71, 0.08);
  --btn-background-full: #A855F7;
  --btn-background-hover: #a7f755;
  --btn-border:  #A855F7;

  --clr-success: #4BE647;
  --clr-success-hover:  #3acb3980;
  --clr-error: #ff6860;
  --clr-error-hover: #e36d6660;
  --shadows:  rgba(0, 0, 0, 0.4);

  --form-bg:  rgba(72, 72, 72, 0.7);
  --form-border: rgba(255, 255, 255, 0.05);
  --input-bg: rgba(255, 255, 255, 0.05);
  --input-border: rgba(255, 255, 255, 0.1);
  --white-border: rgba(255, 255, 255, 0.3);
  --line-border: rgba(255, 255, 255, 0.2);
}

* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}

html {
  font-size: 22px;
  font-family: "Roboto", sans-serif;
  scroll-behavior: smooth;
  scrollbar-gutter: stable;
}

body {
  overflow-x: hidden;
  max-width: 100vw;
  flex-direction: column;
  background: url(img/mountains.webp) repeat-y;
  background-size: cover, cover;
  background-position: center, center;
  background-attachment: fixed;
  background-attachment: fixed;
  perspective-origin: calc(50% - var(--scroll-bar-width) / 2) center;
  overflow-x: hidden;
  overflow-y: auto;
  scroll-behavior: smooth;
  --scroll-behavior: smooth;
  transition: background-color 0.6s ease, color 0.6s ease-in;
  scroll-snap-type: y mandatory;
}

::selection {
  background-color: var(--secondary-color);
  color: white;
}

body::-webkit-scrollbar {
  width: 12px;
}

body::-webkit-scrollbar-thumb {
  background-color: var(--text-muted);
  border-radius: 0;
}

body::-webkit-scrollbar-track {
  background-color: var(--background-muted);
}

header {
  overflow-x: hidden;
  font-size: clamp(0.85rem, 1rem + 0.1vw, 1.1rem);
  display: flex;
  justify-content: center;
}

.menu-background {
  display: flex;
  justify-content: space-between;
  position: fixed;
  left: 50%;
  transform: translateX(-50%);
  padding: 0;
  top: 0;
  width: 100%;
  height: 80px;
  max-width: 1600px;
  background: transparent;
  backdrop-filter: blur(5px);
  border-bottom: 1px solid var(--white-border);
  -webkit-backdrop-filter: blur(5px);
  z-index: 1000;
}

.menu-background-under {
  position: fixed;
  left: 50%;
  transform: translateX(-50%);
  padding: 0;
  top: 0;
  width: 100%;
  height: 80px;
  background: var(--main-color-darker);
  opacity: 0.9;
  z-index: 900;
}

nav {
  position: fixed;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 1400px;
  z-index: 9999;
  top: -0%;
  margin-bottom: 0;
  padding-bottom: 12px;
  height: 80px;
  width: 100%;
  z-index: 9999;
}

nav ul {
  display: flex;
  justify-content: flex-end;
  flex-wrap: nowrap;
  padding: 0;
  margin: 0;
  margin-top: -6px;
}

nav ul li,
nav uli li.active {
  float: left;
  margin-right: 0;
  vertical-align: bottom;
  text-align: center;
  width: 15%;
  list-style-type: none;
}


.first  {
  color: var(--text);
  background: transparent;
  font-weight: 700;
  vertical-align: bottom;
  display: flex;
  position: relative;
  justify-content: center;
  align-items: flex-end;
  list-style: none;
  padding-top: 0;
  font-size: clamp(0.85rem, 1rem + 0.1vw, 1.1rem);
  height: 80px;
  margin-left: 0;
  cursor: pointer;
  letter-spacing: 1px;
  z-index: 900;
  transition: all 0.6s ease-in;
  text-decoration: none;
}

.first.active,
.first:focus,
.first:hover {
  font-weight: 700;
  color: var(--secondary-color);
   backdrop-filter: blur(5px);
}

.burger-menu {
  display: none;
  position: absolute;
  top: 0.545rem;
  left: 83%;
  width: 15%;
  height: auto;
  max-width: 40%;
  border: none;
  color: var(--text);
  box-shadow: none;
  z-index: 799;
}

.logo-wrap {
  position: absolute;
  left: 0%;
  top:10px
}

#logo {
  height: auto;
  cursor: pointer;
  box-shadow: none;
  position: relative;
  left: 0.545rem;
  background-color: transparent;
  max-width: 150px;
  z-index: 1000;
  box-shadow: none;
  padding: 0.273rem;
  opacity: 0.9;
}

.welcome {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background-size: cover;
  background-repeat: no-repeat;
  width: 100%;
  height: 90vh;
  padding: 1.09rem;
  margin-top: 0;
  margin-bottom: 2.18rem;
  z-index: 0;
}

.welcome.homepage {
 background: linear-gradient(
  to bottom,
  var(--background-soft) 0%,
  var(--background-soft) 75%,
  var(--background-soft-full) 100%
),
  url(img/computer.webp);
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center center;
}

.welcome.homepage h1 {
  color: var(--text);
}

.welcome.homepage a span.arrow-down{
  color: var(--text);
}

.welcome.homepage a span.arrow-down:hover,
.welcome.homepage a span.arrow-down:active {
  color: var(--text);
}

.welcome.about {
  background: linear-gradient(
    to bottom,
    var(--shadows) 0%,
    var(--shadows) 75%,
    #2c2c2c 100%
),
  url(img/aboutm1.webp);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: right center;
}

.welcome.projects {
  background: linear-gradient(
    to bottom,
    var(--shadows) 0%,
    var(--shadows) 75%,
    #2c2c2c 100%
),
  url(img/art.webp);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center center;
}

.welcome.contact {
    background: linear-gradient(
      to bottom,
      var(--shadows) 0%,
      var(--shadows) 75%,
      #2c2c2c 100%
),
  url(img/kontakty.webp);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center left;
}

.welcome.error-page {
    background: linear-gradient(
      to bottom,
      var(--shadows) 0%,
      var(--shadows) 75%,
      #2c2c2c 100%
),
  url(img/hidden-kitty.webp);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center left;
}

.welcome::after {
  background: linear-gradient(
    to bottom
  var(--secondary-color) 0%,
  var(--secondary-color) 30%,
  var(--shadows) 100%
);
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.05;
  height: auto;
  z-index: 1;
}

.welcome > * {
  z-index: 2;
}

p.introduction {
  color: var(--text);
  font-weight: 700;
  text-align: center;
  margin-top: 24px;
  margin-bottom: 48px;
}

.button-wrap {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.09rem;
}

a.btn {
display: block;
padding: 6px 12px;
text-decoration: none;
color: var(--text);
border: 3px solid var(--text);
background-color: var(--btn-background);
font-weight: 700;
cursor: pointer;
transition: all 0.6s ease-in;
}

a.btn.cv {
  background-color: var(--text);
  border: 3px solid var(--text); 
  color: var(--background-muted-tr);
}

a.btn:hover,
a.btn:active {
  background-color: var(--btn-border);
  border-color:  var(--btn-border);
  color: var(--text);
}

a.btn.cv:hover,
a.btn.cv:active {
  color: var(--text);
  background-color: var(--secondary-color);
  border-color: var(--btn-border);
}

a.rezervace {
  text-align: center;
}

.welcome a span.arrow-down:hover,
.welcome a span.arrow-down:active {
  transform: scale(1.15);
  color: var(--heading-color);
}

.move-down {
  width: 100%;
  display: flex;
  justify-content: center;
  z-index: 5;
}

.welcome a span.arrow-down {
  position: absolute;
  bottom: 1.09rem;
  color: var(--heading-color);
  font-size: clamp(2rem, 2.5rem + 0.1vw, 2.8rem);
  transition: all 0.6s ease-in;
  cursor: pointer;
  z-index: 5;
}

div.welcome.error-404 {
  background-image: url(img/hidden-kitty.webp);
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center center
}

div.welcome.error-404 h1 {
    font-size: clamp(1.5rem, 6vw, 2.027rem);
}

main {
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  padding-left: 2.18rem;
  padding-right: 2.18rem;
}

main:not(.photo) {
  overflow-x: hidden;
  max-width: 1156px;
}

.container {
  position: relative !important;
  margin: -50px auto 0 !important;
  padding: 6%;
  width: 100%;
  background-color: var(--background);
  background-size: cover;
  padding: 0% 6% 0% 6%;
  transform: translateZ(-1px) scale(1);
}

.top-section {
  margin-top:2px;
  padding-top: 0;
  border-radius: 0px 0px 6px 6px;
  z-index: -10;
}

article.homepage {
  margin: 0%;
  padding: 0%;
}

article.homepage li {
  max-width: 900px;
  margin: 0% auto;
}

.game-pic {
  max-width: 100%;
  height: auto;
}

section {
  padding: 1.09rem;
  border-radius: 0.273rem;
  background-color: var(--form-bg);
  border: 1.5px solid var(--form-border);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  margin-top: 0;
  margin-bottom: 0.545rem;
  z-index: -0;
  scroll-snap-align: start;      
  scroll-snap-stop: always; 
}

section.top {
  padding-top: 0;
}

section.main-text {
  padding-top: 2.18rem;
  padding-bottom: 2.18rem;
}

section.visit {
  padding-top: 0;
  z-index: 200;
}

section.reservation {
  border: none;
  background: none;
  backdrop-filter: none;
  padding: 0;
}

section.reservation a {
  margin-bottom: 0;
}

section.contact-box {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  align-items: flex-start;
  gap: 0px;
  background: transparent;
  backdrop-filter: none;
}

h1, h2, h3 {
  font-family: "Roboto Condensed", sans-serif;
}

h1 {
  text-align: center;
  color: var(--heading-color);
  letter-spacing: 1px;
    font-size: clamp(1.5rem, 6vw, 2.027rem);
  font-weight: 700;
  text-transform: uppercase;
  border-radius: 6px;
  padding: 0.54rem 2.18rem;
}

h2 {
  position: relative;
  text-transform: uppercase;
  text-align: center;
  font-size: clamp(1.25rem, 4vw, 1.602rem);
  color: var(--secondary-color);
  margin-top: 2.18rem;
  margin-bottom: 1.09rem;
  letter-spacing: 1px;
  
}

h2.before {
  position: relative;
  text-align: center;
  margin-top: 2.18rem;
  width: 100%;
}

h3 {
  max-width: 900px;
  margin: 0% auto;
  font-size: clamp(1rem, 3vw, 1.266rem);
  text-align: left;
  color: var(--text-strong);
}

h4 {
  color: var(--text);
  font-size: clamp(1.125rem, 3.5vw, 1.728rem);
  margin-bottom: 0.273rem;
}

h4 ul {
  margin-top: 0;
}

.my-introduction {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 3.636rem;
  margin-bottom: 1.09rem;
}

hr {
  border: none; 
  height: 1.5px; 
  background-color: var(--secondary-color-darkest);
  margin: 1.09rem 0 2.18rem 0;
}

.aside-text {
  max-width: 550px;
  margin: auto;
}

p {
  max-width: 900px;
  margin: 0% auto;
  color: var(--text);
  text-align: left;
  font-size: clamp(0.85rem, 3vw, 1rem);
  line-height: 1.6;
  word-wrap: break-word;
  text-wrap: pretty;
  hyphens: auto;
  letter-spacing: 1px;
  font-weight: 400;
}

p.address {
  max-width: none;
  text-align: left;
}

strong {
  color: var(--text-strong);
}

a.basic {
  color: var(--secondary-color-link);
  font-size: clamp(0.85rem, 3vw, 1rem);
  text-decoration: none;
  transition: color 0.7s ease-in;
  word-wrap: break-word;
  font-weight: 400;
  margin: 1.09rem 0; 
}

li a:hover:not(.first),
li a:active:not(.first),
a:hover:not(.first),
a:active:not(.first) {
  color: var(--secondary-color-link-hover);
  font-weight: 700;
}

a.jq--scroll-form:hover,
a.jq--scroll-form:active,
ul li a:not(.first):hover,
ul li a:not(.first):active {
  color: var(--secondary-color-link-hover);
  transform: scale(1.1);
  font-weight: 700;
}

.image {
  max-width: 400px;
  height: auto;
  margin: 0;
  border-radius: 0.273rem;
}

img.uvod {
  max-width: 400px;
  height: auto;
  margin: 0;
  /* margin: 0 3.636rem 1.818rem 0; */
  border-radius: 0.273rem;
  transition: all  0.6s ease-in;
}

img.uvod:hover,
img.uvod:active {
  box-shadow: var(--text) 2px 2px 4px;
  border: 1px solid var(--text);
}

ol, ul:not(.menu-background ul, ul.photo-segment) {
  max-width: 960px;
  width: 100%;
  list-style-position: inside;
  margin: 0 auto;
  text-align: left;
}

ul:not(nav ul) {
  font-size: clamp(0.85rem, 3vw, 1rem);
  line-height: 130%;
  padding-top: 0.545rem;
  padding-right: 1.09rem;
  text-align: left;
  padding-bottom: 1.09rem;
  z-index: 900;
  color: var(--text);
  z-index: 100;
}

.contacts li {
  list-style: none;
  margin-bottom: 0.545rem;
  line-height: clamp(0.80rem, 1rem + 0.1vw, 1.1rem);
}

.contacts li span,
.contacts li svg {
  color: var(--text);
  margin-right: 0.273rem;
  font-size: clamp(0.85rem, 3vw, 1rem);
  width: clamp(0.85rem, 1rem + 0.1vw, 1.1rem);
  height: auto;
  vertical-align:bottom;
  margin-right: 0.364rem;
}

.sliderhome {
  position: relative;
  width: 100%;
  height: auto;
  max-height: 100vh;
}

.slider-wrapper {
  position: relative;
  top: -273.rem;
  overflow: hidden;
  width: 100%;
  margin: 0.545rem auto;
  margin-bottom: 4.545rem;
  transition: all 0.6s ease-in;
  scroll-snap-align: start;      
  scroll-snap-stop: always; 
}

.slider-wrapper:hover,
.slider-wrapper:active {
  filter: brightness(1.05);
}

.slides {
  display: flex;
  width: 500%;;
  transition: margin-left 0.7s ease-in;
}

.slide {
  position: relative;
  width: 20%;
  transition: all 0.7s ease-in;
  max-height: 90vh;
}

.slide img,
.slide picture {
  width: 100%;
  height: auto;
  object-fit: cover;
  border: none;
}

.navigation {
  margin-bottom: 0.545rem;
}

.navigation.r {
  position: fixed;
  top: 10%;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  position: absolute;
  left: 50%;
  transform: translate(-50%);
  bottom: 0px;
  width: 90%;
}

#r1:checked ~ .s1 {
  margin-left: 0;
}

#r2:checked ~ .s1 {
  margin-left: -20%;
}

#r3:checked ~ .s1 {
  margin-left: -40%;
}

#r4:checked ~ .s1 {
  margin-left: -60%;
}

#r5:checked ~ .s1 {
  margin-left: -80%;
}

input[name=r] {
  display: none;
}

.bar {
  width: 30px;
  height: 30px;
  max-width: 160px;
  border-radius: 50%;
  border: 2px solid var(--heading-color);
  margin: 0.546rem;
  cursor: pointer;
  background: none;
  transition: all 0.7s ease-in;
  opacity: 0.9;
}

.bar:hover {
  background: var(--heading-color);
  transform: scale(1.1);
}

.bar.active {
  background: var(--heading-color);
  transform: scale(1.1);
}

.languages {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: flex-start;
}

.lang {
  margin: 6px;
  padding: 3px 6px;
  border-radius: 6px;
  color: #1c1c1c;
  background: linear-gradient(var(--btn-background-full), var(--secondary-color-darkest));
  box-shadow: 2px 2px 3px var(--shadows);
}

.lang:hover,
.lang:active {
  filter: brightness(1.2);
}

.lang.html {
  background: linear-gradient(#f78956, #cc421b);

}

.lang.css {
  background: linear-gradient(var(--secondary-color-light), #5e2794);

}

.lang.javascript {
  background: linear-gradient(#f0db4f, #9e8e25);

}

.lang.scss {
  background: linear-gradient(#eb80b9, #ab5884);
}

.lang.react {
  background: linear-gradient(#09d9fe, #07a2bd);
}

.lang.git {
  background: linear-gradient(#f6816a, #ae5315);
}

.lang.github {
  background: linear-gradient(var(--heading-color), #a8a8a8);
}

.lang.firebase {
  background: linear-gradient(#ffcb00, #ff7c00);
}

.lang span {
  margin-right: 6px;
}

.album {
  cursor: pointer;
}

.address {
  flex: 1;
  min-width: 300px;
  max-width: 45%;
  margin-left: 1.09rem;
  margin-right: 1.09rem;
}

.col.map-container {
  position: relative;
  max-width: calc(100% - 2.18rem);
  max-width: 800px;
  display: flex;
  justify-content: center;
  margin: 1.09rem 0.545rem 1.09rem 0.545rem;
}

.col.map-container a{
  max-width: 100%;
  display: flex;
  justify-content: center;
  transition: all 0.6s ease-in;
}

.col.map-container a:hover {
  transform: scale(1.01);
}

.col.map-container img {
  max-width: 100%;
  margin-top: 0;
  max-width: 500px;
  height: auto;
  filter: saturate(0.8) brightness(0.95);
  cursor: pointer;
  transition: all 0.6s ease-in;
}

.col.map-container img:hover {
  filter: saturate(1.1);
}

.col {
  display: block;
  margin: 1% 0 1% 15%;
  width: auto;
}

.visit {
  display: flex;
  flex-direction: column;
}

form {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.09rem;
  width: 100%;
  padding: 1.09rem;
  background-color: var(--form-bg);
  border: 1.5px solid var(--form-border);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  margin: 1.09rem auto 60px;
  margin-bottom: 2.18rem;
  border-radius: 0.273rem;
  max-width: 1000px;
  scroll-snap-align: start;      /* nebo center, end */
  scroll-snap-stop: always; 
}

form > div:nth-of-type(5) {
  grid-column: 1 / -1;
}

form label {
  display: block;
  margin-bottom: 0.273rem;
  color: var(--text);
  font-weight: 700;
  margin-left: 0.136rem;
  font-size: clamp(0.85rem, 3vw, 1rem);
}

form label span,
form label svg {
  margin-right: 0.273rem;
  color: var(--text);
  font-size: clamp(0.85rem, 3vw, 1rem);
  vertical-align: middle;
}

form input[type=email], 
form input[type=text],
form input[type="tel"], 
form textarea {
  width: 100%;
  padding: 0.546rem;
  border: 1.5px solid var(--secondary-color-transparent);
  border-radius: 0.273rem;
  box-sizing: border-box;
  background: var(--input-bg);
  color: #3B2F02;
  font-size: clamp(0.85rem, 3vw, 1rem);
  outline: 0;
}

form input[type=email]:invalid {
  color: #de4d46;
}

form textarea {
  grid-column: 1 / -1;
  width: 100%;
  height: 150px;
  margin-top: 0;
  color: var(--text);
  border: 1.5px solid var(--secondary-color-transparent);
  background: var(--input-bg);
  font-size: clamp(0.85rem, 3vw, 1rem);
  margin-bottom: 1.09rem;
}

form input[type="text"]:focus,
form input[type="email"]:focus,
form input[type="tel"]:focus,
form textarea:focus {
  border:  1px solid var(--secondary-color-darkest);
  background: rgba(255, 255, 255, 0.3);
  box-shadow: 0 0 0 1px var(--secondary-color-darkest);
}

input[type=submit] {
  grid-column: span 2;
  cursor: pointer;
  font-weight: 700;
  width: 100%;
  padding: 0.545rem;
  color: var(--heading-color);
  font-size: clamp(0.85rem, 3vw, 1rem);
  border-radius: 0.273rem;
  border: none;
  background-color: var(--btn-background-full);
  transition: all 0.7s ease-in;
}

input[type=submit]:hover,
input[type=submit]:active {
  transform: scale(1.02);
  color: var(--heading-color);
  background-color: var(--secondary-color-light);
}

.form-result {
  max-width: 1000px;
  color: var(--text);
  padding: 0.545rem !important;
  margin: 1.09rem auto 0;
  font-size: clamp(0.85rem, 3vw, 1rem);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  text-align: center;
  font-weight: 700;
  line-height: 1.4;
  border-radius: 0.273rem;
  letter-spacing: 1px;
  filter: drop-shadow(2px 3px 4px var(--shadows));
}

.success {
  border: 1px solid var(--clr-success) !important;
  background: var(--clr-success-hover) !important;
}

.error {
  border: 1px solid var(--clr-error) !important;
  background: var(--clr-error-hover) !important;
}

.gallery {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 24px;
  width: auto;
  margin: 0 auto;
}

.photo-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(10rem, 1fr));
  gap: 0.545rem;
  padding-top: 0;
  justify-content: center;
  align-items: center;
  margin: 1.09rem auto;
  margin-top: 0;
  z-index: 1;
  position: relative;
}

.row {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
}

.photos {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  margin: 0 auto;
  width: 100%;
}

.photo-segment {
  display: flex;
  flex-wrap: wrap;
  padding: 0.545rem;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
}

.photo-segment li {
  position: relative;
    margin-left: 0.136rem;
    width: 30%;
    height: 20vh;
    min-height: 200px;
    min-width: 250px;
    padding: 0rem;
    overflow: hidden;
    border-radius: 0.273rem;
    position: relative;
    margin: 1%;
    display: inline-block;
    box-sizing: border-box;
    transition: all 0.6s ease-in;
}

.photo-segment li:hover {
  transform: scale(1.01);
  box-shadow: var(--text) 2px 2px 4px;
}

.photo-segment li img {
  width: 100%;
  height: 100%;
  border-radius: 0.273rem;
  -o-object-fit: cover;
  object-fit: cover;
  transition: all 0.7s ease-in;
}

.photo-segment li img:hover {
  filter: brightness(1.1);
}

.photo-segment li h3 {
  position: absolute;
  bottom: 6px;
  left: 6px;
  color: var(--text);
  background-color: var(--background-muted-tr);
  padding: 3px 6px;
  max-width: 250px;
  font-size: clamp(0.85rem, 3vw, 1rem);
  border-radius: 6px;
  opacity: 1;
  transition: all 0.6s ease-in;
  z-index: 20;
}

.photo-segment li:hover h3 {
  opacity: 0;
}

.gallery .other-projects {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 24px;
}

.other-projects col {
  width: fit-content;
}

img.one {
  min-width: 180px;
  transition: all 0.6s ease-in;
}

img.one:hover {
  transform: scale(1.04);
  box-shadow: var(--text) 2px 2px 4px;
}

.col {
  display: flex;
  justify-content: space-around;
  margin: 0.545rem 0 0.545rem 1.09rem;
}

.col2 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin: 0 auto 1.09rem;
  max-width: 1200px;
}

.interests{
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: none;
  /* backdrop-filter: blur(5px); */
}

article.hobbies {
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: flex-start;
  gap: 2.18rem;
}

.hobby {
  width: calc(50% - 1.09rem);
  padding: 1.09rem;
  min-width: 400px;
  min-height: 400px;
  border-radius: 0.273rem;
  background-color: var(--form-bg);
  border: 1.5px solid var(--form-border);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
}

.center {
  color: var(--text);
  font-size: clamp(0.85rem, 1rem + 0.1vw, 1.1rem);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding-right: 0;
  display: flex;
  justify-content: center;
}

.center ul li {
  font-size: clamp(0.85rem, 1rem + 0.1vw, 1.1rem);
  line-height: 1.6rem;
}

li.none h4.place {
  padding-bottom: 0.273rem;
}

li.none {
  list-style: none;
  color: var(--text-muted);
  border: solid 1px var(--white-border);
  backdrop-filter: drop-shadow(4px 4px 10px var(--backdrop)) blur(5px);
  -webkit-backdrop-filter: drop-shadow(4px 4px 10px var(--backdrop));
  border-radius: 3px;
  padding: 1.09rem;
  margin-bottom: 0.545rem;
  text-align: left;
  font-size: clamp(0.85rem, 3vw, 1rem);
  transition: all 0.3s ease;
  width: 100%;
}

li.none.season {
  border-top: none;
  border-radius: 0 0 0.136rem 0.136rem;
}

li.none.first-item {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
  box-sizing: 0.136rem 0.136rem 0 0;
}

li.none.season {
  margin-top: 0;
  padding-top: 0;
}

.new-game {
  display: flex;
  flex-direction: column;
  align-self: flex-start;
}

.red {
  color: var(--clr-error);
  font-weight: 400;
  transition: all 0.6s ease-in; 
}

.red:hover,
.red:active {
  color: var(--clr-error);
  font-weight: 700;
}

.mob-nav {
  text-transform: uppercase;
  color: var(--clr-error);
}

img.nu-pogodi {
  margin: 0;
  border-radius: 6px;
}

img.game-pic {
  border-radius: 6px;
  margin: 0 auto 1.09rem;
  max-width: 100%;
  height: auto;
  transition: all 0.6s ease-in;
}

img.game-pic:hover {
  transform: scale(1.02);
}

.col ul {
  margin: 1.09rem auto 0 auto;
  font-style: normal;
}

footer {
  overflow-x: hidden;
  display: flex; 
  width: 100%;
  justify-content: space-between;
  align-items: center;
  margin: 0 auto;
  background-color: var(--background-muted-tr);
  border-top: 1px solid var(--background);
  backdrop-filter: blur(5px);
  padding:  0.273rem 1.09rem;
}

.foot {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: flex-start;
  margin-bottom: 0;
  margin-left: -0.545rem;
}

.ff {
  max-width: 1400px;
  display: flex;
  width: 100%;
  justify-content: flex-end;
  align-items: end;
  padding: 0 1.09rem;
  margin: 0 auto;
  padding-bottom: 0.545rem;
  margin-bottom: 0;
}

.copyright {
  color: var(--text);
  font-size: clamp(0.85rem, 3vw, 1rem);
  text-align: right;
  flex-grow: 1;
}

.fb-logo {
  display: inline-block;
  margin: 0.545rem;
  width: auto;
  height: 1.6rem;
  flex-shrink: 0;
  filter: none;
  mix-blend-mode: normal;
  justify-items: center;
  align-items: center;
  color: var(--text);
  text-decoration: none;
  font-size: clamp(0.85rem, 3vw, 1rem);
  line-height: clamp(1.3rem, 1.6rem + 0.1vw, 1.8rem);
  transition: all 0.6s ease-in;
}

.fb-logo:hover,
.fb-logo:active {
  transform: scale(1.04);
}

.fb-logo span,
.fb-logo svg {
  margin: 0;
  margin-right: 0.273rem;
  color: inherit;
  font-size: clamp(1.3rem, 1.6rem + 0.1vw, 1.8rem);
  line-height: clamp(1.3rem, 1.6rem + 0.1vw, 1.8rem);
  position: relative;
  top: 25%;
}

#cookie-banner {
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  position: fixed;
  bottom: 0;
  left: 0;
  background-color: var(--background);
  padding: 0.545rem 1.09rem;
  border-top: 1px solid var(--white-border);
  z-index: 1000;
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
}

#cookie-banner p {
  text-align: center;
  font-weight: 700;
  font-size: clamp(0.625rem, 2.5vw, 0.833rem);
  color: var(--text);
}

#cookie-banner .buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
}

#info {
  margin-left: 0.545rem;
  padding: calc(0.273rem - 3px) calc(0.545rem - 3px);
  text-decoration: none;
  background-color: transparent;
  color: var(--text);
  white-space: nowrap;
  border: solid 3px var(--text);
  margin-top: 0.273rem;
  border-radius: 0.273rem;
  font-weight: 700;
  font-size: clamp(0.625rem, 2.5vw, 0.833rem);
  transition: all 0.6s ease-in;
  cursor: pointer;
}

#info:hover,
#info:active {
  transform: scale(1.04);
  background-color: var(--heading-color);
  color: var(--secondary-color-darkest);
  border-color: var(--heading-color);
}

#accept-cookies {
  margin-left: 0.545rem;
  margin-top: 0.273rem;
  padding: 0.273rem 0.545rem;
  background-color: var(--secondary-color-darkest);
  color: white;
  border: none;
  border-radius: 0.273rem;
  font-weight: 700;
  font-size: clamp(0.625rem, 2.5vw, 0.833rem);
  transition: all 0.6s ease-in;
  cursor: pointer;
}

#accept-cookies:hover,
#accep-cookies:active {
  transform: scale(1.04);
  background-color: var(--secondary-color-light);
  color: var(--heading-color);
}

.parallax {
  position: relative;
  z-index: 0;
  height: inherit;
  transform: none;
  transition: none;
}

.parallax2 {
  transform: none;
  transition: none;
}

/****Lightbox****/
/* UNIVERZÁLNÍ CSS PRO ZABLOKOVÁNÍ SCROLLOVÁNÍ BĚHEM LIGHTBOXU */
/* Lightbox overlay - vylepšené vlastnosti */
.lightboxOverlay {
  position: fixed;
  width: 100%;
  height: 100%;
  z-index: 9999;
  /* Zabrání propagaci scroll eventů */
  overscroll-behavior: contain;
  touch-action: none;  
  /* Pro starší prohlížeče */
  -webkit-overflow-scrolling: auto;
}

/* Lightbox container - zlepšuje chování na mobilu */
.lightbox {
  position: fixed;
  z-index: 10000; 
  /* Zajistí, že lightbox obsah je scrollovatelný */
  overflow: auto;
  max-height: 100vh; 
  /* Vycentruje lightbox */
  top: 50%;
  left: 50%;
}

/* Prevence scrollování jen v lightbox overlay oblasti */
.lightboxOverlay {
  /* Overlay pohltí všechny touch/scroll eventy */
  -webkit-overflow-scrolling: auto;
  overscroll-behavior: contain;
 
  /* Na iOS zabrání "bounce" efektu */
  -webkit-overflow-scrolling: touch;
}

/* Pro mobilní zařízení - jemnější ovládání */
@media (max-width: 768px) {
  .lightboxOverlay {
    overscroll-behavior: auto;
    touch-action: manipulation;
  }
  
  .lightbox {
    /* max-height: 90vh; */
    overflow-y: auto;
  }
}

/* Fallback pro problematické situace */
body:not(.lightbox-safe) {
  overflow: auto;
}

/* Odebrání automaticky přidávaných problematických stylů */
body[style*="overflow: hidden"] {
  overflow: auto;
}

body[style*="position: fixed"] {
  position: static;
}

/* 
Other */
.lb-loader, .lightbox {
  text-align: center;
  line-height: 0;
}

.lb-image {
  margin: 0;
}

.lightboxOverlay {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 9999;
  background-color: #000000d7;
  opacity: 1;
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  display: none;
}

.lightbox {
  position: absolute;
  left: 0;
  width: 100%;
  z-index: 10000;
  font-weight: 400;
  outline: 0;
}

.lightbox .lb-image {
  display: block;
  width: auto;
  height: auto;
  max-width: 100vw;
  max-height: 100vh;
  object-fit: contain;
  border-radius: 0.273rem;
}

.lightbox a img {
  border: none;
}

.lb-outerContainer {
  position: relative;
  margin: 0 auto;
  border-radius: 0.273rem;
  background-color: var(--background-muted);
}

.lb-loader, .lb-nav {
  position: absolute;
  left: 0;
}

.lb-outerContainer:after {
  content: "";
  display: table;
  clear: both;
}

.lb-loader {
  top: 43%;
  height: 25%;
  width: 100%;
}

.lb-cancel {
  display: block;
  width: 1.455rem;
  height: 1.455rem;
  margin: 0 auto;
  background: url(img/loading.gif) no-repeat;
}

.lb-nav {
  top: 0;
  height: 100%;
  width: 100%;
  z-index: 10;
}

.lb-container > .nav {
  left: 0;
}

.lb-nav a {
  outline: 0;
  background-image: url(data:image/gif;base64,R0lGODlhAQABAPAAAP///wAAACH5BAEAAAAALAAAAAABAAEAAAICRAEAOw==);
}

.lb-next, .lb-prev {
  height: 100%;
  cursor: pointer;
  display: block;
}

.lb-nav a.lb-prev {
  width: 34%;
  left: 0;
  float: left;
  background: url(img/prev.png) left 48% no-repeat;
  opacity: 0;
  transition: opacity 0.6s ease-in;
}

.lb-nav a.lb-prev:hover,
.lb-nav a.lb-prev:active {
  opacity: 1;
}

.lb-nav a.lb-next {
  width: 64%;
  right: 0;
  float: right;
  background: url(img/next.png) right 48% no-repeat;
  opacity: 0;
  transition: opacity 0.6s ease-in;
}

.lb-nav a.lb-next:hover,
.lb-nav a.lb-next:active {
  opacity: 1;
}

.lb-dataContainer {
  margin: 0 auto;
  padding-top: 0.273rem;
  width: 100%;
  border-bottom-left-radius: 0.273rem;
  border-bottom-right-radius: 0.273rem;
}

.lb-dataContainer:after {
  content: "";
  display: table;
  clear: both;
}

.lb-data {
  padding: 0 0.135rem;
  color: var(--heading-color);
}

.lb-data .lb-details {
  width: 85%;
  float: left;
  text-align: left;
  line-height: 1.1em;
}

.lb-data .lb-caption {
  font-size: clamp(0.625rem, 2.5vw, 0.833rem);
  font-weight: 700;
  line-height: 1em;
}

.lb-data .lb-caption a {
  color: var(--main-color);
}

.lb-data .lb-number {
  display: block;
  clear: left;
  padding-bottom: 1em;
  font-size: clamp(0.625rem, 2.5vw, 0.833rem);
  color: var(--text-secondary);
}

.lb-data .lb-close {
  display: block;
  float: right;
  width: 1.364rem;
  height: 1.364rem;
  background: url(img/close.png) top right no-repeat;
  text-align: right;
  outline: 0;
  opacity: 0.7;
  transition: opacity 0.2s ease-in;
}

.lb-data .lb-close:hover,
.lb-data .lb-close:active {
  cursor: pointer;
  opacity: 1;
}

/*Grid*/
.section {
  padding: 0;
  margin: 0;
}

.row {
  zoom: 1;
}

.col {
  display: block;
  margin: 0.135rem 0 0.135rem 0.273rem;
}

.col:first-child {
  margin-left: 0;
}

/*Queries*/

@media(prefers-reduced-motion: no-preference){

  .parallax {
    transform-style: preserve-3d;
    position: relative;
    z-index: 0;
    height: inherit;
    transform: translateY(0.1%) scale(98%);
    transition: transform 1.5s ease-in;
  }
  
  .parallax2 {
    transform-style: preserve-3d;
    transform: translateY(0.1%) scale(98%);
    transition: transform 2s ease-in;
  }
}

@media only screen and (max-width: 1100px) {
 
nav ul li,
nav uli li.active {
  width: 18%;
}

  .photo-segment li {
    max-width: 100%;
    display: flex;
    justify-content: center;
    padding-left: 0.545rem;
    box-sizing: border-box;
    padding-left: 0;
    padding-right: 0;

  }
}

@media only screen and (max-width: 995px) {

  h1.home {
    margin-top: 10%;
  }

  .uvod {
    margin: 0 auto 2.18rem auto !important;
  }

  .col.map-container img {
    max-width: 500px;
  }

  .center li ul {
    padding-right: 0.545rem;
  }
}

@media only screen and (max-width: 900px) {
  nav ul li,
  nav uli li.active {
    width: 20%;
  }

  h1.home {
    margin-top: 8%;
  }

  ul:not(nav ul, .photo-segment) {
    display: block;
    line-height: 130%;
    padding-top: 0.545rem;
    margin-left: 10%;
  }

  .col2 {
    flex-wrap: wrap;
  }

  .col3 {
    flex-wrap: wrap;
  }

  section.contact-box {
    justify-content: center;
  }
}

@media only screen and (max-width: 768px) {
  .welcome.homepage {
 background: linear-gradient(
  to bottom,
  var(--background-soft) 0%,
  var(--background-soft) 75%,
  var(--background-soft-full) 100%
),
  url(img/computer1.webp);
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center center;
}

.welcome.about {
  background: linear-gradient(
    to bottom,
    var(--shadows) 0%,
    var(--shadows) 75%,
    #2c2c2c 100%
),
  url(img/aboutm2.webp);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: right center;
}

.welcome.projects {
  background: linear-gradient(
    to bottom,
    var(--shadows) 0%,
    var(--shadows) 75%,
    #2c2c2c 100%
),
  url(img/art.webp);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center center;
}

.welcome.contact {
    background: linear-gradient(
      to bottom,
      var(--shadows) 0%,
      var(--shadows) 75%,
      #2c2c2c 100%
),
  url(img/kontakty.webp);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center left;
}

.welcome.error-page {
    background: linear-gradient(
      to bottom,
      var(--shadows) 0%,
      var(--shadows) 75%,
      #2c2c2c 100%
),
  url(img/hidden-kitty.webp);
    background-size: cover;
    background-repeat: no-repeat;
}
 
  .menu-background {
    position: fixed;
    top: 0;
    width: 100%;
    max-width: 1000px;
    left: 50%;
    transform: translateX(-50%);
    padding: 0;
    background: var(--secondary-color);
    z-index: 900;
  }

  .menu-background-under {
    height: 80px;
  }

  .burger-menu {
    display: inline-block;
    position: absolute;
    top: 2%;
    left: 0.545rem;
    left: 83%;
    width: clamp(70px, 11%, 90px);
    height: auto;
    max-width: 40%;
    border: none !important;
  }

  nav {
    margin-bottom: 0;
    height: 100px;
    width: 100%;
    position: fixed;
    top: 0;
  }

  nav ul {
    display: none !important;
    width: fit-content;
    position: absolute;
    top: 0%;
    right: 0%;
    opacity: 1;
    flex-direction: column;
    align-items: center;
    background-color: var(--background-muted-tr);
    padding: 0 12px 48px 12px;
    margin: 80px 0 0;
  }

  nav ul.nav {
    display: flex !important;
    opacity: 1;
  }

  nav ul li {
    text-align: left;
    display: block;
    line-height: 110%;
    width: 100%;
    margin: 0 0.545rem;
    padding: 0.545rem 0;
    margin-left: 4.36rem;
    font-size: clamp(1rem, 3.5vw, 1.728rem);
  }
  
  .first:not(.album) {
    justify-content: center;
    align-items: center;
    text-align: left;
    font-weight: 700;
    background: 0 0;
    border: none;
    margin-top: 0.545rem;
    height: 1.09rem;
    width: 260px;
    display: block;
  }

  .arrow-down {
    display: none;
  }

  .container {
    width: 100%;
    max-width: 1000px;
  }

  h1 {
    margin-top: -20px;
  }

  h1.home {
    margin-top: 18%;
  }

  .uvod {
    margin: 0 auto 2.18rem auto;
  }

  li.none {
    padding: 1.09rem;
    padding-bottom: 1.09rem;
    margin: 0 auto 0.545rem;

  }

  img.image {
    width: 100%;
    margin: 0 auto;
  }

  .parallax {
    transform: translateY(0);
  }

  a.basic {
    text-decoration: none;
  }

  .col2 {
    margin: 0;
    grid-template-columns: 1fr;
  }

 .gallery h2.before {
    margin-bottom: 0 !important;
  }

  .album {
    text-align: center;
    width: 65% !important;
    justify-content: center;
    align-items: center;
  }

  section.photo-gallery.top {
    padding-top: 0;
    /* margin-top: -48px; */
  }

  .row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
  }

  .col.map-container img {
    max-width: 100%;
    cursor: pointer;
  }

  .col.map-container {
    margin-left: 0;
    margin-right: 0;
  }

  footer {
    width: 100%;
    max-width: 1000px;
  }

  #lightbox-mobile {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    visibility: hidden !important;
    opacity: 0;
    transition: opacity 0.3s ease-in;
    z-index: 1000;
  }

  #lightbox-mobile:target {
    visibility: visible !important;
    opacity: 1;
  }

  #lightbox-mobile img {
    max-width: 100%;
    max-height: 100%;
    border: 5px solid #044040;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.5);
  }
  
  .lb-next,
  .lb-prev {
    display: none;
  }

  .close {
    position: absolute;
    top: 1.09rem;
    left: 0.545rem;
    color: var(--text);
    text-decoration: none;
    font-weight: 700;
    z-index: 1001;
    cursor: pointer;
  }
}

@media only screen and (min-width: 700px) and (max-width: 770px) {
  .burger-menu {
    top: -3px;
    left: 83%;
    width: clamp(70px, 11%, 90px);
    max-width: 40%;
  }

  .burger-menu .jq--nav-icon {
    width: 12%;
  }
}

@media (max-width: 480px) {

  nav ul li,
  .menu-background nav ul li.heading-link.first {
    margin-left: 2.18rem;
  }

  .burger-menu {
    top: 5%;
    left: 73%;
    width: clamp(75px, 11%, 100px);
  }

  .close {
    top: 7%;
    width: clamp(50px, 25%, 70px);
  }

  .container {
    padding: 0% 0% 0% 0%
  }

  .welcome.error-page {
      background: url(img/hidden-kitty.webp);
      background-size: cover;
      background-repeat: no-repeat;
      background-position: center left -20vh;
  }

  h1 {
    line-height: 1;
  }

  main {
    padding-left: 1.09rem;
    padding-right: 1.09rem;
  }

  a.basic {
    text-decoration: none;
  }

  ul.photo-segment {
    padding-left: 0;
    padding-right: 0;
  }

  ul:not(nav ul, .photo-segment) {
    margin-left: 10%;
    padding-left: 0%;
    padding-right: 0;
  }

  section {
    padding-left: 0.545rem;
    padding-right: 0.545rem;
  }

  section.photo-gallery {
    padding: 1.09rem;
  }

  .photo-segment li {
    padding: 0.545rem 0;
    margin: 0;
  }

  img.image {
    margin: 0 auto;
    max-width: 50vh;
  }

  img.uvod {
    margin: 0 auto;
  }

  .col {
    margin: 0;
  }

  .col2 {
    display: flex;
    gap: 5%;
    flex-direction: column;
  }

  li.none {
    padding-left: 0.545rem;
    padding-right: 0.545rem;
  }

  .center li ul {
    padding-right: 0;
  }

.bar {
  width: 25px;
  height: 25px;
}

.fb-logo {
  margin: 0.273rem 1.09rem 0.273rem 0rem;
  }


.hobby {
  min-width: 300px;
}

  form {
    display: grid;
    grid-template-columns: 1fr;
    padding: 1.09rem;
    margin: 0 auto 2.18rem auto;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.545rem;
    max-width: 600px;
    display: block;
  }

  form textarea {
    height: 150px;
    margin-top: 0.273rem;
    width: 100%;
  }

  label {
    margin-top: 1.09rem;
  }

  label.first-label {
    margin-top: 0.273rem;
  }
}

@media (max-width: 435px) {

  .welcome {
    padding: 0.545rem;
  }

  h1 {
    margin-top: 0rem;
    line-height: 1;
  }

  .slider-wrapper {
    margin-bottom: 0;
  }

  .photo-segment li {
    width: 100% !important;
    padding-left: 0;
  }

  .col.map-container {
    max-width: calc(100% - 0.545rem);
    margin: 0.545rem 0.273rem 0.545rem 0.273rem;
  }

  .address {
    min-width: unset;
    margin-left: 1.09rem;
  }

  footer .copyright,
  footer .fb-logo {
    font-size: clamp(0.6rem, 0.8rem + 0.1vw, 1rem);
  }
  .fb-logo span,
  .fb-logo svg {
    font-size: clamp(1.1rem, 1.4rem + 0.1vw, 1.6rem);
  }
}

@media (max-width: 350px) {
  .mobile-nav-back {
    width: 75%;
  }

  nav ul li,
  .menu-background nav ul li.heading-link.first {
    margin-left: 1.09rem;
  }

  .burger-menu {
    top: 5%;
    left: 73%;
    width: clamp(70px, 22%, 80px);
  }

  .close {
    top: 7%;
    width: clamp(50px, 25%, 70px);
  }

  nav {
    margin-bottom: 0;
    height: 100px;
    width: 100%;
    padding: 0 1.09rem;
    justify-content: center;
  }

  nav ul li {
    width: 70%;
    padding: 0.545rem 0;
    margin-left: 2.18rem;
  }

.welcome.error-page {
  background: url(img/hidden-kitty.webp);
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center left -25vh;
}

  h1.home {
    margin-top: 0;
  }

  .introduction {
    display: none;
  }

  img.image {
    margin: 0 auto;
  }

  footer {
    width: 100%;
    box-sizing: border-box;
  }

  .address iframe {
    width: 80%;
  }

  .col.map-container {
      max-width: 100%;
      margin: 0.273rem 0 0.273rem 0;
  }

  .col.map-container img {
    max-width: 200px;
  }
}

/***Dark/light mode**/
.toggle-wrapper {
  position: absolute;
  width: 100%;
  min-height: 1.364rem;
  left: 0;
  top: 5.455rem;
  z-index: 900;
}

.theme-toggle {
  position: absolute;
  bottom: 0;
  left: 1.09rem;
  width: 2.727rem;
  height: 1.545rem;
  display: inline-block;
  z-index: 980;
  cursor: pointer;
}

.theme-toggle input {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.slider {
  position: absolute;
  left: 2.18rem !important;
  width: 2.727rem;
  cursor: pointer;
  inset: 0;
  background-color: var(--text);
  border-radius: 1.545rem;
  transition: background-color 0.4s ease-in;
}

header span,
  header svg {
  position: absolute;
  font-size: 1.4rem;
  color: var(--heading-color);
  margin-right: 0.273rem;
  bottom: 2px;
}

header span.sun,
header svg.sun {
  position: absolute;
  left: 5.273rem;
}

header span.moon,
header svg.moon {
  position: absolute;
  bottom: -0.5px;
  left: 0.636rem;
  font-size: 1.55rem;
  z-index: -700;
}

.slider::before {
  position: absolute;
  content: "";
  height: 1.182rem;
  width: 1.182rem;
  left: 0.182rem;
  bottom: 0.182rem;
  background-color: var(--background);
  border-radius: 50%;
  transition: transform 0.4s ease-in;
}

input:checked + .slider {
  background-color: var(--secondary-color-light);
}

input:checked + .slider::before {
  transform: translateX(1.182rem);
  background-color: #f2f2f2;
}

/* Font swap */
@font-face {
  font-family: "Font Awesome 6 Free";
  font-style: normal;
  font-weight: 900;
  font-display: swap;
  src: url("https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.5.2/webfonts/fa-solid-900.woff2") format("woff2");
}

@font-face {
  font-family: "Font Awesome 6 Brands";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.5.2/webfonts/fa-brands-400.woff2") format("woff2");
}
