@font-face {
    font-family: 'DosisExtraLight'; 
    src: url('/assets/fonts/static/Dosis-ExtraLight.ttf') format('opentype'); 
    font-weight: normal; 
    font-style: normal;
}

body, html {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    overflow-x: hidden;
    background-color: #2b2b2b;
    font-family: 'DosisExtraLight', sans-serif;
    scroll-behavior: smooth;
}

.feature{
    display: flex;
    flex-direction: column;
    width: 90%;
    margin: 100px auto 0 auto;
}

.feature-upper, .feature-lower{
    display: flex;
    flex-direction: row;
}

.feature-description{
    width: 40%;
    display: flex;
    flex-direction: column;
    justify-content: end;
    margin-bottom: 100px;
}

.feature-description h1{
    font-size: 3vw;
    width: 90%;
    margin: 0 auto;
    color: white;
}

.feature-description h2{
    font-size: 2vw;
    color: white;
    width: 90%;
    margin: 0 auto 40px auto;
}

.feature-description p{
    width: 90%;
    margin: 0 auto;
    margin-top: 20px;
    font-size: 20px;
    color: #e2e2e2;
}

.feature-lower p{
    margin: 10px auto !important;
}

.feature-photo{
    width: 60%;
    height: 70vh;
}

.feature-photo img{
    width: 100%;
    height: 100%;
    object-fit: cover;
}

@media (max-width: 600px){

    .feature{
        display: flex;
        flex-direction: column;
        width: 90%;
        margin: 100px auto 0 auto; 
    }
    
    .feature-upper, .feature-lower{
        display: flex;
        flex-direction: column;
    }
    
    .feature-description{
        width: 100%;
        display: flex;
        flex-direction: column;
        justify-content: end;
        margin-bottom: 20px;
    }
    
    .feature-description h1{
        font-size: 6vw;
        width: 90%;
        margin: 0;
        color: white;
    }
    
    .feature-description h2{
        font-size: 6vw;
        width: 90%;
        margin: 20px 0 10px 0;
        color: white;
    }
    
    .feature-description p{
        width: 100%;
        margin: 0;
        margin-top: 10px;
        font-size: 18px;
        color: #e2e2e2;
    }
    
    .feature-lower p{
        margin: 10px auto !important;
    }
    
    .feature-photo{
        width: 100%;
        height: auto;
    }
    
    .feature-photo img{
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

}

@media (min-width: 601px) and (max-width: 800px) {

    .feature{
        display: flex;
        flex-direction: column;
        width: 80%;
        margin: 100px auto 0 auto; 
    }
    
    .feature-upper, .feature-lower{
        display: flex;
        flex-direction: column;
    }
    
    .feature-description{
        width: 100%;
        display: flex;
        flex-direction: column;
        justify-content: end;
        margin-bottom: 20px;
    }
    
    .feature-description h1{
        font-size: 6vw;
        width: 90%;
        margin: 0;
        color: white;
    }
    
    .feature-description h2{
        font-size: 6vw;
        width: 90%;
        margin: 20px 0 10px 0;
        color: white;
    }
    
    .feature-description p{
        width: 100%;
        margin: 0;
        margin-top: 10px;
        font-size: 18px;
        color: #e2e2e2;
    }
    
    .feature-lower p{
        margin: 10px auto !important;
    }
    
    .feature-photo{
        width: 100%;
        height: auto;
    }
    
    .feature-photo img{
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

}

@media (min-width: 801px) and (max-width: 1200px) {

    .feature{
        display: flex;
        flex-direction: column;
        width: 70%;
        margin: 100px auto 0 auto; 
    }
    
    .feature-upper, .feature-lower{
        display: flex;
        flex-direction: column;
    }
    
    .feature-description{
        width: 100%;
        display: flex;
        flex-direction: column;
        justify-content: end;
        margin-bottom: 20px;
    }
    
    .feature-description h1{
        font-size: 5vw;
        width: 90%;
        margin: 0;
        color: white;
    }
    
    .feature-description h2{
        font-size: 5vw;
        width: 90%;
        margin: 20px 0 10px 0;
        color: white;
    }
    
    .feature-description p{
        width: 100%;
        margin: 0;
        margin-top: 10px;
        font-size: 19px;
        color: #e2e2e2;
    }
    
    .feature-lower p{
        margin: 10px auto !important;
    }
    
    .feature-photo{
        width: 100%;
        height: auto;
    }
    
    .feature-photo img{
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

}

@media (min-width: 1201px) and (max-width: 1500px) {

    .feature-lower .feature-description{
        margin: 0 auto;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .feature-description h1{
        font-size: 3vw;
        width: 90%;
        margin: 0 0 0 20px;
        color: white;
    }
    
    .feature-description h2{
        font-size: 3vw;
        width: 90%;
        margin: 20px 0 10px 0;
        color: white;
    }

    

}