/* open-sans-regular - cyrillic_latin */
@font-face {
   font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
   font-family: 'Open Sans';
   font-style: normal;
   font-weight: 400;
   src: url('../fonts/open-sans-v40-cyrillic_latin-regular.eot'); /* IE9 Compat Modes */
   src: url('../fonts/open-sans-v40-cyrillic_latin-regular.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
        url('../fonts/open-sans-v40-cyrillic_latin-regular.woff2') format('woff2'), /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
        url('../fonts/open-sans-v40-cyrillic_latin-regular.woff') format('woff'), /* Chrome 5+, Firefox 3.6+, IE 9+, Safari 5.1+, iOS 5+ */
        url('../fonts/open-sans-v40-cyrillic_latin-regular.ttf') format('truetype'), /* Chrome 4+, Firefox 3.5+, IE 9+, Safari 3.1+, iOS 4.2+, Android Browser 2.2+ */
        url('../fonts/open-sans-v40-cyrillic_latin-regular.svg#OpenSans') format('svg'); /* Legacy iOS */
 }
/* cormorant-regular - cyrillic_latin */
@font-face {
   font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
   font-family: 'Cormorant';
   font-style: normal;
   font-weight: 400;
   src: url('../fonts/cormorant-v21-cyrillic_latin-regular.eot'); /* IE9 Compat Modes */
   src: url('../fonts/cormorant-v21-cyrillic_latin-regular.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
        url('../fonts/cormorant-v21-cyrillic_latin-regular.woff2') format('woff2'), /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
        url('../fonts/cormorant-v21-cyrillic_latin-regular.woff') format('woff'), /* Chrome 5+, Firefox 3.6+, IE 9+, Safari 5.1+, iOS 5+ */
        url('../fonts/cormorant-v21-cyrillic_latin-regular.ttf') format('truetype'), /* Chrome 4+, Firefox 3.5+, IE 9+, Safari 3.1+, iOS 4.2+, Android Browser 2.2+ */
        url('../fonts/cormorant-v21-cyrillic_latin-regular.svg#Cormorant') format('svg'); /* Legacy iOS */
 }
 /* cormorant-600 - cyrillic_latin */
 @font-face {
   font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
   font-family: 'Cormorant';
   font-style: normal;
   font-weight: 600;
   src: url('../fonts/cormorant-v21-cyrillic_latin-600.eot'); /* IE9 Compat Modes */
   src: url('../fonts/cormorant-v21-cyrillic_latin-600.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
        url('../fonts/cormorant-v21-cyrillic_latin-600.woff2') format('woff2'), /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
        url('../fonts/cormorant-v21-cyrillic_latin-600.woff') format('woff'), /* Chrome 5+, Firefox 3.6+, IE 9+, Safari 5.1+, iOS 5+ */
        url('../fonts/cormorant-v21-cyrillic_latin-600.ttf') format('truetype'), /* Chrome 4+, Firefox 3.5+, IE 9+, Safari 3.1+, iOS 4.2+, Android Browser 2.2+ */
        url('../fonts/cormorant-v21-cyrillic_latin-600.svg#Cormorant') format('svg'); /* Legacy iOS */
 }
html{
   overflow-x: hidden;
}
body{
   overflow-x: hidden;
   background-color: #ece9e2; 
}
header , footer{
   font-family: 'Open Sans';
   width: 100%;
   height: 90px;
   background-color: #1b1e2f;
}
.content-centr{
   width: 100%;
   max-width: 1366px;
   margin: 0 auto;
}
.header{
   display: flex;
   justify-content: space-between;
   padding-top: 20px;
}
.logo{
   font-size: 26px;
   color: #fff;
   font-family: 'Cormorant';     
   font-weight: 600;          
   padding: 13px 22px 16px 22px;
   border: #ceb078 solid 2px;
   position: relative;
}
body > header > div > div.logo > p:nth-child(2) , body > footer > div > div.logo > p:nth-child(2){
   position: absolute;
   top: 37px;
   left: 15px;
   color: #d4d4d4;
   font-family: 'Open Sans';
   font-size: 12px;
   padding: 0 7px;
   background-color: #1b1e2f;
}
.menu , .foo-menu{
   display: flex;
   flex-direction: row;
   column-gap: 40px;
   justify-content: center;
}
.menu__iteam ,  .foo-menu__iteam{
   display: flex;
   align-items: center;
   column-gap: 10px;
}
.menu__iteam-icon , .foo-menu__iteam-icon{
   border: solid 1px #d4d4d4;
   padding: 8px;
}
body > header > div > div > div:nth-child(1) > p , body > header > div > div > div:nth-child(2) > a , body > footer > div > div.foo-menu > div:nth-child(1) > p , body > footer > div > div.foo-menu > div:nth-child(2) > a{
   color: #d4d4d4;
   transition: color 400ms linear;
}
body > header > div > div > div:nth-child(3) > a , body > footer > div > div.foo-menu > div:nth-child(3) > a{
   color: #ceb078;
   transition: color 400ms linear;
}
body > header > div > div > div:nth-child(2) > a:hover , body > header > div > div > div:nth-child(3) > a:hover , body > footer > div > div.foo-menu > div:nth-child(3) > a:hover , body > footer > div > div.foo-menu > div:nth-child(2) > a:hover{
   color: #ffffff;
}
.screen{
   width: 100vw;
   height: calc(100vh - 90px);
   overflow: hidden;
   position: relative;
   display: flex;
   justify-content: center;
}
.bg{
   width: 100%;
   position: absolute;
   left: 0%;
}
.heading{
   position: absolute;
   left: auto;
   top: 0%;
   width: 60%;
   height: 100%;
   display: flex;
   flex-direction: column;
   justify-content: center;
   align-items: center;
   row-gap: 20px;
}
.heading > h1 , body > main > div.parallax > div > h1{
   color: #ffffff;
   font-family: 'Cormorant';
   font-weight: 600;
   font-size: 50px;
   line-height: 100%;
   text-align: center;
   -webkit-text-shadow: 15px 1px 25px rgba(27,30,47,0.8);
   -moz-text-shadow: 15px 1px 25px rgba(27,30,47,0.8);
   text-shadow: 15px 1px 25px rgba(27,30,47,0.8);  
}
.heading > p , body > main > div.parallax > div > p{
   color: #ffffff;
   font-family: 'Open Sans';
   font-weight: 400;
   font-size: 18px;
   line-height: 150%;
   text-align: center;
   -webkit-text-shadow: 15px 1px 25px rgba(27,30,47,1);
   -moz-text-shadow: 15px 1px 25px rgba(27,30,47,1);
   text-shadow: 15px 1px 25px rgba(27,30,47,1);
}
.heading > a , body > main > div.parallax.parallax2 > div > a{
   width: 200px;
   color: #ffffff;
   background-color: #ceb078;
   font-family: 'Open Sans';
   font-weight: 400;
   text-align: center;
   padding: 10px 0;
   -webkit-box-shadow: 15px 1px 25px rgba(27,30,47,0.8);
   -moz-box-shadow: 15px 1px 25px rgba(27,30,47,0.8);
   box-shadow: 15px 1px 25px rgba(27,30,47,0.8);
   transition-property: 'background-color' , '-webkit-box-shadow' , '-moz-box-shadow' , 'box-shadow';
   -webkit-transition-property: 'background-color' , '-webkit-box-shadow' , '-moz-box-shadow' , 'box-shadow';
   -o-transition-property: 'background-color' , '-webkit-box-shadow' , '-moz-box-shadow' , 'box-shadow';
   -moz-transition-property: 'background-color' , '-webkit-box-shadow' , '-moz-box-shadow' , 'box-shadow';
   transition-duration:  500ms;
}
body > main > div.parallax.parallax2 > div > a{
   margin: 0 auto;
}
.heading > a:hover , body > main > div.parallax.parallax2 > div > a:hover{
   background-color: #ab5954;
   -webkit-box-shadow: 15px 1px 25px rgba(171,89,84,0.8);
   -moz-box-shadow: 15px 1px 25px rgba(171,89,84,0.8);
   box-shadow: 15px 1px 25px rgba(171,89,84,0.8);
}
.heading-block{
   text-align: center;
}
body > main > div.content-centr.heading-block > h2{
   font-family: 'Cormorant';
   font-weight: 400;
   font-size: 32px;
   color: #1f1f1f;
   margin: 20px 0 25px 0;
}
.element-1{
   margin-bottom: 20px;
}
#screen2-1{
   width: 100%;
   display: flex;
   flex-direction: row;
   justify-content: space-between;
}
#screen2-1 > article {
   width: 20%;
   display: flex;
   flex-direction: column;
   overflow: hidden;
   align-items: center;
   padding-top: 20px;
}
#screen2-1 > article > h3 , .block-cremation > h3 , body > main > div:nth-child(8) > div > h3{
   text-align: center;
   line-height: 116%;
   font-family: 'Cormorant';
   font-weight: 400;
   font-size: 28px;
   color: #ab5954;
   margin: 15px 0 20px 0;
}
#screen2-1 > article > p , #screen3 > div:nth-child(2) > div > div > p , #screen3 > div:nth-child(3) > div > div > p , body > main > div:nth-child(8) > div > p{
   font-family: 'Open Sans';
   font-weight: 400;
   font-size: 16px;
   text-align: center;
   line-height: 125%;
   color: #4c5065
}
.parallax{
   display: flex;
   justify-content: center;
   align-items: center;
   margin-top: 20px;
   background-image: url(../img/bg-2-1.jpg);
   background-attachment: fixed;
  background-position: center 0%;
   background-size:  auto 100vh ;
   background-repeat: no-repeat;
   width: 100vw;
   height: 50vh;
}
.parallax-effect{
   display: flex;
   flex-direction: column;
   justify-content: center;
   row-gap: 20px;
   width: 60%;
   height: 100%;
}
#screen3{
   display: flex;
   justify-content: space-between;
   flex-wrap: wrap;
   gap: 20px;
}
#section-cremation{
   display: flex;
   justify-content: center;
   width: 100%;
   background-repeat: no-repeat;
   background-image: url(../img/top.png) , url(../img/bottom.png) , linear-gradient(90deg, rgba(204,186,172,1) 0%, rgba(84,112,136,1) 28%, rgba(82,81,112,1) 100%);
   background-position: right 10px top 10px, left 10px bottom 10px, top left;
}
#section-cremation > p{
   width: 90%;
   padding: 40px 0;
   color: #ffffff;
   font-family: 'Open Sans';
   font-weight: 400;
   font-size: 18px;
   line-height: 180%;
   text-align: center;
   -webkit-text-shadow: 15px 1px 25px rgba(27,30,47,1);
   -moz-text-shadow: 15px 1px 25px rgba(27,30,47,1);
   text-shadow: 15px 1px 25px rgba(27,30,47,1);
}
.block-cremation{
   width: calc(50% - 12px);
   border: #ceb078 solid 1px;
}
#screen3 > div:nth-child(2) > img , #screen3 > div:nth-child(3) > img{
   display: block;
   margin: 0 auto;
}
.list{
   display: flex;
   flex-direction: column;
   padding: 10px 0 20px 0;
   flex-wrap: wrap;
   align-content: center; 
   row-gap: 15px;
}
#screen3 > div:nth-child(3) > div > div:nth-child(4) > picture > img , #screen3 > div:nth-child(3) > div > div:nth-child(5) > picture > img{
   padding-left: 4px;
}
.iteam-cremation{
   display: flex;
   flex-direction: row;
   align-items: center;
   column-gap: 20px;
}
.parallax2{
   background-image: url(../img/bg-3-1.jpg);
}
.citata{
   margin: 0 auto;
   width: 60%;
   padding-top: 20px;
   text-align: center;
}
body > main > div:nth-child(8) > div > h3{
   margin: 0;
}
body > main > div:nth-child(8) > div > p{
   text-align: right;
   padding-top: 4px;
   margin-bottom: 9px;
}
footer{
   height: 160px;
}
.foo-logo{
   padding-top: 6px;
}
.footer{
   display: flex;
   flex-direction: row;
   justify-content: center;
   align-items: center;
   column-gap: 40px;
   padding-top: 6px;
}
.foo-menu{
   display: flex;
   flex-direction: column;
   row-gap: 8px;
   margin-top: 0;
}
@media all and (max-width: 1366px) {
   .header{
      width: 96%;
   }
   #screen2-1{
      justify-content: space-around;
   }
   #screen3{
      width: 96%;
      margin: 0 auto;  
   }
}
@media all and (max-width: 1024px) {
   .menu{
      column-gap: 20px;
   }
   .heading{
      width: 90%;
   }
   #screen2-1{
      justify-content: space-evenly;
      flex-wrap: wrap;
   } 
   #screen2-1 > article {
      width: 45%;   
   }
   .parallax-effect{
      width: 80%;
   }
   .block-cremation{
      width: 100%;
   }
   .list{
      padding-left: 10px ;
      align-content: flex-start;
   } 
   .citata{
      width: 80%;
   } 
}
@media all and (max-width: 960px) {
   header{
      height: 133px;
   }
   .header{
      width: 100%;
      flex-flow: column wrap;
      align-items: center;
      padding-top: 12px;
   }
   .logo{
      
       margin-bottom: 2px;
   }
   .menu{
      width: 100%;
      margin: 10px 0 0 0;
      
      column-gap: 10px;
      justify-content: space-around;
      padding-top: 10px;
      border-top: #d4d4d4 solid 1px;
   }
   .screen{
      height: calc(100vh - 133px);
   }
   .parallax{
      background-image: url(../img/bg-2-2.jpg);
      background-size: 100vw auto  ;
      background-position: 0% center;
      height: 60vh;
   }
   .parallax2{
      background-image: url(../img/bg-3-2.jpg);
      background-size: 100vw auto  ;
      background-position: 0% center;
   }
}
@media all and (max-width: 670px){
   body > header > div > div > div:nth-child(2){
      display: none; 
   }
   .heading{
      justify-content: flex-start;
      margin-top: 20px;
   }
   body > main > div.screen > section > a{
      margin-top: 20px;
   }
   .element-1 {
      width: 80px; 
   }
   #screen2-1 > article {
      width: 90%;  
   }
   #screen2-1 > article:nth-child(1){
      padding-top: 0;
   }
   #screen3 > div:nth-child(2) > div > div > p , #screen3 > div:nth-child(3) > div > div > p{
      text-align: left;
   }
   .footer{
      column-gap: 20px;
      flex-direction: column;
      row-gap: 6px;
      padding-top: 8px;
   }
   .logo-bottom{
      font-size: 20px;
      padding: 8px 17px 11px 17px;
   }
   body > footer > div > div.logo.logo-bottom > p:nth-child(2){
      top: 26px;
      left: 11px;
      font-size: 10px;
      padding: 0 6px;
   }
   .foo-menu{
      width: 100%;
      align-content: center;
      flex-wrap: wrap;
      row-gap: 8px;
      padding-top: 6px;
      border-top: #d4d4d4 solid 1px;
   }
   .foo-menu__iteam-icon{
      border: none;
      padding: 0;
   }
}
@media all and (max-width: 470px){
   body > header > div > div > div:nth-child(1){
      display: none;
   }

}
@media all and (max-width: 414px){
   .heading > h1 , body > main > div.parallax > div > h1 {
      font-size: 40px;
   }
   body > main > div:nth-child(4) > div > h1{
      font-size: 36px;
   }
   .heading > p , body > main > div.parallax > div > p , #section-cremation > p{
      font-size: 17px;
   }
   .heading > a{
      font-size: 14px;
      width: 160px;
      
   }
   body > main > div.content-centr.heading-block > h2{
      font-size: 30px;
   }
}
@media all and (max-width: 320px){
   header{
      height: 120px;
   }
   .logo{
      
   }
   .menu{
      margin-top: 6px; 
      padding: 7px  0 ; 
   }
   .menu__iteam-icon{
      width: 20px;
      padding: 6px;
   }
   .screen{
      height: calc(100vh - 120px);
   }
   .heading > h1 , body > main > div.parallax > div > h1{
      font-size: 32px;
   }
   body > main > div.content-centr.heading-block > h2{
      font-size: 26px;
      margin: 15px 0 20px 0;
   }
   .element-1{
      margin-bottom: 15px;
   }
   .heading > p , body > main > div.parallax > div > p , #section-cremation > p , #screen2-1 > article > p , #screen3 > div:nth-child(2) > div > div > p , #screen3 > div:nth-child(3) > div > div > p{
      font-size: 15px;
   }
   .heading > a{
      margin-top: 40px;
      padding: 7px 0;
   }
   #screen2-1 > article > h3 , .block-cremation > h3 , body > main > div:nth-child(8) > div > h3{
      font-size: 24px;
      margin: 10px 0 15px 0;
   }
}
@media all and (max-width: 320px) and (max-height: 480px){
   header{
      height: 120px; 
   }
   .logo{
      
   }
   .menu{
      margin-top: 6px; 
      padding: 7px  0 ;
   }
   .menu__iteam-icon{
      width: 20px;
      padding: 6px;
   }
   .screen{
      height: calc(100vh - 120px);
   }
   .heading > h1{
      margin-bottom: 10px;
   }
   .heading > a{
      margin-top: 20px;
   }
   .parallax2{
      height: 60vh;
   }
}
@media all and (max-width: 1366px) and (max-height: 500px) and (min-height: 200px) and (orientation: landscape){ 
   .screen{
      height: 180vh;
   }
   .parallax{
      height: 80vh;
   }
}


