:root {
    --color-primary: #aea185;
    --color-bg: #16100e;
}

.slideshow {
    grid-template-columns: repeat(25, 4%);
}

.neighborhood-link {
    position: relative;
    min-width: 30vw;
    min-height: 50vh;
    width: 100%;
}

.scr1-img,
.scr1-img div {
    background-size: cover !important;
}

.scr1-img {
    filter: none;
    position: relative;
}


.scr1-img h2 {
    position: absolute;
    top: 50%;
    left: 50%;
    z-index: 5;
    transform: translateX(-50%) translateY(-50%);
    line-height: 1.5;
    text-align: center;
    /* overflow: hidden; */
}

.scr1-img:link,
.scr1-img:hover,
.scr1-img:active,
.scr1-img:visited {
    color: var(--color-primary);
}

.scr1-img:hover h2 {
    filter: brightness(1.5);
}

.scr1-img h2::after {
    content: "";
    position: absolute;
    width: 100%;
    border: 1px solid var(--color-primary);
    bottom: 0;
    left: 0;
    transition: transform .3s ease-in-out;
    transform: scaleX(0);
    transform-origin: bottom right;
}

.scr1-img:hover h2::after {
    transform: scaleX(1);
    transform-origin: bottom left;
    transition: transform .3s ease-in-out;
}

.scr1-img div {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--color-primary);
    z-index: 2;
    filter: brightness(0.5);
}

.scr1-img-2 {
    top: -0;
}

#logo {
    align-items: center;
    grid-row: 2 / 3;
    grid-column: 1 / -1;

}

#logo h3 {
    margin: 0;
    padding: 0;
}

.logo-text {
    font-size: 4.5vw;
}

.slideshow a {
    z-index: 4;
}

.vertical-line {
    grid-column: 13 / 14;
    grid-row: 5 / 15;
    display: flex;
    justify-content: center;
    color: var(--color-primary);
}

.vertical-line hr {
    border: 1px solid var(--color-primary);
}

.scr1-textbox1 {
    grid-row: 16;
    grid-column: 2 / 16;
}

.scr1-contacts {
    grid-row: 20 / 24;
    grid-column: 2 / 12;
}

.scr1-contacts-2 {
    grid-row: 20 / 24;
    grid-column: 14 / -2;
}

@media only screen and (max-width: 1024px) {

    .vertical-line {
        display: block;
        grid-column: 1 / -1;
        grid-row: 30;
        z-index: 9;
        width: 95%;
        margin: 0 auto;
    }

    .scr1-img-2 {
        grid-row: 31 / 51 !important;
        grid-column: 1 / -1 !important;
    }

    .scr1-img-1 {
        grid-row: 9 / 30 !important;
        grid-column: 1 / -1 !important;
    }

    .slideshow {
        grid-template-rows: repeat(100, 20px) auto;
        min-height: 100vh;
        padding-bottom: 50px;
    }

    #logo {
        grid-row: 5;
    }

    .scr1-textbox1 {
        grid-row: 52;
        grid-column: 2 / -2;
    }

    .scr1-textbox p{
        font-size: 10pt;
    }

    .scr1-contacts, .scr1-contacts-2 {
        grid-row: 70;
        padding: 0;
        font-size: 10pt;
    }

    .scr1-contacts-row-text {
        margin: 0;
        padding: 0;
        font-size: 10pt;
    }

    .neighborhood-link{
        min-width: auto;
        min-height: auto;
    }

    .scr1-contacts-row{
        margin-top: 10px;
    }

}