html {
  box-sizing: border-box;
}
*,
::after,
::before {
  box-sizing: inherit;
}

body {
  background-color: #eeeae4;
  display: flex;
  flex-direction: column;
  font-family: "Montserrat";
  font-size: 18px;
  padding: 0;
  align-items: center;
  margin: 0;
  max-width: 100%;
  font-family: montserrat;
  font-weight: 400;
  /*overflow-x: hidden;*/
}

.line {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  position: fixed;
  z-index: 10000;
  top: 0;
  left: 0;
  right: 0;
  background-color: #070c12;
  height: 60px;
}
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@media only screen and (max-width: 500px) {
  .menu {
    max-width: fit-content;
    font-size: 1.8rem;
    margin-right: 2%;
  }
}
@media only screen and (min-width: 500px) {
  .line {
    height: 60px;
  }
  .title {
    font-size: 3rem;
  }
}

.menu {
  padding: 1%;
  align-self: stretch;
}

.menu a {
  color: white;
  text-decoration: none;
  font-size: 2.5vw;
  font-family: "quicksand", serif;
  font-weight: 300;
  border-left: solid 1px #c69b34;
  padding-left: 0.3em;
  padding-right: 0.2em;
  margin: 1vw;
}

@media only screen and (max-width: 800px) {
  .bio,
  .kontakt,
  .maloobchod {
    display: none;
  }
}

a.kontakt {
  color: #c69b34;
  font-weight: 300;
}

.ham {
  /*hamburger a krizek*/
  position: absolute;
  right: 15px; /* Pevná vzdálenost od pravého okraje */
  top: 15px; /* Vertikálně vycentrovaný */

  width: 25px; /* Pevná šířka místo 3vw */
  aspect-ratio: 1/1;
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  cursor: pointer;
  z-index: 9999;
}
.cara1,
.cara2,
.cara3 {
  width: 100%;
  flex-shrink: 0;
  height: 2px;
  background-color: white;
  /*background-color: #ccbd71;*/
}
.cara2 {
  background-color: #c69b34;
}
@media only screen and (min-width: 800px) {
  .ham,
  .cara1,
  .cara2,
  .cara3 {
    display: none;
  }
}
@media only screen and (min-width: 500px) {
  .ham {
    right: 20px; /* Na mobilu trochu blíž ke kraji */
    width: 30px; /* Na mobilu trochu menší */
  }
}
.caraB {
  display: none;
}
.caraA {
  transform: rotate(45deg);
  position: relative;
  top: 20%;
}
.caraC {
  transform: rotate(-45deg);
  position: relative;
  bottom: 30%;
}

/*logo small v navigaci*/

.logoS {
  width: 50%;
  height: auto;
  margin-left: -20%;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.logoS.visible {
  opacity: 1;
  visibility: visible;
}
.hidden {
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.visible {
  opacity: 1;
  visibility: visible;
}

/*navigace na klik*/
.nav {
  background-color: #070c12;
  position: fixed;
  z-index: 9000;
  width: 100%;
  height: 100vh;
  left: 0;
  top: 0;
  margin-top: 0;
  padding: 10%;
  padding-top: 30%;
}
ul {
  list-style: none;
  line-height: 300%;
  display: flex;
  flex-direction: column;
}
a.nav-link {
  color: #c69b34;
}
.nav-link {
  text-align: left;
  text-decoration: none;
  font-family: quicksand;
  font-size: 1.6rem;
  color: #c69b34;

  /*border-bottom: 1px solid #07192f;*/
}

@media only screen and (min-width: 800px) {
  .nav {
    display: none;
  }
}

.hidden {
  display: none;
}

.stop {
  height: 60px;
}

.logobox {
  width: 100vw;
  height: 300px;
  background-color: #070c12;
  display: flex;
  position: sticky;
  top: 0;
  z-index: 1;
}

@media only screen and (min-width: 800px) {
  .logobox {
    height: 500px;
  }
}
.logo {
  width: 100%;
  height: 80%;
  padding: 0 7% 0 7%;
  opacity: 0;
  animation: fadeIn 4s ease-in-out forwards;
}

@keyframes fadeIn {
  to {
    opacity: 1;
  }
}

/*překrytí logoboxu obsahem:*/
.content-wrapper {
  position: relative;
  z-index: 2;
  background-color: #eeeae4;
}
/*-*/

.biotext {
  padding: 0 10% 0 10%;
}
.biotext h2 {
  font-size: 25px;
  color: #243c5a;
  font-weight: 500;
  text-decoration: overline 1px #c69b34;
}

.mobox h2 {
  padding: 0 10% 0 10%;
  font-size: 22px;
  font-family: comfortaa;
  font-weight: 300;
  color: #243c5a;
}

.banner {
  width: 80%;
  justify-self: center;
}
/*.ksilt-img {
  width: auto;
  height: auto;
  display: block;
  position: relative;
  left: 79%;
  top: 230px;
  z-index: 3;
  transform: scaleX(-1) rotate(-32deg);
  margin: 0;
  padding: 0;
}*/
.banner-link {
  display: block;
  width: 100%;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.banner-link:hover {
  opacity: 0.95;
}

.banner-img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 0 0 0 10px ; /* volitelné zaoblení */
}

/*kontaktni formular*/
.contact {
  grid-area: contact;
  background-color: #070c12;
}

.facebook,
.instagram {
  width: 20%;
  margin: 4% 15% 13% 13%;
}

.forms {
  display: flex;
  flex-direction: column;
  align-items: center;
  color: #eeeae4;
  font-style: bold;
}
.forms p {
  padding: 0 10% 5% 10%;
}
@media only screen and (min-width: 800px) {
  .contact {
    display: grid;
    grid-template-areas: "form all";
    grid-template-columns: 3fr 2fr;
    gap: 3rem;
  }
  .all {
    grid-area: all;
    height: 100%;
  }
  .forms {
    grid-area: form;
    margin: 5%;
  }
}

.forms input,
textarea {
  width: 90%;
  height: 2rem;
  margin: 1%;
  background-color: #eeeae4;
  border-radius: 0 0 0 10px;
  border-color: #243c5a;
}
label {
  padding: 1% 0 1% 0;
}
.forms button {
  background-color: #c69b34;
  width: 20%;
  height: 3rem;
  border-radius: 2px 2px 2px 10px;
  margin: 2rem;
  margin-bottom: 3rem;
  color: white;
  font-size: 17px;
}
.forms button:hover {
  opacity: 0.4;
}
.all {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  padding: 20px;
  background-color: #eeeae4;
  border: 10px solid #243c5a;
  border-radius: 0 0 0 10px;
  box-shadow: 0 0 10px #243c5a;
  color: #243c5a;
  align-items: flex-start;
}

.all p[data-key="follow"] {
  margin-bottom: 10px;
}

/* Telefon odkaz */
.all a[href^="tel"] {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: #070c12;
}

.all a[href^="tel"]:hover {
  opacity: 0.4;
}

.phone-icon {
  flex-shrink: 0;
}

/* E-mail sekce */
.mail {
  display: flex;
  align-items: center;
  gap: 12px;
}

.mail p {
  margin: 0;
}

.mail-icon {
  flex-shrink: 0;
}

/* Sociální sítě */
.soc {
  display: flex;
  align-items: center;
  gap: 15px;
  padding-top: 3rem;
}

.soc a {
  display: inline-block;
  transition: transform 0.2s ease;
}

.soc a:hover {
  transform: scale(1.1);
}

.facebook-icon,
.instagram-icon {
  display: block;
}
.address {
  padding-top: 3rem;
}
.footer {
  padding: 10% 10% 0 10% 0;
  text-align: center;
}
.footer p {
  background-color: #070c12;
  color: #eeeae4;
  margin: 0;
  padding: 5%;
  text-align: center;
}
@media only screen and (min-width: 800px) {
  .footer p {
    padding: 2% 5% 0 5%;
  }
}

@media (prefers-color-scheme: dark) and (max-width: 800px) {
  body {
    background-color: #070c12;
    color: #eeeae4;
  }
  .logobox {
    background-color: #243c5a97;
  }
  .content-wrapper {
    background-color: #070c12;
    color: #eeeae4;
  }
  .biotext h2 {
    color: #c69b34;
  }
  .mobox h2{
    font-weight: 500;
  }
  .contact {
    background-color: #243c5a97;
    color: #eeeae4;
  }

  .forms input,
  textarea {
    background-color: #eeeae4;
  }
  .all {
    background-color: #070c12;
    border-color: #eeeae4;
    box-shadow: 0 0 5px #eeeae4;
    color: #eeeae4;
  }
  .all a[href^="tel"] {
    color: #eeeae4;
  }
}

