/* stylizacja zakładek z ofertą sprzedarzy książek
   seeds.html; happened.html; runaway.html;
   trylogy.html; audiobook.html*/

.description
{
    height: fit-content;
    /* border: red 2px solid; */
}

.cover
{
    width: 40%;
    padding: 0;
    display: flex;
    align-items: center;
    margin-left: auto;
    margin-right: auto;
    justify-content: center;
    /* border: yellowgreen 2px solid; */
}

.cover_horizontal
{
    width: 40%;
    padding-left: 3%;
    display: flex;
    align-items: center;
    margin-left: auto;
    margin-right: auto;
    justify-content: center;
}

.img-fluid
{
    box-shadow: 0 10px 15px rgba(0, 0, 0, .5);
}

.note
{
    width: 60%;
    text-align: justify;
    display: flex;
    align-items: center;
    padding-left: 5%;
    padding-right: 5%;
    justify-content: center;
    clear: both;
    /* border: red 2px solid; */
}

.note_horizontal
{
    width: 55%;
    margin-left: auto;
    margin-right: 5%;
    text-align: justify;
}


/* stylizacja przycisku kup teraz */
.buy_now {
    height: fit-content;
    padding-top: 10px;
    padding-bottom: 10px;
    width: 35%;
    margin-top: 25px;
    margin-bottom: 15px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
    text-decoration: none;
    background-color: #0a2b42;
    opacity: 0.7;
    /* border: red 2px solid; */
}

.buy_now_txt
{
    /* kolor tekstu i brak podkreślenia stylizuje
    klasa=link wpisna w linka (z navbar.css) */
    text-align: center;
    margin-left: auto;
    margin-right: auto;
    font-weight: bold;
    transition: all 0.5s;
    transform: scale(1);
}

.buy_now_txt:hover
    /* stylizacja tekstu w backbuttonie (po najechaniu kursorem) */
{
    color: dodgerblue;
    text-decoration: transparent;
    -webkit-text-stroke-color: blue;
    -webkit-text-stroke-width: 1px;
    transition: all 0.5s;
    transform: scale(1.2);
}

.backbutton
{
    margin-top: 30px;
}

/* stylizuję padding description
  (turkusową ramkę) w zalezności od szerokości
   ekranu na którym jest wyświetlana
 */

@media(max-width: 950px)
/* @media(max-width: 640px) */
{
    .description
    {
        padding: 25px;
       /* border: orange 2px solid; */
    }

    .cover
    {
        width: 80%;
        padding-top: 3%;
    }

    .cover img:hover
    {
        transform: none;
    }

    .cover_horizontal
    {
        width: 80%;
        padding-top: 3%;
    }

    .cover_horizontal img:hover
    {
        transform: none;
    }

    .note
    {
        width: 80%;
        margin-left: auto;
        margin-right: auto;
    }

    .note_horizontal
    {
        width: 80%;
        margin-left: auto;
        margin-right: auto;
    }
}



@media(max-width: 486px)
{
    .description
    {
        padding: 10px;
    }
}