body {
    background-color: whitesmoke;
}

nav {
    background-color: blanchedalmond;
}

.navbar-nav .nav-link {
    padding-left: 0.75rem !important;
    padding-right: 0.75rem !important;
}

li a:hover {
    background-color: rgba(128, 128, 128, 0.3);
}

footer {
    margin-top: 5rem;
    background-color: rgba(128, 128, 128, 0.8) !important;
}

.title {
    font-family: 'homepageBaukasten' !important;
    font-size: 3rem !important;
}

h2 {
    font-family: 'homepageBaukasten' !important;
    font-size: 2rem !important;
    font-weight: 600 !important;
    padding-top: 1rem !important;
}

.hero {
    background: #2c2404;
    background: linear-gradient(to bottom, rgba(240, 198, 28, 1) 0%, rgba(114, 181, 8, 1) 50%, rgba(0, 112, 20, 1) 100%);
    border-bottom-left-radius: 23%;
    border-bottom-right-radius: 23%;
}

.hero.is-medium .hero-body {
    padding: 4.5rem !important;
}

.contact-info {
    width: 100%;
    justify-content: center;
    flex-wrap: wrap;
    display: inline-block;
}


.row {
    display: flex !important;
    align-items: flex-end !important;
    -bs-gutter-x: 0rem !important;
    flex-direction: row-reverse !important;
}

.main-content p {
    margin-top: 2rem !important;
    margin-left: 2rem !important;
}

iframe {
    margin-left: 5rem !important;
}

.card {
    position: relative;
    flex: 1;
    height: 17rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 0 2rem;
    border: none !important;
    box-shadow: none !important;
    margin: 0 auto !important;
}


.icon {
    width: 0 !important;
    height: 0 !important;
    font-size: 3rem !important;
    color: #025928;
    transition: .3s linear;
}

.fa {
    display: flex !important;
    align-items: flex-end !important;
}



.card-content h3,
.card-content span {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    font-size: 1rem;
    opacity: 1;
}

.card-content h3 {

    line-height: 0;
    font-weight: 600;
    text-transform: uppercase;
    color: #025928;
    padding-bottom: 1rem;
}

.card-content span {
    line-height: 1.3rem;
    color: #0A732F;
    font-weight: 300;
    font-size: medium;
    padding-top: 1rem;
    text-align: center;
}


@media screen and (max-width:900px) {
    .card {
        flex: 100%;
        max-width: 500px;
    }

}

@media screen and (max-width:600px) {
    .card {
        margin-left: 18%;
    }

    .main-content p {
        margin-top: 1rem !important;
        margin-right: 0rem;
    }

    iframe {
        margin-left: 0rem !important;
        height: 400px;
    }

    .hero.is-medium .hero-body {
        padding: 2.5rem !important;
    }

}

@media screen and (max-width:450px) {
    .card {
        margin-left: 10%;
    }

    .title {
        font-size: 2rem !important;
    }

    .sub-title {
        font-size: xx-large !important;
    }

    .hero.is-medium .hero-body {
        padding: 2rem !important;
    }

}

@media screen and (max-width:360px) {
    .title {
        font-size: 2.5rem !important;
    }

    h2 {
        font-size: 2.4rem !important;
    }

    h3 {
        font-size: 1rem !important;
    }

    iframe {
        height: 400px !important;
        margin-left: 0 !important;
    }

}

@media screen and (max-width:280px) {
    .title {
        font-size: 2rem !important;
    }

    h2 {
        font-size: 1.5rem !important;
    }

    .h3,
    h3 {
        font-size: 0.75rem !important;
    }

    .card-content h3,
    .card-content span {
        position: absolute;
        margin: 0 auto !important;
        transform: translate(-50%);
        font-size: 1rem;
        opacity: 1;
    }

    .icon {
        margin: 0 auto !important;
    }
}