:root {
  --hero-height: 320px;
  --hero-height-calced: var(--hero-height);
  --hero-mb: 3rem;
  --hero-mt: 3rem;
  --nav2-padding-top: 0.5em;
  --nav2-font-size: 1.5em;
  --nav-2-line-height: 1.4;
  --main-padding-top: 4em;
  --header-padding: 
  var(--hero-mb) + var(--hero-mt)
  ;
  --nav2-padding: 
    var(--nav2-padding-top) * 2 + var(--nav2-font-size) *
      var(--nav-2-line-height)
  ;
  --main-padding-total: (
    var(--header-padding) + var(--nav2-padding) + var(--main-padding-top)
  );
}


/* nav-padding */
/* .nav2 nav a: font-size*line-height */
.for_header_margin {
  width: 1px;
  height: calc(
    var(--hero-height) + var(--hero-mb) + var(--hero-mt) 
  );
}

.for_nav2_margin {
  width:1px;
  height: calc(var(--nav2-padding));
}

* {
  box-sizing: border-box;
  padding: 0;
  margin: 0;
}

body,
html {
  margin: 0;
  padding: 0;
  /*background: red;
  background: url(res/back.png);*/
  font-size: 16px;
  line-height: 1.4;
  
}

.main_padding {
  padding: 0 2em;
}

header {
  display: flex;
  flex-direction: column;
  position: fixed;
  z-index: 1;
  top: 0;
  left: 0;
  right: 0;
}

.main_header {
  background-color: rgba(0, 0, 0, 1);
  display: flex;
  flex-direction: row;
  align-items:center;
}

.solganwimg {
  display: flex;
  width: 100%;
  margin-right: 4em;
  flex-direction: column;
}

section {
  scroll-margin-top: calc(var(--main-padding-total));
/*  scroll-margin-top: calc(var(--nav2-padding));*/
}

.top-nav {
  display: flex;
  margin-top: var(--hero-mt);
  margin-bottom: var(--top-nav-mb);
  line-height: var(--top-nav-line-height);
  align-items: baseline;
  justify-content: space-between;
}

.logo {
  width:20%;
  max-width: 120px;
  margin: 1em 72px;
}

.logo_mirror {
  max-width: 120px;
  margin: 1em 72px;
}


.slogan {
  color: #8d8b85;
  font-size: 1.1rem;
  text-wrap: balance;
  /*font-size: 0.67rem;*/
}

.hero_container {
  width: 100%;
  height: min(var(--hero-height-calced),var(--hero-height)); /*140 in design*/
  position: relative;
  margin: var(--hero-mt) auto var(--hero-mb) auto;
  max-width:1380px;
}


.hero {
  position: absolute;
  inset: 0;
  background-size: cover;
  transition: opacity ease 3s;
  opacity: 0;
}

.hero0 {
  background-image: url("res/hero0.png");
  opacity: 1;
}

.hero1 {
  background-image: url("res/hero1.png");
}

.hero2 {
  background-image: url("res/hero2.png");
}

.hero3 {
  background-image: url("res/hero3.png");
}

.hero4 {
  background-image: url("res/hero4.png");
}

.league-spartan {
  font-family: "League Spartan", sans-serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
}

.nunito-sans {
  font-family: "Nunito Sans", sans-serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
  font-variation-settings: "wdth" 100, "YTLC" 500;
}

nav {
  display: flex;
  gap: 2em;
  justify-content: space-between;
}

nav a.active {
  color: #f1cb16;
}

nav a {
  color: #8d8b85;
  text-decoration: none;
  font-size: 1.1em;
}

.nav2 {
  display: none;
}

.nav2 nav {
  padding: var(--nav2-padding-top) 4em;
  background-color: #000;
}

.nav2 .navgap {
  flex:1;
}

.nav2 .arrow {
  background-color: #000;
  width: 5em;
  clip-path: polygon(0 0,  100% 0 ,  100% 100%);
}


.nav2 .arrowR {
  background-color: #000;
  width: 5em;
  clip-path: polygon(0 0, 100% 0, 0 100%);
}

.nav2 nav a {
  font-size: var(--nav2-font-size);
  line-height: var(--nav-2-line-height);
}

main {
  padding-top: var(--main-padding-top);
  max-width: 1280px;
  margin: 0 auto;
  font-size: 1.1em;
  position: relative;
}

h3 {
  font-family: "Nunito Sans", sans-serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
  font-variation-settings: "wdth" 100, "YTLC" 500;
  font-size: 2.5em;
  margin: 0;
}

h4 {
  font-family: "Nunito Sans", sans-serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
  font-variation-settings: "wdth" 100, "YTLC" 500;
  line-height: 1.4;
  font-size: 1.4em;
  text-wrap: balance;
  margin: 1.3em 0;
  font-weight: bold;
}

h5 {
  font-family: "Nunito Sans", sans-serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
  font-variation-settings: "wdth" 100, "YTLC" 500;
  line-height: 1.2;
  font-size: 1.3em;
  text-wrap: balance;
}

p {
  font-family: "League Spartan", sans-serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
  line-height: 1.4;
  font-size: 1.6em;
  margin-top: 1em;
  text-wrap: balance;
}

.paragraph {
  font-family: "League Spartan", sans-serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
  line-height: 1.4;
  font-size: 1.6em;
  margin-top: 1em;
  text-wrap: balance;
}

ul.paragraph {
  padding:0 1.5rem;
}

.paragraph li {
  padding-bottom:1rem;
}

.block_font {
  font-family: "League Spartan", sans-serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
  line-height: 1.2;
  font-size: 1.2em;
  margin-top: 1em;
  text-wrap: balance;
}

ul.block_font {
  padding:0 1.5rem;
}

.block_font li {
  padding-bottom:1rem;
}


.separator {
  font-size: 9px;
  font-weight: 600;
  font-family: monospace;
  width: 100%;
  overflow: hidden;
  position: relative;
  display: inline-block;
  white-space: nowrap;
  line-height: 12.5em;
}

.separator_small {
  line-height: 3.5rem;
}

body {
  background: linear-gradient(
    -45deg,
    #ebeee4cc,
    #dff1b6cc,
    #dff1b6cc

    /*
    #a6c4cfcc,
    #a6c4cfcc,
    #a6c4cfcc,
    #dff1b6cc,
    #b5e4d9cc,
    #b5e4d9cc,
    #b5e4d9cc*/
  );
  background-size:100% 5000%;
  /*background-size: 400% 2000%;
  animation: gradient 35s ease infinite;*/
  height: 100vh;
}

@keyframes gradient {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

.imgText {
  position: absolute;
  bottom: 0;
  right: 0;
  height: 60%;
  width: 100%;
  line-height: 0;
}


.imgText img {
  max-width:100%;
  height:100%;
  display: inline;
  aspect-ratio: auto;
  position: absolute;
  bottom: 0;
  right: 0;
  opacity: 0;
  transition: opacity ease 1s;
}

.product_img {
  width: 30%;
  object-fit: contain;
  margin-top:1em;
}


@media  (max-width: 1600px) {
  .logo_mirror {
    display: none;
  }

}

@media (min-width: 1030px) and (max-width: 1300px) {
  :root {
    --hero-height: 240px;
    --hero-mb: 2rem;
    --hero-mt: 2rem;
  }

  .logo {
    width: 20%;
    margin: var(--hero-mt) 8% var(--hero-mb) 8%;
  }
}

@media (min-width: 830px) and (max-width: 1030px) {
  :root {
    --hero-height: 200px;
    --hero-mb: 2rem;
    --hero-mt: 2rem;
  }

  .logo {
    width: 20%;
    margin: var(--hero-mt) 2em var(--hero-mb) 2em;
  }


  .imgText {
    height: 50%;
  }

  .block_font {
    font-size:1.5em;
    line-height:1.1;
    padding-bottom:0px;
  }
}

@media (max-width: 830px) {

  .products_container {
      flex-direction: column;
  }

  .product_img {
    width:90%;
    max-height: 250px;
  }

  .logo {
    width: 20%;
    min-width:60px;
    margin: var(--hero-mt) 3em var(--hero-mb) 3em;
  }

}

@media (min-width: 580px) and (max-width: 830px) {
  :root {
    --hero-height: 140px;
    --hero-mb: 2rem;
    --hero-mt: 2rem;
  }

  body {
    font-size: 13px;
  }


  .imgText {
    height: 50%;
  }

  .block_font {
    font-size:1.5em;
    line-height:1.1;
    padding-bottom:0px;
  }
}

@media (max-width: 580px) {
  :root {
    --hero-height: 120px;
    --hero-mb: 1rem;
    --hero-mt: 1.5rem;    
  }

  body {
    font-size: 11px;
  }


  .nav2 {
    font-size: 0.8em;
  }

  .imgText {
    height: 50%;
  }

  .block_font {
    font-size:1.5em;
    line-height:1.1;
    padding-bottom:0px;
  }

  .solganwimg {
    margin-right: 2em;
  }
}

@media (max-width: 330px) {
  :root {
    --hero-height: 0px;
  }

}

@media (max-width: 302px) {
  :root {
    --hero-height: 0px;
  }

  .block_font {
    font-size:1.5em;
    line-height:1.1;
    padding-bottom:0px;
  }
}


.contact {
  display: flex;
  width: 100%;
  align-items: top;
  gap: 7em;
  justify-content: space-between;
}

.contact p {
  line-height: 1.6;
  margin:0 auto 4em auto;
}

form {
  margin-top: 1em;
  margin-bottom: 18em;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 10px;
  position: relative;
}

textarea,
input,
button {
  /*width:100%;*/

  background-color: #f2e29c;
  border: 0 none transparent;
  margin: 0;
  padding: 8px;
  font-family: "League Spartan", sans-serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
  line-height: 1;
  font-size: 1.2rem;
}

@media (max-width: 850px) {
  .contact {
    gap: 1em;
    flex-direction: column;
  }
}



a,
a:visited {
  color: #444;
}

button {
  background-color: #f1cb16;
  position: absolute;
  width: 8em;
  bottom: 0;
  right: 0;
}

.blocks {
  display: grid;
  justify-content: space-between;
  margin-top: 4em;
  gap: 2em;
}

.block {
  background-color: #f1cb16;
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 1em;
  gap: 0;
  filter: drop-shadow(5px 5px 8px hsla(50, 89%, 52%, 0.466)) drop-shadow(-5px -5px 8px hsla(50, 89%, 52%, 0.466));
}

.block_title {
  display: flex;
  flex-direction: row;
}

.blocks img {
  width: 50px;
  margin-right: 2rem;
}

.block_text {
  display: flex;
  flex-direction: column;
}

@media (min-width: 1200px) {
  .blocks {
    grid-template-columns: repeat(3, 1fr);
  }

}


@media (max-width: 1200px) {
  .blocks {
    grid-template-rows: repeat(3, 1fr);
  }
}


/*shadow */
.nav2 {
  filter: drop-shadow(5px 5px 10px #000000);
}

.main_header {
  filter: drop-shadow(5px 5px 10px #000000);
  
}

.products_container {
  display: flex;
  gap: 2em;
  align-items: flex-start;
}

.product_p {
  flex: 1;
}



@media (max-width: 1200px) {
}

.nav1 {
  display: none;
}
.nav2 {
  display: flex;
}


footer {
  display: flex;
  width:100%;
  color:#444;
  padding:0;
  margin:0;
  filter: drop-shadow(-5px -5px 10px #000000);

}

.footer_content {
  background-color: #000;
  flex:1;
  padding:0.7em 4em;
  font-size: 1.2em;
  line-height: var(--nav-2-line-height);
  text-align: center;
}


footer .arrow {
  background-color: #000;
  width: 5em;
  clip-path: polygon(0 102%, 100% 0, 100% 102%);
}
