.case-studies-container {
    width: 100%;
}

.case-study-card {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    margin-bottom: 2em;
    width: 100%;
}

.image-container {
    width: 100%;
}

img {
    width: 100%;
    border-radius: 12px;
    min-width:100%;
}

.case-study-description {
    font-size: 1.3em;
    padding-bottom: 10px;
}

h1 {
    font-size: 2em;
    font-weight: 600;
    margin: 0;
}


h2 {
    font-weight: 400;
    font-size: 1.5em;
}

h3 {
    margin-top: 0.4em;
    margin-bottom: 0.1em;
    font-weight: 700;
    font-size: 1.5em;
}

.recent-work-label {
    color: #333333;
}

.introduction-container {
    max-width: 80%;
    margin-bottom: 4em;
}

.underline-text {
    box-shadow: inset 0 -0.4em 0 rgb(228, 159, 255);   
    transition: box-shadow 0.6s ease-in-out;
}

.underline-text:hover {
    box-shadow: inset 0 -1.2em 0 rgb(228, 159, 255);  
}

.case-studies-container {
    margin-top: 1em;
}

a:hover .case-study-description {
    text-decoration: underline;
}

.case-study-tags {
    margin-top:0.8em;
    display:flex;
    flex-direction:row;
    gap:0.8em;
}

.case-study-tag {
    padding:0.4em;
    padding-left:0.6em;
    padding-right:0.6em;
    border:1px solid black;
    border-radius: 12px;
}

.case-study-tag:hover {
    box-shadow: 0 .125rem .25rem #00000013!important;
}

@media (min-width: 1024px) {
    .case-studies-row {
        display:flex;
        flex-direction:row;
        gap: 4em;
        margin-bottom:3em;
    }

    .case-study-card-contents {
        height: 100%;
    }

    .case-study-description {
        height:2.6em;
        margin-top: 0.2em;
    }

    .image-container {
        height: 16em;
    }

    img {
        height: 100%;
    }
}