::-moz-selection {
  background: #3A3434;
  color: #ffffff;
}
@font-face {
    font-family: 'Lavka 2021';
    src: url('../fonts/Lavka 2021.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
    font-display: block;
}
::selection {
  background: #3A3434;
  color: #ffffff;
}
::-webkit-scrollbar {
    display: none;
}
html, body {
    margin: 0;
    padding: 0;
    height: 100%;
    width: 100%;
    background-color: #3A3434;
}
a {
    text-decoration: none;
    color: inherit;
}
.menu-button-fixed, .search-button-fixed{
    right: 20px !important;
    left: auto !important;
}
.container {
    display: flex;
    height: 100vh;
    margin: 0 auto;
    transition: filter 0.3s ease; 
}
.right-block,.right-block-author {
    width: 65%;
    margin-left: 35%;
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: #3A3434;
    padding: 100px;
    box-sizing: border-box;
    overflow-y: auto;
    position: absolute;
    height: 100vh;
    justify-content: flex-start;
}
.right-block{
    justify-content: center;
}
.left-block::before {
    align-self: center; 
    content: '';
    position: absolute;
    width: calc(100% - 20px);
    height: calc(100% - 20px);
    border: 1px solid #3a3434;
    pointer-events: none;
}
.left-block, .right-block {
    transition: filter 0.3s ease;
}

.left-block {
    width: 35%;
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: #E3DAD2;
    position: relative;
    height: 100vh;
    overflow-y: clip;    
    overflow-x: clip;
    justify-content: center;
}
.authors-vertical-text{
    display: flex;
    position: absolute;
    left: 30px;
    color: #3A3434;
    font-size: 18px;
    font-weight: 400;
    font-family: "Playfair Display", serif;
    text-transform: uppercase;
    flex-direction: column;
}
.all-authors{
    position: absolute;
    bottom: 25px;
    color: #3A3434;
    font-size: 18px;
    font-weight: 400;
    font-family: "Playfair Display", serif;
    text-transform: uppercase;
    flex-direction: column;
}
.all-authors:hover{
    text-decoration: underline;
    background-color: rgb(194, 188, 181);
}
.letter-button{
    cursor: pointer;
    margin-bottom: 10px;
    font-size: 22px;
}
.letter-button:hover{
    text-decoration: underline;
    background-color: rgb(194, 188, 181);
}
.block-title {
    font-size: 120px;
    font-family: 'Lavka 2021', serif;
    letter-spacing: 2px;
    margin-bottom: 0px;
    text-transform: uppercase;
    width: 100%;
    color: #E3DAD2;
    max-width: 800px;
    box-sizing: border-box;
    text-align: center;
}

.menu-buttons-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 80%;
    margin: 30px auto;
    height: 648px;
    border: 1px solid #ddd;
    box-sizing: border-box;
    overflow: hidden;
}

.menu-buttons-container .content {
    width: 100%;
    box-sizing: border-box;
    overflow-y: scroll;
    scrollbar-width: thin;
    scrollbar-color: #343434 #E3DAD2; 
    display: flex;
    flex-direction: column;
    align-items: center;
}

.menu-buttons-container .content::-webkit-scrollbar {
    width: 10px;
}
.menu-buttons-container .content::-webkit-scrollbar-button {
    display: none;
}
.menu-buttons-container .content::-webkit-scrollbar-track {
    background: #f0f0f0;
    border-radius: 5px;
}

.menu-buttons-container .content::-webkit-scrollbar-thumb {
    background: #3A3434;
    border-radius: 5px;
    border: 2px solid #f0f0f0;
}
.menu-button {
    width: 90%;
    max-width: 600px;
    max-height: 120px;
    padding: 12px;
    margin: 8px 0;
    border: 1px solid #3A3434;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s ease;
    color: #3A3434;
    font-size: 22px;
    font-weight: 600;
    font-family: "Playfair Display", serif;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    position: relative;
    right: 0;
    box-sizing: border-box;
    word-break: break-word;
    overflow-wrap: break-word; 
    white-space: normal;
}

.active {
    background-color: #c2bcb5;
    /*transform: scale(1.02);*/
    right: -10px;
}
.centered-image {
    position: relative;
    left: auto; 
    transform: none;
    max-width: 80%;
    z-index: 1;
    margin: 0 auto; 
}

.top-image {
    width: 350px;
    position: absolute;
    top: 60px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
}

.bottom-image {
    width: 350px;
    position: absolute;
    bottom: 60px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
}
.diamond {
    position: absolute;
    width: 15px;
    height: 15px;
    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; }

.author-photo {
    display: flex;
    margin-bottom: 35px;
    align-items: center;
    justify-content: center;
}

.author-photo img {
  width: 300px;
  height: 300px;
  border-radius: 50%;
  border: 3px solid #E3DAD2;
  object-fit: cover;
}

.author-name {
    font-family: 'Lavka 2021', serif;
    font-size: 75px;
    font-weight: 200;
    color: #E3DAD2;
    margin-bottom: 15px;
    text-align: center;
}

.author-buttons {
    display: flex;
    gap: 10px;
    flex-direction: column;
}

.btn {
    padding: 8px 15px;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s;
}

.btn:hover {
    background-color: #0056b3;
}
.loading {
    text-align: center;
    padding: 20px;
    color: #666;
}
.error {
    text-align: center;
    padding: 20px;
    color: #dc3545;
    background-color: #f8d7da;
    border: 1px solid #f5c6cb;
    border-radius: 5px;
    margin: 10px 0;
}
    
.articles-simple-list {
    list-style: none;
    padding: 0;
    margin: 20px 0;
}
    
.article-simple-item {
    padding: 15px 0;
    display: flex;
    justify-content: center;
    align-items: center;
}
    
.article-title-link, .no-articles {
    text-transform: uppercase;
    font-family: "Playfair Display", serif;
    color: #E3DAD2;
    text-decoration: none;
    font-weight: 500;
    font-size: 20px;
    text-align: center;
}
.author-articles{
    width: 50%;
}
.article-line:not(.article-line + .article-line){
    width: 100%;
    height: 2px;
    background-color: #E3DAD2;
}
.article-title-link:hover {
    text-decoration: underline;
}
    
.no-articles {
    text-align: center;
}
.mobilemenu-img{
    display: none;
}
.mobile{
    display: none;
}
.noarticlemobile,.articlemobile{
    font-weight: 600;
    font-family: "Playfair Display", serif;
    font-size: 18px;
    text-align: center;
    color: #3A3434;
    padding: 10px 0px;
    border-bottom: 1px solid #3A3434;
}
.noarticlemobile{
    width: 80%;
    border-top: 1px solid #3A3434;
}
.articlemobile:not(.articlemobile + .articlemobile){
    border-top: 1px solid #3A3434;
}
.articlemobile{
    width: 80%;
}
.back-btn{
    display: none;
}
@media screen and (max-width: 1900px) and (orientation: landscape){
    .menu-buttons-container{
        margin: 80px auto;
    }
    .block-title{
        font-size: 80px;
    }
}
@media screen and (max-width: 1400px) and (orientation: landscape){
    .menu-button{
        font-size: 16px;
    }
    .menu-buttons-container{
        margin: 90px auto;
    }
    .centered-image{
        width: 250px;
    }
    .diamond{
        width: 10px;
        height: 10px;
    }
    .letter-button{
        font-size: 18px;
    }
    .authors-vertical-text{
        left: 25px;
    }
    .author-photo img{
        width: 250px;
        height: 250px;
    }
    .author-name{
        font-size: 50px;
    }
    .author-articles{
        width: 70%;
    }
    .article-title-link, .no-articles{
        font-size: 16px;
    }
    .top-image{
        top: 40px;
    }
    .right-block-author{
        padding: 50px;
    }
}
@media screen and (min-width: 1024px) and (orientation: portrait){
    .menu-button-fixed{
        left: 20px !important;
    }
    .mobilemenu{
        display: block;
        width: 100%;
        height: 130px;
        background-color: #3A3434;
        display: flex;
        justify-content: center;
    }
    .mobilemenu-img{
        width: 50%;
        display: block;
    }
    .container{
        flex-direction: column;
        align-items: center;
        justify-content: space-between;
        height: calc(100% - 130px);
    }
    .right-block{
        align-items: center;
        display: flex;
        justify-content: center;
    }
    .right-block, .right-block-author{
        width: 100%;
        height: 25%;
        padding: 0px;
        margin-left: 0;
        align-items: center;
        overflow: hidden;
        position: relative;
        justify-content: center;
    }
    .left-block {
        width: 100%;
        height: 75%;
        margin-left: 0%;
    }
    .diamond{
        width: 15px;
        height: 15px;
    }
    .top-image, .bottom-image{
        width: 500px;
    }
    .top-image{
        top: 50px;
    }
    .bottom-image{
        bottom: 50px;
    }
    .menu-buttons-container{
        margin: 50px auto;
        height: 1000px;
    }
    .menu-button{
        width: 100%;
        font-size: 2.5rem;
        border: 3px solid #3A3434;
        margin: 15px 0;
    }
    .author-photo img{
        width: 300px;
        height: 300px;
        border: 3px solid #E3DAD2;
    }
    .author-name{
        font-size: 5rem;
    }
    .author-articles{
        display: none;
    }
    .block-title{
        font-size: 7rem;
    }
}
@media (max-width: 1024px) {
    .authors-vertical-text, .all-authors{
        display: none;
    }
    .back-btn{
        display: block;
        position: absolute;
        top: 10px;
        left: 20px;
        width: 50px;
        height: 50px;
        z-index: 100;
        outline: 2px solid #E3DAD2;
        border-radius: 5px;
    }
    .back-btn-image{
        display: block;
        width: 40px;
        margin: 0 auto;
        height: 100%; 
    }
    .back-btn-link{
        display: block;
        width: 100%;
        height: 100%;
        position: absolute;
        top: 0;
    }
    .menu-button-fixed{
        left: 20px !important;
    }
    .mobilemenu{
        display: block;
        width: 100%;
        height: 80px;
        background-color: #3A3434;
        display: flex;
        justify-content: center;
    }
    .mobilemenu-img{
        width: 50%;
        display: block;
    }
    .container{
        flex-direction: column;
        align-items: center;
        justify-content: space-between;
        height: calc(100% - 80px);
    }
    .right-block{
        align-items: center;
        display: flex;
        justify-content: center;
    }
    .right-block, .right-block-author{
        width: 100%;
        height: 35%;
        padding: 0px;
        margin-left: 0;
        align-items: center;
        overflow: hidden;
        position: relative;
        justify-content: center;
    }
    .left-block {
        width: 100%;
        height: 65%;
        margin-left: 0%;
    }
    .diamond{
        width: 5px;
        height: 5px;
    }
    .top-image, .bottom-image{
        width: 200px;
    }
    .top-image{
        top: 30px;
    }
    .bottom-image{
        bottom: 30px;
    }
    .menu-buttons-container{
        margin: 50px auto;
    }
    .menu-button{
        width: 70%;
        font-size: 16px;
    }
    .author-photo img{
        width: 180px;
        height: 180px;
        border: 2px solid #E3DAD2;
    }
    .author-name{
        font-size: 35px;
    }
    .author-articles{
        display: none;
    }
    .block-title{
        font-size: 50px;
    }
    .menu-button-fixed{
        z-index: 1000;
        background-color: transparent;
        position: absolute !important;
        top: 15px !important;
        height: 50px;
        width: 50px;
    }
    .search-button-fixed{
        background-color: transparent;
        position: absolute !important;
        z-index: 1000;
        height: 50px;
        width: 50px;
        top: 15px !important;
        right: 20px !important;
        left: auto !important;
    }
}
@media (max-width: 768px) {
    
}

@media (max-width: 576px) {
}

@media (max-width: 480px) {
    .block-title{
        font-size: 35px;
    }
    .menu-buttons-container{
        margin: 70px auto;
    }
    .author-photo img{
        width: 120px;
        height: 120px;
    }
    .author-photo{
        margin-bottom: 10px;
    }
}