/*
stranka funguje ve 2 gridech: 1232px a 1488px.
K udrzeni gridu pozicuji takto:
width: 100%; // 100% šířka
max-width: 1488px; // max šířka gridu (1488 nebo 1232)
margin: 0 auto; // vycentrování obsahu ke středu

tímto mohu dokonale pracovat bez paddingů right a left, jelikož je stránka zarovnána vždy ke středu

pozn. u flexu, justify-content nepoužívat space-around, ale pouze space-between pro zachování gridu!
*/

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Poppins', sans-serif;
  font-weight: 400;
}

html {
  scroll-behavior: smooth;
  height: 100%;
}

h1, h2, h3, h4, h5, p {
  font-weight: 400;
}

ul {
  list-style-type: none;
}
/*
Main sekce, zde je logo + menu navigace + background.
Zde nenastavuji display: flex!!!
*/
.main {
  background: url(../assets/imgs/main/dum2.jpg);
  background-position: center center;
  
  /* Background image doesn't tile */
  background-repeat: no-repeat;
  
  /* Background image is fixed in the viewport so that it doesn't move when 
     the content's height is greater than the image's height */
  background-attachment: fixed;
  
  /* This is what makes the background image rescale based
     on the container's size */
  background-size: cover;
  /*
  top padding is 25px
  right padding is 50px
  bottom padding is 75px
  left padding is 100px
  */
  padding: 3.5em;

  transition: 0.4s all ease;

  height: 100%;
}


/*
WRAPPERNAV je wrapper pro logo a menu navigaci.
Zde nastavuji display flex!
*/
.wrapperNav {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  width: 100%;
  max-width: 1488px;
  margin: 0 auto;
}

.logo {
  font-size: 0.6em;
  color: #fff;
}

.menu {
  line-height: 2.67;
  letter-spacing: normal;
  text-align: right;
}


a {
  text-decoration: none;
  color: #fff;
  transition: 0.4s all ease;
}

a:hover {
  color: #d2c0ba;
}

.wrapperNadpis {
  display: flex;
  justify-content: flex-start;
  max-width: 1232px;
  width: 100%;
  margin: 0 auto;
}

.nadpis {
  font-weight: normal;
  font-style: normal;
  font-stretch: normal;
  line-height: normal;
  letter-spacing: normal;
}

.nadpis > h1 {
  font-size: 80px;
  color: #d2c0ba;
  font-weight: normal;
  font-style: normal;
  font-stretch: normal;
  line-height: normal;
  letter-spacing: normal;
}

.test {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: flex-start;
  align-content: flex-start;
}

.wrapperKonzultace {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  max-width: 1488px;
  margin: 0 auto;
}

.konz1 {
  width: 385px;
  font-size: 1em;
  font-weight: normal;
  font-style: normal;
  font-stretch: normal;
  line-height: 2;
  letter-spacing: normal;
  color: #ffffff;
}


.konz2 {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: flex-start;
  padding: 32px;
  color: #fff;
  width: 336px;
  height: 128px;
  background-color: #f09e8c;
  
 /* transform: scale(1);  you need a scale here to allow it to transition in both directions */
  transition: 0.4s all ease;
}

.konz2:hover {
  cursor: pointer;
  /*transform: scale(1.08);*/
  padding-right: 24px;
}


.arrow {
  align-self: flex-end;
}








body {
  background-image: url(../assets/imgs/blackBg/Bg.svg);
  background-color: #38312e;
}

.poradime {
  display: flex;
  justify-content: center;
  align-items: center;
  padding-bottom: 6em;
  width: 100%;
  max-width: 1232px;
  margin: 0 auto;
}
.poradimeText {
  max-width: 1232px;
  font-size: 48px;
  font-weight: normal;
  font-style: normal;
  font-stretch: normal;
  line-height: 1.67;
  letter-spacing: normal;
  color: #d2c0ba;
  padding-top: 2em;
}

/*RECTANGLES AND HOVER EFFECT*/
.wrapperRect {
  display: flex;
  flex-flow: row nowrap;
  justify-content: center;
  width: 100%;
  max-width: 1488px;
  margin: 0 auto;
}
.rectangle {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  padding: 3em;
  width: 372px;
  height: 320px;
  box-shadow: inset -1px 0 0 0 #211b19;
  background-color: #38312e;
  stroke: #D2C0BA;
  /*test transition*/
  transition: 0.3s ease-in;
  
}

.rectangle:hover {
  opacity: 1;
  cursor: pointer;
  background-color: #f09e8c;
  color: white;
  /*mel jsem tady jiny vyssi height, zamenil jsem to za scale*/
  /*transform: scaleX(1);*/
  transform: scaleY(1.04); /* Equal to scaleX(0.7) scaleY(0.7) */
  stroke: #fff;
}
.rectangle:hover a {
  color: white;
  stroke: #fff;
  transition: 0.3s ease-in;
}
.rectangle:hover .recth {
  color: white;
  stroke: #fff;
  padding-top: 2em;
  transition: 0.3s ease-in;
}
.rectangle:hover .recthActiveP {
  color: white;
  display: flex;
  justify-content: flex-start;
  stroke: #fff;
    width: 245px;
  height: 128px;
  opacity: 0.8;
  font-family: Poppins;
  font-size: 16px;
  font-weight: normal;
  font-style: normal;
  font-stretch: normal;
  line-height: 1.4;
  letter-spacing: normal;
  color: #fff;
  padding-top: 1em;
  transition: 0.3s ease-in;
}

.recth {
  color: #d2c0ba;
  font-size: 1em;
  padding-top: 3em;
  transition: 0.3s ease-in;
}

.recthActiveP {
  display: none;
    width: 245px;
  height: 128px;
  opacity: 0.8;
  font-family: Poppins;
  font-size: 16px;
  font-weight: normal;
  font-style: normal;
  font-stretch: normal;
  line-height: 2;
  letter-spacing: normal;
  transition: 0.3s ease-in;
}

.nejnovejsi {
  display: flex;
  justify-content: flex-start;
  color: #fff;
  padding-top: 96px;
  padding-bottom: 72px;
  font-size: 1.5em;
  color: #d2c0ba;
  width: 100%;
  max-width: 1232px;
  margin: 0 auto;
}



/*PROJECTS*/
.projects {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: row;
  flex-wrap: wrap;
  width: 100%;
  max-width: 1488px;
  margin: 0 auto;
  
}

.imgcontainer {
  color: white;
  width: 49%;
  height: auto;
  /*background-image: linear-gradient(to bottom, #211b19, #211b19);
  background-blend-mode: color;*/
  transition: 0.4s all ease;
  margin: 0 0 -63px 0;
}

.imgcontainer:hover {
  cursor: pointer;
  /* transform: scale(1);  you need a scale here to allow it to transition in both directions */
  transform: scale(1.02);
}


.imgcontainer > img {
  width: 100%;
  min-height: 455px;
}

@media(max-width: 800px) {

  .imgcontainer > img {
    min-height: unset;
  }

}

/*text in image*/
.bottom-left {
  position: relative;
  top: -80px;
  left: 30px;
  max-width: 300px;
  height: 56px;
  font-family: Poppins;
  font-size: 18px;
  font-weight: normal;
  font-style: normal;
  font-stretch: normal;
  line-height: normal;
  letter-spacing: normal;
  color: #fff;
  transition: 0.3s ease-in;
}

.bottom-left:hover {
  cursor: pointer;
  color: #d2c0ba;
}





/*REFERENCE*/
.reference {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  
  width: 100%;
  max-width: 1232px;
  margin: 0 auto;
}

.klienti {
  width: 100%;
  width: 246px;
  height: 160px;
  font-size: 48px;
  font-weight: normal;
  font-style: normal;
  font-stretch: normal;
  line-height: 1.67;
  letter-spacing: normal;
  color: #d2c0ba;
}

.sipka {
  cursor: pointer;
  transition: 0.4s all ease;
}

.sipka:hover path {
  stroke: #d2c0ba;
  transition: 0.4s all ease;
}

.klientiText {
  /*Zarovnani podpisu ke contentu*/
  display: flex;
  flex-direction: column;
  
  width: 848px;
  height: 100%;
  font-size: 32px;
  font-weight: normal;
  font-style: normal;
  font-stretch: normal;
  line-height: 2;
  letter-spacing: normal;
  color: #fff;
}


/*menici se content referenci*/
.klientiTextP {
  -webkit-transition: opacity .5s ease-in-out;
  -moz-transition: opacity .5s ease-in-out;
  -ms-transition: opacity .5s ease-in-out;
  -o-transition: opacity .5s ease-in-out;
  transition: opacity .5s ease-in-out;
}

.wrapperHlava {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: flex-start;
  align-items: center;
  width: 100%;
  max-width: 1488px;
  margin: 0 auto;
  padding-top: 24px;
}

.autorPodpis {
  padding-left: 24px;
}

/*transitions pro plynuly prechod slideru*/
.autorh {
  width: 90px;
  object-fit: contain;
    -webkit-transition: opacity .5s ease-in-out;
  -moz-transition: opacity .5s ease-in-out;
  -ms-transition: opacity .5s ease-in-out;
  -o-transition: opacity .5s ease-in-out;
  transition: opacity .5s ease-in-out;
  border-radius: 50%;
}
/*transitions pro plynuly prechod slideru*/
.autor {
  font-size: 16px;
  font-weight: 600;
  font-style: normal;
  font-stretch: normal;
  letter-spacing: normal;
  color: #d2c0ba;
      -webkit-transition: opacity .5s ease-in-out;
  -moz-transition: opacity .5s ease-in-out;
  -ms-transition: opacity .5s ease-in-out;
  -o-transition: opacity .5s ease-in-out;
  transition: opacity .5s ease-in-out;
}
/*transitions pro plynuly prechod slideru*/
.podpis {
  font-weight: normal;
  color: #d2c0ba;
  font-size: 16px;
        -webkit-transition: opacity .5s ease-in-out;
  -moz-transition: opacity .5s ease-in-out;
  -ms-transition: opacity .5s ease-in-out;
  -o-transition: opacity .5s ease-in-out;
  transition: opacity .5s ease-in-out;
}


.wrapperSipka2 {
  display: none;
}

.ovalWrapper {
  display: none;
}





/*ELIAS*/
.eliasBg {
  padding-top: 130px;
  padding-bottom: 130px;
  background-color: #38312e;
}

.wrapperElias {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  max-width: 1260px;
  margin: 0 auto;
}

.eliasImgSignature {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

@media(max-width: 1280px) {

  .eliasImgSignature {
    padding-bottom: 32px;
  }

}

.eliasImg {
  width: 224px;
  object-fit: contain;
  border-radius: 50%;
}
.eliasSignature {
  width: 155.8px;
  height: 141.7px;
  object-fit: contain;
}

.eliasText {
  width: 848px;
  font-size: 36px;
  font-weight: normal;
  font-style: normal;
  font-stretch: normal;
  line-height: 1.67;
  letter-spacing: normal;
  color: #d2c0ba;
}






/*FOOTER BG*/

#kontakt {
  width: 100%;
  max-width: 1232px;
  margin: 0 auto;
}

.footerBg {
  padding-top: 80px;
  padding-bottom: 100px;
  background-image: url(../assets/imgs/blackBg/Bg.svg);
  background-color: #38312e;
}

.footerBg2 {
  background-color: #211b19;
  padding-top: 80px;
  padding-bottom: 60px;
}

.wrapperFoot {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: stretch;
  font-size: 1.2em;
  line-height: 1.75;
  font-weight: normal;
  font-style: normal;
  font-stretch: normal;
  line-height: normal;
  letter-spacing: normal;
  width: 100%;
  max-width: 1232px;
  margin: 0 auto;
}

.footHeading {
  font-family: Poppins;
  font-size: 16px;
  font-weight: normal;
  font-style: normal;
  font-stretch: normal;
  line-height: normal;
  letter-spacing: normal;
  color: #d2c0ba;

}

.footHeading2 {
  max-width: 300px;
  font-family: Poppins;
  font-size: 1.2em;
  font-weight: normal;
  font-style: normal;
  font-stretch: normal;
  line-height: 1.75;
  letter-spacing: normal;
  color: #d2c0ba;
}


.footheading2first {
  color: #f09e8c;
  font-size: 1.1em;
}

/*slouzi jako vypln contentu pro zarovnani*/
.footHeadingHidden {
  visibility: hidden;
  max-width: 190px;
  font-family: Poppins;
  font-size: 22px;
  font-weight: normal;
  font-style: normal;
  font-stretch: normal;
  line-height: 1.75;
  letter-spacing: normal;
  color: #d2c0ba;
}


.copyrightWrapper {
  display: flex;
  justify-content: space-between;
  align-items: stretch;
  flex-flow: row nowrap;
  width: 100%;
  max-width: 1232px;
  margin: 0 auto;
  padding-top: 3em;
}

.copyright {
  font-size: 16px;
  font-weight: normal;
  font-style: normal;
  font-stretch: normal;
  line-height: normal;
  letter-spacing: normal;
  color: #d2c0ba;
}

.esvege {
  display: flex;
  width: 120px;
  justify-content: space-between;
}

/*Change color upon hovering*/
.changeColor:hover path {
  fill: #fff;
  cursor: pointer;
  transition: 0.5s ease-in;
}


/*********** Loader *************/

.loader-wrapper {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  display:flex;
  justify-content: center;
  align-items: center;
}
.loader {
  display: inline-block;
  width: 30px;
  height: 30px;
  position: relative;
  border: 4px solid #Fff;
  animation: loader 2s infinite ease;
}
.loader-inner {
  vertical-align: top;
  display: inline-block;
  width: 100%;
  background-color: #fff;
  animation: loader-inner 2s infinite ease-in;
}
@keyframes loader {
  0% { transform: rotate(0deg);}
  25% { transform: rotate(180deg);}
  50% { transform: rotate(180deg);}
  75% { transform: rotate(360deg);}
  100% { transform: rotate(360deg);}
}
@keyframes loader-inner {
  0% { height: 0%;}
  25% { height: 0%;}
  50% { height: 100%;}
  75% { height: 100%;}
  100% { height: 0%;}
}


/*
@media (min-width:320px)  {  smartphones, iPhone, portrait 480x320 phones  }
@media (min-width:481px)  {  portrait e-readers (Nook/Kindle), smaller tablets @ 600 or @ 640 wide.  }
@media (min-width:641px)  {  portrait tablets, portrait iPad, landscape e-readers, landscape 800x480 or 854x480 phones  }
@media (min-width:961px)  {  tablet, landscape iPad, lo-res laptops ands desktops  }
@media (min-width:1025px) {  big landscape tablets, laptops, and desktops  }
@media (min-width:1281px) {  hi-res laptops and desktops  }
*/


/*Apply 100vh if screen is higher than 600px*/
@media (min-height: 600px) {
  .main {
    height: 100vh;
  }
  .test {
    height: 85vh;
  }
}


/*S M A L L  S H I T*/
@media (max-width: 1280px) {
  
.main {
   padding: 24px;
}

  .menu {
    line-height: 2.67;
    font-size: 1em;
  }
  
  .wrapperNadpis {
  display: flex;
  justify-content: flex-start;
  }
  
  .nadpis > h1 {
  font-size: 2.6em;
  color: #d2c0ba;
    width: 100%;
  }
  
  .wrapperKonzultace {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-end;
  width: 100%;
  max-width: 1488px;
  margin: 0 auto;
}

.konz1 {
  width: 100%;
  height: 90px;
  font-size: 0.8em;
  font-weight: normal;
  font-style: normal;
  font-stretch: normal;
  line-height: 1.5;
  letter-spacing: normal;
  color: #ffffff;
  padding-bottom: 3em;
}

.konz2 {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  color: #fff;
  width: 100%;
  height: 90px;
  background-color: #f09e8c;
}
  
  .arrow {
    align-self: center;
  }
  
  .blackBg {
    padding-left: 24px;
    padding-right: 24px;
    padding-top: 24px;
    padding-bottom: 0;
  }
  
  .poradime {
    justify-content: flex-start;
    padding-top: 1em;
    padding-bottom: 60px;
  }
  
  .poradimeText {
    width: 100%;
    font-size: 2em;
    line-height: 1.2;
    padding-top: 0;
  }
  
  
  /*RECTANGLES AND HOVER EFFECT*/
.wrapperRect {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
.rectangle {
  padding: 2em;
  width: 100%;
  height: 200px;
}

  .rectangle:hover{
    background: #f09e8c;
    color: white;
    height: 260px;
  }
  
.rectangle:hover a {
  color: white;
}
.rectangle:hover .recth {
  color: white;
  font-size: 1em;
}
.rectangle:hover .recthActiveP {
  color: white;
  display: flex;
  font-size: 0.8em;
}


  .nejnovejsi {
    padding: 2em 0.5em 0.5em 0;
    font-size: 1.4em;
  }
  
  
  
  
  
  
  /*PROJECTS*/
.projects {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding-top: 6em;
}


.imgcontainer {
  width: 100%;
  height: 100%;
}
  
 /*text in image*/
  .bottom-left {
    position: relative;
    top: -70px;
    left: 30px;
    font-size: 14px;
  }
  
  
  
  
  
  
  
/*REFERENCE*/
.reference {
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
  justify-content: flex-start;
  align-items: center;
  padding-bottom: 0;
}

.klienti {
  align-self: flex-start;
  width: 100%;
  max-width: 200px;
  font-size: 1.4em;
  font-weight: normal;
  font-style: normal;
  font-stretch: normal;
  line-height: 1.67;
  letter-spacing: normal;
  color: #d2c0ba;
}
  

.klientiText {
  width: 80%;
  font-size: 1em;
  font-weight: normal;
  font-style: normal;
  font-stretch: normal;
  line-height: 2;
  letter-spacing: normal;
  color: #fff;
}

.wrapperHlava {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: flex-start;
  align-items: center;
  width: 100%;
}

.autorPodpis {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  
}
.autorh {
  width: 56px;
  object-fit: contain;
}

.autor {
  font-size: 0.8em;
  font-weight: 600;
  font-style: normal;
  font-stretch: normal;
  letter-spacing: normal;
  color: #d2c0ba;
}
.podpis {
  font-weight: normal;
  color: #d2c0ba;
  font-size: 0.8em;
}
  
  
  .wrapperSipka {
    display: none;
  }
  
  .wrapperSipka2 {
    display: none; /*nasazuji ovalWrapper slider*/
    margin-left: auto; /*posledni element zarovnat nakonec stranky*/
  }




  .ovalWrapper {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    /*margin-left: auto;*/
    width: 100%;
    -webkit-transition: opacity .5s ease-in-out;
    -moz-transition: opacity .5s ease-in-out;
    -ms-transition: opacity .5s ease-in-out;
    -o-transition: opacity .5s ease-in-out;
    transition: opacity .5s ease-in-out;
    padding-top: 3em;
  }

  .oval {
    width: 12px;
    height: 12px;
    background-color: #f09e8c;
    border-radius: 50%;
    opacity: 0.4;
  }

  .ovalActive {
    width: 12px;
    height: 12px;
    background-color: #fff;
    border-radius: 50%;
    opacity: 1;
  }
  
  .oval:hover {
    cursor: pointer;
  }
  
  .ovalActive:hover {
    cursor: pointer;
  }
  

/*ELIAS*/
.eliasBg {
  padding-top: 5em;
  padding-bottom: 5em;
}
  
.wrapperElias {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}


.eliasSignature {
  position: relative;
  top: -80px;
  left: 50%;
}


.eliasText {
  width: 80%;
  height: 100%;
  font-size: 1.6em;
  line-height: 1.4;
  text-align: center;
}

/*FOOTER BG*/

.footerBg {
  background-color: #211b19;
  padding: 24px 24px 140px 24px;
}

.footerBg2 {
  background-color: #211b19;
  padding: 24px 24px 5px 24px;
}

.wrapperFoot {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  font-size: 1.2em;
  line-height: 1.75;
  font-weight: normal;
  font-style: normal;
  font-stretch: normal;
  line-height: normal;
  letter-spacing: normal;
  color: #d2c0ba;
  width: 100%;
  max-width: 1488px;
  margin: 0 auto;
}

.footHeading {
  color: #d2c0ba;
  padding-top: 3em;
}

.footHeading2 {
  max-width: 300px;
  color: #d2c0ba;
  padding-top: 0.1em;
  font-size: 1em;
}

.footheading2first {
  color: #f09e8c;
  font-size: 1em;
}
  
  .copyrightWrapper {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    
  }
  
  .copyright {
    max-width: 200px;
    padding-bottom: 30px;
  }

  .footHeadingHidden {
    display: none;
  }
  
  .esvege {
    padding-bottom: 3em;
  }
  
}



.eq {
  display: none;
}