
.hero2 {
    position: relative;
    width: 100%;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.7)), url(../assets/lobster.jpeg);
    background-size: cover;
    background-position: center;
}

.hero-text h1 {
    font-size: 7rem;
    font-weight: 700;
    color: white;
    margin: 10px 0 20px;
    line-height: 1;
    
}



.block{
    display: flex;
    position: relative;
    justify-content: center; 
    align-items: center;
    height: 100vh; 
    text-align: center;
    
}

.block-menu{
    padding: 20px;
    padding: 6% 6% 6% 6%;
    border-radius: 0px 0px 0px 0px;
    border-width: 6px;
    border-style: solid;
    max-width: 600px; 
    width: 100%; 
    margin: 0 auto; /* Ensure it is centered */
    overflow: auto; /* Allows for scrolling if the content becomes too large */ 
}

.cta {
    height: 70vh;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    text-align: center;
    background: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.7)), url(../assets/outdoor.jpeg);
    background-size: cover;
    background-position: center;

}

.cta-content h2 {
    font-size: 4rem;
    font-weight: 600;
    color: var(--bg-color);
    margin-bottom: 15px;
}

.cta-content p {
    font-size: var(--p-font);
    font-weight: 600;
    color: var(--bg-color);
    margin-bottom: 35px;
}

.cta-btn {
    display: inline-block;
    padding: 11px 40px;
    font-size: 14px;
    font-weight: 600;
    background-color: var(--bg-color);
    color: var(--text-color);
    letter-spacing: 2px;
    text-transform: uppercase;
    transition: all .6s ease;
}

.cta-btn:hover {
    cursor: pointer;
    background: var(--main-color);
    color: var(--bg-color);
}


@media only screen and (max-width:1024px){
    .hero2{
        height: 98vh;
        
    }
    .hero-text h1{
        font-size: 6rem;
    }
}

@media only screen and (max-width:768px){
    
    .hero2{
        height: 70vh;
    }

    .hero-text h1{
        margin:-120px 0 20px;

    }

    .block{
        height: 70vh;
        margin: 120px 0px;
    }
}

@media only screen and (max-width:480px){
    .hero2{
        height: 60vh;
    }
    .hero-text h1{
        font-size: 5.6rem;
    }
    .block{
        height: 70vh;
        margin: 140px 0px;
    }
    .cta{
        height: 50vh;
    }
}
@media only screen and (max-width:320px){
    .hero2{
        height: 57vh;
    }
    .hero-text h1{
        font-size: 3rem;
        margin:-140px 0 20px;
    }
    .hero-text p{
        font-size: 1.2rem;
    }
    .block{
        margin: 150px 0px;
        
    }
    .block-menu{
        padding: 10px;
    }
    .cta{
        height: 47vh;
    }
    .cta-content h2{
        font-size: 2rem;
    }
    .cta-btn{
        padding: 8px 20px;
        font-size: 1rem;
    }
}
