* {
    margin: 0;
    padding: 0;
}
html,
body {
    height: 100%;
}

body {
    margin: 0;
    font-family: 'Open Sans', sans-serif;
}

img {
    border: 0;
}

ul {
    padding: 0;
}

::after ::before {
    box-sizing: border-box;
}

.navbar {
    width: 100%;
    justify-content: space-between;
}

.nav-link {
    color: black;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;

    margin-right: 15px;

    transition: color 0.3s linear;
}

.navbar-brand {
    display: flex;
    gap: 20px;
    padding-left: 20px;
    align-items: center;

    text-decoration: none;
}

.logo-text {
    color: black;
    text-transform: uppercase;
    font-weight: 600;
    font-size: 14px;
}


.search {
    padding-top: 15px;
}

.form-search {
    position: relative;
    max-width: 700px;
    margin: 0 auto;
}

.input-search {
    width: 100%;
    height: 42px;
    padding-left: 10px;
    border: 2px solid #2d3036;
    border-radius: 2px;
    outline: none;
    background: #f1f1f1;
    color: #444444;
}

.button-search {
    position: absolute; 
    top: 0;
    right: 0px;
    width: 96px;
    height: 42px;
    border: none;
    background: #2d3036;
    border-radius: 0 2px 2px 0;
    cursor: pointer;
}

.button-search:before {
    font-size: 16px;
    color: #F9F0DA;
}

.books-list {
    list-style-type: none;
    flex-direction: row;
    justify-content: space-between;
    margin-top: 5%;
}

.book-list__main{
    display: flex;
}

.book {
    display: block;
    cursor: pointer;
    background-color: #eee;
    margin-left: 10px;
    margin-right: 15px;
    padding: 0 5px 0 7px;
    border-radius: 2vh;
    border: 1px solid black;

}

.book_title {
    margin-top: 0;
    margin-bottom: 0.3rem;
    font-size: 17px;
    font-weight: bold;
    width: 99%;
}

.book__desc-button {
    display: inline-block;
    border: none;
    background-color: transparent;
    text-decoration: underline;
    color: #404040;
}


.list-group-item {
    margin-top: 10px;
    margin-bottom: 10px;
}

.list-group-item+.list-group-item {
    border-top-width: 1px;
}

.book-check a {
    color: #404040;
}

.book-links ul li {
    display: inline;
}

.footer-copyright { 
    background: #2e2a2a; 
    padding: 5px 0;
}

.footer-copyright p {
    color: #969696;
    margin: 5px 0 0;
}


.modal {
    position: fixed;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.5);
    display: none;
    cursor: pointer;
    padding: 30px;
    overflow-y: auto;
}

.modal__main {
    position: relative;
    max-width: 900px;
    min-width: 800px;
    max-height: 600px;
    min-height: 450px;
    background-color: white;
    margin: auto;
    color: #000;
    border-radius: 16px;
    padding: 30px;
    cursor: default;
}

.modal__title {
    margin-bottom: 30px;
}

.modal__close {
    background-color: transparent;
    border: none;
    cursor: pointer;
    font-size: 22px;
    position: absolute;
    top: 10px;
    right: 10px;
    outline: 1px solid transparent;
    outline-offset: 3px;
    transition: outline-color .15s ease-in-out;
    border-radius: 3px;
    padding: 0;
    text-align: center;
    display: block;
    width: 30px;
    height: 30px;
}

.modal__close.focus-visible {
    outline-color: white;
}

.site-cards {
    margin-top: 50px;
}

.card-deck {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 30px 0;

    /* display: flex;
    flex-flow: row wrap;
    max-width: 100%; */
}
.card {
    position: relative;
    display: flex;
    flex-direction: column;
    min-width: 0;
    background-color: #fff;
    background-clip: border-box;
    border: 1px solid rgba(0, 0, 0, .125);
    border-radius: .25rem;
}

.card-deck .card {
    
    flex: 0 0 48%;
    margin-right: 0;
    margin-bottom: 30px;
    /* flex: 1 0 0%;
    margin-right: 30px;
    margin-bottom: 0; */
}

.card-deck .card:last-child {
    margin-right: 0;
}



.card-title {
    height: 55px;
    margin-bottom: .75rem;
    text-transform: uppercase;
}

.card-footer:last-child {
    border-radius: 0 0 calc(.25rem - 1px) calc(.25rem - 1px);
}
.card-footer {
    padding: .75rem 1.25rem;
    background-color: rgba(0, 0, 0, .03);
    border-top: 1px solid rgba(0, 0, 0, .125);
}
.card-text:last-child {
    margin-bottom: 0;
}
.card-body p {
    color: #405371;
}
.text-muted {
    color: #6c757d;
}
.card-deck button {
    background: #405371;
    color: #fff;
    padding: 8px 25px;
    margin: 3px 0 0 0;
}

.partners_cards-wrap {
    margin-bottom: 70px;
    margin-top: 70px;
}

.partners_cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-gap: 32px;
}

.partners_card {
    position: relative;
    height: 337px;
    overflow: hidden;
    border-radius: 5px;
}
.partners_card::before {
    position: absolute;
    content: "";
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: #38404e;
    opacity: .7;
}

.partners_card-info {
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    transform: translateY(-50%);
    z-index: 1;
    padding: 30px;
}

.partners_card-item {
    font-size: 26px;
    font-weight: 500;
    color: white;
    text-transform: uppercase;
    line-height: 1.1;
    position: relative;
    padding-bottom: 15px;
    text-align: center;
    transition: .5s;
}

.partners_card-item::after {
    color: white;
}

.partners-title {
    margin-bottom: 30px;
    font-size: 30px;
    font-weight: 600;
}


.contacts-wrap {
    margin-bottom: 70px;
    margin-top: 70px;
}

.contacts-title {
    margin-bottom: 30px;
    font-size: 30px;
    font-weight: 600;
}

.phone_entry {
    margin-bottom: 5px;
}

.wrapper {
    position: relative;
    min-height: 100%;
  }
.content {
    padding-bottom: 90px;
}

.footer {
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
}