.container {
	background-image: linear-gradient(rgba(4,9,30,0.7),rgba(4,9,30,0.7)), url(background.jpg); 
	width: 100%;
 
}
.title {
    color: #D8CF82;
    text-align: center;
}

.services {
    display: flex;
    justify-content: center;
    width: 70%;
    max-height: 900px;
    height: auto;
    margin-left: auto;
    margin-right: auto;
    color: #D8CF82;
    gap: 15px;
 
}

.obituary, .memory, .flowers {
    background-color: rgba(100, 100, 100, 0.5);
    margin: 20px;
    border-radius: 4px;
    width: 20vw;
    height: 45vh;
    border: 1px solid #444;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.service_title, .service_amount, .service_link, .service_message {
    width: 100%;
    text-align: center;
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
}

.service_title {
    background-color: black;
    border-radius: 4px;
    height: 10%;
}

.service_message {
    background-image: linear-gradient(rgba(4,9,30,0.7),rgba(4,9,30,0.7)), url(gallaxy.png);
    height: 70%;
    padding: 15px;
    font-size: 0.8rem;
    line-height: 1.5;
    text-align: justify;
    color: wheat;
}

.flowers .service_message {
    background-image: linear-gradient(rgba(4,9,30,0.7),rgba(4,9,30,0.7)), url(flower.png);
}

.service_amount {
    color: white;
    height: 10%;
}

.service_amount cost {
    color: white;
    padding-left: 3px;
}

.service_amount flowers {
    color: wheat;
    font-size: 10px;
    padding-right: 5px;
}

.service-link {
    padding: 10px 10px;
    background-color: #384E2D;
    color: #D8CF82;
    text-decoration: none;
    text-align: center;
    cursor: pointer;
    border-radius: 4px;
}

.service-link:hover {
    color: white;
    background-color: #444;
}
.pay-button {
    margin-left: 10px;
}

a {
    text-decoration: none;
}

.view-price-btn {
    margin: 0.2rem;
    padding: 0.2rem 0.4rem;
    font-size: 0.8vw;
    border-radius: 3px;
    background-color: #384E2D;
    color: #D8CF82; /* Text color for contrast */
    border: 1px solid #222; /* Remove default border */
    cursor: pointer; /* Change cursor to pointer on hover */
    transition: background-color 0.3s ease; /* Smooth transition for background color on hover */
}

.view-price-btn:hover {
   border: 1px solid #D8CF82;
}



/* MOBILE VERSION */
@media only screen and (max-width: 600px) {

    .services {
        width: 100%;
        min-height: 80vh;
        max-height: 2200px;
        height: auto;
        margin-left: auto;
        margin-right: auto;
        color: #D8CF82;
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
        -justify-content: center;
        gap: 10px;
        -background-color: blue;
        overflow-y: scroll;
        overflow: hidden;
    }

    .obituary, .memory, .flowers {
        width: 90%;
        height: 320px;
        margin-bottom: 1px;
    }

    .service_message {
        line-height: 1.2;
        font-size: 0.8rem;
    }
    .view-price-btn {
        padding: 0.2rem 0.7rem;
        font-size: 3vw;
    }
   
}


