@media only screen and (max-width: 1280px) {
    :root {
        --section-width: 1000px;
    }
    #Home .banners .card-case .card {
        width: 48%;
    }
    #Home .banners .card-case .card .text_side {
        width: 50%;
        margin-left: 20px;
    }
    #Home .banners .card-case .card .text_side h3{
        width: 80%;
        font-size: 18px;
    }
    #Home .banners .card-case .card .text_side p{
        width: 100%;
        font-size: 16px;
    }
    #Home .popular_drugs .card_case .card,
    #Home .seasonal_drugs .card_case .card,
    #BuyProduct .popular_drugs .card_case .card, 
    #Products .select_products .card_side .card {
        width: 250px;
        margin-left: 0;
    }
    #Home .popular_drugs .card_case .card button,
    #Home .seasonal_drugs .card_case .card button,
    #BuyProduct .popular_drugs .card_case .card button,
    #Home .popular_drugs .card_case .card a,
    #Home .seasonal_drugs .card_case .card a, 
    #BuyProduct .popular_drugs .card_case .card a,
    #Products .select_products .card_side .card a {
        width: 180px;
        height: 40px;
    }
    #Home .popular_drugs .card_case,
    #Home .seasonal_drugs .card_case, 
    #BuyProduct .popular_drugs .card_case, 
    #Products .select_products .card_side {
        justify-content: space-around;
    }
    #Home .banners_2 .card-case .card {
        width: 48%;
    }
    #Home .skilled_professionals .card_case .card, 
    #Company .skilled_professionals .card_case .card,
    #Home .skilled_professionals_2 .card_case .card,
    #Contacts .banners .card-case .card {
        width: 32%;
    }
    #Home .skilled_professionals .card_case .card img, 
    #Company .skilled_professionals .card_case .card img, 
    #Home .skilled_professionals_2 .card_case .card img{
        width: 100%;
        object-fit: cover;
    }
    #Footer .get_in_touch .img_side {
        width: 539px;
    }
    #Footer .get_in_touch .img_side {
        width: 42%;
    }
    #Footer section {
        padding: 4%;
    }
    #Footer section .block {
        max-width: 200px;
        min-width: 160px;
    }
    #Footer section .block:last-child{
        width: 250px;
        max-width: 250px;
    }
    /* Product */
    #Products .banner .main-card .img_side img{
        width: 100%;
    }
}
@media only screen and (max-width: 1040px) {
    :root {
        --section-width: 900px;
    }
    #Header{
    }
    #Header .text_side ul li a {
        font-size: 14px;
    }
    #Home .skilled_professionals .card_case .card img, 
    #Company .skilled_professionals .card_case .card img {
        height: 350px;
    }
    #BuyProduct .main_product_info .imgs_side {
        width: 50%;
    }
    #BuyProduct .main_product_info .text_side .buttons a, 
    #BuyProduct .main_product_info .text_side .buttons button {
        width: 200px;
    }
    #Company .post .cards .card{
        width: 48%;
    }

}
@media only screen and (max-width: 950px) {
    :root {
        --section-width: 90%;
        --section-margin-bottom: 50px;
    }
    marquee {
        filter: opacity(0.5);
    }
    #Home .banners .main-card, 
    #Company .banner .main-card, 
    #Contacts .banners .main-card, 
    #Products .banner .main-card {
        width: 100%;
        height: fit-content;
    }
    #Contacts .banners .main-card{
        height: 400px !important;
    }
    #Contacts .banners .card-case .card {
        height: 50vw;
        margin-bottom: 40px;
    }
    #Home .banners .main-card .text_side, 
    #Company .banner .main-card .text_side, 
    #Products .banner .main-card .text_side {
        width: 100%;
    }
    #Home .banners .main-card .text_side h3, 
    #Company .banner .main-card .text_side h3, 
    #Products .banner .main-card .text_side h3 {
        width: 85%;
        font-size: 20px;
        line-height: 26px;
        left: 5%;
    }
    #Home .banners .main-card .text_side p, 
    #Company .banner .main-card .text_side p, 
    #Products .banner .main-card .text_side p {
        width: 85%;
        font-size: 12px;
        line-height: 14px;
        left: 5%;
    }
    #Home .skilled_professionals .card_case .card img, 
    #Company .skilled_professionals .card_case .card img {
        height: 350px;
    }
    #Home .banners .main-card .img_side img, 
    #Company .banner .main-card .img_side img,
    #Products .banner .main-card .img_side img {
        height: 50vw;
    }
    #Home .banners .main-card .img_side, 
    #Company .banner .main-card .img_side, 
    #Products .banner .main-card .img_side {
        height: fit-content;
    }
    #Company .post .cards .card{
        width: 100%;
        height: fit-content;
    }
    /* -----------BTN------------ */
    #Header .btn_menu{
        width: 46px;
        height: 46px;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        border-radius: 50%;
        background-color: #FFF494;
    }
    #Header .btn_menu .line{
        width: 23px;
        height: 2px;
        margin: 2px 0;
        border-radius: 2px;
        background-color: #000000;
        transition: 0.2s;
    }
    #Header .btn_menu:hover{
        cursor: pointer;
    }
    .fixed{
        position: fixed;
    }
    #Menu{
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        position: fixed;
        z-index: 10;
        width: 100vw;
        height: 100vh;
        bottom: 0;
        left: 0;
        background-color: #FFFFFF;
        transform: translateX(-100vw);
        transition: 0.2s ease;
      }
    #Menu ul{
        flex-direction: column;
        list-style: none;
    }
    #Menu li{
        text-align: center;
        margin-bottom: var(--section-margin-bottom);
    }
    #Menu li a{
        color: #000000;
        text-decoration: none;
    }
    #Menu .language_btn{
        width: 120px;
        height: 40px;
        border-radius: 10px;
        background-color: #60c1f8;
        text-transform: uppercase;
        font-weight: 500;
        font-size: var(--font-size-middle);
        letter-spacing: 1px;
        color: #ffffff;
        border: none;
      }
      #Menu .language_btn:hover{
        border: 3px solid #0398ee;
        cursor: pointer;
      }
    .pos_fix{
        position: fixed;
        width: 100% !important;
        top: 0;
        left: 0;
    }
    #Menu.open_menu{
        transform: translateX(0);
    }
    #Header .text_side {
        display: none;
    }
    #Home .banners, 
    #Company .banner {
        margin-bottom: var(--section-margin-bottom)
    }
    #Header .open_btn .line{
        position: relative;
    }
    #Header .open_btn .line:first-child{
        transform: translateY(6px) rotate(45deg);
    }
    #Header .open_btn .line:nth-child(2){
        opacity: 0;
    }
    #Header .open_btn .line:last-child{
        transform: translateY(-6px) rotate(-45deg);
    }
    #Home .banners .card-case, 
    #Contacts .banners .card-case {
        width: 100%;
        height: fit-content;
    }
    #Home .banners .card-case, #Contacts .banners .card-case {
        flex-direction: column;
    }
    #Home .banners .card-case .card {
        width: 100%;
        height: 40vw;
        margin-bottom: 20px;
    }
    #Home .banners .card-case .card .img_side {
        width: 70%;
    }
    #Home .banners .card-case .card .img_side img {
        width: auto;
        height: 100%;
    }
    #Home .banners .card-case .card .text_side {
        margin-left: 8%;
        width: 90%;
    }
    #Home .banners .card-case .card .text_side h3 {
        font-size: 20px;
        margin-bottom: 20px;
    }
    #Home .banners .card-case .card .text_side p {
        font-size: 14px;
        line-height: 14px;
    }
    #Home .popular_drugs .card_case,
    #Home .seasonal_drugs .card_case,
    #BuyProduct .popular_drugs .card_case, 
    #Products .select_products .card_side {
        justify-content: space-around;
    }
    #Home .popular_drugs .card_case .card,
    #Home .seasonal_drugs .card_case .card, 
    #BuyProduct .popular_drugs .card_case .card, 
    #Products .select_products .card_side .card {
        width: 165px;
    }
    #Home .popular_drugs .card_case .card:nth-child(5){
         display: none;
    }
    #Home .popular_drugs .card_case .card:nth-child(6){
         display: none;
    }
    #Home .popular_drugs .card_case .card:nth-child(7){
         display: none;
    }
    #Home .popular_drugs .card_case .card:nth-child(8){
         display: none;
    }
    #Home .popular_drugs .card_case .card button,
    #Home .seasonal_drugs .card_case .card button,
    #BuyProduct .popular_drugs .card_case .card button,
    #Home .popular_drugs .card_case .card a,
    #Home .seasonal_drugs .card_case .card a,
    #BuyProduct .popular_drugs .card_case .card a, 
    #Products .select_products .card_side .card a {
        width: 80%;
    }
    #Home .popular_drugs .card_case .card img,
    #Home .seasonal_drugs .card_case .card img,
    #BuyProduct .popular_drugs .card_case .card img, 
    #Products .select_products .card_side .card img {
        width: 100%;
        padding: 0;
    }
    #Home .popular_drugs .card_case .card h3,
    #Home .seasonal_drugs .card_case .card h3{
        margin-bottom: 0;
    }
    #Footer .get_in_touch .img_side {
        display: none;
    }
    #Footer section {
        flex-direction: column;
        height: fit-content;
    }
    #Footer .get_in_touch .text_side {
        margin-left: 0;
        width: 100%;
    }
    #Footer .get_in_touch .text_side #Commnent {
        width: 100%;
    }
/* banner */
#Home .banners_2 .main-card, 
#Products .banners_2 .main-card, 
#BuyProduct .banners_2 .main-card {
    height: 60vw;
}
#Home .banners_2 .main-card .text_side, 
#Products .banners_2 .main-card .text_side, 
#BuyProduct .banners_2 .main-card .text_side {
    top: 50%;
}
#Home .banners_2 .main-card .img_side img, 
#Products .banners_2 .main-card .img_side img, 
#BuyProduct .banners_2 .main-card .img_side img {
    margin-right: 0;
}
#Home .banners_2 .main-card .text_side, 
#Products .banners_2 .main-card .text_side, 
#BuyProduct .banners_2 .main-card .text_side { 
    width: 90%;
}
#Home .banners_2 .main-card .text_side h3, 
#Products .banners_2 .main-card .text_side h3, 
#BuyProduct .banners_2 .main-card .text_side h3 {
    width: 60%;
    font-size: 20px;
    line-height: 30px;
}
#Home .banners_2 .main-card .text_side p, 
#Products .banners_2 .main-card .text_side p, 
#BuyProduct .banners_2 .main-card .text_side p {
    width: 80%;
    font-size: 11px;
    line-height: 15px;
}
#Home .banners_2 .card-case {
    flex-direction: column;
    height: fit-content;
}
#Home .banners_2 .card-case .card {
    position: relative;
    width: 100%;
    height: 50vw;
    margin-bottom: 20px;
}
#Home .banners_2 .card-case .card .text_side {
    width: 50%;
}
#Home .banners_2 .card-case .card .text_side h3 {
    width: 80%;
}
#Home .banners_2 .card-case .card .text_side p {
    width: 80%;
}
#Home .banners_2 .card-case .card .img_side img {
    height: 100%;
}
/* skill */
#Home .skilled_professionals h2, 
#Company .skilled_professionals h2,
#Home .skilled_professionals_2 h2 {
    width: 100%;
    font-size: 20px;
    line-height: 24px;
    margin-bottom: var(--section-margin-bottom);
}
#Home .skilled_professionals .card_case,
#Home .skilled_professionals_2 .card_case, 
#Company .skilled_professionals .card_case {
    flex-direction: column;
}
#Home .skilled_professionals .card_case .card, 
#Company .skilled_professionals .card_case .card, 
#Home .skilled_professionals_2 .card_case .card, 
#Contacts .banners .card-case .card {
    width: 100%;
    margin-bottom: 60px;
}
#Home .skilled_professionals .card_case .card img, 
#Company .skilled_professionals .card_case .card img,
#Home .skilled_professionals_2 .card_case .card img  {
    margin-bottom: 12px;
}
#Home .skilled_professionals_2 .card_case .card p.date {
    margin-bottom: 12px;
}
/* --------------------------- */
#Home .popular_drugs .more,
#Home .seasonal_drugs .more,
#BuyProduct .popular_drugs .more {
    width: 100%;
}
#Home .banners_2 .main-card .text_side, 
#Products .banners_2 .main-card .text_side, 
#BuyProduct .banners_2 .main-card .text_side {
    left: 5%;
}
/* ----------------------------- */
#Footer .get_in_touch .text_side p {
    width: 80%;
}
#Footer .get_in_touch .text_side button {
    width: 100%;
}
#Footer section {
    padding: 8%;
}
#Footer section .block {
    margin-bottom: var(--section-margin-bottom)
}
#Footer .links {
    flex-direction: column;
    align-items: center;
    text-align: center;
    justify-content: space-around;
    margin-bottom: var(--section-margin-bottom)
}
#Footer .links p {
    font-size: 14px;
}
#Footer .links .case a {
    font-size: 14px;
}
/* -------------------- */

#Company{
    width: 100%;
}

#Company .banner .main-card .text_side{
    color: #000000;
}
#Company .post {
    flex-direction: column;
    margin-bottom: var(--section-margin-bottom)
}
#Company .post .img_side {
    width: 100%;
    margin-bottom: var(--section-margin-bottom)
}
#Company .post .img_side img {
    display: block;
    width: 100%;
    height: auto;
}
#Company .post .text_side {
    width: 100%;
    margin-left: 0;
}
/* #Company .post .text_side h3{
    font-size: 20px;
    line-height: 24.2px;
}
#Company .post .text_side p{
    font-size: 10px;
    line-height: 12.1px;
} */

#Company .post .text_side .statistics .block {
    display: flex;
    justify-content: center;
    align-items: center;
}
#Company .post .text_side .statistics .block .number{
    font-size: 20px;
    line-height: 24.2px;
    margin-bottom: 0;
    margin-right: 10px;
}
#Company .post .text_side .statistics .block .description{
    font-size: 20px;
    line-height: 24.2px;
}
#Company .video_block {
    margin-bottom: var(--section-margin-bottom);
}
#Company .post .text_side .statistics {
    height: 220px;
    flex-direction: column;
}

/* ----------------------------- */
#Products {
    width: 100%;
}
#Products .select_products .head {
    flex-direction: column-reverse;
    align-items: flex-start;
}
#Products .select_products .head .case {
    width: 100%;
    display: flex;
    justify-content: space-between;
    margin-bottom: var(--section-margin-bottom);
}
#Products .select_products .head .case input {
    width: 58%;
    margin-right: 0;
}
#Products .select_products .head h3 {
    margin-left: 0;
}
#Products .select_products .list_side #Dispensing_form {
    flex-direction: column;
}
#Products .select_products .list_side #Dispensing_form li {
    width: 100%;
}
#Products .select_products .list_side #Drug_select_case {
    padding-top: 300px;
}
/* ------- */
@keyframes bounce_open {
    0%   {transform: rotate(0deg);}
    5%  {transform: rotate(15deg);}
    10%  {transform: rotate(0deg);}
    15%  {transform: rotate(-15deg);}
    20%  {transform: rotate(0deg);}
    100% {transform: rotate(0deg);}
}
@keyframes bounce_close {
    0%   {transform: rotate(-90deg);}
    5%  {transform: rotate(-75deg);}
    10%  {transform: rotate(-90deg);}
    15%  {transform: rotate(-105deg);}
    20%  {transform: rotate(-90deg);}
    100% {transform: rotate(-90deg);}
}
#Products .select_products .list_side div img{
    transform: rotate(0deg);
    display: block;
    transition: all 0.2s;
    animation-name: bounce_open;
    animation-duration: 2s;
    animation-iteration-count: infinite;
    animation-timing-function: ease;
}
#Products .select_products .list_side .close img{
    transform: rotate(-90deg);
    transition: all 0.2;
    animation-name: bounce_close;
    animation-duration: 2s;
    animation-iteration-count: infinite;
    animation-timing-function: ease;
}
#Products .select_products .list_side ul {
    height: fit-content;
    max-height: auto;
    overflow: hidden;
    transition: max-height 0.2s;
}
#Products .select_products .list_side ul.close{
    max-height: 0;
    transition: max-height 0.2s;
}
#Products .select_products .list_side > div {
    margin-top: 20px;
}
#Products .select_products .sides {
    flex-direction: column;
}
#Products .select_products .card_side {
    margin-left: 0;
}
#Products .select_products .list_side {
    width: 100%;
}
#Products .select_products {
    width: 100%;
}
#Products .select_products .list_side button {
    width: 100%;
}
/* ------------------ */
#BuyProduct {
    width: 100%;
}
#BuyProduct .main_product_info {
    flex-direction: column;
}
#BuyProduct .main_product_info .imgs_side .swiper-case {
    flex-direction: column;
}
#BuyProduct .mySwiper2 {
    width: 100%;
}
#BuyProduct .mySwiper {
    width: 100%;
}
#BuyProduct .main_product_info .imgs_side {
    width: 100%;
    height: fit-content;
}
#BuyProduct .mySwiper .swiper-wrapper {
    flex-direction: row;
    justify-content: space-around;
    align-items: center;
}
#BuyProduct .main_product_info .text_side {
    margin-left: 0;
    height: fit-content;
    margin-bottom: var(--section-margin-bottom);
}
#BuyProduct .main_product_info .text_side .buttons {
    flex-direction: column;
}
#BuyProduct .main_product_info .text_side .buttons a,
#BuyProduct .main_product_info .text_side .buttons button {
    width: 100%;
}
#BuyProduct .main_product_info .text_side .buttons #Buy {
    margin-right: 0;
    margin-bottom: 20px;
}
#Home .popular_drugs h2,
#Home .seasonal_drugs h2,
#BuyProduct .popular_drugs h2 {
    margin-bottom: var(--section-margin-bottom);
}
#Home .popular_drugs .card_case,
#Home .seasonal_drugs .card_case, 
#BuyProduct .popular_drugs .card_case, 
#Products .select_products .card_side {
    margin-bottom: var(--section-margin-bottom);
}
#Home .popular_drugs .card_case,
#Home .seasonal_drugs .card_case,
#BuyProduct .popular_drugs .card_case{
    margin-bottom: 0;
}
#Pop_up {
    width: 90% !important;
    height: 90vh !important;
}
#Pop_up .case {
    flex-direction: column !important;
}
#Pop_up .case .card {
    max-height: 170px !important;
}
#Pop_up h4 {
    font-size: 1.6rem !important;
    margin-bottom: 0 !important;
}
#Pop_up .case .card img {
    margin-bottom: 0 !important;
}
#Pop_up .case {
    margin-top: 5px !important;
}

}

@media only screen and (max-width: 350px) {
    #Home .popular_drugs .card_case .card,
    #Home .seasonal_drugs .card_case .card, 
    #BuyProduct .popular_drugs .card_case .card, 
    #Products .select_products .card_side .card {
        width: 90%;
    }
}