body, html {
    margin: 0;
    padding: 0;
    height: 100%;
}

.bg-image {
    position: relative;
    width: 100%;
    height: 100vh;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    justify-content: flex-end;
    align-items: flex-end;
}

.text-block {
    padding: 20px;
    background-color: rgba(255, 255, 255, 0.8);
    max-width: 300px;
    width: 100%;
}

.text-block p:first-child {
    font-size: 1.3em;
}
.text-block p:last-child {
    font-size: 1.1em;
}

@media (max-width: 768px) {
    .bg-image {
        flex-direction: column;
        justify-content: center;
    }

    .text-block {
        text-align: center;
        margin: 0 auto;
	position: absolute;
	bottom: 0;
	left: 50%;
	transform: translate(-50%, -50%);
    }
}
