
/* Hero CSS */

.hero {
    align-items: center;
    background-position: bottom;
    background-size: cover;
    display: flex;
    justify-content: center;
    height: 766px;
    width: 100%;
}

.hero__title {
    background-color: rgba(0, 0, 0, 0.51);
    padding: 40px 100px;
    text-align: center;
}

@media only screen and (max-width: 750px) {
    
    .hero {
        height: 550px;
    }

    .hero__title {
        padding: 30px 40px;
    }

    .hero__title h1 {
        font-size: 40px
    }
}

@media only screen and (max-width: 550px) {
    
    .hero__title {
        padding: 30px;
    }

    .hero__title h1 {
        font-size: 35px
    }
}

@media only screen and (max-width: 465px) {
    
    .hero__title {
        padding: 20px;
    }

    .hero__title h1 {
        font-size: 30px
    }
}

@media only screen and (max-width: 335px) {
    
    .hero__title h1 {
        font-size: 28px
    }
}

@media only screen and (max-width: 380px) {
    
    .hero__title {
        font-size: 46px
    }
    
    .hero__subtitle {
        font-size: 24px;
    }

    .hero__link {
        font-size: 30px;
    }
}