/* Fonts */
@import url('https://fonts.googleapis.com/css2?family=Lora:ital,wght@0,400..700;1,400..700&family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Indie+Flower&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Lavishly+Yours&display=swap');


:root {
    font-family: "Roboto", sans-serif;
    font-weight: 300;
    --full-purple: #60269E;
    --light-purple: #b591db;
    --pink: rgb(172, 16, 79);
    --grey: #333;
}

main, article, section {
    max-width: 1024px;
}


body {
    background-image: url("../images/Achtergrond_1024_light.jpg");
    background-size: cover;
    background-attachment: fixed;
    background-position: center;
}

/* te gebruiken fonts
font-family: "Roboto", sans-serif;
font-family: "Indie Flower", cursive;
font-family: "Lavishly Yours", cursive;
*/

/* algemeen */
#gridmain { grid-area: main; }
#gridarticle { grid-area: article; }
#gridsection1 { grid-area: section1; }
#gridsection2 { grid-area: section2; }
#gridsection3 { grid-area: section3; }
#gridsection3 { grid-area: section4; }
#gridfooter { grid-area: footer; }

#gridcontainer {
    max-width: 1024px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr 1fr 1fr;
    grid-template-rows: auto 1fr;
    grid-template-areas:
        'main main main main main main'
        'article article article article article article'
        'section1 section1 section1 section1 section1 section1'
        'section2 section2 section2 section2 section2 section2'
        'section3 section3 section3 section3 section3 section3'
        'section4 section4 section4 section4 section4 section4'
        'footer footer footer footer footer footer';
    gap: 5px;

}

#gridmain {
    grid-area: main;
}
#gridarticle {
    grid-area: article;
}
#gridsection1 {
    grid-area: section1;
}
#gridsection2 {
    grid-area: section2;
}
#gridsection3 {
    grid-area: section3;
}
#gridsection4 {
    grid-area: section4;
}
#gridfooter {
    grid-area: footer;
}

h1 {
    font-family: "Lavishly Yours", cursive;
    font-size: 50px;
    margin: 5px;
    color: #ccb3ec60;
    text-align: center;
}
h3 {
    font-family: "Indie Flower", cursive;
    color: var(--pink);
    padding-left: 15px;
    padding-right: 15px;
}
p, label, td {
    font-size: smaller;
    padding-left: 15px;
    padding-right: 15px;
}

.link:link, .cards-pf:link, .christmas-cards:link, .christmas-items:link, .bakcgroundimage:link, 
.christmas-assembly:link, .cutting-plates:link, .machines:link, .machinecutting:link,
.diecut:link {
    text-decoration: none;
    color: black;
}
.link:visited, .cards-pf:visited, .christmas-cards:visited, .bakcgroundimage:visited, 
.christmas-items:visited, .christmas-assembly:visited, 
.cutting-plates:visited, .machines:visited, .machinecutting:visited, .diecut:visited {
    text-decoration: none;
    color: black;
}
.link:hover, .cards-pf:hover, .christmas-cards:hover, .christmas-items:hover, .bakcgroundimage:hover, 
.christmas-assembly:hover, .cutting-plates:hover, .machines:hover, .machinecutting:hover, 
.diecut:hover {
    text-decoration: none;
}
.link:active, .cards-pf:active, .christmas-cards:active, .christmas-items:active, .bakcgroundimage:active, 
.christmas-assembly:active, .cutting-plates:active, .machines:active, .machinecutting:active, 
.diecut:active {
    text-decoration: none;
}

.link:link, .link:visited, .link:hover, .link:active, .diecut:active {
    font-weight: bolder;
}

figcaption {
    font-weight: lighter;
    font-size: x-small;
    text-align: center;
    padding-left: 15px;
    padding-right: 15px;
}


.lijn {
    margin-top: 0.5rem;
    height: 2px;
    background: linear-gradient(90deg, var(--full-purple), var(--light-purple), var(--full-purple));
}

/* header */
header {
    position: sticky;
    top: 0;
    z-index: 999;
    font-size: 0;
}

.logo {
    position: relative;
    width: 100%;
    height: auto;
    padding: 0;
    background-size: 100%;
    background-repeat: no-repeat;
    text-align: center;
    color: var(--pink);
}

.img320 {
    height: 100%;
    width: 100%;
}

.logotext {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -220%);
    font-family: "Indie Flower", cursive;
    font-weight: bold;
    font-size: 1.3rem;
    text-shadow: 0px 0px 3px rgba(0, 0, 0, 0.5);
}

/* navigatie menu */
ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
    overflow: hidden;
    background-color:var(--grey);
    font-size: 0.7rem;
    font-weight: normal;
}
.active{
    background-color: var(--full-purple);
}
li {
    float: left;
}
li a, .dropbtn {
    display: inline-block;
    color: white;
    text-align: center;
    padding: 14px 5px;
    text-decoration: none;
}
li a:hover, .dropdown:hover .dropbtn {
    background-color: #60269e95;
}
li.dropdown {
    display: inline-block;
}
.dropdown-content {
    display: none;
    position: absolute;
    background-color: #cdb3ece9;
    min-width: 160px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 1;
}
.dropdown-content a {
    display: block;
    color: black;
    padding: 12px 16px;
    text-decoration: none;
    text-align: left;
}
.dropdown-content a:hover {
    background-color: var(--light-purple);
}
.dropdown:hover .dropdown-content {
    display: block;
}


/*                          Homepage                          */

/* collage */
main {
    display: grid;
    grid-template-columns: 6fr;
    margin-top: 5px;
}

/* 3x video, 2x foto */
video, img, iframe {
    width: 100%;
    height: auto;
}

/* portfolio */
.container-pf {
    display: flex;
    flex-flow: wrap;
    gap: 10px;
    margin: 20px 0px 0px 0px;
}
.cards-pf {
    display: flex;
    flex: 1 1 400px;
    flex-flow: column;
    background-color: #b591db9d;
    border: 1px solid var(--full-purple);
    padding-block: 0;
}
.content-pf {
    align-self: center;
}
img.portfolio {
    inline-size: 100%;
}
picture {
    font-size: 0;
}

/* footer bezoekers teller */
.visitors {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}
h6 {
    margin-bottom: 10px;
}
.website-counter {
    background-color: var(--full-purple);
    height: 40px;
    width: 80px;
    padding-top: 10px;
    color: white;
    border-radius: 30px;
    text-align: center;
    font-weight: 500;
    font-size: 25px;
}
#reset {
    margin-top: 10px;
    background-color: var(--light-purple);
    cursor: pointer;
    font-size: 12px;
    padding: 8px 20px;
    color: white;
    border: 0;
}

/*                          Materialen                          */

/* bladwijzers */
#machines, #heatgun, #werkbladen, #stempelhulp, #vouwhulp, #snijmachine, #stansen, #embossing,
#stempelen, #inkt, #aquarel, #embosspowder {
    scroll-margin-top: 130px;
}
.textmaterial h3 {
    margin-top: 0;
}

/* stans- embossingmachine */
.machinecutting {
    grid-area: section2;
    display: grid;
    grid-template-columns: 6fr;
}
.cutting-plates {
    display: grid;
    grid-template-columns: 6fr;
    gap: 0px;
    width: 100%;
    margin: 0;
}
.cutting-plates img {
    width: 100%;
    height: auto;
}

/* overige apparaten */
.machinery {
    grid-area: section4;
    display: grid;
    grid-template-columns: 6fr;
    gap: 10px;
}
.machines {
    display: grid;
    grid-template-columns: 6fr;
    background-color: #b591db9d;
    border: 1px solid var(--full-purple);
    padding-top: 0px;
    gap: 0px;
}
.cuttingplates {
    grid-area: section3;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    margin-bottom: 1rem;
    gap: 5px;
}

/*                          Vormen                          */

.bakcgroundcontainer {
    grid-area: section1;
    display: grid;
    grid-template-columns: 6fr;
    background-color: #b591db9d;
    border: 1px solid var(--full-purple);
    gap: 10px;
}
.bakcgroundimage {
    display: grid;
    grid-template-columns: 6fr;
    padding-top: 0px;
    gap: 0px;
}

.die-cut {
    grid-area: section3;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    margin-bottom: 1rem;
    gap: 5px;
}
.diecut {
    display: grid;
    grid-template-columns: 6fr;
    gap: 0px;
    width: 100%;
    margin: 0;
}
.diecut img {
    width: 100%;
    height: auto;
}
.result {
    grid-area: section3;
    display: grid;
    grid-template-columns: 6fr;
    margin-bottom: 1rem;
    gap: 5px;
}

/*                          Kerstkaart                          */

/* tabel */
.cprep {
    display: flex;
    flex-direction: column;
    margin: 10px 10px 0px 10px;
    align-items: start;
}
.table {
    border-collapse: collapse;
    width: 100%;
    margin-bottom: 10px;
}
caption {
    font-family: "Indie Flower", cursive;
    font-size: larger;
    color: var(--pink);
}
th, h5 {
    font-weight: 500;
    font-size: smaller;
    color: var(--full-purple);
}
th, td {
    padding: 8px;
    text-align: left;
    border-bottom: 1px solid var(--full-purple);
}
h5 {
    text-align: center;
    margin-left: 10px;
    margin-right: 10px;
}

/* uitleg */
.christmas-container {
    grid-area: section3;
    display: grid;
    gap: 5px;
    margin: 10px 0px 0px 0px;
    align-items: center;
}
.christmas-cards {
    display: grid;
    grid-template-columns: 2fr 2fr 2fr;
    background-color: #b591db9d;
    border: 1px solid var(--full-purple);
    gap: 3px;
}
.christmas-content {
    text-align: center;
    align-self: center;
}
picture {
    font-size: 0;
}

.christmas-items {
    grid-area: section4;
    display: grid;
    grid-template-columns: 6fr;
}

.assembly-container {
    grid-area: section5;
    display: grid;
    gap: 5px;
    margin: 10px 0px 0px 0px;
    align-items: center;
}
.christmas-assembly {
    display: grid;
    grid-template-columns: 3fr 3fr;
    background-color: #b591db9d;
    border: 1px solid var(--full-purple);
    gap: 0px;
}

/*                          Contact                          */

/* map */
#map {
    height: 100%;
    margin-block-start: 85px;
  }

/* formulier */
.cform {
    grid-area: section1;
    display: grid;
    grid-template-columns: 6fr;
    width: auto;
}
input, textarea {
    width: 100%;
    padding: 12px 20px;
    margin: 8px 0;
    display: inline-block;
    border: 1px solid var(--full-purple);
    border-radius: 7px;
    box-sizing: border-box;
}
input[type=submit] {
    width: 40%;
    background-color: var(--full-purple);
    color: white;
    padding: 14px 20px;
    margin: 8px 0;
    border: none;
    border-radius: 7px;
    cursor: pointer;
    justify-self: center;
}
input[type=submit]:hover {
    background-color: var(--light-purple);
}
form {
    background-color: #b591db9d;
    padding: 10px;
}

.sourcehead {
    font-size: small;
    font-weight: 300;
    margin-left: 15px;
}
ul.sourceplain {
    grid-area: section2;
    display: grid;
    grid-template-columns: 6fr;
    margin-left: 15px;
    background-color: transparent;
    font-size: small;
    font-weight: 200;
}

/* footer tekst */
.footer {
    font-size: x-small;
    text-align: center;
}


@media screen and (min-width: 768px) {
/* algemeen */

    h1 {
        font-size: 100px;
        margin-top: 0;
    }
    h3 {
        font-size: calc(+1.5rem);
    }
    p {
        font-size: calc(+0.9rem);
    }
    .pfooter {
        font-size: xx-small;
    }

    figcaption {
        font-weight: lighter;
        font-size: small;
        text-align: center;
        padding-left: 15px;
        padding-right: 15px;
    }

/* logo */
    header {
        grid-area: header;
        display: grid;
        grid-template-columns: 1fr 5fr;
        background-color:var(--grey);
        height: auto;
    }
    .logo {
        block-size: 100%;
        max-height: 120px;
    }
    .logotext {
        position: absolute;
        transform: translate(-50%, -180%);
        font-family: "Indie Flower", cursive;
        font-size: 1.8rem;
        height: auto;
    }

/* navigatiebalk */
    ul {
        justify-content: space-between;
        font-size: 1rem;
    }
    li a, .dropbtn {
        padding: 50px 20px;
    }

/* content */
    .textcolumn {
        grid-area: article;
        display: grid;
        grid-template-columns: 3fr 3fr;
        grid-row: 4;
        gap: 10px;
    }

/* foto - video */
    .container-fotovideo {
        display: grid;
        grid-template-columns: repeat(6, [col-start] 1fr);
        grid-template-rows: repeat(2, 1fr);
        min-width: 225px;
        align-items: center;
        gap: 10px;
    }
    .foto-video:nth-child(1) {
        grid-column: 1 / span 2;
        grid-row: 1;
    }
    .foto-video:nth-child(2) {
        grid-column: 3 / span 2;
        grid-row: 1;
    }
    .foto-video:nth-child(3) {
        grid-column: 5 / span 2;
        grid-row: 1;
    }
    .foto-video:nth-child(4) {
        grid-column: 1 / span 3;
        grid-row: 2;
    }
    .foto-video:nth-child(5) {
        grid-column: 4 / span 3;
        grid-row: 2; 
    }

/* portfolio */
    .container-pf {
        margin: 0px 5px 0px 5px;
    }
    .cards-pf {
        flex: 1 1 768px;
        flex-flow: row;
    }
    picture.portfolio2 {
        order: 2;
    }

/*                           Materiaal                          */

/* intro */
    .textmaterial {
        grid-area: article;
        display: grid;
        grid-template-columns: 3fr 3fr;
        gap: 10px;
    }
    .cuttingmachine {
        grid-area: section1;
        display: grid;
        grid-template-columns: 1fr 4fr 1fr;
        margin-bottom: 1rem;
    }

/* stans- embossingmachine */
    .machinecutting {
        display: grid;
        grid-template-columns: 3fr 3fr;
    }

    .cuttingplates {
        grid-area: section3;
        display: grid;
        grid-template-columns: repeat(5, 1fr);
        margin-bottom: 1rem;
        gap: 5px;
    }

/* overige apparaten */
     .machines {
        display: grid;
        grid-template-columns: 3fr 3fr;
        align-items: center;
        padding-top: 0;
    }

/*                          Vormen                          */

    .textforms {
        grid-area: article;
        display: grid;
        grid-template-columns: 2fr 4fr;
        gap: 10px;
    }

    .bakcgroundcontainer {
        display: grid;
        grid-template-columns: 3fr 3fr;
        align-items: center;
        padding-top: 0;
        font-size: 0;
    }

/* stansen */
    p.stansen {
        columns: 2;
    }

    .die-cut {
        grid-area: section3;
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        gap: 10px;
    }
    .diecut {
        display: grid;
        grid-template-columns: 6fr;
        gap: 0px;
        width: 100%;
        margin: 0;
    }
    .diecut img {
        width: 100%;
        height: auto;
    }
    .result {
        grid-area: section3;
        display: grid;
        grid-template-columns: 1fr 2fr 1fr;
        margin-bottom: 1rem;
        gap: 10px;
    }

/* embossing */
    .final {
        grid-area: section5;
        display: grid;
        grid-template-columns: 2fr 2fr;
        margin-bottom: 1rem;
        gap: 10px;
    }

/*                          Kleuren                          */
    .textcolor{
        grid-area: article;
        display: grid;
        grid-template-columns: 4fr 2fr;
        gap: 10px;
    }

    .textinkt {
        grid-area: section1;
        display: grid;
        grid-template-columns: 2fr 4fr;
        gap: 10px;
    }
    
/*                          Kerstkaart                          */
    .intro {
        grid-area: article;
        display: grid;
        grid-template-columns: 2fr 4fr;
    }
    /* tabel */
    .cprep {
        grid-area: section1;
        display: grid;
        grid-template-columns: 2fr 3fr 1fr;
        gap: 30px;
    }

    /* uitleg */
    .christmas-container {
        grid-area: section3;
        display: grid;
        grid-template-columns: repeat(2, 1fr);
    }
    .christmas-items {
        grid-area: section4;
        display: grid;
        grid-template-columns: 3fr 3fr;
        align-items: center;
    }
    .assembly-container {
        grid-area: section5;
        display: grid;
        grid-template-columns: repeat(2, 1fr);
    }
}

/*                          Contact                          */
    form {
        padding: 20px;
    }

@media screen and (min-width: 1024px){
/* algemeen */
    body {      
        max-width: 1024px;
        margin: auto;
    }

/* foto - video */
    .container-fotovideo {
        display: flex;
        flex-direction: row;
        flex-wrap: nowrap;
        justify-content: flex-start;
        align-items: center;
    }
    .foto-video {
        max-width: 210px;
    }

/* portfolio */
    .cards-pf {
        flex: 1 1 328px;
        flex-flow: column;
    }
    picture.portfolio, picture.portfolio2 {
        order: 0;
    }

/*                           Materiaal                          */

/* overige apparaten */
    .machinery{
        grid-area: section4;
        display: grid;
        grid-template-columns: 2fr 2fr 2fr;
        gap: 15px;
    }
    .machines {
        display: grid;
        grid-template-columns: 6fr;
    }
    picture.machine-photo {
        padding-top: 0;
    }

    /*                          Vormen                          */

    .bakcgroundcontainer {
        display: grid;
        grid-template-columns: 4fr 2fr;
        align-items: center;
        padding-top: 0;
    }
}