
@import url('https://fonts.googleapis.com/css2?family=Nunito+Sans:wght@200;600;800&display=swap');
/*
=============== 
Variables
===============
*/

:root {
  /* darkest grey - used for headings */
  --clr-gr_d: hsl(209, 28%, 39%);
  /* grey used for paragraphs */
  --clr-gr_l:#8fa3b9;
  --clr-bg: hsl(189, 28%, 95%);
  --clr-zw: #222;
  --clr-wit: #FFF;
  --transition: all 0.3s linear;
  --spacing: 0.04rem;
  --light-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  --dark-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  --max-width: 1170px;
  --fixed-width: 620px;
}
/*
=============== 
Global Styles
===============
*/

*,
::after,
::before {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
  font-family: 'Nunito Sans', sans-serif;
  background: var(--clr-bg);
  color: var(--clr-gr_d);
  
  font-size: 0.7rem;
}
ul {
  list-style-type: none;
}
a {
  text-decoration: none;
}
h1,
h2,
h3,
h4 {
  letter-spacing: var(--spacing);
  text-transform: capitalize;
  line-height: 1.25;
  margin-bottom: 0.75rem;
  font-weight: 200;
}
h1 {
  font-size: 3rem;
}
h2 {
  font-size: 2rem;
}
h3 {
  font-size: 1.25rem;
}
h4 {
  font-size: 0.875rem;
}
p {
  
  color: var(--clr-gr_d);
}
.vet {
  font-weight: 600; 
}
.img {
  width: 100%;
  display: block;
}
/*
.text-slanted {
  font-family: 'Nunito Sans', sans-serif;
}
*/
.kontakt {
  width: 90vw;
  max-width: var(--max-width);
  margin: 0 auto;
}

.btn {
  background: var(--clr-gr_d);
  color: var(--clr-bg);
  padding: 0.375rem 0.75rem;
  text-transform: uppercase;
  letter-spacing: var(--spacing);
  display: inline-block;
  transition: var(--transition);
  border-color: transparent;
  cursor: pointer;
}
.btn:hover {
  background: var(--clr-gr_d);
  color: var(--clr-zw);
}
.section-loading {
  text-align: center;
  position: absolute;
  top: 2rem;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
}
.page-loading {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--clr-bg);
  display: flex;
  align-items: center;
  justify-content: center;
}
/*
=============== 
Navbar
===============
*/

.navbar {
  height: 6rem;
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
}

.nav-center {
  width: 90vw;
  max-width: var(--max-width);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.toggle-container {
  position: relative;
  margin-top: 0.75rem;
}
.toggle-cart {
  background: transparent;
  border-color: transparent;
  font-size: 1.2rem;
  color: var(--clr-bg);
  cursor: pointer;
}
.cart-item-count {
  position: absolute;
  top: -0.5rem;
  right: -0.5rem;
  background: #FFF;
  border:1px solid var(--clr-gr_l);
  width: 1.2rem;
  height: 1.2rem;
  display: grid;
  place-items: center;
  color: var(--clr-gr_d);
  font-weight: 600;
  font-size: 0.7rem;
}
.nav-center {
  position: relative;
}
.nul {
  display: none;
}



  .nav-link {
    color: var(--clr-gr_l);
    
    
  }
  .nav-link:hover {
    color: var(--clr-gr_d);
  }

/* page navbar */
.page .nav-link {
  font-size: 1.15rem;
}
.page .nav-link:hover {
  color: var(--clr-gr_d);
}
.page .toggle-cart {
  color: var(--clr-gr_l);
}
/*
=============== 
Hero
===============
*/
.hero {
  min-height: 100vh;
}
.hero-container {
  position: absolute;
  left: 2rem;
  top: 5rem;
  width: 90vw;
  max-width: var(--max-width);
}
.t_m_200 {
  font-size: 0.85rem;
  color: var(--clr-gr_d);
  letter-spacing: var(--spacing);
  font-weight: 200;
  line-height: 0.6rem;
  height: 0.5rem;
}
.t_m_800 {
  font-size: 0.85rem;
  color: var(--clr-gr_d);
  letter-spacing: var(--spacing);
  font-weight: 800;
  line-height: 0.9rem;
  height: 0.8rem;
}
.t_m_600 {
  font-size: 0.85rem;
  color: var(--clr-gr_d);
  letter-spacing: var(--spacing);
  font-weight: 600;
  line-height: 0.6rem;
}
.t_m_600:hover {
  color: #000;
  text-decoration: underline;
}

@media screen and (min-width: 800px) {
  .hero h3 {
    font-size: 1.5rem;
    margin: 1rem 0;
  }
}

@media screen and (min-width: 992px) {
  .hero h1 {
    font-size: 5.25rem;
    letter-spacing: 5px;
  }
  .hero h3 {
    font-size: 2.75rem;
    margin: 1.5rem 0;
  }
}

/*
=============== 
Sidebar
===============
*/
.sidebar-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 3;
  display:none
}
.sidebar-overlay.show {
  display: grid;
  place-items: center;
  transition: var(--transition);
  opacity: 1;
  background: rgba(0, 0, 0, 0.5); 
}
.sidebar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  
}
.show .sidebar {
  transform: scale(1);
}
.sidebar-close {
  font-size: 1.2rem;
  background: transparent;
  border-color: transparent;
  color: var(--clr-bg);
  position: absolute;
  top: 0.5rem;
  left: 5vw;
  cursor: pointer;
}
.sidebar-content {
  position: absolute;
  height: 85vh;
  left: 5vw;
  top: 50px;
}
.sidebar-img {
  height: 60vh;
  max-height: 488px;
}
.sidebar-txt {
  height: 25vh;
  margin-top: 1rem;
  line-height: 0.9rem;
}
.sidebar-ttl {
  letter-spacing: var(--spacing);
  color: var(--clr-bg);
  font-weight: 600
}
.sidebar-descr {
  font-size: 0.6rem;
  letter-spacing: var(--spacing);
  color: var(--clr-gr_l);
  font-weight: 200
}
.xxs {
  color: var(--clr-gr_l);
  font-size: 0.4rem;
  letter-spacing: var(--spacing);
  margin-top: -10rem;
}

/*
=============== 
Cart
===============
*/
.cart-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  z-index: -1;
}
.cart-bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  transition: var(--transition);
  opacity: 1;
  z-index: 1;
}
.cart-overlay.show {
  opacity: 1;
  z-index: 100;
}
.cart {
  position: fixed;
  top: 0;
  right: 0;
  width: 100%;
  height: 100%;
  max-width: 400px;
  background: rgba(0, 0, 0, 0.3);
  padding: 3rem 1rem 0 1rem;
  display: grid;
  grid-template-rows: auto 1fr auto;
  transition: var(--transition);
  transform: translateX(100%);
  overflow: scroll;
  z-index: 2;
}
.show .cart {
  transform: translateX(0);
}
.cart-close {
  font-size: 1.2rem;
  background: transparent;
  border-color: transparent;
  color: var(--clr-bg);
  position: absolute;
  top: 0.5rem;
  left: 1rem;
  cursor: pointer;
}
.cart header {
  text-align: center;
}
.cart header h3 {
  font-weight: 600;
}
.cart-total {
  font-size: 0.8rem;
  color: var(--clr-bg);
  text-align: center;
  margin-bottom: 0.8rem;
  font-weight: 200;
}
.cart-checkout {
  display: block;
  background: transparent;
  border-color: transparent;
  color: var(--clr-bg);
  width: 75%;
  margin: 0 auto;
  margin-bottom: 3rem;
}
.cart-checkout:hover {
  color: var(--clr-wit);
  text-decoration: underline;
}
/* cart item */
.cart-item {
  margin: 1rem 0;
  display: grid;
  grid-template-columns: auto 1fr auto;

  column-gap: 1.5rem;
  align-items: top;
  
}
.cart-item-img {
  vertical-align: top;
  width: 3.5rem;
  height: 3.5rem;
  object-fit: contain;
}
.cart-item-name {
  margin-top: 0.2rem;
  margin-bottom: 0.15rem;
  vertical-align: top;
  font-size: 0.55rem;
  color: var(--clr-wit);
}
.cart-item-price {
  margin-bottom: 0;
  font-size: 0.55rem;
  color: var(--clr-wit);
  font-weight: 600;
}
.cart-item-remove-btn {
  margin-left: -1px;
  margin-top: -1px;
  background: transparent;
  border-color: transparent;
  font-size: 0.45rem;
  color: var(--clr-bg);
  cursor: pointer;
}

.cart-item-ctrls {
  margin-top: -0.3rem;
}
.cart-item-amount {
  font-size: 0.65rem;
  text-align: center;
  color: var(--clr-wit);
  line-height: 1;
}
.cart-item-increase-btn, 
.cart-item-decrease-btn {
  
  background: transparent;
  border-color: transparent;
  color: var(--clr-bg);
  cursor: pointer;
  font-size: 0.75rem;
  padding: 0.25rem;
}

/*
=============== 
Title
===============
*/

.title h2 {
  display: flex;
  justify-content: center;
  align-items: center;
  font-weight: 600;
}
.title span {
  color: var(--clr-gr_d);
  font-size: 0.85em;
  margin-right: 1rem;
}
/*
=============== 
product
===============
*/
.products {
  width: 90vw;
  margin: auto;
  z-index:2
} 

.products-container {
  
  top: 2.2rem;
  width: 100%;
  display: grid;
  grid-template-columns: repeat(auto-fit, 260px);
  gap: 1rem;
  margin: auto;
}  

.product {
  width: 12rem;
  max-width: 260px;
  display: block;
    
}
.product-img {
  width: 100%;
  object-fit: cover; 
  cursor: pointer; 
}
.product-name {
  margin-top: 0.25rem;
  width: 100%;
  margin-bottom: 0.35rem;
  text-align: center;
  font-size: 0.6rem;
  letter-spacing: var(--spacing);
  line-height: 0.6rem;
  height: 1rem
}
.product-price {
  margin-bottom: 0;
  text-align: center;
  color: var(--clr-gr_d);
  font-size: 0.6rem;
  font-weight: 600;
}
.product-icon {
  color: var(--clr-gr_d);
  text-align: center;
  cursor: pointer;
  font-size: 0.6rem;
  border-color: transparent;
  margin-bottom: 0.35rem;
}
.product-icon:hover {
  color: var(--clr-zw);
}
.product-container:hover .product-icons {
  opacity: 1;
}

/*
=============== 
info Page
===============
*/
.info-text {
  line-height: 1;
  max-width: 45em;
  margin: 0 auto;
  margin-top: 2rem;
}

.info-text-b {
  line-height: 1;
  max-width: 45em;
  margin: 0 auto;
  margin-top: 2rem;
  font-weight: 600;
}

/*
=============== 
zender:
===============
*/
td {
  vertical-align: top
}
.vet {
  font-weight: bold
}
.tbl {
 position: relative;
 display: block;
 width: 80vw;
margin: auto;
max-width: 600px
}

.warn {
 line-height: 1.2;
  font-weight: 600;
  color: rgb(165, 31, 31);
 }
 
 .txtvak{
  vertical-align: top;
  width:70vw
}
.txtvak > infovak {
  width: inherit;
  max-width: 500px;
  -webkit-box-sizing: border-box;
     -moz-box-sizing: border-box;
          box-sizing: border-box;
}
.meelvak{
  width: 50%;
  max-width: 500px;
}
