body {
    background-color: #f2ece4;
}

.naamdag {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr 1fr 1fr 1fr;
    gap: 10px;
    margin-top: 5px;
    text-align: center;
    margin-left: 15px;

}

textarea {
    resize: none;
}

.naam {
    padding: 3px 3px;
    width: 27px;
    max-width: 27px;
    max-height: 27px;
}

.dv {
    text-align: center;
}

.tabel {
    border: 1px solid #000;
    height: 250px;
    width: 400px;
}

.dagen {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr 1fr 1fr 1fr;
    gap: 10px;
    margin-top: 5px;
}

.dag {
    text-align: center;
}

.selected {
    background-color: #9a9191;
    font-weight: bold;
    text-align: center;
}

.dag:hover,
.donderdag:hover {
    background-color: #9a9191;
    transition-duration: 1s;
}

.uren input {
    display: none;
}

.gesl {
    color: #eacccc;
    text-align: center;
}

.inv {
    display: none;
}

.uren {
    border: 1px solid #000;
    padding: 5px 5px;
    text-align: center;
}

.urenk {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-top: 55px;
    padding-top: 40px;
    align-items: center;

}

.kal {
    max-width: 500px;
}

.sluitenform {
    border: none;
    display: none;
    position: fixed;
    left: 25%;
    top: 25%;
    width: 250px;
    height: 250px;
    overflow: auto;
}

.sluitenform button {
    text-align: center;
}



.donderdag {
    color: #eacccc;
    text-align: center;
}

.vis {
    display: block;
}

.agendacontainer {
    display: flex;
    justify-content: space-around;
    align-items: center;
    margin-top: 50px;
}

#button,
select {
    height: 50px;
    border-radius: 5px;
    padding-left: 10%;

}

.afspr {
    background-color: orange;
    color: black;
    border: 1px solid #000;
    text-align: center;
}

#label3 {
    text-align: center;
}

.modal {
    z-index: 3;
    display: none;
    padding-top: 100px;
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgb(0, 0, 0);
    background-color: rgba(0, 0, 0, 0.4);
}

.flexboxtb {
    display: flex;
    align-items: center;
    flex-direction: column;

}

.modal-content {
    margin: auto;
    background-color: #fff;
    position: relative;
    outline: 0;
    width: 600px;

}

.btn {
    margin: 0 30%;
}

.center {
    border: none;
    margin: 0 42%;
    padding: 2% 10%;

}

.bez {
    background-color: red;
    color: white;
    border: 1px solid #000;
    text-align: center;
}

.afsprbez {
    background: linear-gradient(90deg, rgb(247, 179, 54), red);
}

.griddrie {
    display: grid;
    align-items: center;
    grid-template-columns: 1fr 1fr 1fr;
}

@media (min-width: 320px) {
    .flextwee {

        display: blockx;
    }

    form {
        border: 1px solid #000;
        max-width: 500px;
        display: grid;
        grid-template-columns: 1fr;
        text-align: center;
        gap: 10px;
        padding: 10px 20px;
        background-color: #f2ece4;
    }
}

@media (min-width: 720px) {
    .flextwee {
        display: flex;
        justify-content: space-around;
        padding-bottom: 20px;
    }

    form {
        border: 1px solid #000;
        max-width: 500px;
        display: grid;
        grid-template-columns: 1fr 1fr;
        text-align: right;
        gap: 10px;
        padding: 10px 20px;
        background-color: #f2ece4;

    }
}

.containertw {
    max-width: 75%;
    margin: 0 auto;
}

.urenkalender {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr 1fr;
    gap: 3%;
    max-width: 75%;
    margin: 0 auto;
}



@media only screen and (max-width: 760px),
(min-device-width: 802px) and (max-device-width: 1020px) {

    table,
    thead,
    tbody,
    th,
    td,
    tr {
        display: block;
    }

    .empty {
        display: none;
    }

    /* hide table headers (but not display: none) */
    th {
        position: absolute;
        top: -9999px;
        left: -9999px;
    }

    tr {
        border: 1px solid #ccc;
    }

    td {
        /* behave like a "row" */
        border: none;
        border-bottom: 1p solid #eee;
        position: relative;
        padding-left: 50%;
    }

    /*label data */
    td:nth-of-type(1)::before {
        content: "Zondag";
    }

    td:nth-of-type(2)::before {
        content: "Maandag";
    }

    td:nth-of-type(3)::before {
        content: "Dinsdag";
    }

    td:nth-of-type(4)::before {
        content: "Woensdag";
    }

    td:nth-of-type(5)::before {
        content: "Donderdag";
    }

    td:nth-of-type(6)::before {
        content: "Vrijdag";
    }

    td:nth-of-type(7)::before {
        content: "Zaterdag";
    }
}

/* Smartphones (portrait and landscape) */
@media only screen and (min-device-width: 320px) and (max-device-width: 480px) {
    body {
        padding: 0;
        margin: 0;
    }
}

/* iPads (portrait and landscape)*/
@media only screen and (min-device-width: 802px) and (max-device-width: 1020px) {
    body {
        width: 495px;
    }
}

@media (min-width: 641px) {
    table {
        table-layout: fixed;
    }

    td {
        width: 33%;
    }
}

.row {
    margin-top: 20px;
}

.today {
    background: yellow;
}