.first-block::-moz-selection {
  background: #47513D;
  color: #E3DAD2;
}
.first-block::selection {
  background: #47513D;
  color: #E3DAD2;
}
.articleblock::-moz-selection {
  background: #47513D;
  color: #E3DAD2;
}
.articleblock::selection {
  background: #47513D;
  color: #E3DAD2;
}
.gif-block::-moz-selection {
  background: #47513D;
  color: #E3DAD2;
}
.gif-block::selection {
  background: #47513D;
  color: #E3DAD2;
}
::-webkit-scrollbar {
    display: block;
}

html {
    scrollbar-width: thin;
}
.first-block{
    height: calc(90vh - 70px);
    background-color: #E3DAD2;
    position: relative;
    background-size: cover;
    color: white;
    text-align: center;
    justify-content: center;
    align-items: center;
    width: 100%;
}
.first-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;
}
.first-block p {
    color: #3A3434;
    font-family: "Playfair Display", serif;
    font-size: 22px;
    line-height: 30px;
    font-weight: 600;
}
.gif-block{
    height: calc(90vh - 70px);
    background-color: #3A3434;
    position: relative;
    background-size: cover;
    color: #DFD7CF;
    text-align: center;
    justify-content: center;
    align-items: center;
    padding: 0;
}
.gif-block::before{
    align-self: center; 
    content: '';
    position: absolute;
    width: calc(100% - 20px);
    height: calc(100% - 20px);
    border: 1px solid #DFD7CF;
    pointer-events: none;
    z-index: 3;
}
.gif-block p{
    color: #DFD7CF;
    font-family: "Playfair Display", serif;
    font-size: 30px;
    line-height: 30px;
    font-weight: 400;
}
.title-spec{
    z-index: 1;
}
.left {
    left: 50px;
    position: relative;
}
.hero-content{
    justify-content: space-between;
    padding-left: 200px;
    padding-top: 100px;
    padding-bottom: 100px;
}
.title-wrapper{
    display: flex;
    align-items: flex-start;
    justify-content: center;
    position: relative;
    width: 100%;
    flex-direction: column;
}
.title-wrapper2{
    display: flex;
    align-items: flex-start;
    justify-content: center;
    position: relative;
    width: 100%;
    flex-direction: column;
}
.title-wrapper2 p {
    position: relative;
    left: 50px;
}
.titleproj {
    color: #3A3434;
    position: relative;
    font-family: "Montserrat", sans-serif;
    font-weight: 500;
    font-size: 110px;
    text-align: left;
    line-height: 1;
    cursor: pointer;
    transition: 0.2s ease-in-out;
    left: 0px;
}
.maintitle{
    color: #DFD7CF;
    text-align: center;
    margin-bottom: 20px;
}
.logoright{
    width: 100px;
    top: 40px !important;
    right: 40px !important;
    user-select: none;
    pointer-events: none;
    z-index: 10;
}
.articleblock {
    background-color: #DFD7CF;
    background-image: repeating-radial-gradient(circle at 0 0, rgba(0,0,0,0.02) 0px, rgba(0,0,0,0.02) 2px, transparent 2px, transparent 4px);
    padding: 0px 20px;
}
.desc-and-struc{
    max-width: 1450px;
    margin: 0 auto;
    height: 620px;
    display: flex;
    flex-wrap: nowrap;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 50px;
    position: relative;
}

.desc, .struc, .articledesc{
    font-family: 'Playfair Display', serif;
    text-align: center;
    font-size: 20px;
    color: #505946;
    display: flex;
    width: 640px;
    height: 480px;
    border: 1px solid #505946;
    border-radius: 15px;
    justify-content: center;
    align-items: center;
    padding: 50px;
    text-align: left;
    line-height: 1.5;
}
.glavred{
    display: flex;
    font-family: 'Playfair Display', serif;
    text-align: left;
    font-size: 24px;
    color: #3A3434;
    font-weight: 700;
    height: 480px;
    flex-direction: column;
    justify-content: flex-end;
    position: relative;
}
.title-gifBlock{
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: flex-end;
    flex-direction: column;
    padding-bottom: 100px;
}
.link-block{
    max-width: 1450px;
    position: relative;
    display: flex;
    flex-direction: row;
    justify-content: center;
    gap: 20px;
    margin: 0 auto;
}
.footer-article-telegram{
    position: relative;
    width: 80px;
    height: 80px;
    margin: 40px 0px;
}
.telegram-image,.footer-telegram-link{
    width: 100%;
    height: 100%;
    color: #E3DAD2;
}
.footer-telegram-link{
    display: block;
    position: absolute;
    top: 0;
}
.desc-and-struc-image{
    width: 100px;
    position: absolute;
    z-index: 1;
    top: 0;
    right: 0;
}
.line{
    width: 100%;
    position: absolute;
    bottom: 0;
    height: 1px;
    background-color: #3A3434;
}
.left-afticle, .right-afticle{
    height: 860px;
    width: 100%;
    max-width: 1450px;
    margin: 0 auto;
    position: relative;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
}
.polaroid-block {
    width: 45%;
    height: 770px;
    margin: 50px 0px;
    border-radius: 15px;
    padding: 40px 35px;
    background-image: repeating-radial-gradient(circle at 0 0, rgba(0,0,0,0.02) 0px, rgba(0,0,0,0.02) 2px, transparent 2px, transparent 4px);
}
.polaroid-block:hover{
    transform: scale(1.02);
}
.polaroid-image-wrapper {
    width: 100%;
    height: 100%;
    position: relative;
}

.polaroid-image {
    width: 100%;
    height: 60%;
    object-fit: cover;
}

.polaroid-image-wrapper::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 60%;
    background-image: repeating-radial-gradient(circle at 0 0, rgba(0,0,0,0.05) 0px, rgba(0,0,0,0.05) 2px, transparent 2px, transparent 4px);
    pointer-events: none;
    mix-blend-mode: multiply;
}

.polaroid-link {
    display: block;
    width: 45%;
    text-decoration: none;
    cursor: pointer;
}

.polaroid-link .polaroid-block {
    width: 100%;
    margin: 0;
    transition: transform 0.3s ease, filter 0.3s ease;
}

.article-title-link {
    text-decoration: none;
    display: inline-block;
    width: 100%;
}

.info-block{
    font-family: 'Playfair Display', serif;
    text-align: left;
    font-size: 24px;
    height: 90%;
    width: 50%;
    position: relative;
}
.articleauthor{
    font-style: italic;
}
.articletitle{
    font-size: 40px;
    color: #3A3434;
    margin-bottom: 50px;
    text-transform: uppercase;
    cursor: pointer;
}
.articledesc{
    position: absolute;
    bottom: 0;
    width: 100%;
}
.gif-tarkovsky{
    width: 120%;
    height: 100%;
    position: absolute;
    object-fit: cover;
    user-select: none;
    pointer-events: none;
}
.img-tarkovsky{
    width: 100%;
    height: 100%;
    position: absolute;
    object-fit: cover;
    z-index: 1;
    opacity: 0.2;
    user-select: none;
    pointer-events: none;
}
.tarkovsky-bottomleft-img{
    width: 30%;
    z-index: 2;
    position: absolute;
    bottom: 0;
    right: 0;
    user-select: none;
    pointer-events: none;
    z-index: 1;
}
.logoimage{
    opacity: 0.1;
    width: 100%;
    position: absolute;
}
.read-full-btn{
    display: none;
}
@media (max-width: 1024px) {
    .read-full-btn{
        display: flex;
        border: 1px solid #505946;
        color: #505946;
        text-decoration: none;
        border-radius: 15px;
        font-family: 'Playfair Display', serif;
        text-transform: uppercase;
        width: 100%;
        font-size: 18px;
        height: 50px;
        margin:  20px 0px;
        align-items: center;
        justify-content: center;
    }
    .logoimage {
        width: 200%;
    }
    .hero-content h1{
        margin: 0;
        font-size: 65px;
    }
    .first-block p {
        font-size: 16px;
        text-align: left;
        line-height: 1;
    }
    .titleproj{
        font-size: 35px;
    }
    .title-wrapper2 p{
        left: 0px;
        bottom: -90px;
    }
    .title-wrapper, .title-wrapper2{
        padding-left: 10%;
        justify-content: center;
    }
    .title-wrapper{
        margin-bottom: 40px;
        margin-top: 50px;
    }
    .hero-content{
        padding: 0;
        justify-content: flex-start;
    }
    .tarkovsky-bottomleft-img{
        width: 70%;
        bottom: -50px;
    }
    .gif-block p{
        font-size: 18px;
        line-height: 1;
        padding: 0px 15px;
    }
    .close{
        display: none;
    }
    .title-gifBlock{
        padding-bottom: 50px;
    }
    .desc-and-struc{
        flex-direction: column;
        gap: 20px;
        padding: 30px 0px;
        height: auto;
    }
    .desc, .struc, .articledesc{
        width: 100%;
        padding: 30px;
        font-size: 18px;
        height: auto;
    }
    .desc-and-struc-image{
        display: none;
    }
    .article-title-linkcletitle{
        width: 100%;
    }
    .articletitle{
        font-size: 20px;
        text-align: center;
        margin-bottom: 5px;
    }
    .articleauthor{
        font-size: 16px;
        text-align: center;
        display: block;
        width: 100%;
    }
    .articleblock{
        padding: 5%;
    }
    .glavred{
        width: 100%;
        display: flex;
        height: auto;
        border-radius: 15px;
        justify-content: center;
        align-items: center;
        text-align: center;
        font-size: 18px;
    }
    .left-afticle, .right-afticle{
        flex-direction: column;
        height: auto;
        padding-top: 30px;
        padding-bottom: 10px;
    }
    .right-afticle{
        flex-direction:column-reverse;
    }
    .polaroid-link{
        width: 100%;
    }
    .polaroid-link .polaroid-block{
        width: 100%;
        padding: 20px 15px;
        height: 400px;
    }
    .info-block{
        width: 100%;
        height: auto;
        margin-top: 20px;
    }
    .articledesc{
        position: relative;
        margin: 10px 0px;
        margin-top: 20px;
    }
    .footer-article-telegram{
        width: 50px;
        height: 50px;
        margin: 15px 0px;
    }
    .logoright{
        right: 0px !important;
        position: relative;
    }
    .maintitle{
        margin-bottom: 10px;
    }
    .gif-block{
        height: 500px;
    }

}

@media screen and (max-width: 1500px) and (orientation: landscape){
    .hero-content{
        padding-left: 100px;
        padding-top: 50px;
        padding-bottom: 50px;
    }
    .titleproj{
        font-size: 70px;
    }
    .title-wrapper2 p{
        font-size: 18px;
    }
    
}
@media (max-width: 400px) {
    .tarkovsky-bottomleft-img{
        width: 70%;
    }
}