/* Small devices (phones, 480px and up) */
@media (max-width: 480px) {
    .modal-content {
        padding: 20px;
        line-height: 20px;
        max-width: 95%;
    }
}

@media (max-width: 768px) {
    .menu-items {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 85px;
        left: 0;
        width: 70%;
        background-color: white;
        line-height: 60px;
        text-align: center;
    }

    .menu-items li a {
        font-size: 1.5rem;
        color: black;
    }

    .menu-items.active {
        display: flex;
    }

    .menu-toggle {
        display: block;
        cursor: pointer;
        color: white;
        font-size: 1.7rem;
    }

    .account-icon {
        display: block;
    }

    .account-icon a {
        font-size: 0.7rem;
    }

    /** ===== Hero Section ======*/
    .image-container .content-overlay {
        width: 100%;
    }

    .hero-content-container .image-container .content-overlay p {
        font-size: 2rem;
    }

    .header-data {
        width: 100%;
        margin-top: 30px;
    }

    .header-data .hotel-type-header a {
        font-size: 0.6rem;
    }

    .header-form {
        text-align: center;
    }

    .partner-header {
        flex-direction: column;
        align-items: flex-start;
        justify-content: space-between;
        text-align: left;
        padding: 40px 20px;
    }

    .header-ad-copy {
        margin: 0;
        flex: 1;
        max-width: none;
    }

    .register-box {
        margin: 0;
        flex: 0 0 auto;
    }

    .header-ad-copy h1 {
        font-size: 2rem;
    }

    .header-ad-copy p {
        font-size: 1rem;
    }

    /*****====== OFFER SECTION===== */
    section,
    .top-deal-container {
        padding: 0;
    }
    .offer-and-promotion-container {
        width: 100%;
        margin-top: 220px;
    }

    #right {
        margin-right: 15px;
    }

    .wrapper,
    .account-registration,
    .wrapper-5,
    .wrapper-3 {
        display: flex;
        flex-direction: column;
    }

    .wrapper .top-deal-item,
    .hotel-owner-registration {
        width: 100%;
    }

    .account-registration p {
        font-size: 0.5rem;
    }

    .hotel-user-registration {
        margin-top: 50px;
    }

    #offer-desc {
        font-size: 0.5rem;
    }

    .offer-item {
        max-width: 100%;
    }

    #offer-desc {
        font-size: 1.1rem !important;
    }

    /*===== Top 5 Hotels ===*/

    .top-five-hotel-in-lagos {
        padding-left: 0;
        width: 100%;
    }
    .top-five-hotel-in-lagos .content {
        padding: 0 20px;
    }

    .top-five-hotel-in-lagos h4 {
        font-size: 1.6rem;
    }

    .top-five-hotel-in-lagos p {
        font-size: 0.9rem;
        font-weight: bolder;
    }

    .top-five-hotel-in-lagos .button {
        font-size: 0.9rem;
    }

    /***==== Home Guest Love ***/
    .row-header {
        margin-top: 30px;
    }

    .home-guest-love-item {
        width: 100%;
    }

    /***====  DISCOVER CITIES AROUND YOU ***/
    .discover-cities-container .wrapper .discover-city-item {
        flex: 1 0 calc(100% - 20px);
        margin: 10px 0;
    }

    /****==== SHORT VIDEO SECTION ***/
    .video-container {
        padding: 0;
    }

    .video-slider {
        flex-wrap: nowrap;
        overflow-x: auto;
    }

    .video-thumbnail {
        width: auto;
        margin-right: 10px;
    }

    .blog-item {
        width: 100% !important;
    }

    /***==== FOOTER===*/
    .footer {
        text-align: center;
        align-items: center;
    }

    .footer .wrapper h5 {
        font-size: 2rem;
    }

    .footer .wrapper li a {
        font-size: 1.5rem;
        line-height: 50px;
    }

    .about-ebnb-image-item {
        flex-direction: column;
        align-items: center;
    }

    .about-ebnb-image-item .item {
        margin-bottom: 20px;
    }

    .about-ebnb-image-item .item:last-child {
        margin-bottom: 0;
    }

    .want-to-know-more {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .want-to-know-more img {
        width: 80%;
        max-width: 500px;
        height: 400px;
    }

    .want-to-know-more .content {
        margin-top: 20px;
    }

    /*==== upload hotel data===*/
    form {
        padding: 20px;
        width: 100% !important;
    }

    .modal-content {
        padding: 25px !important;
        line-height: 18px;
        width: 90%;
        max-width: 900%;
        margin: 0 auto;
    }

    .modal-title {
        line-height: 30px;
        font-size: 1.2rem;
    }
}

@media (min-width: 768px) {
    .partner-header {
        flex-direction: row;
        align-items: flex-start;
        justify-content: space-between;
        text-align: left;
        padding: 40px 20px;
    }

    .header-ad-copy {
        margin: 0;
        flex: 1;
        max-width: none;
    }

    .register-box {
        margin: 0;
        flex: 0 0 auto;
    }

    .header-ad-copy h1 {
        font-size: 2rem;
    }

    .header-ad-copy p {
        font-size: 1rem;
    }
}

@media (min-width: 1024px) {
    .header-ad-copy h1 {
        font-size: 2.5rem;
    }

    .header-ad-copy p {
        font-size: 1.125rem;
    }
}
