body {
    padding: 0;
    margin: 0;
    color: #243238;
    font-size: 16px;
    line-height: 1.5;
    font-family: 'Open Sans', sans-serif;
    position: relative;
}
a{
    text-decoration:none;
    color:#243238;
}
ul{
    margin:0;
    padding:0;
    list-style:none;
}
h1,h2,h3,h4,h5,h6{
    margin:0;
}
*, ::after, ::before {
    box-sizing: border-box;
}
input{
    outline:none;
    border:none;
}
button{
    border:none;
    background-color:transparent;
    cursor:pointer;
    padding: 0;
}

.header{
    background-color:#ffffff;
    padding:15px 0;
    -webkit-box-shadow: 0px -5px 5px -5px rgba(254, 151, 0, 0.6) inset;
    -moz-box-shadow: 0px -5px 5px -5px rgba(254, 151, 0, 0.6) inset;
    box-shadow: 0px -5px 5px -5px rgba(254, 151, 0, 0.6) inset;
    position:relative;/* +++ */
}
.container {
    max-width: 1536px;
    margin: 0 auto;
    padding: 0 15px;
    width: 100%;
}
.body-content{
     display: flex;
    flex-direction: column;
    min-height: 100vh;
}
.footer {
    margin-top: auto;
}
img{
    object-fit: cover;
    width:100%;
    height:auto;
    border-radius:5px;
}
.logo {
    border-radius: 10px;
    padding: 0px;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.wrapper-logo-img {
    display: flex;
    width: 100%;
    align-items: center;
    justify-content: center;
}
.logo img {
    width: 80px;
    height: 60px;
}
.header-content-top {
    display: grid;
    grid-template-columns: 275px 1fr 175px;
    align-items: center;
}
.logo-name{
    font-size: 41px;
    font-weight: bold;
    color:#FE9700;
}
.center-block-header{
    display:flex;
    align-items:center;
}
.search-form {
    display: flex;
    width:90%;
    justify-content: center;
}
.search-form input{
    border:1px solid #FE9700;
    border-radius:5px;
    border-top-right-radius:0px;
    border-bottom-right-radius:0px;
    line-height:21px;
    font-size:21px;
    padding:10px 5px;
    width:74%;
}
.btn-search {
    background-color: #333333;
    color: #ffffff;
    line-height: 21px;
    font-size: 21px;
    padding: 10px 13px;
    border-radius: 5px;
    border-top-left-radius:0px;
    border-bottom-left-radius:0px;
    cursor:pointer;
}
.btn-search i{
    margin-right: 8px;
}
.kategories{
    line-height: 21px;
    font-size: 21px;
    border-radius: 5px;
    padding: 10px 8px;
    border:1px solid #FE9700;
    background-color:#ffffff;
    color:#FE9700;
    display:flex;
    align-items:center;
    cursor:pointer;
}
.kategories i{
    padding-left:7px;
}
.log-reg{
    display:flex;
    align-items:center;
    justify-content:center;
}
.log-in,.registration{
    display: flex;
    flex-direction: column;
    align-items:center;
    cursor:pointer;
}
.log-in{
    margin:0 15px;
}
.log-in:hover,.registration:hover,.item-nav-bottom:hover,.title-book a:hover,.author-book a:hover,
.item-ganr-tag a:hover,.item-info-book a:hover,.item-breadcrumb a:hover,.count-rev a:hover,
.title-book-author:hover,.close-window:hover,.item-genre a:hover,.item-pod-category a:hover,.title-podcategory-book:hover,.author-podcategory-book:hover,
.title-pod-category:hover,.btn-prev:hover,.btn-next:hover,.close-log-reg:hover,.item-series a:hover,.title-book-series:hover{
    color:#FE9700;
    transition:0.5s ease-in-out;
}
.readmy a:hover{
    color:#ffffff;
    background-color:#333333;
    transition:0.5s ease-in-out;
}
.log-in i,.registration i{
    font-size: 21px;
}
.log-in span,.registration span{
    font-size:15px;
}
.bottom-nav-header{
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    margin-top: 15px;
}
.item-nav-bottom{
    display:flex;
    align-items: center;
    justify-content:center;
    cursor:pointer;
}
.item-nav-bottom i{
    padding-left:10px;
}
.body-content{
    margin-top:20px;
}
.title-section-body h2{
    font-size: 21px;
}
.title-section-body h2 i{
    padding-right: 15px;
}
.content-section-body{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    grid-template-rows:repeat(5,0.5fr);
    grid-column-gap:12px;
    grid-row-gap:35px;
    margin-top:20px;
    grid-auto-rows: 0.5fr;
}
.new-book{
    grid-template-rows: repeat(3, 0.5fr);
    margin-top:20px;
}

.item-content-section-body {
    display: flex;
    width: 100%;
    gap: 20px;
}
.book-img{
    display:flex;
    justify-content: center;
}
.book-img a img {
    width: 150px;
    height: 236px;
}
.info-book{
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.short-text{
    margin-top: 20px;
    max-width: 300px;
    width:100%;
    overflow: hidden;
   display: -webkit-box;
   -webkit-line-clamp: 4;
   line-clamp: 4;
   -webkit-box-orient: vertical;
}
.readmy a{
    background-color:#FE9700;
    color:#ffffff;
    padding: 10px 8px;
    font-size:18px;
    line-height:18px;
    border-radius:5px;
}
.author-book{
    margin-top: 7px;
}
.readmy{
    display: flex;
    margin-top:15px;
}
.header-section-body{
    margin:20px 0;
}
.footer{
    background-color: #fe970036;
    margin-top:auto;
    padding:15px 0;
}
.footer-container{
    display:flex;
    width:100%;
    justify-content:space-between;
}
.contact a{
    display:flex;
    align-items:center;
}
.contact a h5{
    padding-right:15px;
}
.breadcrumbs{
     padding:10px 0;
}
.list-breadcrumb{
    display:flex;
    align-items:center;
    flex-wrap: wrap;
    font-size:15px;
    gap: 7px;
}
.item-breadcrumb span{
    margin:0 7px;
}
.info-book-page {
    display: grid;
    grid-template-columns: 0.5fr 1fr;
    grid-column-gap: 18px;
    margin-top: 20px;
}
.left-col{
    display:flex;
    flex-direction:column;
    align-items:flex-end;
}
.img-book{
    max-width: 300px;
    height: auto;
    width: 100%;
}
.title-book{
    margin-bottom: 10px;
}
.item-info-book {
    display: grid;
    margin-bottom: 9px;
    grid-template-columns: 0.2fr 1fr;
}
.title-info{
    font-weight:600;
}
.list-ganr-tag{
    display:flex;
    flex-wrap:wrap;
}
.item-ganr-tag a{
    margin-right:10px;
}
.title-book h3{
    font-size: 18px;
    line-height: 23px;
}
.about-book{
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 8;
    line-clamp: 8;
    -webkit-box-orient: vertical;
}
.block-rev {
    display: flex;
    align-items: center;
    /*justify-content: space-between;*/
    justify-content: flex-end;
}
.block-count-av{
    display: flex;
    flex-direction: column;
    align-items: center;
    border-right: 1px solid #FE9700;
    padding-right: 10px;
}
.wrap-count-av{
    font-size:20px;
}
.wrap-count-av span i{
   color:#FE9700;
}
.middle-av{
    font-weight:600;
}
.count-av,.count-rev a{
    font-weight:600;
    font-size:15px;
    line-height:15px;
}
.count-rev{
    padding-left: 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.count-rev span{
   font-size:20px;
   font-weight: 600;
}
.block-button{
    margin-left:25px;
}
.btn-read,.btn-download{
    min-width:150px;
    padding:8px 16px;
    font-size:16px;
    line-height:16px;
    border-radius:5px;
    font-weight:600;
}
.btn-read{
    background-color:#FE9700;
    color:#ffffff;
}
.btn-download{
    background-color:#FFC061;
}
.list-other-book-author {
    display: grid;
    grid-template-columns: repeat(5, 0.5fr);
    grid-template-rows: 0.5fr;
    grid-auto-rows: 0.5fr;
    grid-gap: 15px;
    margin-bottom: 25px;
}
.item-other-book a{
    display:flex;
    flex-direction:column;
    align-items:center;
}
.item-other-book a img{
    width: 200px;
    min-height: 335px;
    height:335px;
}
.container-book{
    max-width: 1075px;
    margin: 0 auto;
}
.other-books-author{
    margin: 25px 0;
}
.title-other-book-author,.title-other-book-genre{
    margin-bottom:15px;
}
.title-book-author{
    font-size:16px;
    line-height:16px;
    font-weight:600;
    margin-top:13px;
}
.title-other-book-author,.title-other-book-genre{
    display: flex;
    align-items: center;
    width: 100%;
    justify-content: flex-start;
}
.content-about-author {
    display: grid;
    grid-template-columns: 0.1fr 1fr;
    margin-top: 25px;
    grid-column-gap: 15px;
}
.wrapper-ava,.avatar-comment{
    display:flex;
    flex-direction:column;
    align-items:center;
}
.wrapper-ava img{
    width: 150px;
    height: 150px;
    border-radius: 50%;
}
.new-book-author{
    display:flex;
    width:100%;
    align-items:center;
    justify-content:flex-start;
    margin-top:15px;
}
.new-book-btn{
    border:1px solid #FE9700;
    color:#FE9700;
    border-radius:5px;
    padding:10px 20px;
    min-width:170px;
    font-size:15px;
    line-height:15px;
    font-weight:600;
}
.new-book-btn:hover{
    background-color:#FE9700;
    color:#ffffff;
    transition:0.5s ease-in-out;
}
.all-books-author{
    margin-top:25px;
}
.window-category,.window-category-one{
    /*display:none;*/
    background-color:#ffffff;
    position:absolute;
    width:100%;
    top:95px;/* +++ */
    z-index:2;
    webkit-box-shadow: 0px -5px 5px -5px rgba(254, 151, 0, 0.6) inset;
    -moz-box-shadow: 0px -5px 5px -5px rgba(254, 151, 0, 0.6) inset;
    box-shadow: 0px -5px 5px -5px rgba(254, 151, 0, 0.6) inset;
}
.wrapper-category{
    display:grid;
    grid-template-columns:repeat(5,1fr);
    grid-template-rows:1fr;
    grid-auto-rows: 1fr;
    grid-gap:15px;
    margin:25px 0;
    position:relative;
}
.close-window {
    position: absolute;
    right: 5%;
    top: -5px;
    font-size: 21px;
    cursor: pointer;
}
.btn-all-genre button{
    color:#FE9700;
    font-size:15px;
    line-height:15px;
}
.btn-all-genre button:hover{
    text-decoration:underline;
    transition:1s;
}
.wrapper-one-category {
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: 0.1fr 1fr;
    grid-row-gap: 10px;
    margin-left: 79px;
    padding-left: 30px;
}
.header-one-category{
    display:flex;
    align-items:center;
}
.title-one-category {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-top:11px;
}
.btn-prev-category {
    position: absolute;
    left: 40px;
    top: 14px;/* +++ */
    font-size: 21px;
    border-radius: 5px;
    background-color: #fe97004a;
    min-width: 40px;
    padding: 8px 16px;
}
.all-book-genre{
    color:#FE9700;
}
.body-one-category{
    margin:15px 0;
}
.list-pod-category{
    display:flex;
    flex-direction:column;
    gap:10px;
}
.footer-category-window{
    background-color:#fe97004a;
    padding:10px 0;
    display:flex;
    width:100%;
    justify-content:center;
    align-items:center;
}
.footer-category-window a{
    font-weight:600;
}
.footer-category-window a i{
    padding-left:7px;
}
.list-book-podcategory{
    display: grid;
    grid-template-columns: repeat(6, 0.5fr);
    grid-template-rows:0.5fr;
    grid-auto-rows:0.5fr;
    gap: 10px;
}
.link-book-podcategory{
    display:flex;
    flex-direction:column;
}
.link-book-podcategory img{
    /*width:210px;
    min-height:275px;
    height: 275px;*/
    width: 200px;
    min-height: 335px;
    height: 335px;
}
.title-podcategory-book {
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    text-align: center;
    font-weight: 600;
    padding: 0px 15px;
}
.img-wrapper{
    display:flex;
    flex-direction:column;
    align-items:center;
    padding:10px;
    padding-bottom:5px;
}
.rating-podcategory-book{
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding-right: 15px;
}
.rat{
    padding-right:8px;
}
.rating-podcategory-book{
    font-size:12px;
    font-weight:600;
}
.rating-podcategory-book i{
    color:#FE9700;
}
.wrapper-rating-author {
    min-height: 50px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.author-podcategory-book{
    padding-left:17px;
}
.title-pod-category{
    display: flex;
    align-items: center;
    margin: 25px 0;
}
.icon-up-pod-category{
    font-size: 21px;
    margin-right: 10px;
}
.pagination{
    display:flex;
    width:100%;
    justify-content:center;
    margin-top:15px;
}
.show-more{
    background-color:#fe97004a;
    padding:10px 0;
    display:flex;
    width:100%;
    justify-content:center;
    align-items:center;
    border-radius:5px;
    margin-top:25px;
    font-size:18px;
    font-weight:600;
    color: #243238;
}
.list-pagination{
    display:flex;
}
.btn-prev,.btn-next{
    font-size:18px;
    color: #243238;
}
.btn-prev i{
    padding-right:15px;
}
.btn-next i{
     padding-left:15px;
}
.list-pagination{
    margin:0 15px;
}
.item-pagination{
    padding:0 7px;
}
.item-pagination .active{
    background-color: #fe97004a;
    border-radius:5px;
    padding:5px 10px;
    font-weight:600;
}
.comment-block{
    margin:25px 0;
}
.header-block-comment{
    display:flex;
    width:100%;
    justify-content:space-between;
    align-items:center;
    margin-bottom: 15px;
}
.add-com{
    font-size:18px;
    font-weight:600;
    color:#FE9700;
}
.add-com i,.count-rewiev{
    padding-left:10px;
}
.list-comment,.item-comment{
    display:flex;
    flex-direction:column;
    width:100%;
}
.item-comment{
    margin-bottom:12px;
}
.header-comment{
    display:flex;
    align-items:center;
    gap:10px;
    margin-bottom:15px;
}
.avatar-comment img{
    width: 40px;
    height: 40px;
    border-radius: 50%
}
.footer-comment{
    display:flex;
    width:100%;
    justify-content: flex-end;
}
.btn-complaint{
    font-size:12px;
    border:1px solid #F50000;
    border-radius:5px;
    padding:5px 10px;
}
.btn-complaint i{
    color:#F50000;
}
.content-section-last-new{
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows:0.5fr;
    grid-gap: 12px;
    margin-top: 20px;
    grid-auto-rows: 0.5fr;
}
.item-last-new{
    display: flex;
    width: 100%;
    gap: 20px;
}
.window-registration-log-in{
   display: none;
    width: 100vw;
    height: 100vh;
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    overflow-x: hidden;
    overflow-y: auto;
    background-color: #fe97004a;
    z-index: 3;
    /*visibility: hidden;
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow-x: hidden;
    overflow-y: auto;
     background-color: #fe97004a;
    z-index:3;*/
}
.wrapper-window{
    /*width:500px;
    height:auto;
    background-color: #ffffff;
    padding:10px;
    position:relative;
    border-radius:5px;*/
    width: 500px;
    height: auto;
    background-color: #ffffff;
    padding: 10px;
    border-radius: 5px;
    position: absolute;
    top: 25%;
    left: 36%;
}
.header-registration-log-in{
    display:flex;
    flex-direction:column;
    align-items:center;
    width:1005;
    justify-content:center;
    margin-top:15px;
}
.close-log-reg{
    position:absolute;
    right:10px;
    top:10px;
    font-size:18px;
    color:#243238;
}
.text-error{
    color:#F50000;
    padding-top:10px;
}
.read-book{
    display:flex;
    flex-direction:column;
    gap:15px;
    margin-top:25px;
}
.name-book,.header-genre {
    display: flex;
    background-color: #fe970033;
    margin-top: -20px;
}
.wrapper-name {
    display: flex;
    /*width: 100dvw; */
    justify-content: flex-start;
    padding:15px 0
}
.name-book span,.gnr span{
    font-size:21px;
    line-height:21px;
}
.gnr span{
    font-weight:700;
}
.read-book{
    display:flex;
    flex-direction:column;
    align-items:center;
    width: 100%;
}
.wrapper-book {
    display: flex;
    width: 415px;
    justify-content: center;
}
.wrapper-book img{
    width:65%;
    height:auto;
}
/*.block-genre{
    display:grid;
    grid-template-columns:repeat(4, 1fr);
    grid-gap:20px;
    width: auto;
    margin:25px 0;
}*/
/*.list-pod-genre{
    display:flex;
    flex-direction:column;
    gap:10px;
}*/
.block-genre {
    display: grid;
    grid-template-columns: 1fr;
    grid-gap: 20px;
    width: auto;
    /* justify-items: center; */
    margin: 25px 0;
}
.list-pod-genre {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 10px;
}
.name-genre{
    padding-bottom:15px;
}
.gnr{
    display: flex;
    width: 100%;
    justify-content: flex-start;
    padding: 15px 0;
}
.page-series,.page-item-series{
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    padding:25px 0 0 25px;
}
.list-series{
    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:10px;
}
.item-series{
    padding:10px;
}
.item-series a{
    display:flex;
    gap:10px;
    align-items: center;
    font-size:18px;
}
.item-series a i{
    color:#fe9700;
    padding: 0 5px;
}
.title-series{
    display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
  width:100%;
}
.list-series-book,.list-find-book{
    display:grid;
    grid-template-columns:repeat(6,1fr);
    gap:10px;
    justify-self:center;
}
.item-series-book a,.item-find-book a{
    display:flex;
    flex-direction:column;
    gap:7px;
    align-items: center;
}
.item-series-book a img,.item-find-book a img{
    width: auto;
    min-height: 335px;
    height: 335px;
}
.title-book-series,.title-book-find{
    text-align:center;
    font-weight:600;
}
.item-book-podcategory{
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.block-pagination{
    margin-bottom:25px;
}
#registration{
    display:flex;
    flex-direction:column;
    width:100%;
    /*margin-top:25px;  */
    align-items: center;
}
#registration input{
    border-bottom:1px solid #333333;
    padding-bottom:10px;
    margin-top:15px;
    width:400px;
}
#registration input::placeholder{
    font-size:16px;
    line-height:20px;
}
.form-btn{
    margin-top:30px;
    margin-bottom:20px;
    padding:10px;
    background-color:#FE9700;
    color:#ffffff;
    font-size:16px;
    line-height:20px;
    border-radius: 5px;
    width: 400px;
}
.list-action{
    display:flex;
    gap:25px;
}
.btn-log-reg{
    border-bottom:3px solid #FE9700;
    padding-bottom:7px;
    cursor:pointer;
}
.block-rev{
    margin-top: 21px;
}
.error-reg-log{
    margin-top:10px
}
.wrap-block-profile{
    display:flex;
    flex-direction:column;
    min-height:100vh;
    justify-content: center;
    align-items: center;
}
.profile-block{
     width:900px;
}
.item-user-data{
    display:flex;
    flex-direction:column;
    margin-top:18px;
}
.item-user-data input{
    border-bottom:1px solid #333333;
    font-size:16px;
    line-height:21px;
    width:500px;
    margin-top:7px;
}
.item-user-data span{
    color:#949494;
    font-size:14px;
}
.btn-save-info{
    margin-top:30px;
    padding:10px;
    background-color:#FE9700;
    color:#ffffff;
    font-size:16px;
    line-height:20px;
    border-radius: 5px;
    width: 200px;
}
#add-comment-form{
    display: flex;
    flex-direction: column;
    width: 450px;
    align-items: flex-start;
    margin-bottom:30px;
}
#text-rev{
    width:100%;
    height:200px;
    resize:none;
}
.item-add-comment-form{
    margin-bottom:15px;
}
.item-add-comment-form label{
    font-size:16px;
    font-weight:600;
}
#impression-book{
    margin-left: 15px;
    width: 165px;
    padding: 7px 15px;
    border-radius: 5px;
}
#text-rev{
    padding: 10px;
    border-radius: 5px;
}

.btn-impression{
    margin-top:15px;
    padding:10px;
    background-color:#FE9700;
    color:#ffffff;
    font-size:16px;
    line-height:20px;
    border-radius: 5px;
    font-weight: 600;
}
.list-find-author{
    display:grid;
    grid-template-columns:repeat(6,1fr);
    gap:10px;
    margin:15px 0 25px 0;
}
.item-find-author .link-author{
    display:flex;
    flex-direction:column;
    align-items:center;
}
.link-author .author-img{
    width:130px;
    height:130px;
    border-radius: 50%;
}
.link-author .name-author{
    font-size:15px;
    line-height:22px;
    font-weight:600;
    margin-top: 10px;
}
.wrapper-error{
    display:none;
    margin:10px 0;
    background-color:#f5000017;
    width:450px;
    border-radius:5px;
    display:flex;
    justify-content: center;
    padding-bottom: 10px;
    text-align:center;
}
.block-error-page {
    display: flex;
    width: 100%;
    justify-content: center;
    align-items: center;
    background-color: #f5000017;
    padding: 10px 0;
    border-radius: 5px;
    margin-bottom: 25px;
}
.text-error-page{
    color:#F50000;
}
