/* Landing header section */

@media (max-width: 769px) {
    #landing-header {
        min-height: 700px;
        padding-top: 190px;
    }
    #header-small {
        min-height: 300px;
        padding-top: 190px;
    }
}
@media (min-width: 769px) {
    #landing-header {
        min-height: 620px;
        padding-top: 190px;
    }
    #header-small {
        min-height: 400px;
        padding-top: 190px;
        padding-bottom: 40px;
    }
}

.header-wrapper, .intro-wrapper, #message-section .col {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    height: 100%;
}

.intro-wrapper {
    justify-content: center;
}

/* Headers */

#header-small {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    text-align: left;
}

.social-info p > img {
    padding-right: 10px;
}

/* Intro section */

#news-section .figure-wrapper figure picture img {
    aspect-ratio: 1 / 1;
    width: 100%;
    min-width: 280px;
    min-height: 280px;
}

#projecten-intro-section .intro-wrapper{
    display: flex;
    flex-direction: column;
    gap: 1rem;
    text-align: left;
}

#projecten-uitleg-section .uitleg-wrapper {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    text-align: left;
}


#projecten-uitleg-section .col {
    align-self: center;
}

#about-section .col {
    align-self: center;
}

/* News section */
@media (max-width: 769px) {
    #news-section .news-item-highlight {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }
    #news-section .mobile-reverse > .col > .news-item-highlight {
        flex-direction: column-reverse;
        gap: 1rem;
    }
}

@media (min-width: 769px) {
    #news-section .news-item-highlight {
        display: flex;
        flex-direction: row;
        align-items: center;
        gap: 5rem;
    }
}

/* Portfolio section */
#portfolio-section .card {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 3rem;
    padding: 0;
    border-radius: 10px;
    overflow: hidden;
    z-index: 3;
}

#portfolio-section .card:after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    top: 80%;
    z-index: -1;
}
#portfolio-section .card:hover:after {
    bottom: 0;
    left: 0;
    right: 80%;
    top: 0;
    transition: ease-in-out 0.2s;
}

#portfolio-section .card span .subtitle, #portfolio-section .card span .description {
    color: var(--color-secondary);
    font-size: 0.75rem;
}

#portfolio-section .container > .row:first-child > .col {
    gap: 1rem;
}

#portfolio-section .items {
    padding: 0 0 60px;
    gap: 30px 0;
    justify-content: center;
}

#portfolio-section .portfolio-subject {
    border-radius: 10px;
    overflow: hidden;
}

#portfolio-section .card:hover h3 {
    color: var(--color-two);
}

@media (max-width: 769px) {
        #portfolio-section .card .portfolio-subject img {
        opacity: 0.8;
    }
        #portfolio-section .card .portfolio-subject img:hover {
        opacity: 0.8;
    }
}

@media (min-width: 769px) {
    #portfolio-section .card .portfolio-subject img {
        z-index: 3;
        opacity: 0.7;
    }
    #portfolio-section .card .portfolio-subject img:hover {
        z-index: 3;
        opacity: 1;
    }
}

#portfolio-section .card figure {
    aspect-ratio: 1/1;
    overflow: hidden;
    border-radius: 50% 60% 30% 70% / 60% 40% 50% 40%;
}

#portfolio-section .card figure.portfolio-photo {
    border-radius: 70% 50% 30% 60% / 40% 40% 70% 40%;
}

#portfolio-section .card span {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    position: absolute;
    bottom: 20px;
    left: 0;
    right: 0;
    text-align: start;
    padding: 0 20px;
    color: var(--color-secondary);
    height: 100px;
    width: 100%;
    pointer-events: none;
    z-index: 4;
}

#portfolio-section .card svg {
    position: absolute;
    bottom: 0;
    right: 0;
    height: 100px;
    width: 100px;
    border-radius: 100%;
    z-index: 3;
}

#portfolio-section .card svg circle {
    transform: translate(-150px, 0px);
}

/* Logos section */

#logos-section .logos-wrapper {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    width: 100%;
    max-width: 100px;;
}

/* Drieluik */

#drieluik-foto .social-icons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    justify-content: center;
}

/* Kaart */

@media (max-width: 769px) {
    #map-contact {
        aspect-ratio: 1/1;
    }
}

@media (min-width: 769px) {
    #map-contact {
        max-height: 300px;
    }
}
