.services {
    background: linear-gradient(var(--gold) 10%, var(--white));
    width: 100vw;
    color: var(--white);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    box-sizing: border-box;
    padding-bottom:1em;
}

.carousel-section {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.services h1 {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5em;
    color: var(--white);
    font-weight: 500;
}

.services h2 {
    font-size: 1em;
    font-weight: 500;
    color: var(--white);
    text-align:center;
}

.services-carousel {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: center;
    gap:1rem;
    align-items: flex-start; /* Align items at the top */
}

.services-title {
    color: var(--gold);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2em;
    font-weight: 700;
}

.services-button {
    color: var(--gold);
    border-color: var(--gold);
    background: var(--white);
    font-size: 1em;
    cursor: pointer;
}

.services-button:hover{
    background:var(--gold);
    color:var(--white);
}

.services img {
    width: 25em;
    height: 30em;
    object-fit: cover;
    padding-bottom:1rem;
}

@media screen and (max-width: 700px) {


    .services-carousel {
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        align-items: flex-start; /* Align items at the top */
    }

    .services img {
        width:30em;
        height:30em;
        max-width:80vw;
        max-height:80vw;
    }
    }

