/*
Theme Name: Mandjes Grond- en Sloopwerk
Author: Stephan Oexman
*/

@font-face {
    font-family: 'Montserrat';
    src: url('fonts/Montserrat-Medium.woff2') format('woff2'),
    url('fonts/Montserrat-Medium.woff') format('woff');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Montserrat';
    src: url('fonts/Montserrat-Black.woff2') format('woff2'),
    url('fonts/Montserrat-Black.woff') format('woff');
    font-weight: bold;
    font-style: normal;
    font-display: swap;
}

body {
    background: #fff;
    margin: 0;
    padding: 0;
    font-family: 'Montserrat';
    font-size: 16px;
    line-height: 24px;
}

a {
    color: #000;
    text-decoration: none;
    font-weight: bold;
}

h1, h2, h3 {
    text-transform: uppercase;
    font-weight: bold;
    color: #e57419;
    margin: 12px 0;
}

p {
    margin: 12px 0;
}

h1 {
    font-size: 40px;
    line-height: 60px;
}

h2 {
    font-size: 30px;
    line-height: 45px;
}

h3 {
    font-size: 24px;
    line-height: 36px;
}

section#content {
    margin: 0 0 20px 0;
}

.content-container {
    width: 1200px;
    margin: 0 auto;
}

header {
    width: 100vw;
    height: 120px;
}

header nav .content-container {
    height: 120px;
    position: relative;
}

header nav .content-container:after {
    content: '';
    display: block;
    clear: both;
}

header nav .content-container #logo {
    height: 60px;
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
}

header nav ul {
    float: right;
    margin: 40px 0;
    padding: 0;
    list-style-type: none;
    line-height: 40px;
    font-size: 24px;
    font-weight: bold;
    text-transform: uppercase;
}

header nav ul li {
    margin-right: 30px;
    display: inline-block;
}

header nav ul li:last-of-type {
    margin-right: 0;
}

#slider {
    width: 100vw;
    height: calc(100vh - 120px);
    overflow: hidden;
    position: relative;
    background: #000;
}

#slider .slide {
    width: 100%;
    height: 100%;
    position: absolute;
    left: 0;
    top: 0;
    opacity: 0;
}

#slider .slide.active, #slider #infoBar .infoSlide.active {
    opacity: 1;
    transition: all 1s;
}

#slider .slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

#slider #infoBar {
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 155px;
    padding: 5px 0 0 0;
    background: rgba(229, 116, 25, 0.8);
    color: #fff;
    box-sizing: border-box;
}

#slider #infoBar h2 {
    color: #fff;
}

#slider #infoBar #timeBar {
    height: 5px;
    width: 100%;
    position: absolute;
    top: 0;
    left: 0;
    background: rgba(255, 255, 255, 0.4);
    display: flex;
}

#slider #infoBar #timeBar .timer {
    flex-basis: 50%;
}

#slider #infoBar #timeBar .fill {
    background: #fff;
    height: 5px;
    width: 0%;
}

#slider #infoBar .content-container {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 150px;
}

#slider #infoBar .infoSlide {
    opacity: 0;
    flex-grow: 1;
    flex-basis: 0;
}

section#featured-image {
    width: 100vw;
    height: 400px;
}

section#featured-image img {
    width: 100vw;
    height: 400px;
    object-fit: cover;
    overflow: hidden;
}

section#content .content-container .center-flex {
    margin: 0 0 40px 0;
    display: flex;
    align-items: center !important;
    justify-content: center;
}

section#content .content-container .center-flex.margin-top {
    margin: 40px 0;
}

img.full-width {
    width: 100%;
    margin: 0 auto;
}

section#content .projecten {
    margin: 0 0 40px;
}

section#content .projecten.flex {
    display: flex;
    flex-flow: row wrap;
    gap: 40px;
}

section#content .projecten.flex .project {
    flex: 1;
    flex-basis: 33%;
    height: 250px;
    overflow: hidden;
    position: relative;
}  

section#content .projecten ul {
    list-style-type: none;
    display: inline-block;
    padding: 0;
    margin: 0;
    width: 100%;
    height: 250px;
    white-space: nowrap;
    overflow: auto;
    overflow-y: hidden;
}

section#content .single-project {
    margin-bottom: 40px;
}

section#content .projecten ul::-webkit-scrollbar {
  display: none;
}

section#content .projecten ul li {
    width: 350px;
    height: 250px;
    position: relative;
    display: inline-block;
}

section#content .projecten ul li img, section#content .projecten .project img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

section#content .projecten ul li h3, section#content .projecten .project h3 {
    font-size: 20px;
    line-height: 20px;
    position: absolute;
    bottom: 0;
    left: 0;
    color: #fff;
    background: rgba(229, 116, 25, 0.6);
    padding: 10px;
    margin: 0;
}

footer {
    background: #000;
    padding: 30px 0;
    color: #fff;
}

footer h1 {
    color: #fff;
}

footer p.contact {
    line-height: 32px;
}

footer .material-icons {
    color: #000;
    background: #fff;
    padding: 6px;
    border-radius: 50%;
    font-size: 18px;
    height: 18px;
    margin-right: 5px;
    vertical-align: middle;
}

footer a {
	color: #fff;
}

#mobileOverlay {
    position: fixed;
    top: 120px;
    height: calc(100vh - 120px);
    width: 100vw;
    background: rgba(0, 0, 0, 0.4);
    display: none;
    z-index: 10;
}

.mobile {
    display: none !important;
}

:where(figure) {
    margin: 0 !important;
}

input[type='text'], input[type='email'], textarea {
    width: 100%;
    padding: 5px;
    border: 1px solid #000;
    line-height: 21px;
    font-size: 14px;
    box-sizing: border-box;
    border-radius: 3px;
}

input[type='submit'] {
    background: #000;
    padding: 5px 20px;
    text-transform: uppercase;
    font-family: 'Montserrat';
    font-weight: bold;
    color: #fff;
    border: 1px solid #000;
    font-size: 14px;
    line-height: 21px;
    border-radius: 3px;
}

@media only screen and (max-width: 1199px) {
    h1 {
        font-size: 24px;
        line-height: 36px;
    }

    #slider #infoBar {
        height: 105px;
    }

    #slider #infoBar .content-container {
        display: block;
        height: 100px;
    }

    #menuIcon {
        line-height: 40px;
        font-size: 40px;
        margin: 40px 0;
        float: right;
        cursor: pointer;
    }

    #slider #infoBar .content-container .infoSlide {
        text-align: center;
    }

    #slider #infoBar .content-container .infoSlide p,  #slider #infoBar .content-container .infoSlide {
        display: none;
    }

    #slider #infoBar .content-container .infoSlide h2 {
        margin: 0;
        width: 100%;
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
    }

     #slider #infoBar .content-container .infoSlide.active {
        display: block;
     }

    header nav .content-container #logo {
        left: 10px;
    }

    header nav ul {
        display: none;
        float: none;
        position: absolute;
        top: 120px;
        margin: 0;
        z-index: 11;
        background: #000;
        width: 100%;
        left: 0;
    }

    header nav ul.active {
        display: block;
    }

    header nav ul li {
        margin-right: 0;
        padding: 0 10px;
        display: block;
        border-bottom: 1px solid #fff;
    }

    header nav ul li a {
        color: #fff;
    }

    #slider {
        height: 80vw;
    }

    .content-container {
        width: 100%;
        margin: 0;
        padding: 0 10px;
        box-sizing: border-box;
    }

    section#content .projecten.flex {
        gap: 20px;
    }

    section#content .projecten.flex .project {
        flex-basis: 100%;
    }

    footer a {
        color: #fff;
    }

    .mobile {
        display: block !important;
    }

    #mobileOverlay.active {
        display: block;
    }
}