/* Меню */

.dropMenu {
    position: absolute;
    right: 20px;
    top: 59px;
    background-color: #fff;
    width: 80px;
    height: 115px;
    border: 1px;
    display: none;
}

.dropMenu.open {
    display: block;
}

.profile {
    color: #000;
    font-family: Inter;
    font-size: 15px;
    font-style: normal;
    font-weight: 700;
    line-height: 20px;
    text-align: center;
    margin-top: 5px;

}

.profile::after {
    content: "";
    display: block;
    width: 40px;
    flex-shrink: 0;
    border-bottom: 1px solid #BB945F;
    ;
    margin: 0px auto 0px auto;
}

.auth {
    margin-top: 15px;
    align-items: center;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    display: flex;
}

.btn_profile {
    color: #000;
    text-align: center;
    font-family: Inter;
    font-size: 15px;
    font-style: normal;
    font-weight: 400;
    line-height: 20px;
    /* 133.333% */
    border: none;
    background: #fff;
    padding: 0;
}

/* .no {
    display: flex;
} */

.close {
    display: none;
}

.error-pass {
    color: red;
}

.ico_profile:hover {
    filter: brightness(0) saturate(100%) invert(61%) sepia(30%) saturate(590%) hue-rotate(355deg) brightness(95%) contrast(82%);
    -webkit-filter: brightness(0) saturate(100%) invert(61%) sepia(30%) saturate(590%) hue-rotate(355deg) brightness(95%) contrast(82%);
}

.ico_profile_login:hover {
    background-color: #BB945F;
    color: #0C0C0E;
}

/* модальные логин и регистрация*/

.modal {
    position: fixed;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.8);
    display: none;
    cursor: pointer;
    z-index: 3;
}

.modal.open {
    display: flex;
}

.modal__x {
    background-image: url('./assets/img/close_btn.svg');
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    border: none;
    background-color: transparent;
    cursor: pointer;
    position: absolute;
    top: 15px;
    right: 15px;
}

.modal__x:hover {
    filter: brightness(0) saturate(100%) invert(61%) sepia(30%) saturate(590%) hue-rotate(355deg) brightness(95%) contrast(82%);
    -webkit-filter: brightness(0) saturate(100%) invert(61%) sepia(30%) saturate(590%) hue-rotate(355deg) brightness(95%) contrast(82%);
}

.modal_logIn {
    position: relative;
    margin: auto;
    width: 250px;
    height: 262px;
    background: #fff;
    padding: 20px 15px;
    cursor: default;
    animation-name: sizeUp;
    animation-duration: 1s;
}

.modal-box {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    margin: 0 10px;
}

.modal-title {
    color: #000;
    text-align: center;
    font-family: Forum;
    font-size: 20px;
    font-style: normal;
    font-weight: 400;
    line-height: 20px;
    letter-spacing: 0.4px;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.modal-text {
    color: #000;
    text-align: center;
    font-family: Inter;
    font-size: 15px;
    font-style: normal;
    font-weight: 400;
    line-height: 20px;
    letter-spacing: 0.3px;
    margin: 10px 0;
}

.btn_logIn,
.btn_signUp {
    margin: 20px 0 10px 0;
    width: 75px;
    height: 30px;
    flex-shrink: 0;
    border-radius: 2px;
    border: 1px solid #0C0C0E;
    color: #0C0C0E;
    text-align: center;
    font-family: Inter;
    font-size: 10px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
    letter-spacing: 1px;
    background: #fff;
}

.error-logIn {
    margin: 10px 0 10px 0;
}

.modal-text_info {
    color: #000;
    text-shadow: 0px 2px 3px rgba(255, 255, 255, 0.16);
    font-family: Inter;
    font-size: 10px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
}

.modal-link {
    color: #0C0C0E;
    text-align: center;
    font-family: Inter;
    font-size: 10px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
    letter-spacing: 1px;
    text-decoration-line: underline;
    padding-left: 10px;
}

.modal_Register {
    position: relative;
    margin: auto;
    width: 250px;
    height: 382px;
    background: #fff;
    padding: 20px 15px;
    cursor: default;
    animation-name: sizeUp;
    animation-duration: 1s;
}


.modal-input {
    display: block;
    width: 200px;
    height: 20px;
    flex-shrink: 0;
    border: 1px solid #BB945F;
    border-color: #BB945F;
    outline: none;
    padding: 0;
    box-sizing: content-box;
}

/* modal_profile */

.modal_profile {
    position: relative;
    margin: auto;
    cursor: default;
    animation-name: sizeUp;
    animation-duration: 1s;
    display: flex;
    width: 600px;
    height: 400px;
    background: #FFF;
}

.name-box {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 15px;
    width: 170px;
    height: 403px;
    flex-shrink: 0;
    background: #0C0C0E;
}

.img-name {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 80px;
    height: 80px;
    flex-shrink: 0;
    background: #FFF;
}

.img_user-name {
    color: #BB945F;
    text-align: center;
    font-family: Inter;
    font-size: 20px;
    font-style: normal;
    font-weight: 400;
    line-height: 20px;
    /* 100% */
    text-transform: capitalize;
}

.text-name {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 120px;
    min-height: 30px;
    height: auto;
    flex-shrink: 0;
    background: #FFF;
    text-align: center;
}

.user-name {
    color: #000;
    text-align: center;
    font-family: Inter;
    font-size: 20px;
    font-style: normal;
    font-weight: 400;
    line-height: 20px;
    /* 100% */
    text-transform: capitalize;
    overflow-wrap: break-word;
    word-break: break-word;
    white-space: normal;
    max-width: 100%;
}

.my-profile-box {
    display: flex;
    flex-direction: column;
    width: 100%;
}

.my-profile-name {
    width: 207px;
    margin-bottom: 20px;
    color: #000;
    text-align: center;
    font-family: Forum;
    font-size: 40px;
    font-style: normal;
    font-weight: 400;
    line-height: 20px;
    /* 50% */
    letter-spacing: 0.8px;
    text-transform: uppercase;
    margin: 40px 25px 40px 20px;
}

.profile-box {
    margin-left: 20px;
    margin-bottom: 9px;
    height: 100%;
}

.card-profile {
    display: flex;
    width: 237px;
    gap: 20px;
    margin-bottom: 20px;
}

.profile-info {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    justify-items: center;
    align-items: center;
    gap: 10px;
    text-align: center;
    font-size: 20px;
    font-style: normal;
    line-height: 20px;
    letter-spacing: 0.4px;
    text-transform: capitalize;
}

.info-img {
    width: 20px;
    height: 21px;
}

.qty {
    color: #000;
    text-align: center;
    font-family: Inter;
    font-size: 10px;
    font-style: normal;
    font-weight: 400;
    line-height: 20px;
    letter-spacing: 0.2px;
    text-transform: capitalize;
}

.rented_book {
    display: block;
    height: auto;
    min-height: 130px;
}

.rented-books-name {
    color: #0C0C0E;
    margin-bottom: 30px;
    font-family: Inter;
    font-size: 25px;
    font-style: normal;
    font-weight: 400;
    line-height: 20px;
}

.rented_book_list {
    display: flex;
    flex-direction: column;
    margin-left: 10px;
    gap: 10px;
    height: 90px;
    overflow-y: auto;
    padding-left: 20px;
}

.rented_book_item {
    color: #000;
    font-family: Inter;
    font-size: 20px;
    font-style: normal;
    font-weight: 400;
    line-height: 20px;
    /* 100% */
    letter-spacing: 2px;
    text-transform: capitalize;
}

.profile_card-numbers {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 281px;
    height: 20px;
    gap: 15px;
    margin-top: 20px;
}

.text_card-number {
    color: #0C0C0E;
    text-align: center;
    font-family: Inter;
    font-size: 20px;
    font-style: normal;
    font-weight: 400;
    line-height: 20px;
    /* 100% */
}

.profile_CN {
    color: #BB945F;
    text-align: center;
    font-family: Inter;
    font-size: 20px;
    font-style: normal;
    font-weight: 400;
    line-height: 20px;
    /* 100% */
}

.icon-copy {
    display: inline-block;
    background-image: url('./assets/img/icon-copy.svg');
    width: 13.31px;
    height: 12px;

}

.icon-copy:hover {
    filter: brightness(0) saturate(100%) invert(61%) sepia(30%) saturate(590%) hue-rotate(355deg) brightness(95%) contrast(82%);
    -webkit-filter: brightness(0) saturate(100%) invert(61%) sepia(30%) saturate(590%) hue-rotate(355deg) brightness(95%) contrast(82%);
}

#btn-copy {
    width: 13.31px;
    height: 13px;
    border: 0;
    background-color: #fff;
    padding: 0;
}

.btn_profile:hover,
.btn_logIn:hover,
.btn_signUp:hover {
    background-color: #BB945F;
    border: 0;
}

.modal-link:hover {
    color: #BB945F;
}

/* modal buy a card */

.modal_buy-a-card {
    position: relative;
    margin: auto;
    display: flex;
    width: 640px;
    height: 540px;
    background: #FFF;
    display: flex;
    flex-direction: column;
}

.top-buy-a-card {
    display: flex;

    height: 60px;
    background-color: #0C0C0E;
    justify-content: center;
    align-items: center;
}

.title-buy-a-card {
    color: #FFF;
    font-family: Forum;
    font-size: 40px;
    font-style: normal;
    font-weight: 400;
    line-height: 20px;
    letter-spacing: 0.8px;
    text-transform: uppercase;

}

.modal__x.x-buy-a-card {
    filter: invert(100%);
    top: 25px;
    right: 25px;
}

.buy-a-card_info {
    display: flex;
    justify-content: space-between;
    gap: 40px;
    padding: 30px 35px 40px 35px;
}

.buy-a-card_form {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    width: 200px;
    height: 410px;
    text-align: left;
    justify-content: space-around;
}

.modal-text.Bank-card {
    margin-top: 0px;
}

.buy-a-card_text {
    width: 330px;
    height: 160px;

}

.buy-a-card_text p {
    color: #8E8E8E;
    font-family: Inter;
    font-size: 15px;
    font-style: normal;
    font-weight: 400;
    line-height: 20px;
    letter-spacing: 2px;
}

.modal-input.cvc,
.modal-input.ex-code1,
.modal-input.ex-code2 {
    width: 45px;
    height: 20px;
}

.modal-input.ex-code1,
.modal-input.ex-code2 {
    display: inline;
    margin-right: 10px;
}


.btn_card {
    margin-top: 20px;
    margin-right: 25px;
    margin-left: 0;
}

.price {
    color: #0C0C0E;
    font-size: 20px;
    font-style: normal;
    font-weight: 700;
    line-height: 20px;
    letter-spacing: 2px;
    text-transform: uppercase;
}

/* LibraryCard_login */

.card-profile_logIn {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    gap: 35px;
    margin-top: 15px;
}

.profile-info-card {
    gap: 1px;
}

.profile-info-card p {
    font-size: 10px;
    letter-spacing: 0.2px;
}

.close {
    display: none;
}


@keyframes sizeUp {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

@media (max-width: 1024px) {
    .dropMenu {
        right: 105px;
    }
}