header {
    height: 400px;
    background-image: url(../images/lilacs.JPG);
    background-repeat: none;
    background-size: cover;
    background-position: center;
}

#founder {
    margin-top: 1rem;
}

#toolbox div {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr 1fr;
    grid-template-rows: auto auto;
    color: #722f37;
    place-items: center;
    margin: 2rem;
}

#Flutella p {
    margin: 1rem 10rem 0 10rem;
    text-align: center;
}

#Flutella h3 {
    margin-top: 0;
}

.sidebyside #foundercontent {
    height: auto;
}

.sidebyside img {
    flex-grow: 1;
}

.carousel {
    position: relative;
    overflow: hidden;
    max-width: 800px;
    margin: 2rem auto;
}

.carousel-track-container {
    overflow: hidden;
}

.carousel-track {
    display: flex;
    transition: transform 0.5s ease-in-out;
    list-style: none;
    padding: 0;
    margin: 0;
}

.carousel-slide {
    min-width: calc(100% / 3); /* shows 3 slides at once, change 3 to show more or fewer */
    padding: 0 0.5rem;
}

.carousel-slide img {
    width: 100%;
    aspect-ratio: 8.5 / 11; /* maintains 8.5x11 ratio automatically */
    object-fit: cover;
    border-radius: 1rem;
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: #722f37;
    color: #efdfbb;
    border: none;
    padding: 1rem;
    cursor: pointer;
    border-radius: 50%;
    font-size: 1.25rem;
    z-index: 1;
}

.carousel-btn--left { left: 1rem; }
.carousel-btn--right { right: 1rem; }

.carousel-btn:hover {
    background-color: #efdfbb;
    color: #722f37;
}

/* Focus styles for keyboard navigation */
.carousel-btn:focus,
.carousel-indicator:focus {
    outline: 3px solid #cce594;
    outline-offset: 2px;
}

.carousel-nav {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1rem;
}

.carousel-indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: none;
    background-color: #efdfbb;
    cursor: pointer;
}

.carousel-indicator.current-slide {
    background-color: #722f37;
}

.core_values {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto auto;
    grid-template-areas: 
        "title title"
        "cv1 cv2"
        "cv3 cv4";
    align-items: start;
    max-width: 1000px;
    gap: 0.5rem;
    margin: 2rem auto 2rem auto;
}

.core_values h3 {
    grid-area: title;
}

.core_values h4 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.core_values img {
    width: 7.5vw;
    margin: 1rem 0rem 0rem 2rem;
}

#cv1, #cv2, #cv3, #cv4 {
    background-color: #555a00;
    color: white;
    margin: 2rem auto .5rem auto;
    padding: 1rem;
    border-radius: 2.5em;
}

#cv1 {
    grid-area: cv1;
}

#cv2 {
    grid-area: cv2;
}

#cv3 {
    grid-area: cv3;
}

#cv4 {
    grid-area: cv4;
}

#toolbox img {
    width: 10vw;
    margin: .25rem;
    align-items: center;
}

#toolbox2 div {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 1rem;
    margin: 1rem 3rem 3rem 3rem;
    place-items: center;
}

#toolbox2 img {
    width: 20vw;
    margin: .25rem;
    align-items: center;
}

#aboutauximg {
    display: flex;
    justify-content: center;
}

#aboutauximg img {
    width: 50vw;
}

h1 {
    color: #722f37;
    font-size: 5rem;
    text-align: center;
    margin-top: 0;
}