* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

@font-face {
    font-family: 'Jun';
    src: url('../fonts/Slovic_Demo-Historic.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
    font-display: block;
}
.hero-block::-moz-selection {
  background: #3A3434;
  color: #ffffff;
}
.hero-block::selection {
  background: #3A3434;
  color: #ffffff;
}
.content-block::-moz-selection {
  background: #ffffff;
  color: #3A3434;
}
.content-block::selection {
  background: #ffffff;
  color: #3A3434;
}
.general_text-block::-moz-selection {
  background: #ffffff;
  color: #3A3434;
}
.general_text-block::selection {
  background: #ffffff;
  color: #3A3434;
}
.about-block::-moz-selection {
  background: #3A3434;
  color: #ffffff;
}
.about-block::selection {
  background: #3A3434;
  color: #ffffff;
}
::-webkit-scrollbar {
    display: none;
}

html {
    scrollbar-width: none;
    scroll-behavior: smooth;
}
body {
    color: #333;
    overflow-x: hidden;
    -ms-overflow-style: none;
    overflow-x: hidden;
    padding: 0;
}

h1, h2, h3 {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
}

a {
    text-decoration: none;
    color: inherit;
}

.search-button-fixed{
    position: absolute !important;
    right: 15px !important;
    top: 10px !important;
    left: auto !important;
}

.fullpage-block {
    width: 100vw;
    height: 75vh;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
}
.hero-block::before{
    align-self: center; 
    content: '';
    position: absolute;
    width: calc(100% - 20px);
    height: calc(100% - 20px);
    border: 1px solid #3a3434;
    pointer-events: none;
    outline: 15px solid #E3DAD2;
    z-index: 3;
}
.hero-block {
    background-color: #E3DAD2;
    position: relative;
    background-size: cover;
    color: white;
    text-align: center;
    justify-content: center;
    align-items: center;
}
.logoimage {
    display: block;
    width: 200px;
}
.logo_div{
    position: relative;
    width: 220px;
    height: 100%;
    display: flex;
    justify-content: center;
    pointer-events: none;
    user-select: none;
}
.corner-image_index {
    position: absolute;
    width: 40px;
    height: auto;
    z-index: 1;
}

.top-left_index {
    top: 15px !important;
    left: 15px !important;
    transform: rotate(0deg);
}

.top-right_index {
    top: 15px !important;
    right: 15px !important;
    transform: rotate(90deg);
}

.bottom-left_index {
    bottom: 15px !important;
    left: 15px !important;
    transform: rotate(270deg);
}

.bottom-right_index {
    bottom: 15px !important;
    right: 15px !important;
    transform: rotate(180deg);
}
header {
    position: absolute;
    top: 0;
    width: 100%;
    padding: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    font-weight: 700;
}

nav a {
    margin-left: 2rem;
    font-size: 1.1rem;
    transition: opacity 0.3s;
}

nav a:hover {
    opacity: 0.8;
}

.title-wrapper {
    background-color: #433b3b;
    height: 420px;
    width: 650px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    flex-direction: row;
    padding: 15px;
    border-radius: 16px;
}

.title-text{
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}
.hero-content {
    width: 100%;
    max-width: 1650px;
    height: 100%;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    z-index: 2;
}

.hero-content h1 {
    color: #e3dad2;
    font-size: 150px;
    font-family: 'Jun', serif;
    font-weight: 200;
    position: relative;
}

.hero-block p {
    color: #e3dad2;
    font-family: "Playfair Display", serif;
    font-size: 25px;
    line-height: 30px;
    letter-spacing: 1px;
    font-weight: 600;
    position: relative;
}
.hero-feed-posts{
    margin-left: 50px;
    display: flex;
    gap: 15px;
    height: 420px;
}
.hero-feed-card{
    width: 300px;
    padding: 20px;
    border: 1px solid #3A3434;
    border-radius: 16px;
    color: #3A3434;
    font-family: 'Playfair Display', serif;
    transition: transform 0.3s ease;
}
.hero-feed-card:hover{
    transform: translateY(-10px);
}
.hero-feed-title{
    text-align: left;
    margin-bottom: 20px;
}
.hero-feed-text{
    text-align: left;
}
.centered-image {
    max-width: 90%;
    z-index: 1;
}

.top-image {
    width: 700px;
    margin-bottom: 0px;
}

.bottom-image {
    width: 700px;
    margin: 20px 0px;
}
.block{
    position: relative;
    background-color: #433b3b;
}
.content-block, .general_text-block{
    display: flex;
    flex-direction: column;
    align-items: center;
    height: 700px;
    position: relative;
    box-sizing: border-box;
}
.general_text-block{
    height: 800px;
}
.contents_categotyimg{
    user-select: none;
    pointer-events: none;
}
.title-img{
    user-select: none;
    pointer-events: none;
    position: absolute;
}
.right{
    right: -50px;
}
.left{
    left: -50px;
}
.content-block h2,  .general_text-block  h2{
    font-size: 25px;
    font-family: 'Playfair Display', serif;
    font-weight: 400;
    letter-spacing: 1.2px;
    margin-top: 30px;
    margin-bottom: 20px;
    color: #E3DAD2;
    width: 100%;
    max-width: 1650px;
    box-sizing: border-box;
    text-align: center; 
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.content-block h2 .diamond-left, 
.content-block h2 .diamond-right {
    position: relative;
    width: 8px;
    height: 8px;
    background: #E3DAD2;
    transform: rotate(45deg);
}

.content-block h2 .diamond-left {
    left: -30px;
}

.content-block h2 .diamond-right {
    right: -30px;
}
.content-block h2::before,
.content-block h2::after {
    content: '';
    flex: 1;
    height: 1px;
    background-color: #E3DAD2; 
    position: relative;
}
.content-block h2::before{
    margin-right: 30px;
}
.content-block h2::after{
    margin-left: 30px;
}
.general_text-block h2::before{
    margin-right: 30px;
}
.general_text-block h2::after{
    margin-left: 30px;
}
.general_text-block h2 .diamond-left, 
.general_text-block h2 .diamond-right {
    position: relative;
    width: 8px;
    height: 8px;
    background: #E3DAD2;
    transform: rotate(45deg);
}

.general_text-block h2 .diamond-left {
    left: -30px;
}

.general_text-block h2 .diamond-right {
    right: -30px;
}
.general_text-block h2::before,
.general_text-block h2::after {
    content: '';
    flex: 1;
    height: 1px;
    background-color: #E3DAD2; 
    position: relative;
}
.slider-container {
    width: 100%;
    overflow: hidden;
    position: relative;
    box-sizing: border-box;
    max-width: 1650px;
}

.slider{
    width: 100%;
    height: 100%;
    gap: 35px;
    box-sizing: border-box;
    overflow-x: scroll;
    overflow-y: hidden;
    scrollbar-width: auto;
    /*scrollbar-color: #E3DAD2 #3a3434 ;*/
    display: flex;
    flex-direction: row;
    align-items: center;
    padding: 20px 0px;
    justify-content: center;
}
.centered{
    justify-content: center;
}
.slider::-webkit-scrollbar {
    display: none;
}

.slide {
    width: 300px;
    flex-basis: calc((100% - 140px) / 5);
    flex-shrink: 0;
    height: 500px;
    background: #747474;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
    position: relative;
    cursor: pointer;
    box-sizing: border-box;
}
.general_slide {
    flex-basis: calc((100% - 70px) / 3);
}
.slide:hover {
    transform: translateY(-10px);
}
.slide::before {
    content: '';
    position: absolute;
    top: 15px;
    left: 15px;
    right: 15px;
    bottom: 15px;
    border: 1px solid #E3DAD2;
    border-radius: 8px;
    pointer-events: none;
    z-index: 1;
}
.img_under_general{
    margin: 40px 0px;
}
.article-link {
    display: block;
    width: 100%;
    height: 100%;
    text-decoration: none;
    color: inherit;
    position: relative;
    z-index: 2;
}

.slide-content {
    height: 100%;
    padding: 1rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    font-family: 'Playfair Display', serif;
    color: #E3DAD2;
    box-sizing: border-box;
}

.slide-content h3 {
    width: 90%;
    font-size: 18px;
    /* letter-spacing: 2px;*/
    background-color: #3A3434;
    color: #E3DAD2;
    font-family: 'Playfair Display', serif;
    font-weight: 300;
    margin: 0;
    padding: 0;
    line-height: 1.4;
    word-wrap: break-word;
    text-shadow: 0 1px 2px rgba(0,0,0,0.5);
}
.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(255, 255, 255, 0.7);
    border: none;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    font-size: 1.5rem;
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s;
    opacity: 0.8;
    border: 1px solid #ddd;
}
.slider-btn:hover {
    background-color: rgba(255, 255, 255, 0.9);
}

.slider-btn:disabled {
    opacity: 0.3;
    cursor: not-allowed;
    pointer-events: none;
}

.slider-prev {
    left: 20px;
}
.slider-prev::after {
    content: "";
    width: 15px;
    height: 15px;
    border-top: 2px solid #3a3434;
    border-right: 2px solid #3a3434;
    transform: rotate(-135deg);
    margin-left: 8px;
}
.slider-next {
    right: 20px;
}
.open_last{
    display: none;
}
.slider-next::after {
    content: "";
    width: 15px;
    height: 15px;
    border-top: 2px solid #3a3434;
    border-right: 2px solid #3a3434;
    transform: rotate(45deg);
    margin-right: 8px;
}
.about-block {
    background: #E3DAD2;
    height: 650px;
    display: flex;
    align-content: center;
    flex-direction: row;
    padding: 30px 50px;
}

.left-block {
    position: relative;
    width: 65%;
    padding: 40px;
    box-sizing: border-box;
    background-color: #E3DAD2;
    justify-content: center;
    display: grid;
    align-items: center;
    align-content: space-around;
    justify-items: center;
    padding-bottom: 70px;
}
.left-block::before {
    align-self: center; 
    content: '';
    position: absolute;
    width: calc(100% - 20px);
    height: calc(100% - 20px);
    border: 1px solid #3a3434;
    pointer-events: none;
    border-radius: 15px;
}
.left-block h1 {
    font-size: 28px;
    margin-bottom: 20px;
    color: #3a3434;
    text-align: center;
    font-family: 'Playfair Display', serif;
}
.left-block p {
    font-size:16.5px;
    text-indent: 35px;
    line-height: 1.6;
    color: #3a3434;
    padding: 0px 20px;
    text-align: justify;
    font-family: 'Playfair Display', serif;
}

.right-block {
    width: 35%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    padding: 10px;
    box-sizing: border-box;
    background-color: #E3DAD2;
}
        
.button {
    width: 100%;
    min-width: 150px;
    height: 100px;
    background: transparent;
    border: 1px solid #3a3434;
    border-radius: 15px;
    color: #E3DAD2;
    font-family: 'Playfair Display', serif;
    font-size: 22px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
}
.btn-about{
    display: flex;
    width: 100%;
    height: 100%;
    justify-content: space-evenly;
    align-items: center;
    color: #3a3434;
}
.button:hover {
    border: 1px dashed #3a3434;
    background: #3a343415;
}
.diamond {
    position: absolute;
    width: 8px;
    height: 8px;
    background-color: #3A3434;
    transform: rotate(45deg);
    z-index: 2;
}
.site-footer{
        height: auto !important;
}
.diamond-tl { top: 30px; left: 30px; }
.diamond-tr { top: 30px; right: 30px; }
.diamond-bl { bottom: 30px; left: 30px; }
.diamond-br { bottom: 30px; right: 30px; }

.review-widget-title {
    font-size: 20px;
    font-weight: 500;
    text-align: center;
    letter-spacing: 1px;
}

.review-widget-follow {
    position: fixed;
    z-index: 10000;
    bottom: 0px;
    height: 480px;
    left: 30px;
    background: #E3DAD2;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    border-top-left-radius: 12px;
    border-top-right-radius: 12px;
    padding: 12px 16px;
    padding-bottom: 30px;
    min-width: 220px;
    max-width: 280px;
    font-family: 'Playfair Display', serif;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 1;
    transform: translateX(0);
}

/* Начальное состояние - скрыт */
.review-widget-follow.review-widget-hidden {
    transform: translateY(435px);
}

/* Эффект при наведении */
.review-widget-follow:hover {
    transform: scale(1.02);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    transform: translateY(0);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.review-widget-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    height: 100%;
}

.review-widget-photo {
    flex-shrink: 0;
    width: 250px;
    height: 250px;
    border-radius: 10px;
    outline: 1px solid #3A3434;
    overflow: hidden;
    background: #f0f0f0;
}

.review-widget-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.review-widget-info {
    flex: 1;
    overflow: hidden;
    outline: 1px solid #3A3434;
    padding: 15px;
    border-radius: 10px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: left;
}

.review-widget-info h4 {
    font-size: 16px;
    font-weight: 500;
    color: #2c2c2c;
    line-height: 1.3;
    overflow: hidden;
    text-transform: uppercase;
    margin: 0;
}
.image {
    display: block;
    pointer-events: none;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-position: center;
    background-repeat: repeat-x;
    z-index: 0;
    opacity: 0.4;
    background-image: url("/static/public/images/фоновый псевд 2.svg");
}
.title-line{
    display: none;
}
@media screen and (max-width: 1900px) and (orientation: landscape){
    .site-footer{
        height: auto !important;
    }
    .hero-content h1{
        font-size: 140px;
    }
    .centered-image{
        width: 350px;
    }
    .slider-container{
        padding: 0px;
    }
    .hero-block p{
        font-size: 18px;
        bottom: 9%;
    }
    .bottom-image, .top-image{
        margin: 0;
    }
    .about-block{
        padding: 30px 30px;
    }
    .left-block{
        width: 75%;
    }
    .right-block{
        width: 25%;
    }
    .left-block p{
        font-size: 16.5px;
        padding: 0;
    }
    .content-block h2, .general_text-block h2{
        font-size: 18px;
    }
    .general_slide {
        flex-basis: calc((100% - 70px) / 3);
    }
    .slider-container{
        padding: 0px 20px;
    }
}
@media screen and (max-width: 1500px) and (orientation: landscape){
    .hero-feed-card{
        flex-basis: calc((100% - 220px) / 3);
    }
    .hero-feed-title{
        font-size: 16px;
    }
    .hero-feed-text{
        font-size: 14px;
    }
    .hero-content h1{
        font-size: 90px;
    }
    .content-block{
        height: 550px;
    }
    .general_text-block{
        height: 650px;
    }
    .slide{
        height: 380px;
    }
    .left-block h1{
        font-size: 22px;
    }
    .left-block p {
        font-size: 16px;
        padding: 0;
    }
    .button{
        font-size: 18px;
    }
    .header_btn{
        font-size: 17px;
    }
    .corner-image_index{
        width: 60px;
    }
    .review-widget-follow{
        max-width: 250px;
    }
    .review-widget-title{
        font-size: 17px;
    }
    .review-widget-photo{
        width: 220px;
        height: 220px;
    }
}
@media screen and (min-width: 1024px) and (orientation: portrait){
    .title-img{
        display: none;
    }
    .hero-content{
        height: 80%;
        justify-content: flex-end;
    }
    .hero-content h1 {
        font-size: 12rem;
        padding: 0 50px;
    }
    .side-title {
        min-width: 120px;
        font-size: 16px;
    }
    .bottom-image{
        margin: 0px;
        width: 450px;
    }
    .divider-line {
        width: 400px;
    }
    .divider-diamond.left{
        left: 155px;
    }
    .divider-diamond.right {
        right: 155px;
    }
    .hero-block p {
        font-size: 2rem;
    }
    .slide {
        height: 500px;
    }
    .about-block{
        flex-direction: column;
        align-items: center;
        padding: 0;
        height: 100%;
    }
    .left-block,.right-block{
        width: 98%;
    }
    .left-block h1{
        font-size: 2.5rem;
    }
    .left-block p{
        font-size: 2rem;
        padding: 0;
    }
    .button{
        height: 120px;
        margin-bottom: 20px;
        font-size: 2.5rem;
        border: 2px solid #3a3434;
    }
    .diamond{
        width: 15px;
        height: 15px;
    }
    .about-content p {
        font-size: 1.3rem;
    }
    .fullpage-block {
        height: auto;
    }
    .content-block{
        height: 700px;
    }
}

@media (max-width: 1024px) {
    .review-widget-title, .review-widget-photo{
        display: none;
    }
    .title-line{
        display: block;
    }
    .title-text{
        align-items: center;
    }
    .hero-content{
        flex-direction: column;
        padding: 0 30px;
    }
    .hero-feed-posts{
        flex-direction: column;
        margin: 60px 0px;
        width: 100%;
        height: auto;
        margin-top: 30px;
    }
    .hero-feed-card{
        width: 100%;
    }
    .title-wrapper{
        width: 100%;
        margin-top: 30px;
        margin-bottom: 30px;
        flex-direction: column;
    }
    .review-widget-follow{
        max-width: 100%;
        height: 100px;
        right: 0;
        padding: 5px;
        margin: 0px 20px;
    }
    .review-widget-info{
        padding: 10px;
    }
    .review-widget-info h4{
        font-size: 15px;
    }
    .logo_div{
        width: 130px;
        height: 130px;
    }
    .logoimage {
        width: 120px;
    }
    .img_under_general{
        display: flex;
        align-items: center;
        margin: 20px 0px;
        justify-content: center;
    }
    .contents_categotyimg{
        width: 400%;
    }
    .title-img{
        display: none;
    }
    .hero-content h1 {
        font-size: 130px;
    }
    .content-block h2, .general_text-block h2{
        font-size: 20px;
    }
    .content-block{
        height: 500px;
    }
    .general_text-block{
        height: auto;
    }
    .side-title {
        min-width: 150px;
        font-size: 18px;
    }
    .hero-block p{
        font-size: 20px;
    }
    .fullpage-block{
        height: auto;
    }
    .divider-line {
        width: 500px;
    }
    .divider-diamond.left{
        left: 120px;
    }
    .divider-diamond.right {
        right: 120px;
    }
    .slide {
        width: 250px;
        flex-basis: 250px;
        height: 350px;
    }
    .slider{
        padding: 10px 60px;
    }
    .about-block{
        padding: 10px 10px;
    }
    .left-block{
        padding: 50px 30px;
        padding-bottom: 70px;
    }
    .left-block h1{
        font-size: 20px;
    }
    .left-block p{
        font-size: 14px;
        padding: 0;
    }
    .top-image, .bottom-image{
        width: 300px;
    }
    .header_btn{
        font-size: 16px;
    }
    .header_link_block{
        width: 60%;
    }
    .review-widget-follow{
        bottom: 90px;
        left: 0px;
        border-radius: 12px;
    }
}

@media (max-width: 768px) {
    .image{
        background-repeat: repeat-y;
    }
    .page_header{
        display: none;
    }
    .content-block{
        height: 700px;
    }
    .hero-content{
        height: auto;
    }
    .hero-content h1 {
        font-size: 100px;
    }
    .side-title {
        min-width: 120px;
        font-size: 16px;
    }
    .slider-btn {
        display: none;
    }
    .bottom-image, .top-image{
        margin: 0px;
        width: 250px;
    }
    .divider-line {
        width: 400px;
    }
    .divider-diamond.left{
        left: 155px;
    }
    .divider-diamond.right {
        right: 155px;
    }
    .hero-block p {
        font-size: 18px;
    }
    .slide {
        flex: 0 0 calc(50% - 16px);
        height: 500px;
    }
    .about-block{
        flex-direction: column;
        align-items: center;
        padding: 0;
        height: 100%;
    }
    .left-block,.right-block{
        width: 98%;
    }
    .left-block h1{
        font-size: 20px;
    }
    .left-block p{
        font-size: 16px;
        padding: 0;
        text-indent: 25px;
    }
    .button{
        height: 60px;
        margin-bottom: 10px;
        font-size: 16px;
    }
    .about-content p {
        font-size: 1.3rem;
    }
    .slider{
        padding: 0;
        width: auto;
        display: block;
        width: 100%;
        height: auto;
    }
    .slide {
        display: none;
    }
    .slide:hover {
        transform: translateY(0px);
    }
    .slide:nth-child(-n+3) {
        display: block;
        height: 160px;
        margin-bottom: 15px;
        width: 100%;
    }
    .slider-container.show-all .slide:nth-child(-n+7) {
        display: block;
        height: 160px;
        margin-bottom: 15px;
        width: 100%;
    }
    .open_last{
        width: 100%;
        height: 60px;
        font-family: 'Playfair Display', serif;
        position: relative;
        color: #E3DAD2;
        border-radius: 15px;
        border: 1px solid #E3DAD2;
        text-transform: uppercase;
        justify-content: center;
        align-items: center;
    }
    .slider-container{
        align-items: center;
        flex-direction: column;
        padding: 0 30px;
    }
}

@media (max-width: 576px) {
    .hero-content h1::before,
    .hero-content h1::after {
        content: none !important;
    }
    .divider-diamond.left{
        left: 25px;
    }
    .divider-diamond.right {
        right: 25px;
    }
    .side-title {
        display: none;
    }
    
    .divider-line {
        width: 250px;
    }
    
    .corner-image_index {
        width: 50px;
    }
    
    .top-image, .bottom-image {
        width: 250px;
    }
    .top-image{
        margin-bottom: -5px;
    }
    .content-block h2,
    .about-block h2,
    .general_text-block h2 {
        font-size: 24px;
        margin-top: 30px;
        width: 100%;
    }
    
    .slide-content h3 {
        font-size: 18px;
    }
    
    .about-content {
        padding: 0 1rem;
    }
    
    .about-content p {
        font-size: 1.1rem;
        line-height: 1.6;
    }
    
    .scroll-to-top {
        width: 40px;
        height: 40px;
        bottom: 20px;
        right: 20px;
    }
    .general_text-block{
        height: auto;
    }
    .scroll-to-top::after {
        width: 12px;
        height: 12px;
    }
}
@media (max-width: 480px) {
    .content-block h2, .about-block h2, .general_text-block h2{
        font-size: 18px;
        padding: 0;
    }
}