:root {
    --green-light: #bfdc78;
    --yellow-light: #dad578;
}

body {
    overflow-x: hidden;
}

.wrap {
    color: var(--def-text-clr);
    width: 100%;
    font-size: 19px;

}

.top {
    position: relative;
    width: 100%;
    top: 0;
    height: 278px;
    padding: 0;
    color: #ffffff;
    background-image: url(http://bokmiddag.se/imgs/balkong.jpg);
    background-repeat: no-repeat;
    background-size: 100%;
    background-position: 60% 60%;
    background-origin: border-box;
}

h1 {
    font-size: 50px;
    margin: 5px 0 10px 20px;
    color: var(--bg-clr-red);
}

h2 {
    color: var(--def-text-clr);
    color: var(--clr-white);
    font-size: 36px;
}

.subhdr {
    color: var(--clr-white);
}

.one-book .subhdr {
    background-color: var(--bg-clr-green);
    height: 42px;
    margin: 5px 0 -2px;
}



a:link,
a:visited,
a:hover,
a:active {
    color: inherit;
}

.lnk {
    position: absolute;
    top: 294px;
    top: 78%;
    right: 50px;
    right: 10%;
    font-size: 24px;
    color: var(--clr-white);
}

/* .books,  */
.topics {
    margin: 0;
    justify-content: center;
    background-color: #636C3C;
    width: 100%
}

.topics.two {
    width: 100%;
}

.about {
    background-color: var(--green-light);
    background-color: var(--bg-clr-yellow);
    color: white;
    color: var(--def-text-clr);
    padding-bottom: 30px;
    margin-top: -6px;
}

.about h2 {
    color: var(--def-text-clr);
}

.about div {
    text-align: left;
    padding: 0;
    margin: 15px 19px;
}

.next-meet {
    width: 100%;
    height: 100%;
    color: var(--clr-white);
}

.next-meet {
    background-color: var(--bg-clr-red);
    padding-bottom: 23px;
    padding-top: 10px;
    margin-top: 5px;
}

.next-meet h2 {
    margin-top: 0;
}

.book,
.curr-book {
    display: inline-block;
    width: 100%;
    margin: 2px 0;
    text-align: center;
    padding: 25px 5px;
}

.curr-book {
    padding: 0 0 40px 0;
}

.curr-book img {
    margin-top: 55px;
    margin-bottom: 15px;
    max-height: 220px;
}

.curr-book:nth-child(2n) {
    background-color: var(--bg-clr-green);
    color: var(--clr-white);
    grid-area: curr-book1;
}

.curr-book:nth-child(2n+1) {
    background-color: var(--bg-clr-yellow);
    color: var(--def-text-clr);
    grid-area: curr-book2;
}

.book img {
    max-height: 220px;
    margin-top: 25px;
    margin-bottom: 15px;
}

.book:nth-child(3n+1) {
    background-color: #f87f5f;
    color: white;
}

.book:nth-child(3n+2) {
    background-color: #faea9e;
    color: #636C3C;
}

.book:nth-child(3n) {
    background-color: #79aa79;
    background-color: var(--bg-clr-green);
    color: white;
}

.meet {
    margin-top: 25px;
}

.all-books,
.read-books {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.read-books h2 {
    color: var(--clr-white);
    margin-bottom: 0;
}

.rate {
    margin-top: 40px;
}

.rate-stars {
    display: inline-flex;
    align-items: center;
    height: 25px;
    margin: 0 0 0 10px;
    padding: 0 5px 2px;
    background-color: white;
    font-size: 16px;
    vertical-align: middle;
    color: black;
}

.rate-yes,
.rate-half,
.rate-no {
    display: inline-block;
    width: 17px;
    height: 18px;
    background-image: url(../imgs/fstar.png);
    margin: 0 2px;
}

.rate-yes {
    background-image: url(../imgs/stary.png);
}

.rate-half {
    background-image: url(../imgs/starh.png);
}

.rate-no {
    background-image: url(../imgs/starn.png);
}

.rate-num {
    margin: 1px 0 0 0;
    padding: 1px 2px 0 8px;
    text-align: right;
    width: 31px;
}

.auth {
    font-weight: bold;
    margin-bottom: 15px;
    padding-bottom: 15px;
    font-size: 24px;
}

.title {
    font-size: 24px;
    margin-top: 10px;
    display: inline-block;
    width: 90%;
}

.lbl {
    margin: 0 5px 0 10px;
    font-weight: bold;
    /* tillagt för register book */
    vertical-align: top;
}

.ordr-btn {
    width: 98px;
    width: 83px;
    height: 100%;
    background-color: #636c3c;
    color: var(--clr-green);
    font-weight: bold;
    font-size: 17px;
    border: none;
}

.ordr-btn:disabled {
    background-color: var(--def-bg-light);
    color: white;
    color: var(--clr-white);
    font-weight: bold;
}

.ordr-btn:disabled::before {
    font-size: 12px;
    content: "▶ ";
    vertical-align: 10%;
}

.ordr-btn:hover {

    background-color: #b5eeb5a1;
    background-color: #799b79a1;
    background-color: var(--def-bg-light);
    color: #636c3c;
    color: #b5eeb5a1;
    color: white;
}

.ordr-btn[disabled]:hover {
    background-color: var(--def-bg-clr);
}

.ordr-btn:disabled {
    background-color: var(--def-bg-clr);
}

.ordr-btn:hover {
    background-color: var(--def-bg-light)
}

.ordr {
    width: 37px;
    font-size: 17px;
}

.ordr:disabled {
    font-size: 19px;
}

.ordr:disabled::before {
    content: none;
}

.btns {
    text-align: center;
    width: 100%;
    margin-top: 6px;
    margin-bottom: 6px;
    font-family: 'Lora';
    color: white;
    color: var(--clr-green);
    height: 20px;
    font-weight: bold;
    font-size: 17px;
}

.btns>span {
    margin-right: 10px;
}

.meet-lbl {
    font-weight: bold;
    margin-left: 20px;
    color: var(--def-text-clr);
    color: var(--clr-white);
}

.meet-data {
    display: grid;
    grid-template-columns: 40% 60%;
}

.meet-data span {
    text-align: left;
}







/* @media screen and (min-width: 501px) { */
@media screen and (min-width: 732px) {
    .wrap {
        width: 732px;
        margin: 0 auto 0 auto;
    }

    h1 {
        margin-bottom: 20px;
    }

    .top {
        height: 360px;

    }

    .subhdr {
        grid-area: subhdr;
        color: var(--clr-white);
    }

    .one-book .subhdr {
        height: 59px;
        /* margin: 5px 0 -2px; */
    }

    .next-meet {
        grid-area: next-meet;
    }

    .about {
        grid-area: about;
        margin-top: 0;
        margin-top: 5px;
        height: 100%;

    }

    .one-book .about {
        margin-top: 13px;
    }

    .curr-book:nth-child(2n+1) {
        background-color: var(--bg-clr-red);
        color: var(--clr-white);
    }

    .main {
        display: grid;
        grid-template-columns: 1fr 10px 1fr;
        /* grid-template-rows: 249px 70px auto; */
        grid-template-rows: auto 70px auto;
        grid-template-areas:
            "next-meet . about"
            "subhdr subhdr subhdr"
            "curr-book1 . curr-book2";
    }

    .one-book .main {
        grid-template-rows: 50px auto auto;
        grid-template-areas:
            "next-meet . subhdr "
            "next-meet . curr-book1 "
            "about .  curr-book1";
    }

    .book {
        width: 350px;
        margin: 7px;
    }

    .topics {
        display: flex;
        flex-wrap: wrap;
        align-items: stretch;
    }

    .curr-book {
        width: 100%;
        height: 100%;
        margin-top: 14px;
        margin-bottom: 7px;
    }

    .about div {
        margin: 7px 19px;
    }

    .read-books {
        padding-top: 10px;
    }
}

@media screen and (min-width: 1116px) {
    .wrap {
        width: 1116px;
    }
}

@media screen and (min-width: 1500px) {
    .wrap {
        width: 1500px;
    }

}