
@media screen and (max-width: 1100px){
    .navbar .nav-item {
        display: inline-block;
        padding: 2px 0px;
        margin: 0 3px;
        font-size: 14px;
    }

    header h1{
        font-size: 45px;
    }

    .header_cards .header_card .icon{
        width: 45px;
    }
    
    .navbar .nav-link{
        padding: 10px 17px;
    }
}

@media screen and (max-width: 991px){
    .navbar-nav{
        display: none;
    }

    .hamburger {
        position: absolute;
        right: 22px;
        top: 25px;
        display: flex;
        height: 18px;
        width: 24px;
        flex-direction: column;
        justify-content: space-between;
        cursor: pointer;
        -webkit-user-select: none;
        -moz-user-select: none;
        -ms-user-select: none;
        user-select: none;
        z-index: 1;
    }
    .hamburger__icon {
        display: inline-block;
        height: 2px;
        width: 24px;
        background: #fff;
        border-radius: 2px;
    }

    .sidebar {
        height: 100vh;
        width: 320px;
        background: #fff;
        position: fixed;
        top: 0;
        right: 0;
        padding: 30px 40px;
        display: flex;
        flex-direction: column;
        transform: translatex(100%);
        transition: transform 0.4s ease-in-out;
        z-index: 100;
        text-align: center;
        box-shadow: 0 0 20px 20px rgb(0 0 0 / 3%);
    }
    .sidebar__close {
        position: absolute;
        top: 10px;
        left: -20px;
        background: #fff;
        height: 40px;
        width: 40px;
        border-radius: 50%;
        box-shadow: 0 0 20px 20px rgba(0, 0, 0, 0.03);
        display: flex;
        justify-content: center;
        align-items: center;
        transform: translatex(100%);
        cursor: pointer;
        transition: transform 0.4s ease-in-out 0.2s;
    }
    .sidebar__close::before, .sidebar__close::after {
        content: "";
        height: 2px;
        background: #000000;
        width: 18px;
        display: block;
        position: absolute;
    }
    .sidebar__close::after {
        transform: rotate(90deg);
    }
    .sidebar__menu {
        display: flex;
        flex-direction: column;
        flex: 1;
        font-size: 20px;
        margin-top: 140px;
        margin-bottom: 80px;
        color: #050a30;
    }
    .sidebar__menu a {
        color: currentcolor;
        text-decoration: none;
        transform: translatex(80%);
        transition: transform 0.4s ease-in-out;
        font-weight: 600;
        text-transform: uppercase;
        font-size: 16px;
        margin-bottom: 5px;
    }

    .sidebar__menu a:hover{
        opacity: 0.6;
    }

    .sidebar__menu a:nth-child(1) {
        transition-delay: 0.05s;
    }
    .sidebar__menu a:nth-child(2) {
        transition-delay: 0.1s;
    }
    .sidebar__menu a:nth-child(3) {
        transition-delay: 0.15s;
    }
    .sidebar__menu a:nth-child(4) {
        transition-delay: 0.2s;
    }
    .sidebar__menu a:nth-child(5) {
        transition-delay: 0.25s;
    }
    .sidebar__menu a:nth-child(6) {
        transition-delay: 0.30s;
    }

    .sidebar__menu a:nth-child(7) {
        transition-delay: 0.35s;
    }
    
    .sidebar__menu a:nth-child(8) {
        transition-delay: 0.40s;
    }

    .sidebar .contact_info a{
        color: #050a30;
        font-size: 14px;
    }

    .menu-control {
        display: none;
    }
    .menu-control:checked + .sidebar {
        transform: translatex(0);
    }
    .menu-control:checked + .sidebar .sidebar__close {
        transform: translatex(0) rotate(45deg);
    }
    .menu-control:checked + .sidebar .sidebar__menu a {
        transform: translatex(0);
    }


    .subpage_nav .hamburger__icon{
        background-color: #050a30;
    }

    .subpage_nav{
        display: block;
    }
    
    header h1{
        font-size: 45px;
        margin-top: 165px;
        line-height: 39px;
    }

    header h3 {
        font-size: 21px;
        line-height: 33px;
        margin-bottom: 0px;
    }

    .header_cards{
        flex-direction: column;
        margin-top: -250px;
    }

    .header_cards .header_card{
        width: 100%;
    }

    .header_cards .header_card.first{
        border-radius: 0px;
        border-top-left-radius: 20px;
        border-top-right-radius: 20px;

    }

    .header_cards .header_card.last{
        border-radius: 0px;
        border-bottom-left-radius: 20px;
        border-bottom-right-radius: 20px;
    }

    .hipokrat{
        max-width: 100%;
        float: left;
        position: relative;
        right: 0px;
        overflow: hidden;
        margin-top: -20px;
    }

    .header_cards .header_card .content{
        width: 77%;
    }

    .header_cards .header_card .icon{
        width: 43px;
    }
    
    .landing .right{
        padding: 0px;
        padding-top: 50px;
    }

    .landing{
        padding-bottom: 70px;
    }
    
    .landing .right h2{
        margin-top: 0px;
    }
}

@media screen and (max-width: 768px){


    h2{
        font-size: 30px;
    }

    .subtitle{
        font-size: 25px;
        margin-bottom: 30px;
    }

    .employees{
        padding-top: 70px;
        padding-bottom: 70px;
    }

    .news .news_card{
        margin-bottom: 20px;
    }

    .news{
        padding-top: 70px;
        padding-bottom: 70px;
    }

    .employees .employed h3{
        font-size: 15px;
    }


    .header_cards .header_card h5{
        font-size: 14px;
    }

    .subpage .content{
        width: 100%;
    }

    .subpage h1{
        font-size: 35px;
        line-height: 35px;
        margin-bottom: 22px;
    }

    .subpage h3 {
        font-size: 16px;
        text-align: justify;
    }

    .news_subpage .content{
        padding: 20px;
        margin-bottom: 20px;
    }

    .news_subpage h1{
        font-size: 22px;
        margin-bottom: 10px;
        line-height: normal;
        margin-top: 10px;
    }

    .news_subpage ul li a{
        font-size: 14px;
    }


    .subpage.covid h1{
        font-size: 25px;
    }

    .single_instruction{
        text-align: justify;
    }

    .landing_gallery {
        height: auto;
        display: block;
    }

    .landing_gallery .single_gallery{
        width: 49%;
        height: 230px;
        display: inline-block;
    }
    
    .reference_page h4{
        font-size: 16px;
    }
    
    .reference_card{
        font-size: 14px;
    }
    
    .reference_card h3{
        font-size: 14px;
        margin-bottom: 5px;
    }
    
    .news .news_card h3{
        font-size: 16px;
    }
    
    .news_subpage .text{
        font-size: 14px;
    }
    
    
    .header_cards .header_card .phone a{
        font-size: 14px;
        margin-top: 8px;
    }
    
    footer .bottom{
        font-size: 10px;
    }
    
    .rencof{
        width: 30px !Important;
    }
}