.container {
    margin: 0 auto;
    max-width: 1239px;
}

.materials__header_title {
    margin: 60px 0px 60px 0px;
}
.materials__header_title h2 {
    color: #000;
    font-family: Inter;
    font-size: 24px;
    font-style: normal;
    font-weight: 500;
    line-height: normal;
}
.materials__header_discription p {
    color: #000;
    text-align: justify;
    font-family: Inter;
    font-size: 15px;
    font-style: normal;
    font-weight: 400;
    line-height: 24px;
    /* 160% */
}

.tabs__header_title {
    margin-top: 60px;
}
.tabs__header_title h2 {
    color: #000;
    font-family: Inter;
    font-size: 24px;
    font-style: normal;
    font-weight: 500;
    line-height: normal;
}

.tab {
    margin: 60px 0px 23px 0px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
}

/* Style the buttons that are used to open the tab content */
.tab button {
    color: #7c7c7c;
    text-align: justify;
    font-family: Inter;
    font-size: 24px;
    font-style: normal;
    font-weight: 400;
    line-height: 24px;
    /* 100% */
    border-bottom: 1px solid white;
}

/* Change background color of buttons on hover */
.tab button:hover {
    border-bottom: 1px solid black;
    color: rgb(0, 0, 0);
}

.bborder {
    border-bottom: 2px solid black !important;
}

.img-rad {
    border-radius: 179px;
    border: 2px solid #000;
}

/* Create an active/current tablink class */
.tab button.active {
    border-bottom: 1px solid black;
    color: rgb(0, 0, 0);
}

.tabactive {
    display: block;
}

/* Style the tab content */
.tabcontent {
    display: none;
}

.tabcontent__card {
    border-top: 1px solid #e4e4e7;
    padding: 0px 0px 0px 0px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
}
.tabcontent__card_date {
    color: #71717a;
    font-family: Inter;
    font-size: 15px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
}
.tabcontent__card_title {
    margin-bottom: 40px;
}
.tabcontent__card_title h3 {
    color: #000;
    font-family: Inter;
    font-size: 18px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
}
.tabcontent__card_preview {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
}
.tabcontent__card_preview img {
    margin-right: 20px;
}
.tabcontent__card_color {
    margin-top: 40px;
}
.tabcontent__card_color p {
    margin-bottom: 15px;
    color: #000;
    font-family: Inter;
    font-size: 15px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
}

.tabcontent__card_preview {
    position: relative;
    width: 607px;
    height: 607px;
}
.tabcontent__card_content {
    position: relative;
    width: 607px;
    overflow: hidden;
}
.tabcontent__preview_img-all {
    margin: auto auto;
}
.tabcontent__preview_title-all {
    position: absolute;
    bottom: 0px;
    color: #fff;
    font-family: Inter;
    font-size: 22px;
    font-style: normal;
    font-weight: 400;
    line-height: 24px;
    /* 109.091% */
    text-transform: uppercase;
    background: rgba(0, 0, 0, 0.5);
    padding: 12px 0px;
    width: 100%;
    text-align: center;
}
.tabcontent__content_slider {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: start;
    -ms-flex-pack: start;
    justify-content: flex-start;
    position: absolute;
    right: 0px;
    width: 800px;
}
.tabcontent__content_text {
    margin-top: 63px;
}
.tabcontent__content_text p {
    color: #000;
    text-align: justify;
    font-family: Inter;
    font-size: 15px;
    font-style: normal;
    font-weight: 400;
    line-height: 24px;
    /* 160% */
}
.tabcontent__content_text nav li {
    color: #000;
    text-align: justify;
    font-family: Inter;
    font-size: 15px;
    font-style: normal;
    font-weight: 400;
    line-height: 24px;
    /* 160% */
}
.tabcontent__content_btn {
    position: absolute;
    bottom: 0;
}
.tabcontent__content_btn a {
    display: inline-block;
    border: 1px solid #000;
    background: #fff;
    color: #52525b;
    font-family: "Plus Jakarta Sans", sans-serif;
    padding: 12px 178px;
    font-size: 15px;
    font-style: normal;
    font-weight: 400;
    line-height: 26px;
    /* 173.333% */
    -webkit-transition: 0.3s all ease;
    transition: 0.3s all ease;
}
.tabcontent__content_btn a:hover {
    color: white;
    background-color: black;
}
.tabcontent__slider_slide {
    margin-right: 50px;
}
.tabcontent__slider_slide-line-all {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    cursor: pointer;
    margin-bottom: 15px;
}
.tabcontent__slide_img-all img {
    width: 45px;
}
.tabcontent__slide_name-all {
    margin-left: 14px;
}
.tabcontent__slide_name-all p {
    color: #000;
    font-family: Inter;
    font-size: 18px;
    font-style: normal;
    font-weight: 400;
    line-height: 24px;
    /* 133.333% */
    border-bottom: 0px solid black;
}
.tabcontent__slide_name-all p:hover {
    border-bottom: 1px solid black;
}

.prev-mat,
.next-mat {
    position: absolute;
    top: -40px;
    height: 24px;
    width: 24px;
    z-index: 1;
    cursor: pointer;
    border-radius: 15px;
}
.prev-mat:hover,
.next-mat:hover {
    border: 1px solid black;
    border-radius: 25px;
}

.tabcontent__content_slider {
    position: relative;
    margin-top: 65px;
}

.next-mat {
    right: 195px;
}

.prev-mat {
    right: 232px;
}

.slick-slide .slick-active {
    width: 0px;
}

@media (min-width: 320px) and (max-width: 1250px) {
    .container {
        max-width: 355px;
    }
    .materials__header_title {
        text-align: center;
    }
    .breadcrumb {
        display: none;
    }
    .tab {
        margin: 40px 0px 23px 0px;
        padding-top: 40px;
        border-top: 1px solid #e4e4e7;
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        -webkit-box-pack: start;
        -ms-flex-pack: start;
        justify-content: flex-start;
        -ms-flex-wrap: wrap;
        flex-wrap: wrap;
    }
    /* Style the buttons that are used to open the tab content */
    .tab button {
        color: #000;
        font-family: Inter;
        font-size: 15px;
        font-style: normal;
        font-weight: 500;
        border: 1px solid #000;
        background: #fff;
        padding: 2.5px 23px;
        margin-bottom: 20px;
        margin-right: 16px;
    }
    /* Change background color of buttons on hover */
    .tab button:hover {
        color: white;
        border: 1px solid #ffffff;
        background: #000000;
    }
    /* Create an active/current tablink class */
    .tab button.active {
        color: white;
        border: 1px solid #ffffff;
        background: #000000;
    }
    .tabcontent__card {
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        -ms-flex-direction: column;
        flex-direction: column;
    }
    .tabcontent__card_preview {
        position: relative;
        width: 100%;
    }
    .tabcontent__card_content {
        position: relative;
        width: 355px;
    }
    .tabcontent__content_text p {
        width: 355px;
    }
    .tabcontent__content_btn a {
        display: inline-block !important;
        margin-top: 40px;
        padding: 12px 0px;
        text-align: center;
        width: 100%;
        margin-bottom: 60px;
    }
    .tabcontent__content_btn {
        position: relative;
        bottom: 0;
    }
    .materials__header_title {
        margin-top: 124px;
    }
    .tabcontent__card_preview img {
        margin-right: 0;
    }
}