html{
    scroll-behavior: smooth;
}

* {
  box-sizing: border-box;
}

body{
   font-family: "Ubuntu", sans-serif;
  font-weight: 400;
  font-style: normal;
  padding: 0;
  margin: 0;
  background-color:#f6f6f6;
  min-width:350px;
  /* background: linear-gradient(0deg,rgb(224, 224, 224) 0%, rgb(249, 249, 249) 100%); */
}

h1{
    text-shadow: -2px -2px 0 #ffffff, 2px -2px 0 #fff,
          -2px 2px 0 #fff, 2px 2px 0 #fff; 
    font-size: clamp(1.2rem, 2vw + 1.2rem, 5rem);
    line-height: 1.4;
}

h2{
    text-shadow: -2px -2px 0 #ffffff, 2px -2px 0 #fff,
          -2px 2px 0 #fff, 2px 2px 0 #fff; 
    font-size: clamp(1.2rem, 2vw + 1.2rem, 3rem)
}

h3{
    text-shadow: -2px -2px 0 #ffffff, 2px -2px 0 #fff,
          -2px 2px 0 #fff, 2px 2px 0 #fff; 
    font-size: clamp(1rem, 1.5vw + 1rem, 2rem);
}

p{
    font-size: clamp(.8rem, 3vw + .8em, 1.6rem) ;
    line-height: 1.8;
}

p2{
    font-size: clamp(.8rem, 3vw + .8em, 1.7rem) ;
    line-height: 1.8;
}

.shadow{
    box-shadow: 5px 5px 10px rgba(0, 0, 0, 0.1);
}

.header{
    background-color: rgb(255, 255, 255);
}

.header-content{
    max-width:1150px;
    /* min-width:350px; */
    margin:auto;
    padding:16px;
    display:flex;
    justify-content: space-between;
    justify-content: center;
}


.header-nav{
    flex: 3;
    display:flex;
    align-items: center;
    justify-content: center;
}


.header-nav-item{
    margin:10px;
    padding:15px;
    cursor: pointer;
    color: #232323;
    text-decoration-line: none;
    font-weight: 600;
    font-size: 1.2em;
}

.header-nav-item:hover{
    margin-top:4px;
    background-color:black;
    color:white;
}

.header-icons{
    display:flex;
    align-items: center;
    justify-content: space-evenly;
    flex:.8;
}
.header-icon{
    flex:1;
    width:56px;
    height:56px;
    padding:10px;
    border: 3px solid rgb(255, 255, 255);
}

.header-icon:hover{
    margin-top:-4px;
    border: 3px solid black;
    background:rgb(238, 238, 238);
}
/* 
CONTENTS
 */


.center{
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.body-container{
    max-width:1150px;
    /* min-width:350px; */
    margin:auto;
    background-color: rgb(225, 234, 234);
} 

.content-main{
    position:relative;
    padding-top:20px;
    background-color: #d1eae0;
    /* background-color: #bbdbcf; */
    /* background-color: #abc9be; */
    /* background-color:#f0ffd7; */
    margin:auto;
    overflow: hidden;
    padding-bottom:60px;
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0 93%);
}

.content-main img{
        /* position:absolute; */
    top:0;
    width:70%;
    padding:3%;
    z-index:1;
}

.content-main-bg{
    width:80%;
    aspect-ratio: 1;
    border-radius: 50%;
    position:absolute;
    top:20%;
    right:-10%;
    z-index: -2;
    background-color: rgb(174, 145, 212);
}
.content-main-bg2{
    width:60%;
    aspect-ratio: 1;
    border-radius: 50%;
    position:absolute;
    top:10%;
    right:-10%;
    z-index: -1;
    background-color: rgb(180, 212, 145);
}

.content-main-overlay-container{
    /* background-color:rgba(255,255,255,.9); */
    padding:30px;
    position:absolute;
    height:100%;
    top:0;
    width:100%;
    display:grid;
    grid-template-columns: 2fr 2fr;
    align-content: center;
}

.content-main-overlay{
    /* background: white; */
    z-index:1;
    text-align: center;
}



.content-main img{
    left:30%;
}

.big-button, input[type=submit] {
    color: white;
    cursor: pointer;
    font-size: clamp(.6rem, 4vw + 1rem, 3rem);
    padding:10px;
    border: 2px solid black;
    background-color: black;
    font-weight: 800;
    text-align: center;
    z-index:1;
}

.big-button:hover, input[type=submit]:hover {
    background-color: white;
    color: black;
}

.content-diagonal{
    margin-top:-100px;
    padding-top:60px;
}

.columns2{
    display:flex;
    justify-content: center;
    align-items: center;
}

.column1{
    flex:2;
    padding:20px;
}

.column2{
    flex:3;
    padding:20px;
}

/* .content img{
    width:90%;
} */
.content:nth-child(1){
    background-color: rgb(225, 234, 234);
}

.content:nth-child(2){
    background-color: rgb(245, 249, 223);
}

.content-intro, .content-intro-adapt{
    padding:20px 8%;
    display:flex;
    align-items: center;
}

.content-description{
    flex:4;
    text-align: center;
    padding:30px 5px 2% 2%;
}

.content-image{
    flex:3;
    /* padding: 10px 20px; */
}

.content-image img{
    display: block;
    margin-left: auto;
    margin-right: auto;
    /* width:100%; */
}


.content-wide{
    padding:25px 8%;
}

.slim{
    padding-bottom:0px;
    text-align:center;
}

#product-sw .content-wide{
    background-color:#cbd4dd;
    clip-path: polygon(0 5%, 100% 0, 100% 100%, 0 95%);
}

#product-agd .content-wide{
    background-color:rgb(232, 233, 202);
    clip-path: polygon(0 0%, 100% 0, 100% 100%, 0 100%);
    justify-content: center;
}

#content-stores{
    background-color:rgb(211, 221, 227);
    clip-path: polygon(0 1%, 100% 0, 100% 100%, 0 100%);
}

#container-about{
    background-color:rgb(238, 246, 229);
    clip-path: polygon(0 0%, 100% 0, 100% 100%, 0 100%);
    justify-content: center;
    padding-bottom:40px;
}

#img-logo-about{
    width:60%;
    max-width:360px;
    margin:20px auto;
}

#img-prod-hdp{
    width:100%;
    padding: 30px;
}

#img-venetka{
    width:80%;
    padding: 30px;
    max-width:350px;
}

.container-generic{
    display: flex;
    justify-content: center;
    align-items: center;
    height: auto;
    padding: 20px;
}

.container-generic iframe{
    max-width: 100%;
    width: 640px;
    height: 500px;
}

@media screen and (max-width: 710px) {
    .container-generic iframe{
        width: 100%;
        height: 350px;
    }
}

.store-matrix{
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    align-items: center;
    justify-items: center;
    /* padding: 40px 20px; */
}

.store-element{
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 120px;
}

.store-element img{
    width: 90%;
    height: auto;
    transition: transform 0.04s ease;
}

.store-element img:hover{
    transform: translateY(-4px);
}

#subject{
    margin-bottom:25px;
}
/* 
FOOTER------------------------------------------
 */
.footer{
    /* position:fixed; */
    width:100%;
    bottom:0;
    background-color:rgb(53, 53, 53);
    color:white;
    
}

.footer-content{
    padding:40px;
    display: flex;
    max-width: 1150px;
    margin:auto;
    justify-content:space-around;
    
}

.footer-left{
    flex:4;
}
.footer-right{
    flex:1
}

.footer-icon{
    flex:1;
    width:58px;
    height:58px;
    padding:10px;
    filter:invert();
}

 /* Style inputs with type="text", select elements and textareas */
input[type=text], select, textarea {
  width: 100%; /* Full width */
  padding: 12px; /* Some padding */ 
  border: 2px solid #1b1b1b; /* Gray border */
  border-radius: 0px; /* Rounded borders */
  box-sizing: border-box; /* Make sure that padding and width stays in place */
  margin-top: 6px; /* Add a top margin */
  margin-bottom: 16px; /* Bottom margin */
  resize: vertical; /* Allow the user to vertically resize the textarea (not horizontally) */
  font-size: 16px;
}

/* Style the submit button with a specific background color etc */
/* input[type=submit] {
  background-color: #04AA6D;
  color: white;
  padding: 12px 12px;
  border: none;
  border-radius: 0;
  cursor: pointer;
  float:left;
} */
/* When moving the mouse over the submit button, add a darker green color */
/* input[type=submit]:hover {
  background-color: #45a049;
} */


/* 
OVERVIEW SECTION
*/
#section-overview{
    background-color: rgb(245, 249, 223);
}

.overview-grid{
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    /* padding: 40px 20px; */
    margin-top: 20px;
}

.overview-item{
    /* background-color: whte; */
    padding: 10px;
    /* text-align: center;
    border: 2px solid black;
    /* box-shadow: 5px 5px 0px rgba(0, 0, 0, 0.1); */
    transition: transform 0.3s ease, box-shadow 0.3s ease; 
}

/* .overview-item:hover{
    transform: translateY(-5px);
    box-shadow: 8px 8px 0px rgba(0, 0, 0, 0.2);
} */

.overview-item h3{
    font-size: clamp(1rem, 2vw + 1rem, 1.8rem);
    margin: 15px 0;
    color: black;
}

.overview-item p{
    font-size: clamp(0.8rem, 1.5vw + 0.8rem, 1.2rem);
    color: #333;
    line-height: 1.6;
}

/* Fade / truncation wrapper for long overview texts */
.fade-wrap{
    position: relative;
    max-height: 5.2rem; /* approx 3 lines, adjust as needed */
    overflow: hidden;
    transition: max-height 0.35s ease;
}

.fade-wrap img{
    padding:5%;
}
.fade-wrap::after{
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 2.4rem;
    background: linear-gradient(transparent, var(--fade-end, rgb(225, 234, 234)));
    pointer-events: none;
}

/* Ensure overview cards use white as fade end */

.overview-item .fade-wrap{ --fade-end: rgb(225, 234, 234); }
.fade-wrap.expanded{
    max-height: 1000px;
}
.fade-wrap.expanded::after{
    display: none;
}

.show-more{
    position: absolute;
    right: 10px;
    bottom: 3px;
    border: none;
    font-weight: 700;
    font-size:1.2em;
    padding: 20px 24px;
    cursor: pointer;
    z-index:1;
    outline: 2px solid #222;
    background-color: #101010;
    color:white;
}

.show-more:hover{
    background: rgba(255,255,255,1);
    color: #222;
}
/* .show-more:focus{ 
    outline: 3px solid #ececec; 
    color:white;
    background-color: #222;
} */

/* Image shrinking/growing when text is folded/unfolded */
.columns2 img{
    transition: transform 0.35s ease, width 0.35s ease;
    transform-origin: center center;
}
.columns2:not(.expanded) img{
    transform: scale(0.8);
}
.columns2.expanded img{
    transform: scale(1);
}

/*
Responsive 
 */

@media screen and (max-width: 1000px) {
.store-matrix{
    grid-template-columns: repeat(3, 1fr);
}
}

@media screen and (max-width: 710px) {

.store-matrix{
    grid-template-columns: repeat(2, 1fr);
}

.column1{
    display:none;   
}
.header-logo{
    margin-bottom:10px;
}

/* 
Centralise layout
*/
  
.header-content, .header-nav, .footer-content, .content-intro-adapt {   
    flex-direction: column;
    align-items: center;
}
.content-main-overlay-container{
    grid-template-columns: 1fr ;
}

#section-about .content-intro-adapt:nth-child(2), #product-agd .content-intro-adapt{
    flex-direction:column-reverse;
}
/* 
header
*/

.header-nav-item:hover{
    margin-top:10;
}

.header a{
    padding:20px;
}

/* 
Content
*/

.content-main img{
    display: block;
    margin-left: auto;
    margin-right: auto;
    width:90%;
}

.content-intro-adapt img{
    width:60%;
}

#img-prod-hdp{
    width:90%;
    padding:0;
    max-width:350px;
}

/* 
Overview
*/
.overview-grid{
    grid-template-columns: 1fr;
}


}