/* X-Small devices (portrait phones, less than 576px) */
@media (max-width: 575.98px) { 
    .hero_section .list-item .filter {
        width: 100%;
        display: block;
    }
    ul#filters {
        display: block !important;
    }
    .country_flag, .country_flag img {
        max-width: 102px;
    }
    .log_img.me-3{
        margin-right: 0 !important;
        margin-bottom: 5px;
    }
    .log_img.me-3 img{
       width: 65px !important;
    }
    .main-header .text h6 {
        font-size: 14px;
        line-height: 20px;
    }
    .navbar-brand img{
        width: 80px;
        margin-bottom: 10px;
    }
    .main-text h4 {
        font-size: 18px;
        margin-bottom: 0;
    }
    .main-text a{
        font-size: 12px;
    }
    .log_img img{
        width: 60px;
    }
    .hero_section{
        padding: 30px 0;
    }
    .hero_section h1{
        font-size: 20px;
    }
    .hero_section p{
        font-size: 14px;
    }
    .country-card{
        margin-top: 0;
    }
    .hero_section .list-item{
        font-size: 15px;
    }
    .hero_section .list-item .filter{
        padding: 10px 20px;
    }
    footer{
        position: static;
    }
    #portfoliolist .portfolio {
      margin-right: 20px;
      margin-bottom: 20px;
    }
    .hero_section_inner{
        background-image: none !important;
    }
    .navbar .container-fluid{
        justify-content: center;
    }
    .spain-home .col-md-3 {
        width: 100% !important;
        margin-bottom: 30px;
    }
}

 /* Small devices (landscape phones, less than 768px) */
@media (max-width: 767.98px) { 

}

/* Medium devices (tablets, less than 992px) */
@media (max-width: 991.98px) { 
    .spain-home .col-md-3 {
        width: 50%;
    }
}

/* Large devices (desktops, less than 1200px) */
@media (max-width: 1199.98px) { 

}

 /* X-Large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {
    .hero_section h1{
        font-size: 2rem;
    }
    .country_flag{
        max-width: 129px;
    }
}

 /* XX-Large devices (larger desktops, 1400px and up) */
 @media (min-width: 1400px) { 
    .hero_section h1{
        font-size: 2.3rem;
    }
    .country_flag{
        max-width: 150px;
    }
}

