.listopia h3 {
    font-family: Copernicus,Libre Baskerville,Georgia,serif;
    font-size: 40px;
    font-weight: 550;
    width: fit-content;
    padding-left: 8%;
}

.search-tags .search-input {
    position: relative;
    display: inline-flex;
    align-items: center;
    margin-left: 5%;
}

.search-tags input {
    padding-left: 55px;
    width: 850px;
    border-radius: 50px;
    height: 45px;
    border: 1px solid #000000;
    background-color: #fafafa;
    font-size: 16px;
}

.search-icon {
    position: absolute;
    left: 30px;
    color: #000000;
    pointer-events: none;
}

.search-tags{
    padding-left: 25px;
    margin-top: -35px;
}
/* Ai kod */
.link {
    position: relative;
    display: inline-block;
    font-size: 16px;
    text-decoration: none;
    color: black;
    padding-bottom: 6px;
}

/* siva farba pri hoveri */
.link::before {
    content: "";
    position: absolute;
    left: 0; bottom: 0;
    width: 100%; height: 3px;
    background: #d3d3d3;
    opacity: 0;
}

/* ako a kde sa nacitava tato zelena farba */
.link::after {
    content: "";
    position: absolute;
    left: 0; bottom: 0;
    width: 100%; height: 3px;
    background: #2e8b57;
    transform: scaleX(1);
    transform-origin: left;
    transition: transform 0.35s ease;
}

/* pri hoveri sa siva farba zobrazi a zelena zmizne a nacita sa naspat */
.link:hover::before {
    opacity: 1;
}

/* casovac ako dlho ma trvat nacitanie zelenej farby */
.link:hover::after {
    animation: loadGreen 0.35s ease forwards;
}

@keyframes loadGreen {
    0%   { transform: scaleX(0); transform-origin: left; }
    100% { transform: scaleX(1); transform-origin: left; }
}

.genres{
    display: flex;
    margin-left: 7.5%;
    gap: 8px;
    flex-wrap: wrap;
    width: 900px;
    font-size: 16px;
    font-family: Proxima Nova,Montserrat,Arial,sans-serif;
}

.link{
    padding-top: 10px;
}

.counter {
    display: flex;
    color: #707070;
    font-family: Proxima Nova,Montserrat,Arial,sans-serif;
    text-decoration: none;
    flex-direction: row;
    width: fit-content;
    align-items: center;
    margin-top: -10px;
}

.buttons {
    color: #707070;
    text-decoration: none;
    line-height: 1;
}

.buttons:hover {
    text-decoration: none;
    cursor: text;
}

.bodka {
    margin-right: 5px;
    margin-left: 5px;
    font-size: 6px;
    line-height: 1;
    color: #707070;
}

a{
    font-size: 14px;
}

.heading-lists{
    font-family: Copernicus,Libre Baskerville,Georgia,serif;
    font-weight: 550;
    font-size: 32px;
    margin-top: 50px;
}

.picks{
    display: flex;
    font-family: Copernicus,Libre Baskerville,Georgia,serif;
    font-size: 24px;
    font-weight: 550;
}

.featured-lists{
    width: fit-content;
    padding-left: 7.5%;
}

.book{
    width: 150px;
    margin-top: 1%;
}

.book-cover{
    height: 220px;
    width: 150px;
    border-top-right-radius: 10px;
    border-bottom-right-radius: 10px;
}

.book h1{
    font-size: 20px;
    font-weight: 500;
    font-family: Copernicus,Libre Baskerville,Georgia,serif;
    margin-top: 10%;
}

.book h2{
    font-family: Proxima Nova,Montserrat,Arial,sans-serif;
    font-size: 16px;
    font-weight: normal;
    opacity: 0.7;
    margin-top: -7px;
}

.star-img{
    width: 14px;
    height: 14px;
    padding-right: 5px;
}

.star-rating{
    opacity: 1;
    font-weight: 600;
    color: #000000;
}

.book-dot{
    margin-right: 5px;
    margin-left: 5px;
    font-size: 4px;
    line-height: 1;
    color: #707070;
}

.book-list, 
.book-list2, 
.book-list3, 
.book-list4{
    display: flex;
    flex-direction: row;
    margin-left: 7.5%;
    gap: 30px;
    height: fit-content;
    min-height: 400px;
}

.book:hover h1{
    text-decoration: underline;
}

.book:hover .book-cover {
    transform: scale(1.05);
}

.book-cover{
    transition-property: width;
    transition-duration: 2s;
}

.book:hover{
    cursor: pointer;
}

.arrow{
    width: 24px; 
    height: 24px;
    fill:none;
    stroke: rgb(0, 0, 0);
    stroke-width: 1.5;
    stroke-linecap: round;
    stroke-linejoin: round;
    padding-left: 5px;
}

.more-books a{
    text-decoration: none;
    font-size: 16px;
    font-weight: 590;
    color: black;
    white-space: nowrap;
}

.more-books{
    display: flex;
    align-items: center;
    margin-top: -30px;
    margin-left: 7.5%;
    width: fit-content;
}

.more-books:hover a{
    text-decoration: underline;
}

.arrow:hover{
    text-decoration: underline;
    cursor: pointer;
}

.book[data-page="2"]{
    display: none;
}

.load-more{
    position: absolute;
    left: 65%;
    top: 75%;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: white;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    box-shadow: 0px 4px 5px rgba(0,0,0,0.8);
}

.load-more.active{
    transform: translateX(-1810%);
}

.fiction{
    margin-top: 50px;
    font-family: Copernicus,Libre Baskerville,Georgia,serif;
    font-size: 24px;
    font-weight: 550;
}

.load-more3{
    position: absolute;
    left: 65%;
    margin-top: 11%;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: white;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    box-shadow: 0px 4px 5px rgba(0,0,0,0.8);
}

.load-more3.active{
    transform: translateX(-1810%);
}

.book[data-page="4"]{
    display: none;
}

.whole-footer{
    margin-top: 50px;
}

.disabled-links{
    display: flex;
    position: absolute;
    top: 95px;
    right: 240px;
    flex-direction: column;
    font-family: Proxima Nova,Montserrat,Arial,sans-serif;
}

.disabled-links a{
    text-decoration: none;
    margin: 12px;
    color: black;
    font-size: 16px;
    font-weight: 500;
    width: fit-content;
    height: fit-content;
}

.disabled-links a:hover {
    text-decoration: underline;
}

.link-arrow{
    display: flex;
    width: 24px; 
    height: 24px;
    fill:none;
    stroke: rgb(0, 0, 0);
    stroke-width: 1.5;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.new-list, 
.created-list,
.voted-list,
.liked-list {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 10px;
}

.book[data-page="6"]{
    display: none;
}

.load-more5{
    position: absolute;
    left: 65%;
    margin-top: 11%;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: white;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    box-shadow: 0px 4px 5px rgba(0,0,0,0.8);
}

.load-more5.active{
    transform: translateX(-1810%);
}

.load-more7{
    position: absolute;
    left: 65%;
    margin-top: 11%;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: white;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    box-shadow: 0px 4px 5px rgba(0,0,0,0.8);
}

.load-more7.active{
    transform: translateX(-1810%);
}

.book[data-page="8"]{
    display: none;
}

.photo1{
    border-radius: 10px;
    display: flex;
    background-color: #EEE2D6;
    width: 380px;
    height: 200px;
    flex-direction: row;
    gap: 20px;
    align-items: center;
    justify-content: center;
}

.books{
    width: 100px;
    height: 150px;
    border-top-right-radius: 10px;
    border-bottom-right-radius: 10px;
}

.h1-lists{
    font-family: Copernicus,Libre Baskerville,Georgia,serif;
    font-size: 28px;
    margin-top: 50px;
    font-weight: 500;
    margin-left: 7.5%;
}

.popular-list{
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    margin-left: 7.5%;
    gap: 35px;
    width: fit-content;
}

.h2-books{
    display: flex;
    font-family: Copernicus,Libre Baskerville,Georgia,serif;
    font-weight: 100;
}

.h2-books:hover{
    text-decoration: underline;
}

.square1, .square2, .square3, .square5{
    display: flex;
    flex-direction: column;
    max-width: 380px;
}

.square1:hover, .square2:hover, .square3:hover, .square4:hover, .square5:hover {
    cursor: pointer;
}

.photo2{
    border-radius: 10px;
    display: flex;
    background-color: #DFE0EE;
    width: 380px;
    height: 200px;
    flex-direction: row;
    gap: 22px;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.rotate2{
    transform: rotate(20deg);
}

.photo2 .books {
    margin: 0 10px;
}

.photo3 {
    display: flex;
    border-radius: 10px;
    background-color: #D9E8CF;
    width: 380px;
    height: 200px;
    flex-direction: row;
    gap: 20px;
    align-items: flex-end;
    justify-content: flex-start;
    overflow: hidden;
    padding: 0 20px;
    box-sizing: border-box;
}

.books1 {
    width: 100px;
    height: 150px;
    margin-bottom: -60px;
}

.books2 {
    width: 100px;
    height: 150px;
    align-items: center;
}

.books3 {
    width: 100px;
    height: 160px;
    margin-top: -60px;
}

.move3{
    display: flex;
    gap: 20px;
    width: 380px;
    height: 200px;
    align-items: center;
    justify-content: center;

}

.books1, 
.books2, 
.books3{
    width: 100px;
    height: 150px;
    border-top-right-radius: 10px;
    border-bottom-right-radius: 10px;
}

.move3 .books1{
    padding-bottom: 0px;
}

.more-lists{
    position: absolute;
    right: 125px;
    margin-top: 120px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: white;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    box-shadow: 0px 4px 5px rgba(0,0,0,0.8);
}

.whole-lists{
    margin-top: 95px;
}


.cover1, .cover2, .cover3, .cover4 {
    width: 100px;
    height: 150px;
    flex-shrink: 0;
    border-top-right-radius: 10px;
    border-bottom-right-radius: 10px;
}

.photo4 {
    display: flex;
    border-radius: 10px;
    background-color: #F1D8DE;
    width: 380px;
    height: 200px;
    flex-direction: row;
    gap: 20px;
    align-items: center;
    justify-content: flex-start;
    overflow: hidden;
    padding: 0 20px;
    box-sizing: border-box;
}


.mid-books{
    display: flex;
    gap: 20px;
    flex-direction: column;
    align-items: center;
    justify-items: center;
}

.photo5{
    border-radius: 10px;
    display: flex;
    background-color: #DFE0EE;
    width: 380px;
    height: 200px;
    flex-direction: row;
    gap: 22px;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.books5{
    width: 100px;
    height: 150px;
    flex-shrink: 0;
    border-top-right-radius: 10px;
    border-bottom-right-radius: 10px;
}

.load-lists{
    position: absolute;
    left: 88%;
    margin-top: 8.5%;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: white;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    box-shadow: 0px 4px 5px rgba(0,0,0,0.8);
}

.square4[square-page="2"]{
    display: none;
}

.square5[square-page="2"]{
    display: none;
}

.square4 {
    display: flex;
    flex-direction: column;
    max-width: 380px;
    width: 380px;
    cursor: pointer;
}

.more-popular a{
    text-decoration: none;
    font-size: 16px;
    font-weight: 590;
    color: black;
    white-space: nowrap;
}

.more-popular{
    display: flex;
    align-items: center;
    margin-top: 20px;
    margin-left: 7.5%;
    width: fit-content;
}

.more-popular:hover a{
    text-decoration: underline;
}