﻿main > article:has(.index-image) {
    padding: 0 !important;
}

.index-image {
    width: 100%;
    height: 500px;
    background-size: cover;
    background-position: center -508px;
    position: relative;
}

.index-search-form-container {
    display: inline-block;
    height: auto;
    width: 100%;
    text-align: center;
}
.index-search-form-container .search-form {
    padding: 15px;
    border-radius: 30px;
}

.index-styles {
    width: 100%;
    height: auto;
    min-height: 100px;
    border-top-left-radius: 30px;
    border-top-right-radius: 30px;
    margin-top: -30px;
    background-color: var(--white);
    padding: var(--nav-menu-marging);
    position: relative;
}
.index-styles h3 {
    color: var(--turquoise);
    text-transform: uppercase;
    font-weight: bold;
    font-size: 1.4em;
}
.index-styles h3 span {
    color: var(--dark-color);
}
.index-styles .row {
    margin-top: 5px;
}
.index-styles a {
    padding: 12px 15px;
    height: 50px;
    width: 120px;
    background-color: var(--light-turquoise);
    text-decoration: none;
    color: var(--dark-color);
    font-weight: bold;
    margin-right: 20px;
    box-shadow: 1px -1px;
    margin-top: 10px;
    border-radius: 3px;
}
.index-styles a:hover {
    color: var(--dark-color);
    box-shadow: 1px 1px;
    background-color: var(--sand);
    text-decoration: none;
}

.index-quote {
    position: absolute;
    right: 0;
    width: 40%;
    background-color: rgba(256, 256, 256, 0.6);
    color: black;
    top: 80px;
}
.index-quote .quote {
    border-left: 2px black solid;
    margin: 10px 10px;
}
.index-quote .quote div:first-of-type {
    margin-left: 10px;
    line-height: 120%;
}
.index-quote .author {
    margin-left: 30px
}

footer {
    --bs-gutter-x: 1.5rem;
    --bs-gutter-y: 0;
    border-top: var(--nav-menu-border-width) solid var(--dark-color);
    margin: 0 var(--nav-menu-marging);
    padding-right: calc(var(--bs-gutter-x) * .5) !important;
    padding-left: calc(var(--bs-gutter-x) * .5) !important;
}
footer a img {
    height: 45px;
}

@media (max-width: 777px) {
    .index-search-form-container {
        width: 100%;
    }
    .index-search-form-container .search-form {
        border-radius: 0;
    }

    .index-quote {
        top: 311px;
        width: 50%;
        background-color: rgba(256, 256, 256, 0.7);
    }

@media (max-width: 632px) {
    nav #offcanvasNavbar {
        width: 100%;
    }
    nav .nav-item {
        text-align: center;
    }
    nav .offcanvas-body .navbar-nav {
        height: inherit;
        margin: 0;
    }

    .index-image {
        height: 700px;
    }

    .index-quote {
        width: 100%;
        height: auto;
        top: 504px;
        background-color: rgba(256, 256, 256, 0.8);
    }

    .index-search-form-container {
        text-align: left;
    }

    .index-search-form-container .search-form {
        width: 100%;
    }
}