:root {
  --res33: 33%;
  --res50: 50%;
  --res65: 65%;
  --res66: 66%;
  --res35: 35%;
  --res80: 80%;
  --res-31: -31%;
  --base_margin: 100px;
  --res_min_width-370: 370px;
  --img_border: 30px;
  --img_border_marg: 30px;
}



body {
  font-family: "Montserrat", sans-serif;
  font-optical-sizing: auto;
  font-weight: 300;
  font-style: normal;
  margin:0px;
}

.head, .head.claim, .sub_head, .item_cont, .img_bcg, .item_cont h2 .part1, .item_cont h2 .part2, .sub_head h1 .part1, .sub_head h1 .part2 {
  display:block;
}

.head, .head.claim, .sub_head, .item_cont {
  width: 100%;
}

a  {
  text-decoration: none;
}

a:link, a:visited  {
  color:#58461e;
}

a:hover  {
  color:#c69748;
}

.head {
  background-image:url('https://www.caverna.cz/deveport/zdroje/img/deveport.jpg');
  background-repeat: no-repeat;
  background-size: 94%;
  background-position: center;
  height:48vw;
  text-align:center;
  animation: fadeIn;
  animation-duration: 3s
}

.head .claim {
  display: flex;
  flex-direction: row;
  justify-content: center;
  font-size: 28px;
  font-weight: 400;
  padding-top: 38vw;
  text-transform: uppercase;
  letter-spacing:calc(1vw * 1.5);
  color: rgb(101, 101, 101);
}

.head .claim .part1 {
  animation: fadeInLeft;
  animation-duration: 2s;
}

.head .claim .part2 {
  animation: fadeInRight;
  animation-duration: 2s;
}

@media screen and (max-width: 800px) {
  .head .claim {
    font-size: 22px;
    letter-spacing:calc(1vw * 1.3);
  }
}

@media screen and (max-width: 500px) {
  .head .claim {
    font-size: 19px;
    letter-spacing:1px;
  }
}

.sub_head {
  text-align: center;
  width:calc(100% - calc(2 * var(--base_margin)));
  margin: 0px var(--base_margin);
}

.if_load {
  opacity: 0;
}

.if_load.active {
  opacity: 1;
}

.left.if_load.active {
  animation: fadeInLeft;
  animation-duration: 1s;
}

.right.if_load.active {
  animation: fadeInRight;
  animation-duration: 1s;
}

.top.if_load.active {
  animation: fadeInDown;
  animation-duration: 1s;
}

.bottom.if_load.active {
  animation: fadeInUp;
  animation-duration: 1s;
}

.sub_head .claim{
  text-align: left;
  display:inline-block;
}

.sub_head h1 .part1 {
    font-size: 91px;
    font-weight: 200;
    line-height:60px;
}

.sub_head h1 .part2 {
  font-size: 63px;
  font-weight: 856;
  margin-top: 0px;
  margin-bottom: 80px;
  margin-left: 50px;
}

.sub_head h1 .part3 {
  font-size: 200px;
  font-weight: 700;
  margin-top: -90px;
  color: #ececec;
  margin-left:-15px;
  position:absolute;
}

.sub_head .items {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: center;
}

.sub_head .items div{
  font-size: 20px;
  font-weight: 400;
  border: 1px solid #b4b4b4;
  border-radius: 100px;
  padding: 17px 53px;
  margin: 21px 16px;
}


.item_cont {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  margin:70px 0;
}

.item_cont.right {
  flex-direction: row-reverse;
}

.image_cont {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: center;
  margin:55px 0;
}

.head.claim {
  font-size: 20px;
  color: #7e7e7e;
}

.content{
  padding-left:var(--base_margin);
}

.right .content{
  padding-left:0px;
  padding-right:var(--base_margin);
}

.image_bcg, .image_lit_bcg, .image_lit_bcg_fix {
  width:100%;
  background-repeat: no-repeat;
  background-size: auto 100%;
}

.image_bcg {
  height:700px;
}

.item_cont.right .image_bcg {
  background-position: right;
}

.image_lit_bcg, .image_lit_bcg_fix {
  border: var(--img_border) solid #f2f2f2;
  border-radius:250px;
  margin:calc(calc(var(--img_border) / 2) * -1);
}

.image_lit_bcg_fix {
  height:250px;
  width:250px;
}

.image_lit_bcg span, .image_lit_bcg_fix span{
  position: absolute;
  margin-top: -25px;
  margin-left: 92px;
  color: #a8a8a8;
  font-size: 17px;
}

.item_cont h2, .sub_head h1 {
  font-weight:normal;
}

.item_cont h2 .part1 {
    font-size: 58px;
    line-height:60px;
}

.item_cont h2 .part2 {
  font-size: 32px;
  font-weight: 300;
  margin-top: 0px;
}

.item_cont .text {
    font-size: 18px;
    line-height: 30px;
}

.data_cont {
  margin-top:40px;
}

.data_number {
  font-size: 82px;
  font-weight: 400;
  margin:-8px 0px -20px 30px;
}

.data_big_info{
  font-size: 21px;
  display:inline-block;
  vertical-align: top;
  text-align:right;
  margin-right:10px;
  margin-top:14px;
}

.data_little_info {
  font-size: 12px;
  display:inline-block;
  vertical-align: top;
  text-align:right;
  margin-right:10px;
  margin-top:16px;
  width:200px
}

.data_second_number{
  font-size: 50px;
  margin-top:0px;
  font-weight: 400;
  position:relative;
  display:inline-block
}

.people {
  width:200px;
  height: 200px;
}

@media screen and (max-width: 1500px) {
  :root {
    --res33: 50%;
    --res66: 50%;
  }

  .item_cont {
  margin: 50px 0;
  }
}

@media screen and (max-width: 1100px) {

  :root {
    --res33: 100%;
    --res66: 100%;
  }
}

@media screen and (max-width: 920px) {
  .item_cont h2 .part1 {
    font-size: 52px;
    line-height: 59px;
  }
}

@media screen and (max-width: 800px) {
  :root {
    --base_margin: 50px;
  }
}

@media screen and (max-width: 700px) {
  :root {
    --res33: 100%;
    --res50: 100%;
    --res65: 100%;
    --res66: 100%;
    --res35: 100%;
    --res80: 100%;
    --res-31: 0%;
    --res_min_width-370: 0px;
    --img_border_marg: 0px;
    --img_border: 20px;
    --img_border_marg: 20px;
  }

  .content{
    padding-right:var(--base_margin);
  }

  .item_cont {
  margin: 30px 0;
  }

  .lores_hidd {
    display:none;
  }

  .right .content{
    padding-left:var(--base_margin);
  }

  .image_lit_bcg, .image_lit_bcg_fix {
    height: calc(95vw - calc(var(--base_margin) * 2) - 30px);
    width: calc(95vw - calc(var(--base_margin) * 2) - 30px);
    margin: calc(calc(var(--img_border) / 2) * -1) -7px;
    text-align: center;
  }

  .image_lit_bcg_fix {
    max-width:230px;
    max-height:230px;
  }

  .image_lit_bcg span, .image_lit_bcg_fix span {
    position: relative;
    margin-top: -18px;
    margin-left: 0px;
    display:block;
    color:#5e5e5e;
    font-size: 12px;
  }

  .people {
    width:170px;
    height: 170px;
  }

}



@media screen and (max-width: 600px) {

  :root {
    --base_margin: 30px;
  }

  .head {
    background-size: 129%;
  }

  .head .claim {
    font-size: 17px;
    padding-top: 41vw;
  }

  .sub_head h1 .part1 {
    font-size: 48px;
    line-height: 67px;
  }

  .sub_head h1 .part2 {
    font-size: 32px;
    margin-top: -17px;
    margin-left: 20px;
    margin-bottom: 50px;
  }

  .sub_head h1 .part3 {
    font-size: 106px;
    margin-top: -52px;
  }

  .sub_head .items div{
    font-size: 15px;
    padding: 10px 20px;
    margin: 6px 0px;
    width: 100%;
  }

  .item_cont {
  margin: 20px 0;
  }

  .item_cont h2 .part1 {
      font-size: 36px;
      line-height:37px;
  }

  .item_cont h2 .part2 {
    font-size: 22px;
    margin-top: 0px;
  }

  .item_cont .text {
      font-size: 16px;
      line-height: 24px;
  }

  .image_bcg {
    height: 448px;
    background-position: -21px 0px;
  }

  .data_cont {
    margin-top:25px
  }

  .data_number {
    font-size: 54px;
    font-weight: 400;
    margin:-8px 0px -20px 19px;
  }

  .data_big_info{
    font-size: 18px;
    margin-right:8px;
  }

  .data_little_info {
    font-size: 10px;
    margin-right:8px;
    margin-top:16px;
    width:128px
  }

  .data_second_number{
    font-size: 40px;
  }


}
