.bar {
    display: flex;
    background-color: var(--ghost-accent-color);
    padding: 0 5em 0 5em;
    margin-top: 2em;
    height: 25em;
    align-items: center;
}

.bar-inside-text {
    display: flex;
    flex-direction: row;
    align-items: center;
    text-align: center;
    width: 100%;
    position: relative;
    color: white;
    gap: 3.5em;
}

.bar-inside-text p {
    background-color: var(--ghost-accent-color);
    color: white;
    font-weight: 550;
    margin: 1em;
}

.bar-inside-text h1 {
    flex: 50%;
}

.white-button {
    color: var(--ghost-accent-color);
    background: white;
    padding: 0.5em 1em;
    font-size: 1.3em;
    font-weight: bold;
}

.bar-text-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 50%;
}


.blocks {
    display: flex;
    justify-content: center;
    /*align-items: center;*/
    position: relative;
    margin-top: 2em;
    gap: 1.5em;
}

.block-tile {
    text-align: center;
    justify-content: center;
    align-items: center;
    border: 1px solid var(--color-border);
    padding: 1em;
    display: flex;
    flex-direction: column;
    flex: 30%;
    position: relative;
    height: 100%;
}

.block-tile img {
    width: 100%;
    height: 100%;
}

.block-tile p {
    width: 80%;
}

.block-tile h3 {
    margin: 1em 0 1em 0;
    font-size: 1.5em;
}

.block-tile .gh-button {
    margin-top: 1em;
    color: white;
}



@media (max-width: 767px) {

    .bar {
        padding: 1em 0 1em 0;
        height: 100%;
    }

    .bar-inside-text {
        flex-direction: column;
        gap: 0;
    }

    .blocks {
        flex-direction: column;
    }
}
