@import url("https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&family=Montserrat:ital,wght@0,100..900;1,100..900&family=Noto+Serif:ital,wght@0,100..900;1,100..900&display=swap");

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html {
  font-family: "Roboto", sans-serif, Arial, Helvetica, sans-serif;
  position: relative;
  line-height: 1.4;
  overscroll-behavior-y: none;
}

:root {
  --primary-color: black;
  --secondary-color: white;
  --accent-color: #1e4860;
  --light-blue-color: #6bd9ea;
  --bar-width: 25px;
  --bar-height: 4px;
  --hamburger-gap: 5px;
  --hamburger-margin: 20px;
  --hamburger-height: calc(var(--bar-height) * 3 + var(--hamburger-gap) * 2);
  --animation-timing: 200ms ease-in-out;
}
body {
  min-height: 100vh;
  background-image:url(images/pozadi_vzorek.jpg);
}

.logo {
  width: 10em;
  height: auto;
}
a:has(.logo) {
  display: block;

  max-width: 1000px;
  margin-inline: auto;
}
.pc-navbar {
  display: none;
}
.dropdown {
  position: absolute;
  translate: 0 -120%;
  width: 100%;
  transition: translate var(--animation-timing);
  top: 0;
  padding-top: calc(var(--hamburger-height) + var(--hamburger-margin));
  /* background-color: #f0f6ff; */
  background-color: var(--light-blue-color);
  box-shadow: -5px 10px 10px rgba(0, 0, 0, 0.164);
  box-shadow: -5px 10px 30px rgba(0, 0, 0, 0.11);
  z-index: 4;
}
.dropdown nav {
  display: flex;
  flex-direction: column;
  gap: 0rem;
}
.dropdown a {
  padding: 1.5rem calc(4rem + var(--bar-width) * 2);
  text-align: center;
  font-size: 1.2rem;
  font-weight: 500;
  width: 100%;
  text-decoration: none;
  color: var(--accent-color);
}
.dropdown a:hover {
  color: var(--secondary-color);
  background-color: var(--accent-color);
}
.dropdown a:active {
  color: var(--secondary-color);
  background-color: var(--accent-color);
}
.dropdown p {
  font-size: 1.5rem;
  position: relative;
  top: -1.1rem;
  padding: 0rem calc(2rem + var(--bar-width) * 2);
  text-align: center;
  font-weight: 500;
  color: var(--accent-color);
}

/* .hamburger-icon::before,
.hamburger-icon::after,
.hamburger-icon input {
  display: none;
} */
.hamburger-icon {
  --x-width: calc(var(--hamburger-height) * 1.41421356237);

  display: flex;
  flex-direction: column;
  gap: var(--hamburger-gap);
  width: max-content;
  position: relative; /* Add this line */
  z-index: 5;
  cursor: pointer;
  padding-right: var(--bar-width);
}
.hamburger-icon::before,
.hamburger-icon::after,
.hamburger-icon input {
  content: "";
  width: var(--bar-width);
  height: var(--bar-height);
  border-radius: 9999px;
  transform-origin: left center;
  background-color: var(--accent-color);
  transition:
    opacity var(--animation-timing),
    width var(--animation-timing),
    rotate var(--animation-timing),
    translate var(--animation-timing),
    background-color var(--animation-timing);
}
.hamburger-icon input {
  appearance: none;
  padding: 0;
  margin: 0;
  outline: none;
  pointer-events: none;
}
.hamburger-icon:has(input:checked) {
  color: black;
}
.hamburger-icon:has(input:checked)::before {
  rotate: 45deg;
  width: var(--x-width);
  translate: 0 calc(var(--bar-height) / -2);
}
.hamburger-icon:has(input:checked)::after {
  rotate: -45deg;
  width: var(--x-width);
  translate: 0 calc(var(--bar-height) / 2);
}
.hamburger-icon input:checked {
  opacity: 0;
  width: 0;
}
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 0rem 1rem 1rem;
  background-color: #6bd9ea;
  border-bottom: #1e4860 solid 1px;
}

a {
  color: black;
}

.hlavicka {
  display: flex;
  width: 100%;
  padding: 1em 0em;
  align-items: center;
  justify-content: space-between;
  flex-direction: column;
  min-height: 5rem;
}
.hlavicka img {
  width: 12rem;
  height: auto;
}
.hlavicka a {
  text-decoration: none;
}
.hlavicka a:hover {
  color: var(--accent-color);
}
.menu {
  width: 100%;
  margin-block: 1rem;
}
.menu ul {
  display: flex;
  list-style-type: none;
  min-width: 100%;
  justify-content: space-between;
}
h1 {
  /* font-family: Noto Serif, serif, Georgia, Times, "Times New Roman", serif;
  text-align: center; */
  font-weight: 400;
  line-height: 115%;
  margin-block: 0.5rem 1rem;
}
strong {
  font-weight: 500;
}

.main {
  padding-inline: 1rem;
  padding-top: 2rem;
  padding-bottom: 2rem;
}
.main h2,
.main h3,
.main p,
.main h4,
.main li,
.main span,
.main a {
  font-size: 1rem;
  font-weight: 400;
  letter-spacing: -3%;
  line-height: 1.5;
}
.main .supp-heading {
  font-size: 1.5rem;
  margin-block-end: 10px;
  font-weight: 400;
  display: block;
}
.main .sup {
  font-size: 1.25rem;
  margin-block-end: 10px;
  font-weight: 400;
  display: block;
}
.main li:has(> .supp-heading) {
  list-style-type: none;
}
.main p.mmezera { 
font-size: 0.5rem; 
line-height: 0.5rem;
 margin: 0rem; 
}

#prod-1 {
  width: 70%;
  display: block;
  margin-inline: auto;
  height: auto;
  margin-block: 2rem;
}
.main ul li {
  margin-left: 1rem;
}
.main ol li {
  margin-left: 1rem;
  line-height: 1.7; 
}
#btn-link {
  text-decoration: none;
}
.btn-primary {
  background-color: var(--accent-color);
  color: var(--secondary-color);
  padding: 0.7rem 6rem;
  border-radius: 1rem;
  font-size: 2rem;
  margin-inline: auto;
  margin-block: 2rem 3rem;
  display: block;
  font-family: "Roboto", sans-serif, Arial, Helvetica, sans-serif;
}
.btn-primary:hover {
  background-color: #0c1b88;
}
.supp-img {
  width: 90%;
  margin-block: 1rem 4rem;
  margin-inline: auto;
  display: block;
  border-radius: 1rem;
}
.baleni {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}
#baleni-h {
  margin-top: 3rem;
  margin-bottom: 1rem;
}
.selection {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 100%;
  height: 100%;
  gap:1rem;
  flex-wrap: wrap;
}
.selection button {
  font-size: 1rem;
  font-weight: 400;
  width: 100%;
  padding: 1em;
  border-radius: 0.5rem;
  background-color: var(--secondary-color);
  border: none;
  color: var(--accent-color);
}
.selection button:hover {
  background-color: var(--accent-color);
  color: var(--secondary-color);
}
.baleni img {
  width: 80%;
  height: auto;
  margin-inline: auto;
  display: block;
  margin-block: 1rem;
}

#btn1 {
  grid-area: 1 / 1 / 2 / 3;
}

.banner-image img{
  width: 100%;
  border-radius: 1rem;
}
.banner-image{
margin-block: 2rem;
}

/* od #paticka az po .navigation a:hover - vcetne je paticka (footer) */

#paticka {
  padding: 1.2rem;
  padding-bottom: 2.2rem;
  display: block;
  width: 100%;
  font-size: 0.87rem;
  text-align: center;
  color: rgb(61, 61, 61);
} 

footer {
  display: flex;
  font-size: 14px;
  border-top: solid 1px rgba(0, 0, 0, 0.158);
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
  padding-block: 1rem;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
}

footer div.primy {
  flex-direction: row;
  display: flex;
  justify-content: space-evenly;
  width: 100%;

}

.contact,
.navigation {
  display: flex;
  flex-direction: column;
  gap: 0.2rem; 
}
.contact span,
.navigation a {
  text-decoration: none;
  font-size: 1.1rem;
  color: var(--primary-color);
}
.contact p,
.navigation p {
  font-size: 1.45rem;
  color: var(--accent-color);
 margin-bottom: 0.3rem; 
 line-height: 1.25;
}
.navigation a:hover,
.contact a:hover {
  color: var(--light-blue-color);
}

/* isopropanol */

#technickylist {
  font-size: 1.4rem;
  margin-block: 1rem 2rem;
}
#technickylist a {
  font-size: 1.3rem;
  line-height: 2.5rem;
}
#technickylist a:hover {
  color: var(--accent-color);
}
#formula {
  width: 50%;
  padding: 1rem;
  float: right;
}
#isopropanol strong {
  font-weight: 500;
}

.bily,
.t-baleni a {
  color: var(--accent-color);
  text-decoration: none;
}
.bily:hover,
.t-baleni a:hover {
  color: #04092e;
}

/* Prodejny */
.prodejny {
  padding-left: 2rem;
}
.prodejny ul {
  margin-block-end: 3rem;
  list-style-type: none;
}
.prodejny ul li {
  margin-left: 0;
}
.prodejny strong {
  font-weight: 500;
  font-size: 1.2rem;
}

.sloupce {
  display: block;
  column-gap: 1rem;
}

.sloupce ul {
  break-inside: avoid;
  margin-bottom: 1.5rem;
  list-style: none;
  padding: 0;
}

.top {
  float: right;
  width: 3rem;
}
.kontakt {
  height: 80vh;
}
@media (min-width: 900px) {
  .pc-navbar {
    display: flex;
    justify-content: center;
    align-items: center;
    padding-inline-end: 2%;
    margin-inline: auto;
    height: 3rem;
    max-width: 1600px;
  }
  #pc-nav-box {
    background-color: #1e4860;
    padding-inline: 2rem;
  }

  .pc-navbar a {
    text-decoration: none;
    color: var(--light-blue-color);
    height: 100%;
    text-align: center;
    padding-block: 0.6rem;
    padding-inline: 3vw;
    font-size: 1.2rem;
  }
  .pc-navbar a:hover {
    color: var(--secondary-color);
    background-color: #002d47;
  }
  .hamburger-icon {
    display: none;
  }
  .dropdown {
    display: none;
  }
  .main,
  header {
    padding-inline: 2rem;
  }
  .baleni {
    flex-direction: row;
    justify-content: space-between;
    align-items: stretch;
    width: 98%;
    margin-inline: auto;
    gap: 4rem;
  }
  .baleni img {
    width: 45%;
  }
  .selection {
    width: 50%;
    height:auto;
    margin-block: 2.5rem;
  }

  #btn1 {
    grid-area: 1 / 1 / 2 / 2;
  }
  .supp-box {
    display: flex;
    width: 100%;
    margin-block-end: 2rem;
    gap: 3rem;
  }
  .supp-box img {
    width: 40%;
    margin-block: 0rem;
    margin-inline: 0;
    flex: 1 1 0;
  }
  .supp-box .text {
    width: 60%;
    margin-inline: 0;
    flex: 1 1 0;
  }
  .main {
    max-width: 1000px;
    margin-inline: auto;
  }
  #supph2 {
    font-size: 2rem;
  }
  #formula {
    width: 30%;
  }
  .sloupce {
    column-count: 2;
  }
}
@media (min-width: 1200px) {
  .kontakt {
    width: 50%;
  }
}
