@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Oswald:wght@200&display=swap');

/* ПАЛИТРА
#DABEB8 нежно-розовый RGB (218, 190, 184)
#8E917E травяной RGB (142, 145, 126)
#895961 винный RGB(137, 89, 97)
#f2f1ef топленое молоко RGB(242, 241, 239)

*/

html {
    scroll-behavior: smooth;
    height:100%;
}

/* ЦВЕТ, ОТСТУПЫ, ФОН, ШИРИНА */
body { 
    /* width: 1100px; */
    /* min-height: 100%; */
    margin: auto;
    background-color: #dbd8d3;
}

html{
    background-color: #dbd8d3;
}


/* ОБЩЕЕ */


/* ХЭДЕР ВСЕХ СТРАНИЦ В base.html */

.header {
        /* background-image:  url('../../static/photo/027.jpg') ;
        background-repeat: no-repeat; */
        display: flex;
        flex-direction: column;
        width: 100%;
        background: white;
        /* margin: 0 0 50px 0; */
}
.header_name {
    font-family: 'Oswald', sans-serif;
    color:#895961;
    opacity: 0.6;
    font-size: 42px;
    margin-bottom: 40px;
    text-align: center;
    /* align-content: right; */
    /* font-size: 38px;
    margin-top:55px; */
}
.header__name-image {
    object-fit: contain;
    min-width: 550px;
    margin: 34px;
    margin-left: 60px;
}

.header__nav {
    display: flex;
    flex-direction: row;
    width: 100%;
    justify-content: center;
}

.header__nav-list {
    list-style: none;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    padding: 0;
    margin: 16px 0;
    width: 75%;
}

.header__nav-list-item {
    position: relative;
}

.btn{
    font-family: 'Oswald', sans-serif;
    font-weight: 500;
    font-size: 38px;
    color:#8E917E;
    background-color: #dbd8d3;
    border-color:none;
    border-style: none;
    position: relative;

}

.btn:before { 
    content:''; /* Обязательное свойство псевдоэлемента :before */
    position: absolute; /* Позиционируем абсолютно */
    top: 0px; /* Позиция по границам блока */
    /*left: -30px;*/
    left: 0px;
    width: 100%; /* Ширина по границам кнопки */
    height: 0px; /* Высота 0, поэтому невиден */
    background: rgba(148,144,143,0.4); /* Фоновый цвет наплывания */
    opacity: 0.2;
    color:#DABEB8;
    border-style: none;
    text-decoration: none;
    border-radius: 5px; /* Радиус уголков */
    transition: all 0.5s ease-out; /* Анимация. Движение. Трансформируются все свойства (all) в течении 0.5 секунды, быстро начинается и к концу замедляется (ease-out) */

}

.btn:hover:before /*кнопка еще без наплывания*/{ 
    height: 70px; 
    border-style: none;
    text-decoration: none;
}


.btn:focus /*кнопка при наведении*/{
outline: none;
box-shadow: none;
}

/* НАВИГАЦИОННАЯ ПАНЕЛЬ СБОКУ */

.main__nav

.main__nav-list_content{
    list-style: none;
    padding: 0;
    margin: 0;
}

.main__nav-link_content {
    font-family: 'Oswald', sans-serif;
    color:#895961; 
    font-size: 17px;
}
.main {
    min-height: 370px;
    display: flex;
    flex-direction: row;
    /* margin: 20px; */
    justify-content: space-between;

}

.main__nav-list {
    list-style: none;
    /* padding: 0; */
    margin-left: 40px;
    position: fixed;

}

.main__nav-link {
    font-family: 'Oswald', sans-serif;
    color:#895961; 
    font-size: 36px;
    border-color: #8E917E;
    border-bottom-style: dashed;

}

.main__nav-link:hover {
    color: #6b434a;
}
/*вверх */
#up{
    
    color: white;
    border-style: none;
    font-size: 60px;
    text-align: center;
    opacity:0.6; 
    position:fixed;

}
#up_content{
    
    color: white;
    border-style: none;
    font-size: 60px;
    text-align: center;
    opacity:0.6; 
    /* position:fixed; */
    /* margin-top: 620px; */

}



/* ссылки не подчеркиваются */
a{
    text-decoration: none !important;
}
/* ссылки зеленые */
.links{
    text-decoration: none !important;
    color: #8E917E;
    font-weight: 500;
}

/* специально выделенные места <code> */
.code{
    color: #895961;
    background:  rgba(218, 190, 184, 0.6);
    font-family: 'Oswald', sans-serif;
    font-weight: 700;
    font-size:100%;
}

/*Остальные кнопки*/
.other_buttons{
    font-family: 'Oswald', sans-serif;
    font-size: 24px;
    border-color:#DABEB8;
    color: #895961;
    font-size: 110%;
    border-style:ridge;
    text-decoration: none !important;
}
/* для подписей */
.signature{
    font-family: 'Oswald', sans-serif;
    font-size:100%;
    color: #895961;
    text-align: right;
    margin-right: 8%;
}

/* ПОИСК СБОКУ В НАВИГАЦИОННОЙ ПАНЕЛИ НА titles.html */
.search-box{
    margin-bottom: 30px;
    
}

.search-input {
    color:#895961; 
    font-size: 18px;
    border: none;
    background: none;
    /* padding: 0; */
    /* margin: 16px 0 0; */
}

.search-input:focus {
    border: #895961;
}

.for_search {
    text-decoration: none !important;
    font-family: 'Oswald', sans-serif;
    font-size: 18px;
    width: 80%;
    margin-left: 25px;
    color: #895961 !important;
}

::placeholder {
	
  color:#895961;
  font-size: 110%;
  padding-right: 200px;
  outline: none !important; 
}

#inlineFormInputGroupUsername5{
  background-color:#f2f1ef ;
  border-style: ridge ;
}

#inlineFormInputName2 {
    color:#895961;
    background-color:#f2f1ef; 
    border-color: #895961;
    border-style: ridge ;
}

/* #process_input{
    margin-top: 15px;

} */

.search_result{
    margin-top: 30px;
}


.bibliography{
    margin-bottom: 0px; 
    font-size: 14px;
    color:#895961;
    opacity: 0.6;
    margin-left:25px;
}

/* ТЕКСТ О ПРОЕКТЕ В index.html */
.main__content {
    display: flex;
    flex-direction: column;
    width: 70%;
    /* margin-right: 5%; */
    background: #f2f1ef;
}

.main__title {
    font-family: 'Oswald', sans-serif;
    font-weight: 300;
    font-size: 36px;
    color: #DABEB8;
    width: 100%;
    margin-left: 25px;
    margin-top: 50px;
}

.main__text {
    font-family: 'Oswald', sans-serif;
    color: #895961;
    font-size: 18px;
    font-weight: 300;
    text-align:justify;
    width: 90%;
    margin-left: 25px;
}

.main__team {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(2, 1fr);
    gap: 16px;
    margin: 32px 0;
    justify-items: center;
    width: 70%;
}

.main__team-item {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.main__team-picture {
    max-width: 200px;
    margin: 0 0 20px 0;
}

.main__team-name/*Команда: имена*/{
  font-family: 'Oswald', sans-serif;  
  color:#8E917E;
  margin-top: 10px;
}


/* СТРАНИЦА СО СТИХОТВОРЕНИЕМ */

.move_over_poems {
    display: flex;
    flex-direction: column;
    width: 70%;
    background: #f2f1ef;
}

.movement{
    display: flex;
    list-style: none;
    justify-content: space-between;
    padding: 0;
    width: 70%;
    margin-bottom:30px;
    margin-left:25px;
}

#back, #forward{
    padding-right: 30px;
    margin-top: 16px;
    border-style:none !important;
    background: #f2f1ef;
}



.head{
    font-family: 'Oswald', sans-serif;
    color: #895961; 
    font-size: 23px; 
    font-weight: bold;
    padding-bottom: 30px;
    margin-left:25px;
}

.dedication{
    padding-left:170px;
    font-size: 100%;
    font-family: 'Oswald', sans-serif;
    color: #8E917E ;  
    font-style: italic;
}

.epigraph{
    padding-left:170px;
    font-size: 100%;
    font-family: 'Oswald', sans-serif;
    color: #8E917E ; 
    font-style: italic;
}

.text {
   color: #3F3031; 
   font-family: 'Oswald', sans-serif;
   font-size:18px;
   margin-left:25px;
}

.meta {
   color:#8E917E; 
   font-family: 'Oswald', sans-serif;
   font-size: 110%;
   /* margin-left:25px; */
}

.download_icon {
    color: #895961; 
     font-size: 130%; 
     font-weight: bold;
     text-decoration: none !important;
     padding-top: -200px;
     margin-left:25px;
}

.download_icon:hover {
    outline: none;
    color: #895961;
    text-decoration: none;
}

.download{
    margin-top: 30px;
}

.comparison{
    font-family: 'Oswald', sans-serif;
    font-size: 100%;
    color: #DABEB8;
    padding-top: 0px;
    margin-left: 8px;
    border-style: none;
    text-decoration: none;
    position: relative;
}




/* НАЗВАНИЯ СТИХОТВОРЕНИЙ, КНОПКИ В titles.html */

.titles__periods {
    display: flex;
    list-style: none;
    justify-content: space-between;
    padding: 0;
    width: 80%;
    margin-left: 25px;
}




.titles__poems {
    display: flex;
    flex-direction: column;
    margin: 0;
}

.titles__poem {
    text-decoration: none !important;
    font-family: 'Oswald', sans-serif;
    font-size: 22px;
    color: #3F3031 !important;
    font-weight: 300;
    opacity: 0.5;
    margin-left: 25px;
}

/* .poems{
    text-decoration: none !important;
    font-family: "Montserrat", sans-serif; 
    font-size: 110%; 
    color:#3F3031 !important;
    font-weight: 300;
    opacity: 0.7;
    margin-bottom:10px;
} */


#time_period{
    font-family: 'Oswald', sans-serif;
    opacity:0.9;
    color: #DABEB8;
    margin-bottom: 30px;
    font-size: 42px;
}
.year{
    color: #895961; 
    opacity:0.9;
    font-size: 32px;
    margin-top: 30px;
    margin-left: 25px;
    /* padding-top: 32px; */
    /* padding-bottom: 32px; */
    font-family: 'Oswald', sans-serif; 
    font-weight: 500px;
}

/* .block_of_poems{
    margin-bottom: 30px;
} */



p.head{
    width:100%;
    color: #3F3031;
    opacity: 0.5;
}


/* СРАВНЕНИЕ ТЕКСТОВ НА comparison.html */
/*Тексты для сравнения*/

#compare_btn {
    font-size: 140% !important;
}

.highlight_new
 {background: rgba(142, 145, 126, 0.5);}

.highlight_old {background-color: #DABEB8;}
	
.two_poems_to_compare {
    display: flex;
    width: 70%;
    margin-right: 40px;
    margin-top: 50px;
    background: #f2f1ef;
}

.section_1
{
        width: 50%;
        padding-bottom: 50px;

    }


.section_2
{
        width: 50%;
        padding-bottom: 50px;
    }

.select {
        margin-bottom: 50px;
        font-family: 'Oswald', sans-serif;
        position: relative;
        display: block;
        height: 40px;
        width: 95%;  
        border-color: #DABEB8;
        color: #DABEB8;
        font-size: 20px;
}
.dropdown:focus
{
outline: none;
box-shadow: none;}

.dropdown-menu {
        margin-bottom: 50px;
        font-family: 'Oswald', sans-serif;
        position: relative;
        display: block;
        height: 40px;
        width: 500px;  
        border-color: #DABEB8;
        color: #DABEB8;
        font-size: 20px;
}
.dropdown:focus
{
outline: none;
box-shadow: none;}

option.select{
    width:400px;
    color:#f2f1ef;
}

.col{
    padding-left: 0px;
}
/* БИБЛИОТЕКА*/

.books {
    padding: 0px 0 0 0;
    margin: auto;
    width: 250px;
    height: 380px;
    margin-top: 15px;
    margin-bottom: 15px;
    margin-right: 10px;
    margin-left: 10px;
    opacity: 0.8;
    position: relative;
}

.books:hover {
    opacity: 1.0;
}

.box-element__library{
    padding: 25px;
    background: #f2f1ef;
    color:#8E917E;
}

.box-element__library .box-element__text {
    padding-top: 20px;
    display: flex;
    flex-direction: column;
}

.content-wrapper {
    grid-template-columns: repeat(4, 0.3fr);
}
.main-wrap {
    display: flex;
    flex-direction: column;
    min-height: 55vh;
    padding: 35px;
}

.main-wrap .content-wrapper {
    display: grid;
    grid-template-columns: repeat(4, 0.3fr);
    grid-gap: 20px;
}

.collection__title{
    font-family: 'Oswald', sans-serif;
    font-weight: 300;
    font-size: 36px;
    color: #895961;
    width: 100%;
    /* margin-left: 25px;
    margin-top: 50px; */

}
.collection__author{
    font-family: 'Oswald', sans-serif;
    font-weight: 300;
    font-size: 36px;
    color: #DABEB8;
    width: 100%;
    /* margin-left: 25px;
    margin-top: 50px; */

}

.collection_bibliography{
    margin-bottom: 0px; 
    font-size: 14px;
    color:#895961;
    opacity: 0.6;
    font-family: SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace;
    /* margin-left:25px; */
}

/* СБОРНИКИ*/

.edition_name{
    font-family: 'Oswald', sans-serif;
    color:#895961;
    font-size: 32px;
    font-weight:700;
    /* position:fixed; */
    margin-top:10px;
    margin-left:30px;

}

.img_books{
    width:247px;
}

.collection_contents {
    font-family: 'Oswald', sans-serif;
    font-size: 16px;
    margin-top: 30px !important;
    margin-bottom: 80px !important;
    padding: 10px !important;
    /* font-size: 20%; */
    /* width: 28%; */
    margin-left: 30px;
    /* height: 500px; */
    /* background: #f2f1ef; */
    /* border-style: ridge; */
    /* border-color: #DABEB8; */
    /* overflow: auto;
    position: fixed; */
}

.chosen_text_of_edition{
    background:#895961; 
    color: #f2f1ef;
    font-size: 24px;
}

.text_of_edition{ 
    color: #895961; 
    font-size: 24px;
    text-decoration: none !important;
}


/*МАТЕРИАЛЫ*/
/* фото*/

.photo_container{
     display: flex;
    flex-direction: column;
    width: 73%;
}

.compensate-for-scrollbar {/* чтобы не съезжал контейнер при открытии картинки */
    margin-right: auto !important;
}
.img-responsive{
    width:180px;
    /* margin-top: 10px;
    margin-bottom: 15px;
    margin-right: 10px;
    margin-left: 10px; */
}


.thumb img {
   -webkit-filter: grayscale(0);
    filter: none;
    border-radius: 0px;
    background-color: #f2f1ef;
    padding: 5px;
}

.thumb img:hover {
    -webkit-filter: grayscale(1);
    filter: grayscale(1);       
}

.thumb {
     padding: 5px;
}

.fancybox-container {
  padding: 20px 30px 50px 100px;
}

/* ДЛЯ НЕЗАПОЛНЕННЫХ СТРАНИЦ*/

.other_text /* ПОКА ЗДЕСЬ ПУСТО */{
    font-family: 'Oswald', sans-serif;
    font-weight: 900;
    font-size: 350%;
    color:#8E917E;
    margin-bottom: 30px;
    opacity: 0.7;
}

.other{
    /* margin-bottom: -20px; */
    margin-left: -5px;
    opacity:0.5;  
}

/* FOOTER */

.footer{      
    clear: both;
    background-color: #dbd8d3;
    font-family: 'Oswald', sans-serif;
    color: #f2f1ef;
    font-weight: 700;
    text-align: center;
}
