@media(max-width: 1400px) {
    .search {
        height: 70vh;        
    }
    .search h1 {
        font-size: 2rem;
    }
    .search h2 {
        font-size: 1.2rem;
    }
    .search p {
        font-size: 1rem;
    }
    .search .search-box {
        height: 45px;
    }
    .search-box i {
        font-size: 1.4rem;
    }
    .search-box input { 
        font-size: 1rem;
    }    
    .lightbox .wrapper {    
        top: 60%;    
    }
}
@media(max-width: 1024px) {

.container {    
    padding: 0 1rem;    
}
.swiper {
    height: 90vh;
}
.img-overlay p { 
    font-size: 1.2rem;   
    letter-spacing: 6px;
    line-height: 30px;
}
.img-overlay h2 {
    font-size: 3rem;
    letter-spacing: 3px;
    line-height: 40px;
}
.headings {
    font-size: 2.2rem;
}
}
@media(max-width: 900px) {

.btn {
    display: block;
}
nav ul {
    flex-direction: column;
    position: fixed;
    width: 100%;
    height: 420px;
    background: var(--primary-color);
    top: -600px;
    left: 0;
    padding: 3rem 1rem;
    transition: all 0.5s ease-in;
}
nav ul li a {
    display: block;
    margin: 15px;
}
.close-btn {
    position: absolute;
    top: 0rem;
    right: 0;
    margin: 25px;
}
nav ul.display {
    top: 0;
    transition: all 0.5s ease-in-out;
}
nav ul li::before {
    top: 45px;
    left: 10px;        
}
nav ul li:hover::before {
    width: 20%;
}
}

@media (max-width: 768px) {

    header {
        padding: 0.5rem 1rem;
    }
    .logo p {
        font-size: 1.5rem; 
    }
    nav ul {
        flex-direction: column;       
    }    
    nav ul li a {
        font-size: 0.8rem; 
        line-height: 1.3;
    }
}


@media(max-width: 645px) {

html {
    font-size: 14px;
}
.search {
    height: 50vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}
.search img {
    width: 100%;
    height: 320px;
    object-fit: cover;
    position: absolute;
}
.search .content {
    margin-top: 250px;
    color: #fff;
    text-align: center;
    position: relative;
    z-index: 2;
}
.search h1 {
    font-size: 1.1rem;
    font-weight: 300;
}
.search h2 {
    font-size: 1rem;
    font-weight: 300;
}
.search p {
    font-size: 1rem;
    margin-top: 8px;
}
.search .search-box {
    margin-top: 10px;
    height: 40px;
   
    position: relative;
}
.search-box i {
    position: absolute;
    left: 20px;
    top: 50%;
    font-size: 1rem;
    color: #8d8d8d;
    transform: translateY(-50%)
}
input, button, i {
    outline: none;
    border: none;
    border-radius: 5px;
}
.search-box input {
    width: 100%;
    height: 100%;  
    font-size: 1rem;
    padding-left: 55px;
}

/*FOOTER*/

.footer-content {
    grid-template-columns: repeat(1, 1fr);
}
.footer-wraper {
    grid-template-columns: repeat(1, 1fr);
}
}

