* {
    margin: 0;
    padding: 0;
    font-family: "Trebuchet MS", Helvetica, sans-serif;
}

body {
    background-color: #0B2903;
    /*height: 700px;*/
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
}

body > * {
    flex: 1;
}

#modal-backdrop {
    visibility: collapse;
    position: fixed;
    z-index: 2;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0);
    transition: background-color 450ms ease-in-out;
    user-select: none;
    cursor: pointer;
}

.grecaptcha-badge {
    display: none;
    visibility: collapse;
}

/*pseudoclasses*/
.h-100 {
    height: 100%;
}

/*Set color text to khaki from the logo*/
.ctk {
    color: #CBBB9F;
}

/* header */
header {
    height: 150px;
    width: 100%;
    background-color: #0B2903;
}

#headertext {
    display: flex;
    align-items: center;
}

#logo {
    width: 30%;
    display: flex;
    align-items: center;
}

#logo img {
    width: 100%;
    height: 100px;
    object-fit: contain;
    padding: 2rem;
}

/* navigation for desktop */
.nav {
    height: 80px;
    width: 100%;
    position: relative;
    z-index: 0;
}

.nav ul {
    display: flex;
    list-style-type: none;
    height: 80px;
    align-items: center;
    margin-left: 10%;
}

.nav ul li {
    font-weight: bold;
    height: 40px;
    width: 15%;
    margin: 0 2%;
    background-color: #2A7221;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 66px;
    position: relative;
    z-index: 1;
}

.nav ul li:hover {
    color: rgba(255, 255, 255, 0.2);
}

.nav ul li a {
    text-decoration: none;
    color: #CBBB9F;
    width: 100%;
    height: 40px;
    border-radius: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.5s, color 0.5s;
}

.nav ul li:not(.active) a:hover {
    background-color: #CBBB9F;
    color: #2A7221;
}

.nav .active, nav .active * {
    color: #CBBB9F;
    background-color: rgb(99, 78, 66);
    cursor: default;
}

.container.mobile {
    display: none;
    visibility: collapse;
    transition-property: visibility;
    transition-delay: 450ms;
}
#mobile-navigation-menu {
    display: block!important;
    transform: translateY(-100%);
    transition: transform ease-in-out 450ms;
}

.hamburger {
    display: none;
}

/*main*/
main {
    max-width: 100%;
    background-color: #42663E;
    border-radius: 40px;
}

.block {
    width: 90%;
    /*min-height: 200px;*/
    margin-top: 30px;
    background-color: #CBBB9F;
    border-radius: 40px;
}

.banner {
    height: 350px;
    width: 100%;
    background-image: url(../images/header4.jpg);
    background-repeat: no-repeat;
    background-position: center;
    display: flex;
    justify-content: center;
    align-items: center;
    border-top-left-radius: 40px;
    border-top-right-radius: 40px;
}

.banner h1 {
    font-size: 4rem;
    color: #CBBB9F;
    margin-top: 30px;
    text-align: center;
}

.content-main {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 30px;
}

.block-content {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
}

.block-text {
    width: 100%;
    margin: 1rem;
}

.block-content-inline {
    color: #CBBB9F;
    background-color: #0B2903;
    font-size: 1em;
    height: 100%;
    border-radius: 40px;
    text-align: center;
    padding: 1em;
}

.block-content-inline p{
    margin-top: 1rem;
}

.block-content-inline-img img {
    max-width: 448px;
    max-height: 336px;
    height: 100%;
    border-radius: 40px;
    width: 100%;
    margin-bottom: 3%;
}

.block-content-inline-img-1 {
    margin-right: 2%;
}

.block-content-inline-img {
    display: flex;
    justify-content: center;
}

/*index page*/
.mobile-index {
    display: none;
}

.desktop-tablet-index {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.block-content-index {
    display: flex;
    justify-content: space-between;
    align-items: stretch;
    height: calc(100% - 2rem);
    padding: 1rem;
}

.block-content-index > *:first-child {
    margin-right: 1rem;
}

.block-image-index {
    max-width: 224px;
    max-height: 168px;
}

.block-image-index img {
    border-radius: 20px;
    height: 100%;
    /*width: 100%;
    object-fit: contain;*/
}

.block-text-index {
    background-color: #0B2903;
    border-radius: 40px;
    color: #CBBB9F;
}

.block-text-index-content {
    height: 100%;
    justify-content: space-evenly;
    text-align: center;
    align-items: center;
    display: flex;
    flex-direction: column;
    padding: 0 0.5%;
}

/*link-through-button*/
.link-through-button {
    font-weight: bold;
    height: 40px;
    width: 30%;
    font-size: 0.9em;
    background-color: #2A7221;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 66px;
    position: relative;
    z-index: 1;
}

.link-through-button a:hover {
    background-color: #CBBB9F;
    color: #2A7221;
    padding: 0 2%;
}

.link-through-button a {
    text-decoration: none;
    color: #CBBB9F;
    width: 100%;
    height: 40px;
    border-radius: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.5s, color 0.5s;
}


/*lessen*/
.online-lesson {
    margin-left: 1em;
    display: flex;
    flex-direction: column;
    text-align: justify;
}

/*prices*/
#prices-page main {
    height: 100%;
    padding-bottom: 3%;
}

#prices {
    width: 100%;
    padding: 1rem;
    text-align: center;
}


#prices td, #prices th {
    /*border: 1px solid #0B2903;*/
    border: none;
    padding: 8px;
}

#prices tr:nth-child(odd) {
    color: #CBBB9F;
    background-color: rgb(99, 78, 66);
}

#prices tr:nth-child(even) {
    color: rgb(99, 78, 66);
}

#prices th {
    padding-top: 12px;
    padding-bottom: 12px;
    background-color: #2A7221;
    color: #CBBB9F;
}

table th:last-child {
    border-top-right-radius: 10px;
}

table th:first-child {
    border-top-left-radius: 10px;
}

table tr:last-child td:first-child {
    border-bottom-left-radius: 10px;
}

table tr:last-child td:last-child {
    border-bottom-right-radius: 10px;
}

#prices .tableLeft {
    border-left: 2px solid #0B2903;
    border-right: 1px solid #0B2903;
}

#prices .tableUp {
    border-top: 2px solid #0B2903;
    border-bottom: 1px solid #0B2903;
}

#prices .tableDown {
    border-bottom: 2px solid #0B2903;
}

#prices .tableRight {
    border-right: 2px solid #0B2903;
}

#prices-page .block-content-inline-img {
    margin-top: 1rem;
}

/* contactpage */
#contact-page main {
    height: 850px;
}

#contact-page .block {
    height: 100%;
}

#contact-page .block-content-inline-img {
    margin-top: 1rem;
}

#contact-page p a {
    color: #CBBB9F;
}

#contact-page p a:hover {
    color: white;
}

/* Style inputs with type="text", type="email" and textareas */
input[type=text], input[type=email], textarea {
    width: 100%; /* Full width */
    padding: 12px; /* Some padding */
    border: 1px solid #ccc; /* 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: none;
}

/* Style the submit button */
#contact-page #submit {
    cursor: pointer;
    background-color: #634E42;
    border: none;
    border-radius: 40px;
    padding: 15px 32px;
    color: #CBBB9F;
    font-weight: bold;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 1rem;
    transition: background-color 0.25s, color 0.25s;
}

/* When moving the mouse over the submit button, add a darker green color */
#contact-page #submit:hover {
    background-color: #2A7221;
}

#contact-page label {
    display: none;
}

#subject {
    height: 200px;
}

/*footer*/
footer {
    height: 100px;
    width: 100%;
    background-color: #0B2903;
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    padding: 3% 0;
}

/*social media icons*/
/* Style all font awesome icons */
.social a {
    font-size: 20px;
}

.fa {
    padding: 5px;
    width: 25px;
    text-align: center;
    text-decoration: none;
    border-radius: 10px;
    margin-right: 10px;
}

/* Add a hover effect */
.fa:hover {
    opacity: 0.7;
}

/* Set a specific color for each brand */
/* Facebook */
.fa-facebook {
    background: #3B5998;
    color: white;
}

/* Instagram */
.fa-instagram {
    background: deeppink;
    color: white;
}

/*media queries*/
@media screen and (max-width: 1280px) {
    main {
        border-radius: 0;
    }

    .banner {
        border-top-left-radius: 0;
        border-top-right-radius: 0;
    }
}

@media screen and (min-width: 768px) and (max-width: 992px) {
    /*Navigatiemenu hamburger*/
    /*knopjes indexpagina*/
    .nav ul li {
        margin: 0 1%;
    }

    .link-through-button {
        width: 40%;
        height: 25px;
        margin: 1% 0;
    }
    .link-through-button a, .link-through-button a:hover {
        height: 25px;
        width: 100%;
    }
}

@media screen and (max-width: 767px) {
    /* header */
    header {
        position: fixed;
        z-index: 100;
        height: 130px;

        box-shadow: 0 2px 3px 0 #42663E;
    }
    #header > :first-child {
        position: relative;
        z-index: 3;
        background-color: #0B2903;
    }

    #headertext {
        align-items: unset;
        display: block;
        height: 130px;
    }

    /* navigation */
    #navigation-menu {
        display: none;
    }
    .container.mobile {
        display: block;
    }
    #header.show .container.mobile {
        visibility: visible;
        position: relative;
        z-index: 2;
        transition-delay: 0ms;
    }
    #header.show #mobile-navigation-menu {
        transform: translateY(0);
    }

    #logo {
        width: 60%;
        display: block;
        position: absolute;
    }

    #logo img {
        padding: 1rem;
    }

    .nav {
        width: 100%;
        height: fit-content;
    }

    .nav ul {
        flex-direction: column;
        margin-left: 0;
        align-items: flex-end;
        height: fit-content;
    }

    .nav ul li {
        width: 100%;
        border-radius: 0;
        margin: 0;
        height: 50px;
        background-color: #42663E;
    }

    .nav ul li a {
        height: 50px;
        border-radius: 0;
        width: 100%;
        color: antiquewhite;
    }

    #navigation-menu {
        display: none;
    }

    #header #close-button {
        display: none;
    }

    #header.show #close-button {
        display: block;
    }

    #header.show #open-button {
        display: none;
    }

    #modal-backdrop.show {
        visibility: visible;
        background-color: rgba(0, 0, 0, 0.75);
        transition: background-color 450ms ease-in-out;
    }

/* Legacy 
    #close-button {
        display: none;
    }

    .hide {
        display: none;
    }

    .show {
        display: block !important;
    }
*/

    .hamburger {
        text-align: right;
        height: 130px;
        width: 100%;
        display: flex;
        align-items: center;
        justify-content: flex-end;
    }

    .icon {
        font-size: 3em;
        color: #CBBB9F;
        text-align: right;
        padding: 0.5em;
    }

    /* index page */
    .desktop-tablet-index {
        display: none;
    }

    .mobile-index {
        display: block;
    }

    .link-through-button {
        width: 50%;
        height: 25px;
        margin: 2% 0;
        font-size: 0.8em;
    }
    .link-through-button a, .link-through-button a:hover {
        height: 25px;
        width: 100%;
    }

    /* main */
    main {
        margin-top: 130px;
    }

    .content-main {
        margin-bottom: 15px;
    }

    .banner {
        height: 200px;
    }

    .banner h1 {
        font-size: 2.5rem;
    }

    .block {
        width: 100%;
        margin-top: 15px;
    }

    .block-text {
        margin: 0.5rem;
    }

    .block-content-inline {
        padding: 0.6em;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .block-content-inline h1 {
        font-size: 1.5em;
    }

    .block-content-inline p {
        font-size: 0.9em;
        margin-top: 0.5rem;
    }

    .block-content-inline-img img{
        object-fit: cover;
    }

    .block-content-inline-img {
        margin-bottom: 0.5rem;
    }

    .block-content-inline-img-1 {
        margin-right: 0;
    }

    .block-content-inline-img-2 {
        display: none;
    }

    /* lessons */
    .online-lesson {
        font-size: 0.9em;
    }

    /* prices */
    #prices-page .block-content-inline-img {
        margin-bottom: 0;
    }

    #prices {
        padding: 0.5rem;
        font-size: 0.9em;
    }

    /* contact-page */
    #contact-page .block-content-inline-img {
        margin-bottom: 0;
    }

    #contact-form {
        margin-top: 0.3rem;
    }

    .submitbutton {
        text-align: center;
    }

    /*footer*/
    footer {
        flex-direction: column-reverse;
    }

    .copyright {
        margin-top: 0.5rem;
    }
}