header {
    background-color: rgba(134, 186, 222);
}

.hero {
    background-color: rgba(134, 186, 222);
}

main {
    max-width: unset;
    margin-left: unset !important;
    margin-right: unset !important;
}

main .hero .intro, main .hero .aboutSite, main .highlighted, main .overview {
    max-width: 1600px;
    margin-left: auto !important;
    margin-right: auto !important;
}

.intro, .aboutSite {
    width: 85%;
    margin-left: auto;
    margin-right: auto;
}

.intro h1 {
    color: white;
    font-size: 9.1rem;
    font-style: italic;
    font-family: Kleisch;
    line-height: 82%;
    margin-left: 5rem;
}

.intro .blue::after {
    left: -3.6px;
    bottom: -0.15em;
}

.intro .blue {
    color: #0A1A2F
}

.intro span {
    display: block;
    position:relative;
    z-index: 0;
}

.intro .one {
    margin-left: 13rem;
}

.intro .two {
    margin-left: 3rem;
}

.intro .three {
    margin-left: 6.5rem;
}

.intro .sub {
    font-size: 16px;
    letter-spacing: 1.7px;
    margin-top: 5rem;
    margin-bottom: 4.1rem;
    font-weight: bold;
    display: flex;
    align-items: center;
}

.intro .line {
    content: "";
    width: 100%;
    height: 2px;
    background-color: black;
}

.sub span:first-child {
    width: 39rem;
}

.aboutSite {
    width: 90%;
    margin-left: auto;
    margin-right: auto;
    display: flex;
    padding-bottom: 4rem;
    margin-bottom: 6rem;
    justify-content: space-between;
}

.aboutSite h4 {
    font-size: 17px;
    font-weight: bold;
    letter-spacing: 1.7px;
}

.aboutSite p {
    line-height: 150%;
    font-size: 16px;
    padding-left: 1rem;
    margin-left: 0.25rem;
    margin-top: 0.75rem;
    padding-top: 0.5rem;
    padding-bottom:0.5rem;
    border-left: #0A1A2F solid 2px;
    width: 22rem;
}

h2 {
    font-size: 50px;
    font-style: italic;
    font-family: Kleisch;
    line-height: 82%;
    margin-left: 2rem;
    margin-bottom: 2rem;
    color: #0A1A2F;
}

.highlighted {
    margin-bottom: 8rem;
}

.details {
    transition: transform 0.35s ease, box-shadow 0.35s ease;
    position: relative
}

.details:hover {
    transform: translateY(-6px);
}

.flat-arrow {
    position: absolute;
    bottom: 1.2rem;
    right: 1.2rem;
    height: 0.8rem;
}

.overview {
    margin-left: 2rem;
}

h3 {
    font-size: 18px;
    letter-spacing: 1px;
    font-weight: bold;
    margin-bottom: 1rem;
}

.underline {
    content: "";
    background-color: #C6C6C6;
    height: 2px;
    width: 98%;
    display: block;
}

.works-grid {
    display: flex;
    margin-top: 3rem;
    position: relative;
}


.works-grid .wrapper img {
    height: 280px !important;
}

.works-grid article {
    margin-left: 2rem;
}

.wrapper {
    --depth-right: 10px !important;
    --depth-bottom: 7px !important;
}

h5 {
    letter-spacing: 1px;
    font-size: 28px;
    font-weight: bold;
    margin-top: 1rem;
}

.doelgroep img {
    height: 23px;
}

.doelgroep {
    display: flex;
    align-items: center;
    margin-top: 0.3rem
}

.tags {
    margin-top: 1rem;
    font-size: 16px;
}

.tag{
    padding-left: 1rem;
    padding-right: 1rem;
    margin-right: 0.8rem;
}

.tags .tag:nth-child(odd) {
    background-color: rgba(134, 186, 222);
}

.tags .tag:nth-child(even) {
    background-color: #0A1A2F;
    color: white;
}

.row-divider {
    position: absolute;
    content: '';
    background-color: rgba(134, 186, 222);
    opacity: 45%;
    height: 7px;
    width: 98%;
    bottom: 29.7%;
    z-index: -1;
}

.row-divider-light {
    position: absolute;
    content: '';
    background-color: rgba(134, 186, 222);
    opacity: 16%;
    height: 5px;
    width: 98%;
    bottom: 33.2%;
    z-index: -1;
}

.works-grid {
    display: flex;
    flex-direction: column;
    gap: 6rem; /* space between rows */
}

.row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    position: relative;
    margin-top: 4rem;
}


.new {
    top: -2.5rem;
    left: 8rem;
    z-index: 500;
    position: absolute;
}

article {
    position: relative
}

.works-grid .work-card .wrapper{
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.works-grid .work-card .wrapper:hover{
    transform: translateY(-6px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
}

.details img {
    transition: transform 0.6s ease;
}

.details:hover img {
    transform: scale(1.03);
}

.aboutSite > div,
.highlighted,
.overview,
.works-grid .row > *:not(.row-divider-light):not(.row-divider) {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 0.45s ease-out, transform 0.45s ease-out;
}

.visible {
    opacity: 1 !important;
    transform: translateY(0) !important;
}



