/* 5/5/2024 incorporate display: flex */
/* */ 

/* flex container is "mobile first" */
.images-container {
    display: flex;
    flex-direction: column;
    /* justify-content: space-around; */
    gap: 0.5rem;
    align-items: center;
    height: 30rem;
}

#image-existing {
    background: url("../images/elev-north.jpg") left 0% bottom 100% / cover no-repeat;
    height: 100%;
    width: 100%;
}

#image-current {
    /* background-image: url("../images/status-07-31-2024.jpg");
    background-size: cover;
    background-repeat: no-repeat;
    background-position: left 0% bottom 100%; */
    background: url("../images/status-06-04-2025.jpg") left 0% bottom 100% / cover no-repeat;
    height: 100%;
    width: 100%;
}


figcaption {
    margin-top: 0.5rem;
    font-size: 1rem;
    color: black;
    text-align: center;
}


.grid-container {
    display: grid;
    grid-template-columns: 100%;
    /* grid-template-rows: repeat(20,2rem); */
    grid-template-areas:    "features-header"
                            "features-container"
                            "download-header"
                            "download-container"
                            "contact-section";
                            
    /* grid-gap: 0.5rem; */
    margin-bottom: 2.0rem;
    align-items: center;
    justify-content: center;
}

.features-header {
    grid-area: features-header;
    grid-row-start: 1;
    grid-row-end: span 3;
}
.features-container {
    grid-area: features-container;
    grid-row-start: 5;
    grid-row-end: 9;
}

.download-header {
    grid-area: download-header;
    grid-row-start: 10;
    grid-row-end: span 3;
}
.download-container {
    grid-area: download-container;
    grid-row-start: 14;
    grid-row-end: 20;
}

.features-list {
    background-color: #fff;
    padding: 0.25rem 0rem;
}

.feature {
    margin: 0.5rem 0rem;
    padding: 0.15rem 0rem;
}


.area-names {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-around;
}

.header-content {
    font-size: 1.35rem;
    font-weight: 700;
    width: 100%;
    background-color: var(--site-background-color-lighter);
    text-align: center;
    color: white;
    padding: 1rem 0;
    margin: 0.5rem 0rem;
    text-shadow: 1px 1px 0 black;
}
.area-names .download-area p {
    padding-left: 0.5rem;
    text-align: center;
}
.feature {
    font-family: Arial, sans-serif;
    font-size: 1.0rem;
    margin: 0.5rem 0.5rem;
    text-align: center;
}

.content-section {
    /* background-color: var(--site-background-color-lighter); */
    background-color: #fff;
    margin: 0.5rem 0.2rem;
}
.content-name {
    font-family: Arial, sans-serif;
    font-weight: bold;
    font-size: 1.0rem;
    margin: 0.2rem 0.2rem;
}

.form-labels {
    font-family: Arial, sans-serif;
    font-style: italic;
    font-size: 1.0rem;
    margin: 0.2rem 0.25rem;
}
.content-description {
    margin: 0.0rem 0.2rem;
}
.content-description a:link {
    color: black;
    text-decoration: underline;
    font-weight: 500;  
}
.content-description a:hover {
    color: black;
    text-decoration: none;
    font-weight: 500; 
    transform: scale(1.1rem); 
}
/* 
.content-description p a {
    color: var(--site-background-color);
}
.content-description a:visited {
    color: black;
    font-style: italic;
    font-weight: bold;
    font-size: 1.05rem;
}
.content-description a:focus{
    text-decoration: none;
    background: #bae498;
}
.content-description a:hover {
    font-size: 1.05rem;
    padding: 0.1rem 0.2rem;
    background-color: var(--site-background-color);
    color: white;
}
.content-description a:active {
    background: #6900ff;
    color: #cdfeaa;
} */
.download-text {
    font-family: Arial, sans-serif;
    font-weight: bold;
    font-size: 1.1rem;
    vertical-align: middle; /* Aligns text vertically with the button */
}
.download-button {
    background-color: var(--site-background-color-lighter);
    border: none;
    color: white;
    padding: 0.20rem 0.8rem;
    text-align: center;
    text-decoration: none;
    font-size: 1rem;
    margin: 0.1rem 0.1rem;
    cursor: pointer;
    border-radius: 4px;
}
.download-button:hover {
    background-color: white;
    color: black;
    font-weight: bold;
    transform: scale(1.10);
}
.download-button a {
    text-decoration: none;
}
/*** DOWNLOAD  END ***/

.contact-section {
    grid-area: contact-section;
    grid-row-start: 20;
    grid-row-end: 24;
}
.contact-form label, .contact-form input, .contact-form textarea {
    display: block;
    width: 100%;
    margin-bottom: 0.25rem;
}
.contact-form input, .contact-form textarea {
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
}
.contact-form button {
    background-color: var(--site-background-color-lighter);
    border: none;
    color: white;
    padding: 0.5rem 1.0rem;
    text-align: center;
    text-decoration: none;
    font-size: 1rem;
    margin: 0.1rem 0.1rem;
    cursor: pointer;
    border-radius: 4px;
    text-shadow: 1px 1px 0 black;
}
.contact-form button:hover {
    color: black;
}


/* if viewport is >= to 40rem then true*/
@media (min-width : 40rem) {

    .images-container {
        flex-direction: row;
        height: 40rem;
    }

    figcaption {
        font-size: 1.5rem;
        font-weight: 450;
    }


    .grid-container {
        display: grid;
        grid-template-columns: 47.5% 47.5%;
        grid-template-areas:    "features-header download-header"
                                "features-container download-container"
                                ". contact-section";


        grid-gap: 0.5rem;
        margin-bottom: 1.0rem;
        align-items: center;
        justify-content: center;
    }

    /* .download-header {
        grid-area: download-header;
        grid-row-start: 1;
        grid-row-end: span 3;
    }
    .download-container {
        grid-area: download-container;
        grid-row-start: 4;
        grid-row-end: 10;
    } */

    .features-header {
        grid-area: features-header;
        grid-row-start: 1;
        grid-row-end: span 3;
    }
    .features-container {
        grid-area: features-container;
        grid-row-start: 4;
        grid-row-end: 10;
    }
    .download-header {
        grid-area: download-header;
        grid-row-start: 1;
        grid-row-end: span 3;
    }
    .download-container {
        grid-area: download-container;
        grid-row-start: 4;
        grid-row-end: 7;
    }

    .contact-section {
        grid-area: contact-section;
        grid-row-start: 7;
        grid-row-end: 13;
    }

    .area-names {
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: space-around;
    }

    .content-section {
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: center;
        background-color: #fff;
        /* margin-bottom: 0.5rem;  */
        /* width: 47.5%; */
        
    }
    
}