/* algemeen */
html {
    scroll-behavior: smooth;
}

:root {
    --main-bg-color: #fefaf7;
    --accent-color: #6d9e8a;
    --betw-color: #DDC8AD;
    --footer-color: #136F63;
}

Body {
    width: 100%;
    height: 100%;
    margin: 0;
    background-color: var(--main-bg-color);
    font-family: poppin reg;
    overflow-x: hidden;
}

#backgroundOverlay {
    background-color: transparent;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: block;
    z-index: 10;
}

.navlogo {
    position: absolute;
    margin-top: 5px;
    margin-left: 2.5%;
    width: 70px;
    transition: transform 0.5s;
    transform: translateX(-130px);
}

.navlogo2 {
    transform: none;
    transform: rotate(-120deg);
}

.navlogo:hover {
    transform: scale(.75);
    color: var(--footer-color);
}

@font-face {
    font-family: poppin reg;
    src: url('Website_Attributes/Font/Poppins-Regular.ttf');
}

@font-face {
    font-family: poppin bld;
    src: url('Website_Attributes/Font/Poppins-SemiBold.ttf');
}

@font-face {
    font-family: poppin light;
    src: url('Website_Attributes/Font/Poppins-Light.ttf');
}

/* nav */

#navbar {
    display: ;
    position: absolute;
    background-color: var(--accent-color);
    /* background-image: url(Content/Images/Muur.jpg); */
    background-size: cover;
    background-repeat: no repeat;
    background-position: left center;
    background-attachment: fixed;
    width: 100%;
    height: 80px;
    z-index: 2;
    top: 780px;
}

.navi {
    position: absolute;
    float: left;
    right: 0px;
    width: 40%;
    margin-top: 21px;
}

.navi a {
    text-decoration: none;
    color: white;
    font-size: 20px;
    font-family: poppin reg;
    margin: 3%;
    border-bottom: 0px solid white;
    transition: border-width 0.1s linear;
}

.navi a:hover {
    border-bottom-width: 3px;
}

.sticky {
    position: fixed;
    top: 0;
    width: 100%;
}

/* mobilenav */

.mobnav {
    z-index: 11;
}

#menuToggle {
    display: block;
    position: absolute;
    top: 809px;
    Right: 50px;
    z-index: 11;
    text-align: center;

    -webkit-user-select: none;
    user-select: none;
}

#menuToggle a {
    text-decoration: none;
    color: #232323;
    transition: color 0.3s ease;
    margin-left: 20px;
    margin-right: 20px;
}

#menuToggle a:hover {
    color: var(--footer-color);

}

#menuToggle a li {
    transition: border 0.5s;
}

#menuToggle a li:hover {
    border-bottom: px solid var(--footer-color);
}

#menuToggle input {
    display: block;
    width: 40px;
    height: 32px;
    position: absolute;
    top: -7px;
    left: -5px;

    cursor: pointer;

    opacity: 0;
    /* hide this */
    z-index: 2;
    /* and place it over the hamburger */

    -webkit-touch-callout: none;
}

/* hamburger */

#menuToggle span {
    display: block;
    width: 33px;
    height: 4px;
    margin-bottom: 5px;
    position: relative;

    background: white;
    border-radius: 3px;

    z-index: 1;

    transform-origin: 4px 0px;

    transition: transform 0.5s cubic-bezier(0.77, 0.2, 0.05, 1.0),
        background 0.5s cubic-bezier(0.77, 0.2, 0.05, 1.0),
        opacity 0.55s ease,
        color 0.3s ease;
}

#menuToggle span:first-child {
    transform-origin: 0% 0%;
}

#menuToggle span:nth-last-child(2) {
    transform-origin: 0% 100%;
}

/* Transform all the slices of hamburger into a crossmark. */

#menuToggle input:checked ~ span {
    opacity: 1;
    transform: rotate(45deg) translate(-2px, -1px);
    background: #232323;
}

/* But let's hide the middle one. */

#menuToggle input:checked ~ span:nth-last-child(3) {
    opacity: 0;
    transform: rotate(0deg) scale(0.2, 0.2);
}

/* Ohyeah and the last one should go the other direction */

#menuToggle input:checked ~ span:nth-last-child(2) {
    transform: rotate(-45deg) translate(0, -1px);
}

/* Make this absolute positioned at the top left of the screen */

#menu {
    border-radius: 0px;
    background: var(--accent-color);
    /* background-image: url(Content/Images/Muur.jpg); */
    background-size: cover;
    background-repeat: no repeat;
    background-position: left center;
    background-attachment: fixed;
    list-style-type: none;
    transform-origin: top right;
    -webkit-font-smoothing: antialiased;
    /* to stop flickering of text in safari */
}

.nav2 {
    top: 70px;
    right: 0px;
    position: fixed;
    width: 100px;
    margin: 5px 0 0 -100px;
    padding: 50px;
    padding-top: 50px;
    z-index: 11;
    transform-origin: 0% 0%;
    transform: translate(100%, 0);

    transition: transform 0.5s cubic-bezier(0.77, 0.2, 0.05, 1.0);
}

.navbarabove {
    position: absolute;
    transform: scale(0);
    margin: 0px;
    padding: 0px;
    right: -50px;
    top: 50px;
    width: 200px;
}


#menu li {
    padding: 25px 0;
    font-size: 22px;
}

/* And let's slide it in from the left */

#menuToggle input:checked ~ ul {
    transform: none;
}

.menu2 {
    transform: none;
}

/* main */

main {
    width: 100%;
    height: 2000px;
}

.sections {
    height: auto;
    background-size: cover;
    background-repeat: no repeat;
    background-position: center bottom;
    background-attachment: fixed;
    position: relative;
    text-align: center;
    bottom: 0;
    z-index: 1;
    padding-bottom: 50px;
}

.homesection {
    padding-bottom: 0px;
}

.logodiv {
    width: 100%;
    height: 100%;
    text-align: left;
    display: flex;
}

.logo {
    position: relative;
    margin: auto;
    width: 700px;
    transition: 0.5s;
}

.logo:hover {
    margin-left: -25.5%%;
    transform: scale(1.1);
}


.downarrow {
    position: absolute;
    margin-top: -170px;
    width: 20px;
    transition: 0.5s;
}

.downarrow:hover {
    margin-top: -150px;
}

.textsect {
    border-top: 2px solid black;
    background-color: var(--main-bg-color);
    width: 60%;
    height: 100%;
    margin: auto;
    position: relative;
    text-align: center;
}

.text {
    padding: 20px;
    margin: auto;
}

#contenttext {
    font-size: 16px;
}

#home {
    position: static;
    background-image: url(Content/Images/IMG_6492-2.jpg);
    background-attachment: scroll;
    height: 40%;
    padding-bottom: 0px;
    background-size: cover;
    background-repeat: no repeat;
    background-position: center bottom;
    background-attachment: fixed;
    position: relative;
    text-align: center;
    bottom: 0;
    z-index: 1;
    padding-bottom: 50px;
}

#aboutpag {
    padding-top: 75px;
    padding-bottom: 75px;
    border-top: 0px;
}

/* services */

#servicepag {
    height: auto;
    margin-bottom: 0;
    padding-bottom: 0;
}

.servicephotos2 {
    padding: 20px;
    width: 40%;
    float: left;
}

.servicephotos {
    display: block;
    width: 90%;
    margin: auto;
}

.servicephotos div {
    overflow: hidden;
    text-align: left;
    align-items: left;
    top: 0px;
    display: flex;
}

.servicephotos div div {
    z-index: 0;
    flex-direction: column;
    justify-content: center;
    display: flex;
    padding: 10px;
    width: 100%;
}

.servicephotos div img {
    transition: 0.5s;
    z-index: 1;
    align-self: center;
    align-self: center;
}

.servicephotos img:hover {
    transform: scale(1.4);
}

.service_bouwen {
    align-items: center;
    display: flex;
}

.serviceicons {
    width: 60px;
    padding: 0px;
}

.servicetext {
    margin-top: 0px;
}

.servicepricing p {
    margin: 0px;
}

.priceleft {
    padding-bottom: 5px;
    border-bottom: 1px solid black
}

.priceright {
    text-align: right;
    position: relative;
    left: -20px;
}

.photosright {
    float: right;
    order: 1;
}

/* pricing */

.pricingtab {
    margin: 0 auto;
    width: 40%;
}

.pricingtab div {
    margin-top: 30px;
    overflow: hidden;
    border-bottom: 1px solid black;
    padding: 0 10px 0 10px;
    height: 50px;
}

.pricingtab div .pricingservice {
    float: left;
}

/* Contact page things */

.fa {
    padding: 20px;
    font-size: 30px;
    width: 20px;
    text-align: center;
    text-decoration: none;
    border-radius: 50%;
    margin-bottom: 10px;
    margin-top: 20px;
    transition: 0.2s;
}

.fa:hover {
    opacity: 0.7;
    transform: scale(1.4)
}

.fa-instagram {
    background: #125688;
    color: white;
}

.fa-snapchat-ghost {
    background: #fffc00;
    color: white;
    text-shadow: -1px 0 black, 0 1px black, 1px 0 black, 0 -1px black;
}

.fa-facebook {
    background: #3B5998;
    color: white;
}

.fa-twitter {
    background: #55ACEE;
    color: white;
}

iframe {
    filter: contrast(80%);
}

/* footer */

footer {
    z-index: 11;
    background-color: var(--footer-color);
    background-image: url(Content/Images/Muur.jpg);
    background-size: cover;
    background-repeat: no repeat;
    background-position: left center;
    background-attachment: fixed;
    position: relative;
    height: 50px;
    width: 100%;
    bottom: 0;
    text-align: center;
}

footer div {
    position: relative;
    top: 13px;
}

footer a {
    color: white;
    text-decoration: none;
    text-transform: uppercase;
    padding: 5px 10px 5px 10px;
    border-left: 0px solid white;
    border-right: 0px solid white;
    transition: border-width 0.2s;
}

footer a:hover {
    border-width: 4px;
}

/* sticky navbar*/

.sticky {
    position: fixed;
    top: -780px;
    z-index: 10;
    height: 60px;
}


/* screensizes */

@media screen and (max-width: 599px) {

    .textsect {
        width: 100%;
        border-top: 2px solid black;
    }

    .navi {
        display: none;
    }

    .pricingtab {
        width: 90%;
    }

    .servicephotos div {
        flex-direction: column;
        padding-top: 0px;
        text-align: left;
    }

    .servicephotos div h2 {
        text-align: center;
    }

    .servicephotos2 {
        width: 90%;
        margin-top: 100px;
    }

    .photosright {
        order: 0;
    }

    .servicephotos img:hover {
        transform: scale(1);
    }

    .logo {
        padding-top: 200px;
        width: 80%;
    }

    .navlogo2 {
        margin-left: 30px;
    }

}

@media screen and (min-width: 600px) {

    .textsect {
        width: 90%;
    }

    .navi {
        display: none;
    }
    
    .pricingtab {
        width: 80%;
    }

    .servicephotos {
        width: 100%;
    }

    .servicephotos div {
        flex-direction: column;
        padding-top: 0px;
        text-align: left;
    }

    .servicephotos div h2 {
        text-align: center;
    }

    .servicephotos2 {
        width: 90%;
        margin-top: 100px;
    }

    .servicephotos img:hover {
        transform: scale(1);
    }

    .photosright {
        order: 0;
    }

    .logo {
        width: 80%;
    }
}

@media screen and (min-width: 900px) {

    .navi {
        right: 0px;
        width: 60%;
    }

    .navi {
        display: inline;
    }

    #backgroundOverlay {
        display: none;
    }

    .mobnav {
        display: none;
    }

    .textsect {
        width: 100%;
    }

    .pricingtab {
        width: 50%;
    }

    .servicephotos {
        width: 100%;
    }

    .servicephotos div {
        flex-direction: row;
    }

    .servicephotos2 {
        width: 40%;
        margin-top: 0px;
    }

    #servicetext {
        width: 80%;
    }

    .servicephotos img:hover {
        transform: scale(1.4);
    }

    .photosright {
        order: 1;
    }

    .logo {
        display: inline;
        position: relative;
        margin-top: 50px;
        left: 1%;
        width: 700px;
        transition: 0.5s;
    }
}

@media screen and (min-width: 1400px) {

    .navi {
        right: 0px;
        width: 40%;
    }

    .navi {
        display: inline;
    }

    .mobnav {
        display: none;
    }

    .textsect {
        width: 80%;
    }

    .pricingtab {
        width: 40%;
    }

    .servicephotos div div {
        position: static;
        margin-top: 0%;
    }

    .servicephotos2 {
        padding: 20px;
        width: 48%;
    }

    .servicephotos img:hover {
        transform: scale(1.4);
    }


    .logo {
        display: inline;
        position: relative;
        margin-top: 50px;
        left: 1%;
        width: 700px;
        transition: 0.5s;
    }

}
