* {
    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;
}

::-webkit-scrollbar {
    display: none;
}
body {
    margin: 0;
    height: 100vh;
    box-sizing: border-box;
    background-color: #3A3434;
}
.parent {
    position: relative;
    display: flex;
    height: auto;   
    justify-content: center;
}
.menu-button-fixed, .search-button-fixed{
    position: absolute !important;
}
.content-center {
    width: 100%;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    position: relative;
    flex-direction: column;
}
.header{
    position: relative;
    width: 100%;
    height: 450px;
    background-color: #E3DAD2;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}
.header::-moz-selection {
  background: #3A3434;
  color: #ffffff;
}
.header::selection {
  background: #3A3434;
  color: #ffffff;
}
.centered-image{
    width: 550px;
}
.contents_corner_image {
    position: absolute !important;
    width: 65px !important;
    height: auto !important;
    z-index: 1 !important;
}

.tleft {
    top: 20px !important;
    left: 20px !important;
}

.tright {
    top: 20px !important;
    right: 20px !important;
    transform: rotate(90deg);
}

.bleft {
    bottom: 20px !important;
    left: 20px !important;
    transform: rotate(270deg);
}

.bright {
    bottom: 20px !important;
    right: 20px !important;
    transform: rotate(180deg);
}
.page_header_contents{
    width: 100%;
    text-align: center;
    color: #3A3434;
    font-size: 100px;
    font-family: 'Jun', serif;
    font-weight: 200;
    display: flex;
    align-items: center;
    justify-content: center;
    white-space: nowrap; 
}
.header::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;
}
.block{
    height: 850px;
}
.content-container::before{
    align-self: center; 
    content: '';
    position: absolute;
    width: calc(100% - 20px);
    height: calc(100% - 20px);
    border: 1px solid #E3DAD2;
    outline: 15px solid #3a3434;
    pointer-events: none;
    z-index: 3;
}
.sectionDescription{
    font-size: 20px;
    font-family: 'Playfair Display', serif;
    width: 90%;
    height: auto;
    text-align: center;
    font-weight: 200;
    max-width: 1650px;
    border: 1px solid #3A3434;
    color: #3A3434;
    border-radius: 15px;
    padding: 10px 30px;
    margin-top: 20px;
    z-index: 10;
}
.content-container h2 {
    font-size: 35px;
    font-family: 'Playfair Display', serif;
    font-weight: 200;
    letter-spacing: 1.2px;
    margin: 30px 0px;
    max-width: 1650px;
    color: #E3DAD2;
    width: 100%;
    box-sizing: border-box;
    text-align: center; 
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}
.content-container h2 .diamond-left, 
.content-container h2 .diamond-right {
    position: relative;
    width: 12px;
    height: 12px;
    background: #E3DAD2;
    transform: rotate(45deg);
}

.content-container h2 .diamond-left {
    left: -20px;
}

.content-container h2 .diamond-right {
    right: -20px;
}
.content-container h2::before,
.content-container h2::after {
    content: '';
    flex: 1;
    height: 1px;
    background-color: #E3DAD2; 
    position: relative;
}
.content-container h2::before{
    margin-right: 20px;
}
.content-container h2::after{
    margin-left: 20px;
}
.title-img{
    user-select: none;
    pointer-events: none;
    position: absolute;
}
.right{
    right: 0;
}
.left{
    left: 0;
}
.content-container {
    background-color: #433b3b;
    position: relative;
    display: flex;
    width: 100%;
    overflow: hidden;
    gap: 15px;
    align-items: center;
    flex-direction: column;
    justify-content: center;
}
.content-container::-moz-selection {
  background: #ffffff;
  color: #3A3434;
}

.content-container::selection {
  background: #ffffff;
  color: #3A3434;
}
.art-container {
    position: relative;
    width:100%;
    box-sizing: border-box;
    background-color: #E3DAD2;
    justify-content: center;
    display: flex;
    align-items: center;
    justify-items: center;
    flex-direction: row;
}
.art-container::-moz-selection {
  background: #3A3434;
  color: #ffffff;
}

.art-container::selection {
  background: #3A3434;
  color: #ffffff;
}
.diamond {
    position: absolute;
    width: 8px;
    height: 8px;
    background-color: #3A3434;
    transform: rotate(45deg);
    z-index: 2;
}

.diamond-tl { top: 30px; left: 30px; }
.diamond-tr { top: 30px; right: 30px; }
.diamond-bl { bottom: 30px; left: 30px; }
.diamond-br { bottom: 30px; right: 30px; }

.art-container h2{
    font-size: 35px;
    font-family: 'Playfair Display', serif;
    font-weight: 200;
    letter-spacing: 1.2px;
    margin: 30px 0px;
    margin-bottom: 10px;
    color: #3a3434;
    width: 90%;
    height: 80px;
    box-sizing: border-box;
    text-align: center; 
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px 30px;
    border: 1px solid #3A3434;
    border-radius: 15px;
    display: flex;
    flex-direction: column;
}
.site-footer{
    height: auto !important;
}
.underh2line{
    width: 200px;
}
.arts{
    width: 90%;
    height: 80%;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
}
.leftblock{
    display: flex;
    position: relative;
    width: 50%;
    height: 100%;
    flex-direction: column;
    align-items: center;
    border-right: 1px solid #3A3434;
}
.rightblock{
    display: flex;
    position: relative;
    width: 50%;
    height: 100%;
    flex-direction: column;
    align-items: center;
    border-left: 1px solid #3A3434;
}
.content-container .content {
    width: 100%;
    max-width: 1650px;
    gap: 15px;
    box-sizing: border-box;
    overflow-y: hidden;
    scrollbar-width: auto;
    scrollbar-color: #E3DAD2 #3a3434;
    display: flex;
    flex-direction: row;
    align-items: center;
    padding: 20px 0px;
    justify-content: center;
}

.content-container .content::-webkit-scrollbar {
    width: 10px;
}

.content-container .content::-webkit-scrollbar-track {
    background: #f0f0f0;
    border-radius: 5px;
}
.content-container .content::-webkit-scrollbar-button {
    opacity: 0;
    pointer-events: none;
}
.content-container .content::-webkit-scrollbar-thumb {
    background: #3A3434;
    border-radius: 5px;
    border: 2px solid #f0f0f0;
}
.square {
    display: flex;
    position: relative;
    height: 450px;
    background-color: #737373;
    border-radius: 15px;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    font-family: 'Playfair Display', serif;
    transition: transform 0.3s ease;
    flex-shrink: 0;
    flex-basis: calc((100% - 60px) / 5);
}
.square::before {
    align-self: center; 
    content: '';
    position: absolute;
    width: calc(100% - 20px);
    height: calc(100% - 20px);
    border: 1px solid #E3DAD2;
    border-radius: 15px;
    pointer-events: none;
    z-index: 10;
}
.square:hover {
    transform: translateY(-10px);
}
.uzor{
    justify-content: space-between;
}
.divart{
    flex-shrink: 0;
    flex-basis: calc((100% - 30px) / 3);
}
.divart::before {
    border: 1px solid #3A3434;
}
.square-link {
    width: 100%;
    height: 100%;
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 20px;
}
.square-title {
    margin-bottom: 5px;
    font-size: 19px;
    color: #E3DAD2;
    text-shadow: rgba(0, 0, 0, 0.5) 0px 1px 2px;
    padding: 0 20px;
    background-color: #3A3434;
    text-transform: uppercase;
    letter-spacing: 1px;
    z-index: 10;
}
.title-divider {
    position: relative;
    width: 100%;
    max-width: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
}

.divider-line {
    display: block;
    width: 70%;
    max-width: 650px;
    height: 1px;
    background-color: #E3DAD2;
}
.divider-diamond {
    position: absolute;
    width: 5px;
    height: 5px;
    background-color: #E3DAD2;
    transform: rotate(45deg);
}
.square-desc{
    font-size: 20px;
    color: #E3DAD2;
    text-align: left;
    z-index: 10;
}
.square-image {
    width: 100%;
    height: 100%;
    position: absolute;
    overflow: hidden;
    z-index: 0;
    border-radius: 15px;
}
.square-image::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 10px;
    /*background-color: rgba(0, 0, 0, 0.7);
    backdrop-filter: grayscale(1);*/
    pointer-events: none;
    z-index:1;
}
.contents_categotyimg{
    user-select: none;
    z-index: 1;
}
.content_arts{
    width: 100%;
    height: 100%;
    gap: 15px;
    box-sizing: border-box;
    overflow-y: hidden !important;
    scrollbar-width: auto;
    scrollbar-color: #3a3434 #E3DAD2;
    display: flex;
    flex-direction: row;
    align-items: center;
    padding: 20px 0px;
        justify-content: center;
}
.category-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}
.mobilemenu-img{
    display: none;
}
.uh2white{
    display: none;
}
.inprogress{
    font-family: 'Playfair Display', serif;
    color: #3A3434;
    font-size: 25px;
}
.topimg{
    margin-bottom: -10px;
}

.image {
    display: block;
    pointer-events: none;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: 40%;
    background-position: center;
    background-repeat: repeat-x;
    z-index: 0;
    opacity: 0.4;
    background-image: url("/static/public/images/фоновый псевд 2.svg");
}
.logoimage{
    opacity: 0.1;
    width: 100%;
    position: absolute;
    user-select: none;
    pointer-events: none;
}
.specblock{
    background-color: #E3DAD2;
}
.specblock h2{
    color: #3A3434;
}
.specblock h2 .diamond-left, .specblock h2 .diamond-right{
    background: #3A3434;
}
.specblock h2::before, .specblock h2::after{
    background-color: #3A3434;
}
.specblock::before{
    align-self: center;
    content: '';
    position: absolute;
    width: calc(100% - 20px);
    height: calc(100% - 20px);
    border: 1px solid #3A3434;
    outline: 15px solid #E3DAD2;
    pointer-events: none;
    z-index: 3;
}
@media screen and (max-width: 1500px) and (orientation: landscape){
    .page_header_contents{
        font-size: 90px;
        margin: 20px 0px;
    }
    .square{
        width: 250px;
    }
    .square-title{
        font-size: 16px;
    }
}
@media screen and (min-width: 1024px) and (orientation: portrait){
    .mobilemenu{
        display: block;
        width: 100%;
        height: 130px;
        background-color: #3A3434;
        display: flex;
        justify-content: center;
    }
    .mobilemenu-img{
        display: block;
        width: 60%;
    }
    .centered-image{
        display: block;
        width: 600px;
        margin: 50px;
    }
    .parent{
        height: auto;
    }
    .parent::before{
        content: none;
    }
    .square::before{
        content: none;
    }
    .content-container{
        width: 100%;
        flex-direction: column;
    }
    .page_header_contents{
        font-size: 9rem;
        text-align: center;
    }
    .square{
        width: 100%;
        height: 450px;
        margin: 15px 0;
        border: 2px solid #E3DAD2;
    }
    .square-title{
        font-size: 3rem;
    }
    .square:hover {
        transform: translateY(0px);
    }
}
@media (max-width: 1024px) {
    .content-container{
        max-width: 100%;
        height: auto;
    }
    .square{
        flex-basis: auto;
        border: 1px solid #E3DAD2;
    }
    .content-container .content {
        overflow-x: visible;
        gap: 0;
        flex-direction: column;
        padding: 0px;
        width: 90%;
    }
}
@media (max-width: 768px) {
    .sectionDescription{
        margin-top: 0px;
        padding: 10px 10px;
        border: none !important;
        font-size: 16px;
    }
    .image{
        background-size: 100%;
        background-repeat: repeat;
    }
    .content-container::before{
        content: none;
    }
    .uh2white{
        display: block;
    }
    .header{
        height: 200px;
    }
    .header::before{
        content: none;
    }
    .page_header_contents{
        font-size: 90px;
        text-align: center;
        margin: 0;
    }
    .art-container{
        flex-direction: column;
    }
    .art-container h2{
        margin-top: 10px;
        margin-bottom: 0px;
        font-size: 26px;
        font-weight: 500;
        border: none;
    }
    .divart{
        border: 1px solid #3A3434;
    }
    .content-container h2{
        font-size: 26px;
        margin-top: 30px;
        margin-bottom: 0px;
        font-weight: 500;
        display: flex;
        flex-direction: column;
    }
    .inprogress{
        object-position: top;
        font-size: 20px;
        margin-bottom: 50px;
    }
    .contents_categotyimg{
        width: 400%;
        height: auto;
        margin-bottom: 25px;
    }
    .diamond-left, .diamond-right{
        display: none;
    }
    .content-container h2::before, .content-container h2::after{
        content: none;
    }
    .underh2line{
        width: 150px;
    }
    .leftblock, .rightblock{
        width: 100%;
        border: none;
    }
    .block{
        height: auto !important;
    }
    .arts, .content_arts{
        flex-direction: column;
    }
    .arts{
        height: 100%;
    }
    .content_arts{
        height: auto;
        padding: 0;
        gap: 0;
    }
    .title-img{
        display: none;
    }
    .square:hover {
        transform: translateY(0px);
    }
    .mobilemenu{
        display: block;
        width: 100%;
        height: 80px;
        background-color: #3A3434;
        display: flex;
        justify-content: center;
    }
    .mobilemenu-img{
        display: block;
        width: 60%;
    }
    .centered-image{
        display: block;
        width: 400px;
    }
    .parent{
        height: auto;
    }
    .bottomimg{
        margin-top: 20px;
    }
    .parent::before{
        content: none;
    }
    .square::before{
        content: none;
    }
    .content-container{
        width: 100%;
        flex-direction: column;
    }
    .square{
        width: 100%;
        height: 300px;
        margin: 15px 0;
    }
    .topimg{
        margin-bottom: -5px;
    }
}

@media (max-width: 576px) {
    .square{
        height: 170px;
    }
    .square-title{
        font-size: 18px;
    }
    .page_header_contents{
        font-size: 40px;
    }
    .centered-image{
        width: 200px;
    }
    .mobilemenu-img{
        width: 50%;
    }
}

@media (max-width: 480px) {

}