@import url('https://fonts.googleapis.com/css2?family=Lora&family=Lobster&family=Cormorant+Garamond:wght@300&display=swap');

:root {

  --ui-shadow: 0px 0px 10px 10px rgba(0, 0, 0, 0.6);
  fill: rgba(0, 0, 0, 0.54);
  --ui-shadow-border: 1px solid rgba(0, 0, 0, 0.14);
}

* {
  box-sizing: border-box;
}

html,
body,
#root {
  height: 100%;
  width: 100%;
}

body {
  margin: 0;
  padding: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen",
    "Ubuntu", "Cantarell", "Fira Sans", "Droid Sans", "Helvetica Neue",
    sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  -webkit-tap-highlight-color: rgba(255, 255, 255, 0);
}

h1,
h2,
h3 {
  /*text-transform: uppercase;*/

  padding: 0;
  margin: 0;

  color: #2a3747;
}

h1 {
  font-size: 40px;
}

a {
  color: inherit;
  text-decoration: none;
  cursor: pointer;
  user-select: none;
}

@media (min-aspect-ratio: 16/9) {
  .video-container iframe {
    height: 56.25vw;
  }
}
    
@media (max-aspect-ratio: 16/9) {
  .video-container iframe {
    width: 177.78vh;
  }
}

.video-container{
  width: 100vw;
  height: 100vh;
}

.video-container > iframe {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100vw;
  height: 100vh;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

#root {
  opacity:0;
  transition: opacity 0.7s ease-in;
  display: flex;
  flex-direction: column;
  background-size: cover;
  /*background-image: linear-gradient(#000000cf,#000000cf), url('../img/20_res.jpg');*/
}

.View {
  flex: 1;
  z-index: 10;
  position: absolute;
  top:0px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: flex-start;
  padding: 0px;
  font-family: "Lora";
  width: 100%;
  height: 100%;
}

.footer {
  width: 100%;
  min-height: 100px;
}

div.onas,
div.home,
div.pribeh,
div.kontakt,
div.galeria,
div.vino,
div.eshop {
    display: flex;
    flex-direction: row;
    justify-content: center;
    width: 100%;
    flex-wrap: wrap;
}

div.eshop,
div.vino {

}

.gallery.vino {
  display: grid;
}

div.home {
  height: 100%;
}

.text {
  width: max-content;
  font-family: 'Cormorant Garamond', serif;
  font-size: 20pt;
  line-height: 28pt;
}

.main-text { 
  padding: 50px 20px;
}

div.home .img,
div.onas .img,
div.pribeh .img,
div.kontakt .img,
div.galeria .img,
div.vino .img,
div.eshop .img {
  background-size: cover;
  min-height: 683px;
  width: 100%;
}


div.home .img {
  background-image: url('../img/20_res_1024.jpg');
  height: 100%;
}

div.onas .img {
    background-image: url('../img/15_1024.jpg');
}

div.pribeh .img {
    background-image: url('../img/13_1024.jpg');
}

div.kontakt .img {
    background-image: url('../img/piv_res_1024.jpg');
}

div.galeria .img {
  background-image: url('../img/10_res_1024.jpg');
}

div.eshop .img {
  background-image: url('../img/23_res_1024.jpg');
}

div.vino .img {
  background-image: url('../img/23_res_1024.jpg');
}

.black {
  background-color: black;
}

.Banner {
  z-index: 100;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;

  width: 100%;
  min-height: 132px;
  overflow: hidden;
  padding: 5px;

  /*border-bottom: var(--ui-shadow-border);
  box-shadow: var(--ui-shadow);*/
 
  background: transparent;
  /*background: linear-gradient(90deg, rgba(255,255,255,1) 0%, rgba(238,238,238,0.5) 35%, rgba(238,238,238,0) 100%);*/
}

/*
.Banner > .logo {
    font-family: 'Shalimar', cursive;
    color :#df3d52;
    font-size: 100px;
    line-height: 100px;
    letter-spacing: 2px;
    margin-left: 80px;
    text-shadow: 1px 1px rgba(56, 56, 56, 0.77);
}
*/

.flex-break {
  flex-basis: 100%;
  height: 0;
}

.white {
  color: white;
}

.Banner > .logo {
    font-family: 'Falusi';
    color :#df3d52;
    font-size: 150px;
    line-height: 150px;
    letter-spacing: 2px;
    margin-left: 80px;
    text-shadow: 1px 1px rgba(56, 56, 56, 0.77);
    display: flex;
}


div.fontspec {
  font-family: 'Falusi';
  color: #d9cb80;
  font-size: 100px;
  text-shadow: 1px 1px rgba(56, 56, 56, 0.77);
  text-align: center;
}


.Banner > div.nav {
    display: flex;
    flex-direction: row;
    margin-right: 50px;
}

.Banner nav {
    /*font-family: 'Lora', serif;*/
    font-family: 'Lobster', cursive;
    /*font-size: 25px;*/
    font-size: 36px;
    padding: 10px 20px;
    color:rgb(245,245,245);
    text-shadow: 1px 1px rgba(56, 56, 56, 0.77);
    line-height: 22px;
}

.Banner nav i {
  line-height: 22px;
}

.Banner nav:hover {
    /*text-decoration: underline;
    color: #c5c5c5;
    color :#df3d52;*/
    color: rgb(255 213 0);
}

div.wine{
  position: relative;
}

div.wine img {
  position: absolute;
  width: 340px;
  top: 0;
  right: 30px;
  transition: all .4s ease-in-out; 
}

div.wine img:hover {
  transform: scale(1.4); 
}

div.text div.wine {
  padding-bottom: 100px;
}

div.eshop div.text div.wine div.price {
  text-align: center;
}

div.vino a.back {
  text-decoration: underline;
  font-weight: bold;
}

div.eshop h3:after {
  content: ""; /* This is necessary for the pseudo element to work. */ 
  display: block; /* This will put the pseudo element on its own line. */
  margin: 0px 0px; /* This will center the border. */
  width: 60%; /* Change this to whatever width you want. */
  padding-top: 20px; /* This creates some space between the element and the border. */
  border-bottom: 1px solid black; /* This creates the border. Replace black with whatever color you want. */
}

.embed {
    overflow: hidden;
    padding-block-start: 100%;
    position: relative;
  }
  
  .embed--1-2 {
    padding-top: calc(100% / (1 / 2));
  }
  
  .embed--2-1 {
    padding-top: calc(100% / (2 / 1));
  }
  
  .embed--2-3 {
    padding-top: calc(100% / (2 / 3));
  }
  
  .embed > * {
    height: 100%;
    left: 0;
    object-fit: cover;
    padding: 0.25em;
    position: absolute;
    top: 0;
    width: 100%;
  }
  /* Gallery  */
  
  .gallery {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
   /* grid-template-rows: repeat(2, 1fr);*/ 
  }
  
  .gallery__item.vino {
    cursor: pointer;
    padding-bottom: 100px;
  }

  .gallery__item.vino img {
    filter: gray;
    /* 
    -webkit-filter: grayscale(60%);
    -webkit-transition: all .6s ease;
    -webkit-backface-visibility: hidden;
    */
  }

  @keyframes spin {
    0% {
      transform: rotate(0deg);
    }
    100% {
      transform:  rotate(12deg);
    }
  }

  .gallery__item.vino img:hover {
    filter: none;
    animation: spin 250ms linear forwards;
  
    /*
    -webkit-filter: grayscale(0%);
    */
  }

  .gallery__item--h-2 {
    grid-column-end: span 2;
  }
  
  .gallery__item--h-3 {
    grid-column-end: span 3;
  }
  
  .gallery__item--v-2 {
    grid-row-end: span 2;
  }
  
  .gallery__item--v-3 {
    grid-row-end: span 3;
  }

  .gallery img {
    block-size: 100%;
    max-inline-size: 100%;
    vertical-align: middle;
  }

  div.gallery_nav {
    display: flex;
    flex-direction: row;
  }

  div.gallery_nav nav {
    margin-right: 20px;
    padding: 4px 10px;
  }

  div.gallery_nav nav:hover {
    margin-right: 20px;
    /*text-decoration: underline;*/
    background-color:#eee;
  }
  a.podmienky {
    text-decoration: underline;
  }

  .embed.eshop > * {
    object-fit: contain;
  }

  .textwhite {
    color: white;
  }
  .eshop_name {
    color: #df3d52;
    text-align: center;
    font-family: 'Cormorant Garamond', serif;
  }

  .outof {
    color: #999
  }
  
  .outof img {
    filter: grayscale(90%);
  }

@media (max-width : 768px) { 
   .Banner {
    display: -webkit-flex;
    display: flex;
    -webkit-justify-content: right;
    justify-content: right;
   }

   .Banner > div.nav {
    display: flex;
    flex-direction: column;
    margin-right: 0px;
    position: absolute;
    top: 10px;
    right: 5px;
   }

   div.gallery_nav {
    flex-direction: column;
   }


   div.wine img {
     position: relative;
   }

   div.wine img:hover {
      transform: scale(1.0);
   }

   
   .Banner nav {
    font-size: 25px;
    padding: 18px 10px;
    z-index: 100;
   }

   div.home .img,
   div.onas .img,
   div.kontakt .img,
   div.galeria .img,
   div.vino .img,
   div.eshop .img {
      background-position-x: center;
   }

  .gallery {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(1, 1fr);
  }

  .gallery.vino {
    display: block;
  }
  /*
   div.vino div.gallery {
    display: block;
   }*/

   .Banner > .logo {
     margin-left: 30px;
     position: absolute;
     top: 10px;
     left: 0px;
   }
}

