:root{
  --base: #b7221e;
  --text: #131313;
  --lightest: #fafafa;
  --light: #f5f5f5;
  --grey: #e0e0e0;
  --black: #0f0f0f;
  --navcolor: #fff;
}

@media screen and (min-width: 48em) {
  :root{
    --navcolor: #fff;
  }
  .scrolled{
    --navcolor: #fff;
  }
}

.collapse, .open{
  --navcolor: #fff;
}

* {
  box-sizing: border-box;
}

html{
  scroll-behavior: smooth;
}

body{
  padding: 0;
  margin: 0;
  background-color: #fff;
  font-family: 'Roboto Condensed', sans-serif;
  font-size: 1rem;
  line-height: 1.5;
  color: var(--text);
  font-weight: 300;
  -webkit-font-smoothing: antialiased;
  -webkit-text-size-adjust: 100%;
  overflow-x: hidden;
}

body.no-scroll{
  height: 100vh;
  overflow-y: hidden;
  padding-right: 15px; /* Avoid width reflow */
}

h1, h2, h3, h4{
  font-family: 'Dosis', sans-serif;
  font-weight: 300;
}

h1{
  margin-top: 0;
  font-size: 2em;
  text-transform: uppercase;
}


h3{
  color: var(--base);
  margin-bottom: 0;
  text-transform: uppercase;
}

h4{
  color: var(--base);
  margin-bottom: 0;
}

p{
  margin: .75em 0 1em 0;
}

p.lead{
  font-weight: 500;
}

a {
  text-decoration: none;
  color: var(--base);
  transition: color .25s ease;
}

a:hover, a :focus {
  color: var(--text);
}

.text-white a{
  color: #fff;
}

.text-white a:hover, .text-white a:focus {
  color: var(--base);
}

section ul.square {
  list-style: none;
  padding-left: 1.75em;
}

ul.square li::before {
  content: "\25A0";
  color: var(--base);
  font-weight: bold;
  display: inline-block;
  width: 1.2em;
  margin-left: -1.75em;
  margin-right: .5em;
}

.text-white{
  color: #fff!important
}

.text-white a svg{
  width: 16px;
}

.img-responsive{
  max-width: 100%;
}

.hidden{
  display: none!important;
}

/* CONTAINER + GRID
*************************** */
.container {
  display flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  height: 100%;
  min-height: 100%;
  max-width: 100%;
  margin-left: auto;
  margin-right: auto;
  padding: 0 1.5em;
}


/* Helper Classes
*************************** */

.p-1{ padding-top: 1em; padding-bottom: 1em; }
.p-2{ padding-top: 2em; padding-bottom: 2em; }
.p-3{ padding-top: 3em; padding-bottom: 3em; }
.p-4{ padding-top: 4em; padding-bottom: 4em; }




/* CONTENT
*************************** */

.box{
  padding: 1.5em 2.25em;
  position: relative;
  isolation: isolate;
}

.box::before{
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 90%;
  height: 100%;
  border-top: 3px solid var(--base);
  border-bottom: 3px solid var(--base);
  border-left: 3px solid var(--base);
  z-index: -1;
}

.box::after{
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 90%;
  height: 60px;
  border-right: 3px solid var(--base);
  z-index: -1;
}


.border-offset{
  display: inline-block;
  position: relative;
  padding:0;
  margin:0;
  line-height: 1;
}

.border-offset::before{
  content: "";
  display: block;
  width: 100%;
  height: calc(100% - 6px);
  position: absolute;
  bottom: 20px;
  left: 20px;
  border: 3px solid var(--base);
  z-index: 1;
}


/* HEADER + MENU
*************************** */

header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 3;
  background: rgba(255,255,255,0);
  transition: all .25s ease-in-out;
  font-family: 'Dosis', sans-serif!important;
}

header .container{
  padding: 0;
}

header nav{
  width: 100%;
  display: block;
  position: relative;
}

li.logo {
  display: block;
  position: absolute;
  top: 1em;
  left: calc(50% - 60px);
}

li.logo a{
  display: block;
  width: 120px;
  text-align: center;
}

.logo svg{
  display: none;
}

.logo img{
  margin-top: -1em;
}

li.lang{
  display: block;
  position: absolute;
  top: 1em;
  left: 1em;
}

header.scrolled{
  background: var(--black);
}

header.scrolled .logo svg{
  display: block;
  max-width: 100%;
  margin: -.5em auto 0 auto;
  height: auto;
  width: 14px;
}

header.scrolled .logo img{
  display: none;
}

@media screen and (min-width: 48em) {

  header.scrolled .menu{
    padding-top: 0;
  }

  header nav{
    display: flex;
    justify-content: space-between;
    color: var(--navcolor);
  }

  header.scrolled .logo svg{
    margin: -.25em auto 0 auto;
  }

  li.logo {
    position: relative;
    top: auto;
    left: auto;
  }
  li.lang{
    top:0;
    left:0;
    position: relative;
  }
}

ul.menu {
  display: block;
  max-height: 0;
  list-style: none;
  padding-top: 5em;
  padding-left: 0;
  margin: 0;
  overflow: hidden;
  -webkit-transition: all 0.3s ease-out;
  -moz-transition: all 0.3s ease-out;
  -ms-transition: all 0.3s ease-out;
  -o-transition: all 0.3s ease-out;
  transition: all 0.3s ease-out;
  z-index: 10;
  color: var(--navcolor);
}

ul.menu li {
  padding: 1em .25em;
}

ul.menu{
  text-align: center;
}

ul.menu.collapse {
  max-height: 100vh !important;
  height: 100%;
  padding-bottom: 2em;
  padding-top: 11em;
  background: var(--black);
}

.scrolled ul.menu.collapse {
  padding-top: 6em;
}

@media screen and (min-width: 48em) {
  ul.menu {
    display: flex !important;
    justify-content: space-between;
    max-height: none;
    width: 100%;
    height: auto;
    padding-top: 1em;
  }
  ul.menu.collapse{
    background: transparent;
  }
  ul.menu li{
    padding: 1.25em 0 .75em 0;
  }
}

a.nav-link {
  color: var(--navcolor);
  display: inline-block;
  position: relative;
  padding-bottom: 0px;
  transition: color .35s ease;
  font-size: 1.1em;
}

a.nav-link:before {
  content: '';
  display: block;
  position: absolute;
  left: 0;
  bottom: -2px;
  height: 2px;
  width: 0;
  transition: width 0s ease, background .35s ease;
}
a.nav-link:after {
  content: '';
  display: block;
  position: absolute;
  right: 0;
  bottom: -2px;
  height: 2px;
  width: 0;
  background: var(--navcolor);
  transition: width .35s ease;
}
a.nav-link:hover:before {
  width: 100%;
  background: var(--navcolor);
  transition: width .35s ease;
}
a.nav-link:hover:after {
  width: 100%;
  background: transparent;
  transition: all 0s ease;
}

a.nav-link.active:after {
  content: '';
  display: block;
  position: absolute;
  right: 0;
  top: -2px;
  height: 2px;
  width: 100%;
  background: var(--base);
}

li.lang a.nav-link.active:after {
  content: '';
  display: block;
  position: absolute;
  right: 0;
  top: -2px;
  height: 2px;
  width: 100%;
  background: var(--base);
}



/* Nav Toggle Button Mobile
*************************** */

.nav-toggle {
  display: block;

  background-color: transparent;
  height: 38px;
  width: 38px;
  cursor: pointer;
  padding: 8px 8px;
  position: absolute;
  top: 1em;
  right: 1em;
}
.nav-toggle.open span:first-child {
  transform: rotate(45deg) translate(4.4px, 4.4px);
}
.nav-toggle.open span:nth-child(2) {
  width: 0%;
  opacity: 0;
}
.nav-toggle.open span:last-child {
  transform: rotate(-45deg) translate(4.4px, -4.4px);
}

@media screen and (min-width: 48em) {
  .nav-toggle{ display: none; }
}

.nav-toggle span {
  position: relative;
  display: block;
  height: 2px;
  width: 100%;
  margin-top: 4px;
  background: var(--navcolor);
  transition: all .25s;
}

/* Content Area
*************************** */

.angle-top{
  height: 6em;
  margin-bottom: 0;
  position: absolute;
  left: 0;
  top: -1px;
  z-index: 2;
}
.angle-bottom{
  height: 6em;
  margin-bottom: 0;
  position: absolute;
  left: 0;
  bottom: -1px;
}

.fill-white{ fill: #fff; }
.fill-lightest{ fill: var(--lightest); }
.fill-light{ fill: var(--light); }
.fill-grey{ fill: var(--grey); }
.fill-black{ fill: var(--black); }


section {
  min-height: 24em;
  padding: 6em 0;
  width: 100%;
  position: relative;
}


/* Content Area HOME
*************************** */

section#home{
  margin-top: 0;
  padding: 0;
  height: 85vh;
}

.siema{
  height: 100%;
}

.siema>div{
  display: flex;
  height: 100%;
}

.slide{
  padding: 4em 0 8em 0;
  display: block;
  background: #eee;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center center;
  height: 100%;
  width: 100%;
  transform: translateZ(0);
}

.slide>.container{
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
}

.siema-dots{
  display: block;
  width: 100%;
  text-align: center;
  position: absolute;
  bottom: 80px;
  left: 0;
  z-index: 2;
}

.siema-dots button{
  display: inline-block;
  width: .55rem;
  height: .55rem;
  padding: 0;
  margin: 0 .25em;
  border: none;
  background-color: var(--light);
  text-indent: -9999px;
  border-radius: 6px;
}

.gallery-slider div div {
  transform: translateZ(0);
}

blockquote{
  font-family: 'Dosis', sans-serif;
  width: 80%;
  text-align: center;
  margin: 0 auto;
  position: relative;
}
blockquote p{
  font-size: 3em;
  font-weight: 200;
  line-height: 1.1;
  margin-bottom: .25em;
  text-shadow: 1px 1px 6px rgba(0,0,0,0.25);
}
@media only screen and (max-width: 600px) {
  blockquote p {
    font-size: 2em;
  }
}

blockquote span{
  display: block;
  margin-bottom: 1.5em;
}

:root{
  --transition: 1s .25s ease-in-out;
  --transition-delay: .5s .75s ease-in-out;
  --transition-out: .5s 0s ease-in-out;
}

/* Animation
*************************** */
[data-inviewport="fade-in-down"] {
  transition: var(--transition-out);
  opacity: 0;
  transform: translateY(-40px);
}
[data-inviewport="fade-in-down"].is-inViewport {
  transition: var(--transition);
  opacity: 1;
  transform: translateY(0);
}

[data-inviewport="fade-in-down-delayed"] {
  transition: var(--transition-out);
  opacity: 0;
  transform: translateY(-20px);
}
[data-inviewport="fade-in-down-delayed"].is-inViewport {
  transition: var(--transition-delay);
  opacity: 1;
  transform: translateY(0);
}

[data-inviewport="fade-in-left"] {
  transition: var(--transition-out);
  opacity: 0;
  transform: translateX(-40px);
}
[data-inviewport="fade-in-left"].is-inViewport {
  transition: var(--transition-out);
  opacity: 1;
  transform: translateX(0);
}


/* Content Area ABOUT
*************************** */
section#about{
  background: var(--white);
}

/* Content Area UHUDLER
*************************** */
section#uhudler{
  min-height: 80vh;
  background: #fafafa;
  background-image: url('./img/grapes_bg.jpg');
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  background-attachment: fixed;

  display: flex;
  flex-direction: row;
  justify-content: flex-start;
  align-items: stretch;
}

/* Content Area PRODUKTE
*************************** */
section#products{
  background: var(--grey);
}

.product{
  text-align: center;
  padding: 0 2em 1em 2em;
  box-shadow: 0 0 0 rgba(0,0,0,0);
  background: var(--grey);
  transition: box-shadow .2s ease-in-out, background .2s ease-in-out;
}

.product:hover{
  box-shadow: 2px 2px 20px rgba(0,0,0,0.15);
  background: #e6e6e6;
  z-index: 2;
}

.product-image {
  position: relative;
  width: 200px;
  max-width: 100%;
  margin: 0px auto;
}

.product-image img.image-hover {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  bottom: 0;
  object-fit: contain;
  opacity: 0;
}

.product-image img.image-main {
  opacity: 1;
}

.product:hover img.image-hover {
  opacity: 1;
}

.product:hover .product-image img.image-main {
  opacity: 0;
}

/* Content Area CONTACT
*************************** */
section#contact{
  background: #fafafa;
  position: relative;
  min-height: 32em;
}

#map{
  position: absolute;
  top:0;
  left:0;
  width: 100%;
  height: 100%;
  /* z-index: -999; */
}

.softbox{
  background: rgba(255,255,255,.75);
  padding: .25em 1.5em;
  isolation: isolate;
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
}

blockquote.softbox{
  background: rgba(255,255,255,.15);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.25);
}

/* FORMS
*************************** */

.form-row{
  width: 100%;
  margin-bottom: .75em;
}

textarea{
  resize: none;
}

input[type="text"],input[type="email"], textarea{
  width: 100%;
  padding: .75em;
  border: none;
  font-family: 'Roboto Condensed', sans-serif;
  font-weight: 300;
  font-size: 0.9em;
}

input[type="text"]:focus,input[type="email"]:focus, textarea:focus{
  outline: 1px solid var(--base);
}

::placeholder { /* Chrome, Firefox, Opera, Safari 10.1+ */
  color: #666;
  opacity: 1; /* Firefox */
}

:-ms-input-placeholder { /* Internet Explorer 10-11 */
  color: #666;
}

::-ms-input-placeholder { /* Microsoft Edge */
  color: #666;
}

button{
  padding: .75em 3em;
  background: transparent;
  border: 2px solid var(--base);
  color: var(--base);
  text-transform: uppercase;
  transition: background .25s ease-in-out, color .25s ease-in-out;
}

button:hover{
  background: var(--base);
  color: #fff;
}

button[type="submit"]{
  display: block;
  margin: 3em auto 0;
}

.message{
  margin-top: 1em;
  border: 1px solid #ddd;
  border-radius: 3px;
  padding: 1em;
  color: #fff;
}

.alert-danger{
  background: #var(--base);
}

.alert-success{
  background: #319b31;
}


/* Content Area FOOTER
*************************** */
section#footer{
  background: var(--black);
  position: relative;
  isolation: isolate;
}

section#footer:after {
  content: ' ';
  display: block;
  position: absolute;
  left: 0;
  top: 0;
  width: 90%;
  height: 100%;
  opacity: 0.2;
  background-image: url("./img/guy.png");
  background-repeat: no-repeat;
  background-position: left center;
  background-size: contain;
  z-index: -1;
}

@media screen and (min-width: 62em) {
  section#footer:after {
    left: 100px;
    opacity: 0.4;
  }
}

@media screen and (min-width: 75em) {
  section#footer:after {
    left: 8%;
  }
}

section#footer ul {
  list-style: none;
  padding-left: 0;
}

section#footer ul li{
  margin-bottom: .25em;
}

section#footer svg{
  width: 16px;
  margin-right: .5em;
}

section#footer svg path{
  fill: var(--base);
}

.tab{
  display: inline-block;
  min-width: 100px;
}


/* FOOTER-BAR
*************************** */

footer>.container{
  padding: 1.5em;
}

.copy, .social{
  text-transform: uppercase;
}

.social{
  display: inline-block;
  width: 100%;
}

@media screen and (min-width: 48em) {
  .social{
    text-align: right;
  }
}


a.icon{
  display: inline-block;
  padding: 0 .25em;
  width: 32px;
  text-align: center;
  margin-right: 0;
}

a.icon svg{
  height: 1.25em;
  width: auto;
  max-width: 100%;
  vertical-align: sub;
}

a.icon svg path{
  fill: var(--text);
  transition: fill .5s ease;
}

a.icon:hover svg path{
  fill: var(--base);
  transition: fill 0.5s ease;
}



/* MODAL
*************************** */

.modal {
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  display: none;
  overflow: auto;
  background-color: #000000;
  background-color: rgba(0, 0, 0, 0.7);
  z-index: 9999;
}

.modal.open {
  display: block;
}

.modal-window {
  position: relative;
  background-color: #FFFFFF;
  width: 90%;
  margin: 6% auto;
  padding: 2em;
  max-width: 1140px;
  border-radius: 4px;
  opacity: 0;
  transform: scale(.8);
}

.no-scroll .modal-window{
  opacity: 1;
  transform: scale(1);
  transition: .25s .25s ease-in-out;
}

.close {
  position: absolute;
  top: 0;
  right: 0;
  color: rgba(0,0,0,0.3);
  height: 30px;
  width: 30px;
  font-size: 30px;
  line-height: 30px;
  text-align: center;
}

.close:hover,
.close:focus {
  color: #000000;
  cursor: pointer;
}
