* {
    box-sizing: border-box;
}

@font-face {
    font-family: Inter;
     src: url("assets/fonts/Inter-VariableFont_slnt\,wght.ttf");
   }

@font-face {
    font-family: Forum;
     src: url("assets/fonts/Forum-Regular.ttf");
}

.container {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 100vw;
    margin: 0 auto;
    min-height: 100vh;
    background-color: #0C0C0E;
  }

body {
    margin: 0;
    padding: 0;
    max-width: 100%;
    overflow-x: hidden;
  }

html {
    scroll-behavior: smooth;
    max-width: 100%;
    overflow-x: hidden; 
  }

.header {
    background-color: #0C0C0E;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding: 20px 12px 20px 30px;
    height: 90px;
    width: 100%;
    max-width: 1440px;
    margin: 0 auto;
}

h1 {
    position: absolute;
    left: 0;
    color: #fff;
    font-family: Forum;
    font-size: 30px;
    font-style: normal;
    font-weight: 400;
    line-height: 50px;
    letter-spacing: 0.6px;
    margin-left: 20px;
}

.nav {
    margin-right: 40px;
}

.nav_list {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    list-style: none;
    width: 590px;
    gap: 30px;
    padding-left: 0;
    margin-right: 12px;
}

.nav_link {
    color: #fff;
    font-family: Inter;
    font-size: 20px;
    font-style: normal;
    font-weight: 400;
    line-height: 50px;
    text-decoration: none;
}

.nav_item a {
    color: #fff;
    text-decoration: none;
    transition: 0.5s;
}

.nav_item a:hover {
    color: #BB945F;
    border-bottom: 1px solid #BB945F;
    padding-bottom: 10px;
}

.profil {
    margin-right: 8px;
}

.section_welcome {
    background: url(assets/img/Welcome.png), lightgray 50% / cover no-repeat;
    height: 600px;
    width: 100vw;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}

.overlay {
    width: 100%;
    height: 300px;
    background: linear-gradient(180deg, #0C0C0E 0%, #0C0C0E 0.01%, rgba(18, 18, 21, 0.10) 100%)
}

.Welcome {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 600px;
    height: 220px;
    padding: 35px 40px;
    background: #0C0C0E;;
    margin-top: -80px;
}

.wrapper {
    width: 1440px;
    height: 600px;
    margin: 0 auto;
}

.Welcometext {
    color: #FFF;
    text-align: center;
    font-family: Forum;
    font-size: 40px;
    font-style: normal;
    font-weight: 400;
    line-height: 50px; 
    letter-spacing: 3px;
    text-transform: uppercase;
    margin: 0;
}

.footer {
    background: #000;
    height: 250px;
}

.main {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 100vw;
    background: #fff;
}

h2 {
    color: #0C0C0E;
    font-family: Forum;
    font-size: 40px;
    font-style: normal;
    font-weight: 400;
    line-height: 40px; 
    letter-spacing: 2px;
    text-transform: capitalize;
    margin-top: 15px;
}

h2::after {
    display: block;
    height: 1px;
    width: 50px;
    position: relative;
    top: 20px;
    right: 1px;
    margin: 0 auto;
    content: '';
    background: #0C0C0E;
}

.section_about {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: -13px;
    width: 100%;
    max-width: 1440px;
    margin: -13px auto 0 auto;
    padding: 20px 0px 40px 0px;
}

.text_about {
    display: flex;
    align-items: center;
    color: #000;
    text-align: center;
    font-family: Inter;
    font-size: 20px;
    font-style: normal;
    font-weight: 400;
    line-height: 40px;
    margin-top: 27px;
}

.About_carousel {
    display: flex;
    justify-content: space-evenly;
    width: 100%;
    max-width: 1440;
    padding: 0 20px 0 20px;
}

.arrow1 {
    display: none;
}

.arrow2 {
    display: none;
}


.About_radio {
    margin-top: 34px;
}

.About_radio_button {
    appearance: none;
    width: 22px;
    height: 22px;
    cursor: pointer;
    margin-left: 0;
    margin-right: 0;
}

.About_radio :nth-child(4), .About_radio :nth-child(5) {
    display: none;
}

.About_radio_button::after {
    display: inline-block;
    width: 16px;
    height: 16px;
    border-radius: 50px;
    background: #0C0C0E;
    content: '';
    position: relative;
    left: 3px;
    top: 3px;
}

.About_radio_button:checked:after {
    background: #BB945F;
}

.section_favorites {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    max-width: 1440px;
    margin: 0 auto;
}

.Favorites_text {
    color: #000;
    align-self: flex-start;
    font-family: Inter;
    font-size: 20px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
    margin: 0;
    margin: 0 20px;
    margin-top: 28px;
    margin-bottom: 40px;
}

.Favorites_radio {
    display: flex;
    align-self: flex-start;
    gap: 70px;
    margin-left: 20px;
}

.Favorites_radio_button {
    appearance: none;
    width: 17px;
    height: 17px;
    cursor: pointer;
    margin-left: 0;
    margin-right: 0;
}

.Favorites_radio_button::after {
    display: inline-block;
    width: 17px;
    height: 17px;
    cursor: pointer;
    content: '';
    background: url(assets/img/Group_2.svg), #fff 50% / cover no-repeat;
}

.Favorites_radio_button:checked + .Favorites_label {
    font-weight: 700;
}

.Favorites_radio_button:checked:after {
    background: url(assets/img/Group_1.svg), #fff 50% / cover no-repeat;
}

.Favorites_label {
    color: #000;
    font-family: Inter;
    font-size: 20px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    margin-left: 20px;
}

.Favorites_radio_div {
    width: 125px;
    
}

.Favorites_books {
    display: flex;
    justify-content: space-between;
    width: 100%;
    padding: 40px 20px 20px 20px;
}

.Staff_Picks1 {
    position: relative;
    width: 590px;
    height: 555px;
}

.book {
    position: absolute;
    right: 0;
    bottom: 0;
    width: 200px;
    height: 300px;
}

.text_book {
    display: flex;
    flex-direction: column;
    border: 1px solid #000;
    background: #FFF;
    width: 550px;
    height: 555px;
}

.note1 {
    color: #000;
    font-family: Forum;
    font-size: 20px;
    font-style: normal;
    font-weight: 400;
    line-height: 40px; /* 200% */
    letter-spacing: 2px;
    text-transform: capitalize;
    margin-left: 20px;
    margin-top: 13px;
}

.note1::after {
    display: block;
    width: 60px;
    height: 1px;
    position: relative;
    margin: 0 auto;
    content: '';
    background: #BB945F;
    left: -236px;
    top: -2px;
}

.note2 {
    color: #000;
    font-family: Inter;
    font-size: 15px;
    font-style: normal;
    font-weight: 700;
    line-height: 40px;
    letter-spacing: 2px;
    text-transform: capitalize;
    width: 360px;
    height: 80px;
    margin-left: 20px;
    margin-top: -1px;
}

.note3 {
    color: #000;
    font-family: Inter;
    font-size: 15px;
    font-style: normal;
    font-weight: 400;
    line-height: 40px; /* 266.667% */
    letter-spacing: 2px;
    text-transform: capitalize;
    width: 357px;
    height: 250px;
    margin-top: 6px;
    margin-left: 20px;
}

.button_book {
    position: absolute;
    color: #0C0C0E;
    text-align: center;
    font-family: Inter;
    font-size: 10px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
    letter-spacing: 1px;
    width: 75px;
    height: 30px;
    bottom: 15px;
    left: 20px;
    background: #FFF;
    border-radius: 2px;
    border: 1px solid #0C0C0E;
    transition: 0.5s;
}

.button_book:hover {
    background-color: #BB945F;
    border: 1px solid #BB945F;
}

.Favorites_books2 {
    display: flex;
    justify-content: space-between;
    width: 100%;
    padding: 20px 20px 20px 20px;
}

.button_own {
    position: absolute;
    color: #BB945F;
    text-align: center;
    font-family: Inter;
    font-size: 10px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
    letter-spacing: 1px;
    width: 75px;
    height: 30px;
    bottom: 15px;
    left: 20px;
    background: #FFF;
    border-radius: 2px;
    border: 1px solid #BB945F;
}

.section_coffee_shop {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 0 auto;
    width: 100%;
    max-width: 1440px;
}

#Coffeeshop {
    margin-top: 38px;
}

.coffee_shop_text {
    color: #000;
    font-family: Inter;
    font-size: 20px;
    font-style: normal;
    font-weight: 400;
    line-height: 40px;
    letter-spacing: 2px;
    width: 100%;
    text-align: center;
    margin-top: 25px;
}

.coffee_shop_menu {
    display: flex;
    justify-content: space-between;
    width: 100%;
    margin-top: -19px;
    padding-left: 20px;
}

.menu1 {
    margin-top: -20px;
}

.menu2 {
    margin-top: -20px;
    margin-right: 20px;

}

.coffee_and_tea {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    /*width: 438px;*/
    height: 520px;
    margin-bottom: 90px;
}

.cafe {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    margin: 0;
    gap: 60px;
}

.drink {
    width: 199px;
    color: #000;
    font-family: Inter;
    font-size: 20px;
    font-style: normal;
    font-weight: 400;
    line-height: 40px;
    letter-spacing: 2px;
    text-transform: capitalize;
}

.food {
    text-align: right;
    width: 212px;
}

.line::after {            
    display: block;
    width: 100px;
    height: 1px;
    position: relative;
    margin: 0 auto;
    content: '';
    background: #BB945F;
}

.title_menu {
    color: #BB945F;
    font-family: Forum;
    font-size: 40px;
    font-style: normal;
    font-weight: 400;
    line-height: 40px; 
    letter-spacing: 2px;
    text-transform: capitalize;
    margin-right: 20px;
}

.title_menu1 {
    align-self: flex-end;
}

.price {
    color: #000;
    font-family: Forum;
    font-size: 20px;
    font-style: normal;
    font-weight: 400;
    line-height: 40px; 
    letter-spacing: 2px;
    text-transform: capitalize;
}

.section_our_contacts {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 0 auto;
    width: 100%;
    max-width: 1440px;
    padding: 0 20px 0 20px;
}

#Contacts {
    margin-top: 9px;
}

.contact {
    display: flex;
    justify-content: space-between;
    width: 100%;
    margin-top: 28px;
}

.contakt1 {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    margin: -20px 0 -20px 0;
}

.contact_name {
    color: #000;
    font-family: Inter;
    font-size: 20px;
    font-style: normal;
    font-weight: 700;
    line-height: 40px; 
    letter-spacing: 2px;
    text-transform: capitalize;
}

.contact_tel {
    color: #000;
    font-family: Inter;
    font-size: 20px;
    font-style: normal;
    font-weight: 400;
    line-height: 40px; 
    letter-spacing: 2px;
    text-transform: capitalize;
    text-decoration: none;
    width: 505px;
}

.contact_tel_gap {
    gap: 20px;
}

.none {
    text-decoration: none;
    color: #000;
    transition: 0.3s;
}

.none:hover {
    color: #BB945F;
}

.none1 {
    font-weight: 700;
}

.section_Digital_Library_Cards {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 0 auto;
    width: 100%;
    max-width: 1440px;
    margin-top: 41px;
    padding: 0 20px 41px 20px;
}

.library_cards {
    display: flex;
    justify-content: space-between;
    width: 100%;
    padding: 0 20px 0 0px;
    margin-top: -3px;
}

.search_name {
    display: flex;
    flex-direction: column;
    align-items: center;
    color: #000;
    font-family: Inter;
    font-size: 30px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    letter-spacing: 0.6px;
    width: 600px;
}

.text1 {
    align-self: flex-start;
    color: #000;
    font-family: Forum;
    font-size: 30px;
    font-style: normal;
    font-weight: 400;
    line-height: 50px;
    letter-spacing: 0.6px;
    margin-bottom: 0;
    margin-left: 20px;
    margin-top: 20px;
}

.placeholder1_gap {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

#name1 {
    color: #8E8E8E;
    font-family: Forum;
    font-size: 30px;
    font-style: normal;
    font-weight: 400;
    line-height: 50px; 
    letter-spacing: 0.6px;
    border-radius: 10px;
    background: #FFF;
    width: 520px;
    height: 66px;
    padding: 8px 318px 8px 20px;
    border: 0;
}

#name2 {
    color: #8E8E8E;
    font-family: Forum;
    font-size: 30px;
    font-style: normal;
    font-weight: 400;
    line-height: 50px; 
    letter-spacing: 0.6px;
    border-radius: 10px;
    background: #FFF;
    width: 520px;
    height: 66px;
    padding: 8px 318px 8px 20px;
    border: 0;
}

.Check_the_card {
    display: inline-flex;
    color: #0C0C0E;
    text-align: center;
    font-family: Inter;
    font-size: 20px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
    letter-spacing: 1px;
    border-radius: 2px;
    border: 1px solid #0C0C0E;
    padding: 9px 32px 11px 38px;
    background: #FFF;
    margin-top: 20px;
    width: 242px;
    height: 44px;
    transition: 0.5s;
}

.field {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 600px;
    height: 386px;
    border: 3px solid #BB945F;
    background: #FFF;
    padding: 17px 40px 10px 40px;
    box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.25);
}

.background {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 560px;
    height: 272px;
    background: #BB945F;
    gap: 20px;
}

.text_h2_card {
    color: #000;
    text-align: center;
    font-family: Forum;
    font-size: 30px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    letter-spacing: 0.6px;
}

.text_card {
    color: #000;
    text-align: right;
    font-family: Inter;
    font-size: 20px;
    font-style: normal;
    font-weight: 400;
    line-height: 40px; 
    letter-spacing: 0.4px;
    width: 456px;
    margin-top: 5px;
}

.button_1 {
    display: flex;
    width: 75px;
    height: 30px;
    padding: 10px 0px;
    justify-content: center;
    align-items: center;
    flex-shrink: 0;
    border-radius: 2px;
    border: 1px solid #0C0C0E;
    background: #FFF;
    color: #0C0C0E;
    text-align: center;
    font-family: Inter;
    font-size: 10px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
    letter-spacing: 1px;
    transition: 0.5s;
}

.button_1:hover {
    background-color: #BB945F;
    border: 1px solid #BB945F;
}

.Check_the_card:hover {
    background-color: #BB945F;
    border: 1px solid #BB945F;
}
.library_cards1 {
    align-items: flex-start;
    width: 1400px;
}

.library_cards2 {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    justify-content: flex-start;
}

.buttons {
    display: flex;
    gap: 20px;
    margin-top: 15px;
}

.footer {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 250px;
    width: 100%;
    max-width: 1440px;
    max-height: 614px;
    background: #0C0C0E;
    margin: 0 auto;
    padding: 20px 20px 40px 20px;
}

.new_york {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.cadman_plaza {
    width: 229px;
    height: 40px;
}

.maps {
    color: #FFF;
    font-family: Inter;
    font-size: 15px;
    font-style: normal;
    font-weight: 400;
    line-height: 20px; 
    text-decoration: none;
    transition: 0.3s;
}

.maps:hover {
    color: #BB945F;
}

.social_media {
    display: flex;
    justify-content: flex-start;
    width: 229px;
}

.links {
    display: flex;
    gap: 15px;
    width: 102px;
    height: 24px;
    padding: 0;
}

.footer1 {
    display: flex;
    justify-content: space-between;
}

.month {
    margin-top: -15px;
}

.mon_fri {
    color: #FFF;
    text-align: right;
    font-family: Inter;
    font-size: 15px;
    font-style: normal;
    font-weight: 400;
    line-height: 20px;
}

.footer2 {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 25px;
}

.p2023 {
    color: #FFF;
    text-align: center;
    font-family: Inter;
    font-size: 20px;
    font-style: normal;
    font-weight: 400;
    line-height: 20px; 
    letter-spacing: 2px;
}

.footerEnd {
    display: flex;
    width: 301px;
    height: 22px;
    flex-direction: column;
    justify-content: center;
    flex-shrink: 0;
    color: #FFF;
    text-align: center;
    font-family: Inter;
    font-size: 20px;
    font-style: normal;
    font-weight: 400;
    line-height: 20px; 
    letter-spacing: 2px;
    text-decoration: none;
    transition: 0.3s;
}

.footerEnd:hover {
    color: #BB945F;
}

.footerEndtext {
    display: flex;
    width: 113px;
    height: 22px;
    flex-direction: column;
    justify-content: center;
    flex-shrink: 0;
    color: #FFF;
    text-align: center;
    font-family: Inter;
    font-size: 20px;
    font-style: normal;
    font-weight: 400;
    line-height: 40px; 
    letter-spacing: 2px;
    text-decoration: none;
    transition: 0.3s;
}

.footerEndtext:hover {
    color: #BB945F;
}

.footerEnd {
    margin-left: 56px;
}

.header_burger {
    display: none;
}

@media (max-width: 1024px) {

    .header {
        position: relative;
    }

    .header_burger {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        width: 45px;
        height: 22px;
        cursor: pointer;
        z-index: 2;
        margin-right: 26px;
    }

    .header_burger * {
        background-color: #fff;
        width: 45px;
        height: 2px;
    }

    .nav_list {
        flex-direction: column;
        margin-left: 15px;
    }

    .nav {
        display: flex;
        justify-content: center;
        align-items: center;
        z-index: 1;
        background: #0C0C0E;
        width: 332px;
        height: 570px;
        position: absolute;
        right: 0;
        top: 0;
        margin: 0;
    }

    .profil {
        z-index: 2;
        margin-right: 47px;
    }
}

@media only screen and (max-width: 1390px) {
    .header {
        width: 100%;
        max-width: 1440px;
    }

    .section_welcome {
        width: 100%;
    }

    .section_about {
        width: 100%;
        max-width: 1440px;
        align-items: center;
    }

    .About_carousel :nth-child(3), .About_carousel :nth-child(4) {
        display: none;
    }

    .About_carousel {
        display: flex;
        justify-content: space-between;
        width: 100%;
        max-width: 1440;
        padding: 0 20px 0 20px;
        margin-right: 76px;
    }

    .arrow1, .arrow2 {
        display: inline;
        padding: 0 70px 0 70px;
        margin-top: 20px;
    }


    .About_carousel {
        width: 100%;
        max-width: 1440px;
    }

    .About_radio :nth-child(4), .About_radio :nth-child(5) {
        display: inline;
    }

    .About_radio {
        margin-top: 15px;
    }
}

@media only screen and (max-width: 1225px) {
    .section_favorites {
        width: 100%;
    }
    
    .Favorites_books {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 40px;
    }

    .Favorites_books2 {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 40px;
    }
}

@media only screen and (max-width: 950px) {
    .section_coffee_shop {
        width: 100%;
        align-items: center;
    }

    .coffee_shop_menu {
        flex-direction: column;
    }
.coffee_and_tea {
    margin-top: -25px;
}
}

@media only screen and (max-width: 1250px) {
    .section_our_contacts {
        width: 100%;
        align-items: center;
    }

    .contact {
        flex-direction: column;
    }    

    .menu2 {
        align-self: flex-end;
    }

    .contact2 {
        align-self: center;
        margin-top: 100px;
    }
}

@media only screen and (max-width: 1250px) {
    .section_Digital_Library_Cards {
        width: 100%;
        align-items: center;
    }

    .library_cards {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .library_cards1{
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .library_cards2 {
        display: flex;
        flex-direction: column;
        align-items: center;
        width: 500px;
    }

    .text_card {
        text-align: center;
        width: 500px;
    }
}