/* Mobile */
@media (max-width: 767px) {
    .mobi-logo img {
        width: 40%;
        height: auto;
    }

    .navbar-light .navbar-toggler {
        color: #000;
        border-color: transparent;
        font-size: 25px;
    }
    
    .navbar-toggler {
        padding: 0 0.75rem;
    }

    .navbar-collapse {
        position: absolute;
        top: 115%;
        left: 0;
        right: 0;
        background-color: #fff;
        padding: 15px 0;
        box-shadow: 0 .5rem 1rem rgba(0,0,0,.15)!important;
    }

    .navbar-expand-lg .navbar-nav .nav-item {
        padding-right: 0;
        padding-left: 0;
    }

    button:focus {
        outline: none;
        outline: none;
    }

    h1 {
        font-size: 30px;
    }

    h2 {
        font-size: 25px;
    }

    .home-header {
        background-size: cover;
        background-attachment: unset;
    }

    .year-comp {
        padding: 10% 0;
    }

    .sponsors img {
        width: 70%;
    }

    .page-header {
        background-size: auto;
        background-position: center right 37%;
    }

    .page-header .row {
        height: 90px;
    }

    .card-img-overlay {
        top: 35%;
    }

    .about-tabs .nav-tabs .nav-item.show .nav-link, .about-tabs .nav-tabs .nav-link.active {
        padding: 10px 10px;
        font-size: 13px;
        min-width: 70px;
        width: auto;
        line-height: normal;
    }
    
    .about-tabs .nav-tabs .nav-link {
        padding: 10px 10px;
        font-size: 13px;
        min-width: 70px;
        width: auto;
        line-height: normal;
        text-align: center;
    }

    .overlay-right {
        top: 25%!important;
        right: 6%;
    }

    .about-tabs .enter-img {
        height: 200px;
    }

    .file-upload {
        height: 200px;
        text-align: center;
        background-color: #E8E8E8;
        border-radius: 5px;
        border: 1px solid #707070;
    }

    .form-group .btn-primary.float-right {
        float: none!important;
    }

    .blogs .card-body, .recent-blogs .card-body {
        min-height: 200px;
    }

    .blogs .card-body .btn-primary, .recent-blogs .card-body .btn-primary {
        bottom: 20px;
        left: 20px;
    }

    .header-social {
        text-align: center;
        float: none;
        width: 100%;
        margin: 0 auto!important;
    }

    /* Footer */
    .footer, .footer .text-right {
        text-align: center!important;
    }

    .footer img {
        width: 40%;
        height: auto;
        margin-bottom: 30px;
    }
}

/* Tablet & small screens: */
@media (min-width: 768px) and (max-width: 991px) {
    /* .logo {
        text-align: right;
    } */

    .logo img {
        width: 60%;
    }

    .navbar-light .navbar-toggler {
        color: #000;
        border-color: transparent;
        font-size: 25px;
    }
    
    .navbar-toggler {
        padding: 0 0.75rem;
    }

    .navbar-collapse {
        position: absolute;
        top: 113%;
        left: 0;
        right: 0;
        background-color: #fff;
        padding: 15px 0;
        box-shadow: 0 .5rem 1rem rgba(0,0,0,.15)!important;
    }

    .navbar-expand-lg .navbar-nav .nav-item {
        padding-right: 0;
        padding-left: 0;
    }

    .header-social {
        text-align: center;
        float: none;
        width: 100%;
        margin: 0 auto!important;
    }

    .header-social i {
        font-size: 25px;
        margin-top: 20px;
    }

    .home-header {
        background-size: cover;
        background-attachment: unset;
    }

    .page-header {
        background-position: center right 35%;
        background-repeat: no-repeat;
    }

    .card-img-overlay {
        top: 65%;
    }

    .about-tabs .enter-img {
        height: 250px;
    }

    .about-tabs .card-img-overlay {
        top: 15%;
        right: 5%;
    }

    .contact-details i {
        padding: 7px;
        font-size: 12px;
    }

    .form-group .card p {
        font-size: 14px;
        line-height: 25px;
        font-weight: 400;
    }

    .form-group .card .btn-primary {
        padding: 10px 20px;
        min-width: 180px;
        width: auto;
    }

    .form-group .card .col-md-12 {
        padding: 0;
    }

    .blogs .card-body, .recent-blogs .card-body {
        min-height: 150px;
    }

    footer h4 {
        font-size: 19px;
    }
    
}

@media (min-width: 992px) and (max-width: 1199px) {
    .navbar-expand-lg .navbar-nav .nav-item {
        padding-left: 20px;
        line-height: 20px;
        font-size: 15px;
    }

    .logo img {
        width: 60%;
    }

    .blogs .card-img-overlay, .recent-blogs .card-img-overlay {
        top: 13%;
    }

    .home-header {
        background-size: cover;
        background-attachment: unset;
    }

    footer img {
        width: 80%;
        height: auto;
    }
}

/* Laptop: */
@media (min-width: 1200px) and (max-width: 1600px) {
    .logo img {
        width: 71%;
    }

    .home-header {
        background-size: cover;
        background-attachment: unset;
    }

    footer img {
        width: 80%;
        height: auto;
    }
}

/* 14” HD Laptop */
@media (min-width: 1291px) and (max-width: 1600px), (min-height: 300px) and (max-height: 650px) and (orientation: landscape){
    .logo img {
        width: 75%;
    }
}
