:root {
    --accent-color: #c06315;
}
html {
    font-family: "Roboto", sans-serif;
    color: #323232;
    scroll-behavior: smooth;
    scroll-padding-top: 56px;
    background-color: #fffbf5;
}

p {
    line-height: 1.4;
    padding-bottom: 1rem;
}

a {
    text-decoration: none;
}

h2 {
    font-family: "Merrweather";
    font-size: 3rem;
    margin-bottom: 1rem;
}

.home {
    background-image: url(/assets/images/DSC02031.JPG);
    height: 100vh;
    width: 100vw;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 1rem;
    box-sizing: border-box;
}

.home div {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 2vw;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #2e261f;
    flex-wrap: wrap;
    justify-content: center;
    transform: scale(1);
}

.home div img {
    height: clamp(80px, 16vw, 200px);
    width: auto;
}

.home div h1 {
    display: flex;
    flex-direction: column;
    font-size: clamp(1.5rem, 4vw, 3rem);
    font-weight: bold;
    text-transform: uppercase;
    line-height: 1.2;
    color: black;
    margin: 0;
    white-space: nowrap;
    align-items: start;
}

.home div h1 span {
    display: block;
}

main {
    padding-top: 3rem;
}

#over-mezelf,
#info-trajecten,
#praktisch,
footer {
    padding: 0 1.5rem 1.5rem 1.5rem;
}

#over-mezelf img {
    width: 100%;
    padding-bottom: 1rem;
}

#over-mezelf .container div:nth-of-type(2) {
    border: 2px solid var(--accent-color);
    padding: 1rem;
}

#over-mezelf .container div:nth-of-type(2) p {
    padding: unset;
}

#info-trajecten .container {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin: 0 auto;
    width: 100%;
}

#info-trajecten .card {
    border: 1px solid #323232;
    display: flex;
    flex-direction: column;
}

#info-trajecten .card-media img {
    width: 100%;
    height: auto;
    aspect-ratio: 3 / 2;
    object-fit: cover;
}

#info-trajecten .card-media h3 {
    font-size: 2rem;
    padding: 1rem;
    text-align: center;
    margin: 0;
}

#info-trajecten .card-content {
    padding: 1rem;
}

#info-trajecten .card:nth-of-type(1) .card-media h3 {
    background-color: #e3ac77;
}

#info-trajecten .card:nth-of-type(2) .card-media h3 {
    background-color: #cb8447;
}

#info-trajecten .card:nth-of-type(3) .card-media h3 {
    background-color: #acaead;
}

#praktisch {
    background-color: #eee4db;
}

#praktisch .image-wrapper {
    position: relative;
    width: 100vw;
    max-height: 400px;
    overflow: hidden;
    margin-left: -1.5rem;
    margin-right: -1.5rem;
    margin-bottom: 1.5rem;
}

#praktisch .image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: bottom;
    display: block;
}

#praktisch .container .content {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

#praktisch .container h2 {
    color: black;
    text-align: center;
    margin-bottom: unset;
    margin-bottom: 1rem;
}

#praktisch .info h3 {
    font-size: 1.3rem;
    font-weight: bold;
    text-transform: uppercase;
    color: var(--accent-color);
    padding-left: 0.7rem;
    padding-bottom: 0.5rem;
}

#praktisch .info .price-list {
    padding: 1rem;
    border: 2px solid var(--accent-color);
    margin-bottom: 1rem;
}

#praktisch .info ul {
    list-style: disc;
    padding-left: 1.2em;
    line-height: 1.3;
}

#praktisch .info ul li:not(:last-of-type) {
    margin-bottom: 1rem;
}

#praktisch .info ul li .row {
    display: flex;
    justify-content: space-between;
    gap: 1em;
    align-items: flex-start;
}

#praktisch .info ul li .row .name {
    flex: 1;
}

#praktisch .info ul li .row .price-group {
    display: grid;
    grid-template-columns: auto auto;
    text-align: right;
    gap: 0 0.2em;
}

#praktisch .info ul li .row .price-group .price {
    min-width: 4ch;
    text-align: right;
    white-space: nowrap;
}

#praktisch .info ul li .row .price-group .plus {
    min-width: 1ch;
    text-align: left;
    white-space: nowrap;
}

#praktisch .info ul li .row .price-group .plus.empty {
    visibility: hidden;
}

#praktisch .info:nth-of-type(4) img {
    width: 100%;
}



/* Tablets (landscape) and up */
@media (min-width: 768px) {
    #over-mezelf,
    #info-trajecten,
    #praktisch,
    footer {
        padding-left: 5rem;
        padding-right: 5rem;
    }

    #praktisch .image-wrapper {
        margin-left: -5rem;
        margin-right: -5rem;
    }

    #over-mezelf .container div:nth-of-type(2) {
        display: flex;
        align-items: start;
        gap: 1rem;
    }

    #over-mezelf .container div:nth-of-type(2) img {
        width: 50%;
        padding-bottom: 0;
    }

    #over-mezelf .container div:nth-of-type(2) .text-content {
        width: 50%;
        margin: 0;
        padding: unset;
    }
}

/* Small laptops and desktops */
@media (min-width: 992px) {
    #over-mezelf,
    #info-trajecten,
    #praktisch,
    footer {
        padding-left: 8rem;
        padding-right: 8rem;
    }

    #praktisch .image-wrapper {
        margin-left: -8rem;
        margin-right: -8rem;
    }

    #over-mezelf .container > div {
        display: flex;
        align-items: flex-start;
        gap: 1rem;
    }

    #over-mezelf .container > div:first-of-type {
        margin-bottom: 1.5rem;
    }

    #over-mezelf .container > div img {
        width: 50%;
        height: auto;
        padding-bottom: 0;
    }

    #over-mezelf .container > div .text-content {
        width: 50%;
        margin: 0;
    }

    #over-mezelf .container div:nth-of-type(2) {
        flex-direction: row-reverse;
    }

    #info-trajecten .card {
        flex-direction: row;
    }

    #info-trajecten .card-media {
        width: 40%;
        display: flex;
        flex-direction: column;
    }

    #info-trajecten .card-media img {
        width: 100%;
    }

    #info-trajecten .card-media h3 {
        order: 2;
    }

    #info-trajecten .card-content {
        width: 60%;
        display: flex;
        flex-direction: column;
        justify-content: center;
    }

    #info-trajecten .card-content p:last-of-type {
        padding-bottom: 0;
    }

    #info-trajecten .card:nth-of-type(even) {
        flex-direction: row-reverse;
    }

    #info-trajecten .card:nth-of-type(even) .card-content {
        text-align: left;
    }

    #praktisch .container .content {
        flex-direction: row;
        flex-wrap: wrap;
    }

    #praktisch .container .content > * {
        flex-basis: 48%;
    }

    #praktisch .container .content .info img {
        width: 50%;
    }
}

/* Large desktops */
@media (min-width: 1200px) {
    #over-mezelf .container {
        display: flex;
        gap: 2rem;
        align-items: flex-start;
    }
    #over-mezelf .container > div {
        flex: 1;
    }

    #over-mezelf .container > div:first-of-type {
        display: flex;
        flex-direction: row;
        gap: 1rem;
    }

    #over-mezelf .container > div:first-of-type img {
        width: 50%;
        height: auto;
    }

    #over-mezelf .container > div:first-of-type .text-content {
        width: 50%;
    }

    #over-mezelf .container > div:nth-of-type(2) {
        flex: 0 0 250px;
        display: flex;
        flex-direction: column;
        align-self: flex-end;
    }

    #over-mezelf .container > div:nth-of-type(2) img {
        width: 100%;
        height: auto;
    }

    #over-mezelf .container > div:nth-of-type(2) .text-content {
        margin-top: 0.5rem;
        width: 100%;
    }

    #over-mezelf .container div:nth-of-type(2) img {
        width: 100%;
        aspect-ratio: 3 / 4;
        object-fit: cover;
        object-position: center;
    }

    #info-trajecten .container {
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
        gap: 1.5rem;
        justify-content: space-between;
    }

    #info-trajecten .card {
        flex-direction: column;
        width: calc(33.333% - 1.333rem);
        display: flex;
    }

    #info-trajecten .card-media,
    #info-trajecten .card-content {
        width: fit-content;
    }

    #info-trajecten .card:nth-of-type(even) {
        flex-direction: column;
    }
}

/* Very large screens / 4K */
@media (min-width: 1600px) {
    #over-mezelf,
    #info-trajecten,
    #praktisch,
    footer {
        padding-left: 20vw;
        padding-right: 20vw;
    }

    #praktisch .image-wrapper {
        margin-left: -20vw;
        margin-right: -20vw;
    }
}
