@media(max-width: 1400px) {

.search .content {    
    color: #fff;    
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;  
    justify-content: center; 
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;    
    background-color: #a5a3a353;
    border-top: 1px solid rgba(255, 255, 255, 0.381);
    backdrop-filter: blur(20px);
    padding: 1rem;
    width: auto; 
}
.search h1 {
    font-size: 1rem;
    font-weight: 600;
}
.search p {
    font-size: 1rem;
    margin-top: 8px;
}
}


@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%;
}


 /*FOOTER*/
 
.footer-content {
    grid-template-columns: repeat(2, 1fr);
}
.footer-wraper {
    grid-template-columns: repeat(2, 1fr);
}
.subscribe button {   
    top: 25%;
    right: 4%;    
}
}

/* Mobilnézet */
@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;
    }

    .search {
        height: 60vh; 
    }
    .search .content {
        top: 40%; 
        left: 50%;
        transform: translate(-50%, -50%);
        background-color: rgba(0, 0, 0, 0.08); 
        border: none; 
        padding: 0.8rem; 
        width: 90%; 
        max-width: 350px; 
    }
    .search h1 {
        font-size: 2rem; 
    }
    .search p {
        font-size: 1.2rem; 
    }

}


@media(max-width: 645px) {

html {
    font-size: 14px;
}


.search {
    height: 50vh;
    display: flex;
   
}
.search img {
    width: 100%;
    height: 320px;
    object-fit: cover;
    position: absolute;
}
.search .content {       
    margin-top: 70px;
    padding: 1rem;
    height: 180px;
    width: 350px; 
}
.search h1 {
    margin-top: 10px;
    font-size: 1.2rem;
    font-weight: 600;
}
.search p {
    font-size: 1rem;
    margin-top: 4px;
}


/*FOOTER*/

.footer-content {
    grid-template-columns: repeat(1, 1fr);
}
.footer-wraper {
    grid-template-columns: repeat(1, 1fr);
}
}

