@import './colors.css';

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    list-style: none;
    text-decoration: none;
    scroll-behavior: smooth;
    font-family: "Jost", sans-serif;
}

.chef {
    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/chef\ 9fc367df-7005-484a-b158-57eb672adf19.png);
    background-size: cover;
    background-position: center;
}

.chef-text h1 {
    font-size: 7rem;
    font-weight: 700;
    color: white;
    margin: 10px 0 20px;
    line-height: 1;
    
}
.chef-text p {
    font-size: 2rem;
    font-weight: 400;
    color: white;
    margin: 10px 0 20px;
    line-height: 1;
    
}

.chef-about p {
    font-size: 1.5rem;
    font-weight: 300;
    color: black;
    margin: 10px 0 20px;
    line-height: 1.5;
    
}



.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/food.png);
    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){
    .chef{
        height: 98vh;
        
    }
    .chef-text h1{
        font-size: 6rem;
    }
}

@media only screen and (max-width:768px){
    .chef{
        height: 70vh;
    }

    .cta{
        height: 60vh;
    }
}

@media only screen and (max-width:480px){
    .chef{
        height: 63vh;
    }
    .chef-text h1{
        font-size: 5.6rem;
    }
    .chef-about p{
        font-size: 1.2rem;
    }
    .cta{
        height: 53vh;
    }
    
}

@media only screen and (max-width:320px){
    .chef{
        height: 57vh;
    }
    .chef-text h1{
        font-size: 3rem;
    }
    .chef-text p{
        font-size: 1.2rem;
    }
    .chef-about p{
        font-size: 1rem;
    }
    .cta{
        height: 47vh;
    }
    .cta-content h2{
        font-size: 2rem;
    }
    .cta-btn{
        padding: 8px 20px;
        font-size: 1rem;
    }
}