@keyframes shrinkSection {
    from {
        filter: grayscale(0%);
        height: 50vh;
    }

    to {
        filter: grayscale(100%);
        height: 25vh;
    }
}

@keyframes growSection {
    from {
        filter: grayscale(100%);
        height: 25vh;
    }

    to {
        height: 50vh;
        filter: grayscale(0%);
    }
}

@keyframes textBackFadeIn {
    0% {
        background-color: rgba(104, 71, 141, 0.0);
        box-shadow: 0 0 30px rgba(0, 59, 27, 0.0);
    }

    20% {
        background-color: rgba(104, 71, 141, 0.1);
        box-shadow: 0 0 30px rgba(0, 59, 27, 0.1);
    }

    40% {
        background-color: rgba(104, 71, 141, 0.2);
        box-shadow: 0 0 30px rgba(0, 59, 27, 0.2);
    }

    60% {
        background-color: rgba(104, 71, 141, 0.3);
        box-shadow: 0 0 30px rgba(0, 59, 27, 0.3);
    }

    80% {
        background-color: rgba(104, 71, 141, 0.4);
        box-shadow: 0 0 30px rgba(0, 59, 27, 0.4);
    }

    100% {
        background-color: rgba(104, 71, 141, 0.5);
        box-shadow: 0 0 30px rgba(0, 59, 27, 0.5);
    }
}



.title-section {
    display: inline-block;
    vertical-align: middle;
    line-height: normal;
    text-align: center;
    width: 100%
}

.venue-backgound-image {
    min-width: 100%;
    min-height: 100%;
}

.text-image-overlay {
    padding: 30px 30px 30px 30px;
    border-radius: 5px;
    text-align: center;
}



.venue-link {
    color: black;
    text-decoration: none;
}

#hero {
    background: url("../images/engagement_ring_with_flowers.jpg");
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    height: 50vh;
}

.hero-text {
    box-shadow: 0 0 20px var(--greenSolid);
    display: block;
    padding: 20px 0px 30px 0px;
    background-color: var(--purpleBackground);
    border-radius: 5px;
}

.hero-btn{
    width: 200px;
    height: 50px;
    margin: 30px auto 0 auto;
    color:white;
    /*animation: btnHoverEffect 0.75s infinite;*/
    animation-direction: alternate;
    animation-play-state: paused;
}

.hero-btn:hover{
    animation-play-state: running;
}

@media (min-width: 1281px){
    .venue-backgound-image {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
    }
    .text-image-overlay {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);

    }
}

@media (max-width: 1280px) {
        
      .venue-backgound-image {
        grid-column: 1; /* Place image in the first column */
        grid-row: 1; /* Place image in the first row */
        width: 100%;
        height: 100%;
        object-fit: cover; /* Ensure the image fills the container without distortion */
      }
      
      .venue-link {
        grid-column: 1; /* Place link in the first column */
        grid-row: 1; /* Place link in the first row */
        text-decoration: none; /* Remove default link styling */
        color: inherit; /* Inherit text color from parent if needed */
        display: flex; /* Ensure content within the link can also be flexed if needed */
        justify-content: center; /* Center text-image-overlay horizontally within the link */
        align-items: center; /* Center text-image-overlay vertically within the link */
        width: 100%; /* Make the link take the full width of the section for consistent centering */
        height: 100%; /* Make the link take the full height of the section for consistent centering */
      }
      
      .text-image-overlay {
        text-align: center; /* Center text content within the overlay */
        /* Add any other styling for the overlay here, like background color with opacity */
      }
}