
*{
    box-sizing: border-box;
}

@font-face {
    font-family: 'Sour_Gummy';
    src: url('./assets/fonts/Sour_Gummy/SourGummy-VariableFont_wdth\,wght.ttf') format('truetype');
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: #CDD1D2;
    background-color: #051e0f;
    font-family: "Sour_Gummy";
}

header, footer{
    background-color: #082911;
    height: 12vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

header{
    margin-bottom: 16px;
}

#renderedBooks{
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}

main{
    display: flex;
    align-items: center;
    flex-direction: column;
    padding-left: 12px;
    padding-right: 12px;
    max-width: 1440px;
    margin: 0 auto;
    min-height: calc(100vh - 24vh);
}

.single_view{
    background-color: rgba(127, 255, 212, 0.304);
    border-radius: 10px;
    height: 379px;
    width: 300px;
    margin: 10px;
}

.title{
    background-color: rgba(127, 255, 212, 0.166);
    border-bottom: 1px solid #49a8c2;
    border-radius: 10px 10px 0 0;
    height: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.book_icon{
    background: #7FFFD4;
    background: radial-gradient(circle, rgb(102, 198, 166) 0%, rgba(127, 255, 212, 0.166) 100%);
    border-bottom: 1px solid #49a8c2;
    border-radius: 0;
    height: 80px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.main_content{
    background-color: rgba(127, 255, 212, 0.166);
    border-bottom: 1px solid #49a8c2;
    border-radius: 0;
    height: 106px;
    display: flex;
    flex-wrap: wrap;
}

#comments{
    background-color: rgba(127, 255, 212, 0.166);
    border-radius: 0 0 10px 10px;
    height: 152px;
    width: 100%;
    display: flex;
    flex-wrap: wrap 
}

#comments div{
    
    margin-bottom: 8px;
}

#namesAndComments{
    height: 30px;
}

.scrollbar{
    overflow-y: scroll;
    scrollbar-color: #7FFFD4 #49a8c2;
    scrollbar-width: thin;
    height: 78px;
    width: 97%;
}

.comments_style{
    display: flex;
    align-items: flex-start;
    word-break: normal;
    hyphens: auto;
}

.comments_div_Style{
    display: flex;
    flex-direction: column;
}

h3{
    margin: 0;
    padding: 0;
}

h4{
    margin: 0;
    padding: 8px;
    width: 100%;
}

p{
    margin: 0;
    font-size: 16px;
}

.d_none{
    display: none;
}

.left{
    padding-top: 4px;
    padding-left: 8px;
}

.right{
    padding-right: 8px;
    justify-content: flex-end;
}

.right, .left{
    margin-top: 0px;
    height: 30%;
    width: 50%;
    display: flex;
    align-items: flex-start;
    color: rgb(147, 9, 9);
}

.right p, .left p{
    font-size: 18px;
}

.right > div{
    display: flex;
    align-items: center;
}

.info_style{
    display: flex;
    width: 94%;
}

.info_left{
    width: 40%;  
    padding-left: 8px;  
}

.info_right{
    width: 59%;
    padding-right: 8px;
}

.info_left, .info_right{
    display: flex;
    flex-direction: column;
    height: 70%;
    margin-bottom: 4px;
}

.info_right p, .info_left p{
    font-size: 16px;
}

img.clickable{
    cursor: pointer;
    margin: 2px;
}

.input_style{
    border-color: #CDD1D2;
    display: flex;
    justify-content: center;
    padding-top: 8px;
}

a{
    cursor: pointer;
    text-decoration: none;
    color: #CDD1D2;
}

footer a{
    display: flex;
    justify-content: center;
    padding-top: 4px;
}

footer{
    margin-top: 16px;
    flex-direction: column;
}

@media (max-width: 500px) {

.single_view{
    background-color: rgba(127, 255, 212, 0.304);
    border-radius: 10px;
    height: 379px;
    width: 280px;
    margin: 10px;
}
}