/*
 Theme Name:   Presser.nl theme
 Theme URI:    https://www.presser.nl
 Description:  Theme for www.presser.nl
 Author:       Tim de Hoog
 Author URI:   https://www.timdehoog.nl
 Template:     hello-elementor
 Version:      1.5.4
*/

/* Force a fixed aspect ratio for the portfolio images. */
a.presser-portfolio-category {
    aspect-ratio: 4/3;
}

@media only screen and (min-width: 1200px) {
    /* Hide the h2 headings on the portfolio items by default. But show them on hover. */
    a.presser-portfolio-category h2 {
        display: none;
    }
    a.presser-portfolio-category:hover h2 {
        display: block;
    }
}

/* Portfolio detail page, use fixed width for left / right column. */
.elementor-element.presser-portfolio-detail-left {
    flex: 0 0 80px;
}
.elementor-element.presser-portfolio-detail-center {
    flex: 1 1 auto;
}
.elementor-element.presser-portfolio-detail-right {
    flex: 0 0 90px;
}
@media only screen and (max-width: 1023px) {
	.elementor-element.presser-portfolio-detail-left {
    flex: 0 0 100%;
	}
	.elementor-element.presser-portfolio-detail-center {
		flex: 1 1 auto;
	}
	.elementor-element.presser-portfolio-detail-right {
		flex: 0 0 100%;
	}
}

/* Scroll down icon will be only showed on the frontpage. */
body:not(.home) .scroll-down-icon {
    display:none;
}

.home {
    .scroll-down-icon {
        position: absolute;
        bottom: 10px;
        left: 50%;
        margin-left: -15px;
        text-align: center;
        z-index: 100;
        font-size: 12px;
        text-transform: uppercase;
        color: white;
        font-weight: 600;
        letter-spacing: 1px;
    }

    .scroll-down-icon .mouse-icon {
        width: 25px;
        height: 45px;
        border-radius: 15px;
        position: relative;
        border: 2px solid #dedede;
        text-align: center;
    }

    .scroll-down-icon .mouse-icon span {
        width: 3px;
        height: 8px;
        margin: 2px auto 0;
        display: block;
        background: #dedede;
        border-radius: 5px;
        -webkit-animation: 1.2s ease infinite wheel-up-down;
        animation: 1.2s ease infinite wheel-up-down;
    }
}

@-webkit-keyframes wheel-up-down {
    0% {
        margin-top: 2px;
        opacity: 0;
    }
    30% {
        opacity: 1;
    }
    80% {
        margin-top: 20px;
        opacity: 0;
    }
}

@keyframes wheel-up-down {
    0% {
        margin-top: 2px;
        opacity: 0;
    }
    30% {
        opacity: 1;
    }
    80% {
        margin-top: 20px;
        opacity: 0;
    }
}