* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}


body {

    font-family: sans-serif;
}

.black {
    color: black;
}

.white {
    color: white;
}

.backgroundWhite {
    background-color: white;
}

.overlayWhite {
    border: white solid 2px;
}

.borderBlack {
    border: black solid 2px;
}

#container {
    height: 100vh;
    width: 100vw;
    overflow-x: hidden;
}

/*--------------mobiel------------*/

/*--------header--------*/

#menuKnop {
    width: 100vw;
    height: 40px;
    padding: 10px;
    position: fixed;
    text-align: center;
    font-size: 20px;
    line-height: 20px;
    bottom: 0px;
    z-index: 200;
    background-color: white;
    box-shadow: 0px 0px 2px 0px rgba(143, 142, 142, 0.75);
    -webkit-box-shadow: 0px 0px 2px 0px rgba(143, 142, 142, 0.75);
    -moz-box-shadow: 0px 0px 2px 0px rgba(143, 142, 142, 0.75);

}

nav #menuMobile {
    position: fixed;
    bottom: 0px;
    height: calc(100vh - 148px);
    width: 100vw;
    background-color: white;
    list-style: none;
    padding-left: 4px;
    padding-top: 80px;
    text-align: center;
    font-size: 40px;
}

nav #menuMobile li a {
    text-decoration: none;
    font-family: sans-serif;
}

#menuMobileSmall li a {
    font-weight: 100;
}

#menuMobileSmall {
    margin: 0px;
    padding: 0px;
}

nav #menuMobile li a:hover {
    text-decoration: underline;
}

.verborgenMenu ul {
    transform: translateY(100%);
    transition: 0.5s;
}

.verborgenMenu #menuKnop p {
    transform: rotate(180deg);
}

.underline {
    text-decoration: underline;
}

header {
    position: fixed;
    z-index: 100;
}

#logoSlider {
    padding-top: 36px;
    position: fixed;
    top: 0px;
    width: 100vw;
    z-index: 100;
    background-color: white;
}

#logo a {
    list-style: none;
    text-decoration: none;
}

#logo {
    text-align: center;
    font-family: sans-serif;
    font-size: 52px;
}

#contactButton {
    display: none;
}

/*--------main--------*/


#paintingStart {
    width: 80vw;
    height: calc(100vh - 166px - 36px - 36px - 14px);
    overflow-y: hidden;
    margin: 166px auto 0 AUTO;
    background: url(../img/Amiens.jpg) no-repeat center center;
    background-size: cover;
}

#paintingsStart img {
    background-size: cover;
}

#takealook {
    position: fixed;
    width: 100vw;
    margin-bottom: 36px;
    bottom: 0;
    text-align: center;
    text-decoration: none;
    font-family: sans-serif;
    font-size: 24px;
}

#workPaintings {
    margin: 36px;
    padding-top: calc(158px - 36px);
}

#workPaintings .image img {
    width: 100%;
}

#workPaintings .image .caption {
    font-size: 20px;
    font-family: sans-serif;
    margin-bottom: 20px;
}

.kader {
    display: none;
}

.overlay {
    display: none;
}

#menuBottom {
    display: none;
}

.contact {
    font-size: 25px;
    margin: 0 10vw 0 10vw;
    width: 80vw;
    top: 158px;
    position: absolute;
}

#bio {
    font-size: 20px;
    height: calc(100% - 168px - 58px - 10px - 80px);
    width: 80vw;
    margin: 0 10vw;
    overflow-y: scroll;
    position: absolute;
    bottom: 80px;
}

#bio p {
    margin-bottom: 10px;
}

#schilderij {
    display: none;
}

#myModal {
    display: none;
}


/*--------mailform-------*/

/* Style inputs with type="text", select elements and textareas */
input[type=text],
select,
textarea {
    width: 100%;
    /* Full width */
    padding: 12px;
    /* Some padding */
    border: 1px solid black;
    /* Gray border */
    border-radius: 4px;
    /* Rounded borders */
    box-sizing: border-box;
    /* Make sure that padding and width stays in place */
    margin-top: 6px;
    /* Add a top margin */
    margin-bottom: 16px;
    /* Bottom margin */
    resize: vertical;
    /* Allow the user to vertically resize the textarea (not horizontally) */
    background-color: #ffffc4;
    color: black;
}

/* Style the submit button with a specific background color etc */
input[type=submit] {
    background-color: black;
    color: #ffffc4;
    padding: 12px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

/* Add a background color and some padding around the form */
#mailform {
    background-color: #ffffc4;
    padding: 30px;
    padding-top: 80px;
    position: fixed;
    z-index: 10000;
    margin: 5px;
    height: calc(100vh - 10px);
    display: none;

}

.lijntje {
    background-color: black;
    width: 39px;
    height: 1px;
    transform: rotate(135deg) translate(7px, -12px);
}

.lijntje:first-of-type {
    transform: rotate(-135deg) translate(-12px, -7px);
}

#kruisje {
    position: absolute;
    right: 30px;
    top: 40px;
    height: 50px; 
}

#kruisje:hover {
    cursor: pointer;
}

.thanks {
    text-align: center;
    position: fixed;
    width: 100vw;
    font-size: 40px;
    top: 30vh;
}

.return {
    text-align: center;
    position: fixed;
    width: 100vw;
    font-size: 20px;
    bottom: 40px;
    text-decoration: none;
}

.return:hover {
    cursor: pointer;
}


/*----------footer--------*/

#socials a {
    font-size: 20px;
    text-decoration: none;
}

ul {
    list-style: none;
}

#socials {
    display: flex;
    width: 100vw;
    justify-content: space-between;
    position: fixed;
    bottom: 40px;
    padding: 10px;
    background-color: white;
    padding-left: 10vw;
    padding-right: 10vw;
    z-index: 150;
}



/*----slider-----*/
output {
    display: none;
}

#slider {
    margin: 18px auto 18px auto;
    right: 20px;
    top: 20px;
    text-align: center;
}

input[type=range] {
    width: 80vw;
    margin: 14px 0;
    background-color: transparent;
    -webkit-appearance: none;
}

input[type=range]:focus {
    outline: none;
}

input[type=range]::-webkit-slider-runnable-track {
    background: black;
    border: 0;
    width: 200px;
    height: 2px;
    cursor: pointer;
}

input[type=range]::-webkit-slider-thumb {
    margin-top: -14px;
    width: 30px;
    height: 30px;
    background: #ffffff;
    border: 2px solid #000000;
    border-radius: 26px;
    cursor: pointer;
    -webkit-appearance: none;
}

input[type=range]:focus::-webkit-slider-runnable-track {
    background: black;
}

input[type=range]::-moz-range-track {
    background: white;
    border: 0;
    width: 80vw;
    height: 2px;
    cursor: pointer;
}

input[type=range]::-moz-range-thumb {
    width: 30px;
    height: 30px;
    background: #ffffff;
    border: 2px solid #000000;
    border-radius: 26px;
    cursor: pointer;
}

input[type=range]::-ms-track {
    background: transparent;
    border-color: transparent;
    border-width: 14px 0;
    color: transparent;
    width: 80vw;
    height: 2px;
    cursor: pointer;
}

input[type=range]::-ms-fill-lower {
    background: #000000;
    border: 0;
}

input[type=range]::-ms-fill-upper {
    background: #000000;
    border: 0;
}

input[type=range]::-ms-thumb {
    width: 30px;
    height: 30px;
    background: #ffffff;
    border: 2px solid #000000;
    border-radius: 26px;
    cursor: pointer;
    margin-top: 0px;
    /*Needed to keep the Edge thumb centred*/
}

input[type=range]:focus::-ms-fill-lower {
    background: #000000;
}

input[type=range]:focus::-ms-fill-upper {
    background: #050505;
}

input[type=range] {
    margin: 0;
    /*Edge starts the margin from the thumb, not the track as other browsers do*/
}


/*------eind slider-------*/


/*------create-------*/



#create #schilderij {
    display: block;
    position: fixed;
    width: 100vw;
    height: 100vh;
}

#create canvas {
    background-color: transparent;
    display: block;
    cursor: crosshair;
}

#create .toolbar {

    bottom: 0;

    display: flex;

    width: 100%;
    padding-right: 10px;
    padding-bottom: 10px;
    padding-left: 10px;

    color: black;

    align-items: center;
    flex-wrap: wrap;
    justify-content: center;

    transition: top .5s;
    position: fixed;
    bottom: 40px;
}


.radius__tool {
    line-height: 50px;

    display: flex;

    align-items: center;
}

.radius__point {
    width: 150px;
}

.radius__point:focus {
    outline: none;
}

.radius__point::-webkit-slider-thumb {
    width: 20px;
    height: 20px;
    margin-top: -9px;

    border: 3px solid #222;
    border-radius: 50%;
    background-color: #eee;
}

.radius__point::-moz-range-thumb {
    width: 15px;
    height: 15px;

    border: 3px solid #222;
    border-radius: 50%;
    background-color: #eee;
}

.radius__point::-ms-thumb {
    width: 20px;
    height: 20px;

    border: 3px solid #222;
    border-radius: 50%;
    background-color: #eee;
}

.radius__point::-webkit-slider-runnable-track {
    height: 3px;

    background-color: #eee;
}

.radius__point:focus::-webkit-slider-runnable-track {
    outline: none;
}

.radius__point::-moz-range-track {
    height: 3px;

    background-color: #777;
}

.radius__point::-ms-track {
    height: 3px;

    background-color: #777;
}

.radius__point::-ms-fill-lower {
    background-color: HotPink;
}

.radius__point::-ms-fill-upper {
    background-color: black;
}

.radius__point,
.radius__point::-webkit-slider-runnable-track,
.radius__point::-webkit-slider-thumb {
    -webkit-appearance: none;
}

input[type=radio] {
    display: none;
}

input[type=radio]:checked + .radio__colors:before {
    position: absolute;
    top: 50%;
    left: 50%;

    display: inline-block;

    width: 8px;
    height: 8px;

    content: '';
    transform: translate(-50%, -50%);

    border: 1px solid #eee;
    border-radius: 50%;
    background-color: #222;
}

.radio__colors {
    position: relative;

    display: inline-block;

    width: 30px;
    height: 30px;
    margin-right: 5px;

    border-radius: 50%;
    background-color: #111;
}

.radio__colors:nth-child(2) {
    background: #f00;
}

.radio__colors:nth-child(4) {
    background: #2e8b57;
}

.radio__colors:nth-child(6) {
    background: #1e90ff;
}

.radio__colors:nth-child(8) {
    background: #ff0;
}

.radio__colors:nth-child(10) {
    background: #ff69b4;
}

.radio__colors:nth-child(12) {
    background: #a9a9a9;
}

.radio__colors:nth-child(14) {
    background: #111;
}

@media screen and (max-width: 480px) {
    .buttons__canvas {
        margin-top: 5px;
    }
}

.btn__clear,
.btn__save {
    font-family: 'Ubuntu', sans-serif;

    color: black;
    outline: none;
}

.afmeting {
    display: none;
}

#radiusTool span {
    padding-right: 5px;
    padding-left: 5px;
}


@media(min-width: 920px) {

    /*--------header--------*/
    #menuKnop {
        display: none;
    }

    .verborgenMenu ul,
    nav ul {
        display: none;
    }

    nav ul {
        position: fixed;
        width: 100vw;
        height: auto;
        bottom: 0px;
        padding: 2vw;
        background-color: blue;
    }

    nav #menuMobile li a {
        font-size: 20px;
        margin-right: 20px;
        text-decoration: none;
        font-family: sans-serif;
    }

    #logo {
        text-align: left;
        font-size: 35px;
        height: 40px;
        z-index: 100;
    }

    #logoSlider {
        position: fixed;
        width: 100vw;
        padding: 2vw;
        display: flex;
    }

    #contactButton {
        display: inline;
        font-family: sans-serif;
        font-size: 35px;
        position: absolute;
        right: 260px;
    }

    #contactButton a {
        text-decoration: none;
    }

    #contactButton a:hover {
        text-decoration: underline;
    }

    #slider {
        display: flex;
        align-items: center;
    }

    #mailto:hover {
        cursor: url(../img/mouseMail2.svg), auto;
    }



    /*--------main--------*/

    main {
        padding-top: calc(40px + 2vw);
    }

    #paintingStart {
        width: 80vw;
        height: 60vh;
        margin: 10vh auto;
        background: url(../img/Amiens.jpg) no-repeat center center;
        background-size: contain;
    }

    #workPaintings {
        margin: 2vw;
        margin-top: 0px;
        padding-top: 2vw;
        display: flex;
        flex-wrap: wrap;
        justify-content: space-between;
        padding-bottom: calc(23px + 4vw);
    }

    #workPaintings .image img {
        height: 25vh;
        width: auto;
        object-fit: contain;
    }

    #workPaintings .image {
        margin: 3px;
        height: 25vh;
        width: auto;
        position: relative;
        margin-bottom: 40px;
    }

    .overlay {
        border: black solid 2px;
        text-align: center;
        font-weight: 100;
        width: 100%;
        height: 100%;
        position: absolute;
        display: flex;
        align-items: center;
        justify-content: center;
        opacity: 0;
        background-color: white;
        bottom: 0px;
    }
    .kader {
        border: black solid 2px;
        text-align: center;
        font-weight: 100;
        width: 100%;
        height: 100%;
        position: absolute;
        display: flex;
        align-items: center;
        justify-content: center;
        opacity: 0;
        background-color: transparent;
        bottom: 0px;
    }
    
    .kader:hover {
        opacity: 1;
        cursor: pointer;
    }

    .overlay:hover {
        opacity: 1;
        cursor: pointer;
    }



    #bio {
        max-width: 30vw;
        position: fixed;
        height: calc(100% - 63px - 8vw);
        left: 2vw;
        overflow-y: scroll;
        margin: 0 auto;
        margin-bottom: calc(23px + 4vw);
        bottom: auto;
    }

    #contactpage {
        padding-top: calc(40px + 4vw);
        padding-bottom: calc(23px + 4vw);
        position: fixed;
        height: 100vh;
        width: 100vw;
    }

    .contact {
        position: fixed;
        left: 34vw;
        top: 0px;
        padding-top: calc(40px + 4vw);
        text-decoration: none;
        margin: auto;
    }

    #mailform {
        height: 645px;
        width: 457px;
        z-index: 1000;
        left: 20vw;
        top: 8vh;


    }


    /*--------footer--------*/

    #menuBottom {
        position: fixed;
        width: 100vw;
        height: auto;
        bottom: 0px;
        padding: 2vw;
        background-color: white;
        display: flex;
        justify-content: center;
        align-items: center;
        list-style: none;
        z-index: 150;
    }

    #menuBottom li {
        width: auto;
    }

    #menuBottom li a {
        font-size: 20px;
        margin-right: 20px;
        font-family: sans-serif;
        text-decoration: none;
    }

    #menuBottom li a:hover {
        text-decoration: underline;
    }

    #menuBottom .underline {
        text-decoration: underline;
    }

    #socials {
        position: fixed;
        bottom: 0px;
        padding: 2vw;
        margin: 0px;
        width: calc(70vw - 4vw);
        right: 2vw;
        justify-content: flex-end;
    }

    #socials li {
        margin-left: 2vw;
    }


    /*----slider-----*/
    output {
        display: none;
    }

    #slider {
        position: absolute;
        margin: 0px;
        height: 40px;
        right: 2vw;
        top: 2vw;
        text-align: center;
    }

    input[type=range] {
        width: 200px;
        margin: 14px 0;
        background-color: transparent;
        -webkit-appearance: none;
    }

    input[type=range]:focus {
        outline: none;
    }

    input[type=range]::-webkit-slider-runnable-track {
        background: black;
        border: 0;
        width: 200px;
        height: 2px;
        cursor: pointer;
    }

    input[type=range]::-webkit-slider-thumb {
        margin-top: -14px;
        width: 30px;
        height: 30px;
        background: #ffffff;
        border: 2px solid #000000;
        border-radius: 26px;
        cursor: pointer;
        -webkit-appearance: none;
    }

    input[type=range]:focus::-webkit-slider-runnable-track {
        background: black;
    }

    input[type=range]::-moz-range-track {
        background: white;
        border: 0;
        width: 200px;
        height: 2px;
        cursor: pointer;
    }

    input[type=range]::-moz-range-thumb {
        width: 30px;
        height: 30px;
        background: #ffffff;
        border: 2px solid #000000;
        border-radius: 26px;
        cursor: pointer;
    }

    input[type=range]::-ms-track {
        background: transparent;
        border-color: transparent;
        border-width: 14px 0;
        color: transparent;
        width: 200px;
        height: 2px;
        cursor: pointer;
    }

    input[type=range]::-ms-fill-lower {
        background: #000000;
        border: 0;
    }

    input[type=range]::-ms-fill-upper {
        background: #000000;
        border: 0;
    }

    input[type=range]::-ms-thumb {
        width: 30px;
        height: 30px;
        background: #ffffff;
        border: 2px solid #000000;
        border-radius: 26px;
        cursor: pointer;
        margin-top: 0px;
        /*Needed to keep the Edge thumb centred*/
    }

    input[type=range]:focus::-ms-fill-lower {
        background: #000000;
    }

    input[type=range]:focus::-ms-fill-upper {
        background: #050505;
    }

    input[type=range] {
        margin: 0;
        /*Edge starts the margin from the thumb, not the track as other browsers do*/
    }

    /*---------schilderij--------*/
    #schilderij {
        display: block;
        position: fixed;
        width: calc(70vw - 6vw);
        height: calc(100% - 63px - 8vw - 94px);
        right: 2vw;
        bottom: calc(23px + 4vw);
        overflow: hidden;
    }

    #create #schilderij {
        right: 0;
        bottom: 0;
    }
    
    


    canvas {
        background-color: white;
        display: block;
        cursor: crosshair;

        /* dit heb ik zelf toegevoegd */
        width: 100%;
        height: 100%;
    }

    #create canvas {
        background-color: transparent;
    }


    .toolbar {
        position: absolute;
        bottom: 0;

        display: flex;

        width: 100%;
        padding-right: 10px;
        padding-bottom: 10px;
        padding-left: 10px;

        color: black;

        align-items: center;
        flex-wrap: wrap;
        justify-content: center;

        transition: top .5s;
    }



    @media screen and (min-width: 320px) {
        .toolbar {
            justify-content: space-around;
        }

        #create .toolbar {
            justify-content: space-around;
        }
    }

    @media screen and (min-width: 768px) {
        .toolbar {
            padding-bottom: 0;

            justify-content: space-between;
        }

        #create .toolbar {
            padding-bottom: 0;

            justify-content: space-between;
        }
    }





    .modal {
        display: none;
        position: fixed;
        z-index: 1000000;
        left: 0;
        top: 0;
        width: 100%;
        height: 100%;
        overflow: auto;
        background-color: rgba(245, 245, 245, 0.98);
    }

    /* Modal Content */
    .modal-content {
        position: absolute;
        display: block;
        max-width: 100%;
        margin: auto;
    }

    /* The Close Button */
    .close {
        color: black;
        position: absolute;
        width: 100vw;
        z-index: 3;
        bottom: 10px;
        text-align: center;
        font-size: 40px;
        font-weight: 250;
    }

    .close:hover,
    .close:focus {
        color: #999;
        text-decoration: none;
        cursor: pointer;
    }

    /* Hide the slides by default */
    .mySlides {
        margin-top: 15px;
        width: 100vw;
    }


    /* Hierdoor vervormt mijn afbeelding*/
    .mySlides img {
        display: none;
        max-width: 100vw;
        margin: 0 auto;
        justify-content: center;
        position: relative;
    }

    .mySlides video {
        display: none;
        max-width: 100vw;
        margin: 0 auto;
        justify-content: center;
        position: relative;
    }


    /* Next & previous buttons */
    .prev,
    .next {
        display: none;
    }

    /* Number text (1/3 etc) */
    .numbertext {
        display: none;
    }

    /* Caption text */

    .caption-container {
        text-align: left;
        max-width: 100%;
        margin: 20px auto;
        font-weight: 500;
        font-size: 20px;
        text-align: center;
    }

    /* img.demo {
  opacity: 0.6;
} */

    .active,
    .demo:hover {
        opacity: 1;
    }

    img.hover-shadow {
        transition: 0.3s;
    }

    .hover-shadow:hover {
        /*box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.2), 0 3px 10px 0 rgba(0, 0, 0, 0.19);*/
        cursor: pointer;
    }

    @media(min-width:720px) {
        .mySlides img {
            display: block;
        }

        .mySlides video {
            display: block;
        }

        .caption-container p {
            display: none;
            text-align: center;
            padding: 0px 16px;
            max-width: 100%;
            margin: 0 auto;
            font-weight: 500;
            font-size: 10px;
        }

        .caption-container p:first-of-type {
            padding-top: 5px;
        }

        .caption-container h3 {
            display: none;
            font-weight: 500;
            text-align: center;
            font-size: 8px;
            padding-top: 3px;
        }

        .prev,
        .next {
            display: block;
            cursor: pointer;
            position: fixed;
            top: 60px;
            width: 50%;
            height: 100%;
            color: white;
            font-weight: lighter;
            font-size: 20px;
            transition: 0.6s ease;
            border-radius: 0 3px 3px 0;
            user-select: none;
            -webkit-user-select: none;
        }


        /* Position the "next button" to the right */
        .next {
            right: 0;
        }

        .numbertext {
            display: none;
        }

        .close {
            color: black;
            position: absolute;
            z-index: 3;
            top: 10px;
            right: 20px;
            font-size: 50px;
            font-weight: 200;
            width: auto;
            height: 50px;
        }

        .mySlides {
            margin-top: calc(50vh - 40vh);
            display: flex;
            width: 100vw;
        }

    }


    /* The Modal (background) */



}
