/*
COLORS:

Basic Blue: #0067AB
Basic Blue 2: #0073aa
Basic Yellow: #fac83c
Dark Blue: #1e374b
red: #FF0000
white: #F6F6F6

*/

* {
    /* Clean start, applied to all elements in the page */
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

p {
    margin-bottom: 0rem;
}

body {
    font-family: 'Roboto', sans-serif;
    font-weight: 300;
    font-size: 1em;
    line-height: 1.7;
    color: #333;
    overflow-x: hidden;
    background-color: #F6F6F6;
}

body h1 {
    font-size: 30px;
    color: #0073aa;
    text-transform: uppercase;
}

body h2 {
    font-size: 26px;
    color: #0073aa;
}

body h3 {
    font-size: 1.17em;
    color: #333;
}

/* splash */
.splash {
    background-color: #fac83c; 
    max-height: 100vh;   
    overflow: hidden;
}

.splash-background {
    background:  linear-gradient(
        to bottom, 
        #0074aa, #0288aa);
    display: flex;
    position: relative;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    height: 100vh;
}

.splash h1 {
    color: #fac83c;
    display: block;
    font-size: 2.2em;
    animation: moveInRight 1.5s ease-in-out;
}

.splash img {
    width: 70%;
    animation: moveInLeft 1.5s ease-in-out;
}

@keyframes moveInLeft {
    0% {
        opacity:0;
        transform: translateX(-100px);
    }
    80% {
        transform: translateX(10px);
    }
    100%{
        opacity: 1;
        transform: translate(0);
    }
}

@keyframes moveInRight {
    0% {
        opacity:0;
        transform: translateX(100px);
    }
    80% {
        transform: translateX(-10px);
    }
    100%{
        opacity: 1;
        transform: translate(0);
    }
}

@keyframes moveInBottom {
    0% {
        opacity:0;
        transform: translateY(20px);
    }

    100%{
        opacity: 1;
        transform: translate(0);
    }
}

.splash-wrapper {
    text-align: center;
}

.splash-wrapper i {
    color: #fac83c;
    font-size: 3em;
}

.bottom-wrapper {
    position: absolute;
    bottom: 0;
    left: 50%;
    margin-left: -60px;
    animation: moveInBottom 1.5s ease-in-out;
}

.bottom {
   
    height: 60px;
    width: 120px;
    border-top-left-radius: 120px;
    border-top-right-radius: 120px;
    background-color: #fac83c;
}
.arrow-down {
    position: absolute;
    top: 5px;
    left: 50%;
    -webkit-transform: translateX(-50%);
    transform: translateX(-50%);
    color: #1080b4;
    font-size: 3.5em;
    z-index: 999;
}


/* index */

.canvas {
    transform: translate(250px, 0);
    padding-right: 250px;
    position: relative;
    padding-bottom: 8em;
    min-height: 100%;
}

.parallax {
    min-height: 400px;
    background: url("../img/header-1.jpg");
    background-size: cover;
    background-repeat: no-repeat;
    background-position-y: center; 
    border-bottom: 3px solid #fac83c;
}

.sidebar {
    background: linear-gradient(#0073aa, #0288aa);
    width: 250px;
    height: 100vh;
    position: fixed;
    background-position: top;
    font-family: 'Montserrat', sans-serif;
    z-index: 999;
    box-shadow: 1px 0px 10px 0 rgba(0, 0, 0, 0.904);
}

.sidebar-top {
    background-color: #0073aa;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #F6F6F6;
    padding: 20px;
    font-size: 20px;
    font-weight: 600px;
    position: relative;
}

.sidebar-top p {
    border-bottom: 1.5px solid #F6F6F6;
    line-height: 40px;
}

.sidebar-bottom {
    display: flex;
    justify-content: center;
    align-items: center;
}

.sidebar-bottom img {
    width: 150px;
    padding-top: 50px;
}

.list ul li {
    font-size: 16px;
    font-weight: 300;
    padding: 20px 40px;
    list-style: none;
    color: white;
    text-align: left;
    /* border-bottom: solid 1.5px rgba(246, 246, 246, 0.342); */
}

.list ul li:hover {
    color: #fac83c;
    text-decoration: underline;
    font-weight: 500;
}

.list ul li i {
    padding-right: 10px;
}

a {
    color: white;
    text-decoration: none;
}

/* top navigation */

#top-navbar {
    display: none;
    background-color: #0073aa;
    padding: 20px 0;
    color: #F6F6F6;
    width: 100%;
    z-index: 999;
    justify-content: space-evenly;
    align-items: center;
    flex-wrap: wrap;

}

#top-navbar h2 {
    color: #F6F6F6;
}

#top-navbar li {
    display: block;
    padding: 0 5px;
    list-style: none;
}

.top-li {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
}

.mobile-navbar {
    display: none;
    margin: 0 60px;
}


.mobile-navbar li {
    text-align: center; 
    width: 100%;
    display: inline;
    padding: 10px;
    font-size: 20px;
}

#change-menu {
    display: none;
    font-size: 1.4em;

}

@media all and (max-width: 510px) {
    .canvas {
        padding-top: 2em;
    }
    .top-li {
        display: none;
    }
    #change-menu {
        display: block;
    }
}

.facebook {
    position: absolute;
    bottom: 0%;
    left: 10%;
    display: inline-block;
    width: 50px;
    height: 50px;
    text-align: center;
    font-size: 30px;
    color: #F6F6F6;
}

.email {
    position: absolute;
    bottom: 0%;
    left: 10%;
    margin-left: 70px;
    display: inline-block;
    width: 50px;
    height: 50px;
    text-align: center;
    font-size: 32px;
    color: #F6F6F6;
}

/* home content */

.text {
    padding: 20px;
    padding-left: 60px;
    padding-right: 60px;
}

.text ul {
    max-width: 1000px;
    margin-left: 30px;
}

.text a {
    color: #0073aa;
}

.text ul li {
    list-style: circle;
    list-style-position: inside;
    text-align: left;
    padding-bottom: 10px;
}

.text h2, h3 {
    padding-top: 20px;
}

.textbox {
    border: 2px solid rgba(219, 219, 219, 0.808); 
    display: grid;
    grid-template-rows: 180px 50px;
}

.textbox img {
    width: 100%;  
    min-height: 100%;
}

.textbox h2 {
    padding: 20px 20px;
}

.image-container {
    border-bottom: 4px solid #fac83c;
    overflow: hidden;
}

.head-text {
    padding: 20px 20px 0 20px;

}

.readmore {
    padding: 20px 20px;
    align-self: end;
}

.content {
    display: grid;
    max-width: 1470px;
    margin: 0 auto;
    grid-template-columns: 1fr 1fr 1fr 1fr 1fr 1fr 1fr 1fr;
    grid-gap: 20px;
    padding: 0 40px;
}

.content a {
    color: #333;
    font-style: italic;
    text-decoration: underline;
    font-size: 20px;
}

.flex {
    display: flex;
}

#home-content-1 {
    grid-column: 2/8;
    grid-row: 1/2;
    background-color: #F6F6F6;
    text-align: center;
    padding-top: 40px;
    padding-bottom: 40px;
    font-size: 1.2em;
}

#home-content-1 h1 {
    position: relative;
    margin-bottom: 20px;
}

#home-content-1 a {
    font-weight: 500;
}

#home-content-6 {
    grid-column: 1/3;
    grid-row: 2/3;
}

#home-content-2 {
    grid-column: 3/5;
    grid-row: 2/3;
}

#home-content-3 {
    grid-column: 5/7;
    grid-row: 2/3;
}

#home-content-4 {
    grid-column: 7/9;
    grid-row: 2/3;
}

#home-content-5 {
    grid-column: 2/8;
    grid-row: 4/5;
    border: none;
    text-align: center;
}

#home-content-5 h2 {
    text-align: center;
}

/* Programma */


#affiche {
    margin: 40px 0;
    width: 20%;
    min-width: 280px;
}

#affiche:hover {
    transition: all 0.1s;
    transform: scale(1.05);
    border: solid 2px #F6F6F6;
}

.mainson {
    grid-column: 1/4;
    grid-row: 1/2;
    padding-left: 60px;
    padding-right: 60px;
}

.textblock {
    padding: 20px 0;
}

/* Praktisch */

#map {
    width: 100%;
    height: 400px;
    background-color: grey;
}

.map-wrapper {
    position: relative;
    width: 100%;
    margin: 0 auto;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}

.mapContainer a.direction-link {
    position: absolute;
    top: 15px;
    right: 15px;
    z-index: 100010;
    color: #FFF;
    text-decoration: none;
    font-size: 15px;
    font-weight: bold;
    line-height: 25px;
    padding: 8px 20px 8px 20px;
    background: #0094de;
    background-position: left center;
    background-repeat: no-repeat;
}

.mapContainer a.direction-link:hover {
    text-decoration: none;
    background: #0072ab;
}

/* rommelmarkt */

#collapse {
    display: none;
}

.reglement {
    padding: 0;
    margin: 20px auto 0 auto;
    width: 80%;
}
#reglement-header {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
}
#reglement-toggle {
    padding: 14px;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
    
}

#reglement-toggle h2 {
    padding: 0;
}

#reglement-toggle i {
    font-size: 24px;
    padding-right: 14px;
    color: #0073aa;
}

#reglement-header:hover {
    cursor: pointer;
}

/* contact */

#contact {
    background: URL("../img/3bew-2.jpg");
    background-size: contain;
    background-repeat: no-repeat;
}

.form-contact {
    display: flex;
    overflow-y: hidden;
    min-height: 400px;
    max-height: 600px;
    min-width: 600px;
    max-width: 65%;
    margin: 30vh auto auto auto;
    background-color: #F6F6F6;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}

.form-wrapper {
    position: relative;
    flex-grow: 2;
}

.form-contact form {
    padding: 25px;
}

.flex-outer {
    list-style-type: none;
    padding: 0;
}

.flex-outer>li:not(:last-child) {
    margin-bottom: 20px;
}

.flex-outer {
    max-width: 800px;
    margin: 0 auto;
}

.flex-outer li {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
}

.flex-outer li label,
.flex-outer li p {
    padding: 8px;
    font-weight: 300;
    letter-spacing: .09em;
    text-transform: uppercase;
}

.flex-outer>li>label,
.flex-outer li p {
    flex: 1 0 120px;
    max-width: 210px;
    min-width: 140px;
}

.flex-outer>li>label+* {
    flex: 1 0 220px;
}

.flex-outer li p {
    margin: 0;
}

.flex-outer li input:not([type='checkbox']),
.flex-outer li textarea {
    padding: 15px;
    border: none;
}

.flex-outer li button {
    margin-left: auto;
    padding: 8px 16px;
    border: none;
    background: #333;
    color: #f2f2f2;
    text-transform: uppercase;
    letter-spacing: .09em;
    border-radius: 2px;
}

.error {
    color: red;
    padding-left: 10px;
    font-size: 12px;
}

#message {
    resize: none;
}

.contact-info {
    color: #F6F6F6;
    padding: 20px 40px 20px 20px;
    min-width: 260px;
    width: 50%;
    background-color: #0073aa;
    overflow-wrap: break-word;
}

.contact-info2 {
    padding: 20px 30px;
    color: #F6F6F6;
    background-color: #0073aa;
    width: 100%;
    display: none;
    margin-bottom: 10px;
}
.contact-info2 h3 {
    color: #F6F6F6;
    letter-spacing: 3px;
    padding-bottom: 10px;
}
.contact-info h3 {
    color: #F6F6F6;
    letter-spacing: 3px;
    padding-bottom: 10px;
}

.schrijf {
    width: 30%;
}

@keyframes moveInBottom {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }
    100% {
        opacity: 1;
        transform: translate(0);
    }
}

.btn {
    text-transform: uppercase;
    text-decoration: none;
    padding: 15px 60px;
    border-radius: 100px;
    border: none;
    transition: all .2s;
    position: relative;
    margin: 20px;
}

.btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, .2);
}

.btn:active {
    transform: translateY(-1px);
    box-shadow: 0 5px 10px rgba(0, 0, 0, .2);
}

.btn-white {
    background-color: #0073aa;
    color: #F6F6F6;
}

.btn-animated {
    animation: moveInBottom .5s ease-out .75s;
    animation-fill-mode: backwards;
}

button:disabled,
button[disabled],
input[type="submit"]:disabled {
  background-color: #cccccc;
}

input[type="submit"] {
    cursor: pointer;
}

/* inschrijven */

.kinderen {
    position: relative;
}

.kinderen-warning {
    color: red;
    font-size: 14px;
    padding-left: 7px;
}

.flexcontainer {
    display: flex;
    flex-direction: row;
}

/*On the flex container*/

.flexcontainer {
    display: -webkit-flex;
    display: flex;
    -webkit-flex-direction: row;
    flex-direction: row;
}

.form-inschrijven {
    display: inline-flex;
    min-height: 400px;
    width: 80%;
    margin: auto auto;
    background-color: #F6F6F6;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}

#checkbox label {
    max-width: 100%;
    flex: auto;
    text-transform: none;
    font-size: 12px;
}

.checkbox {
    padding-top: 1px;
    width: 15px;
    height: 15px;
}

.form-inschrijven form {
    padding: 20px;
}

/* success */

.success {
    display: flex;
    margin: auto 0;
    justify-content: center;
   
}

.success-wrapper {
    max-width: 90%;
    text-align: center;
    padding: 60px;
}

.success-wrapper {
    text-align: center;
    padding: 60px;
}

.success-wrapper h1 {
    font-size: 2.5em;
}

.success-wrapper h3 {
    font-weight: 400;
    padding: 20px 0;
}

.success-wrapper i {
    color: #fac83c;
    padding-bottom: 20px;
}

#checkmark {
    font-size: 3em;
}

.success-wrapper a {
    padding-top: 20px;
    color: #fac83c;
    padding-bottom: 20px;
    font-weight: 200px;
}

/* footer */

footer { 
    position: absolute;
    width: calc(100vw - 250px);
    right: 0;
    bottom: 0;
    left: 0;
    padding: 1rem;
    display: flex;
    justify-content: center;
    overflow: hidden;
    text-transform: lowercase;
}




/* Foto's */

.gallery {
    margin: 0 auto;
    margin-top: 50px;
    padding: 0 5vw;
    
}

.gallery a img {
    border: 2px solid #fff;
    width: 100%;
    -webkit-transition: -webkit-transform .15s ease;
    -moz-transition: -moz-transform .15s ease;
    -o-transition: -o-transform .15s ease;
    -ms-transition: -ms-transform .15s ease;
    transition: transform .15s ease;
    position: relative;
    box-sizing: initial
}

.overlay {
    position: relative;
    color: #F6F6F6;
}

.overlay-text {
    position: absolute;
    left: 45%;
    top: 8px;
    z-index: 999;
}

.gallery a:hover img {
    -webkit-transform: scale(1.05);
    -moz-transform: scale(1.05);
    -o-transform: scale(1.05);
    -ms-transform: scale(1.05);
    transform: scale(1.05);
    z-index: 5;
}

.row {
    display: flex;
    flex-wrap: wrap;
    padding: 0 4px;
}

/* Create four equal columns that sits next to each other */

.column {
    flex: 25%;
    max-width: 25%;
    padding: 0 4px;
}

.column img {
    margin-top: 8px;
    vertical-align: middle;
}

/* Responsive layout - makes a two column-layout instead of four columns */

@media screen and (max-width: 800px) {
    .column {
        flex: 50%;
        max-width: 50%;
    }
}

/* Responsive layout - makes the two columns stack on top of each other instead of next to each other */

@media screen and (max-width: 300px) {
    .column {
        flex: 100%;
        max-width: 100%;
    }
}

/* Seniorenfeest */

.seniorenfeest {
    display: grid;
    grid-template-columns: 30% 30% 30% 20% ;
    grid-gap: 20px;
}

.seniorenfeest img {
    width: 100%;
}

.pt-0 {
    padding-top: 0;
}

.pt-0 h2 {
    padding-top: 0;
}

.senioren1 {
    grid-row: 1/2;
    grid-column: 1/2;
}
.senioren2 {
    grid-row: 2/3;
    grid-column: 1/2;
}
.senioren3 {
    grid-row: 1/2;
    grid-column: 2/4;
}
.senioren4 {
    grid-row: 2/3;
    grid-column: 2/4;
}
.senioren5 {
    grid-row: 3/4;
    grid-column: 2/4;
}

.senioren6 {
    grid-row: 3/4;
    grid-column: 1/2;
}

/* MEDIA QUERIES */

@media screen and (max-width: 1200px) {
    .canvas {
        transform: translate(0px, 0);
        padding-right: 0px;
    }
    .sidebar {
        display: none;
    }
    .parallax {
        display: none;
    }
    #top-navbar {
        display: flex;
    }
    .gallery {
        padding: 0 3vw;
    }
    footer {
        min-width: 100%;
    }
    #home-content-6 {
        grid-column: 1/5;
        grid-row: 2/3;
    }
    #home-content-2 {
        grid-column: 5/9;
        grid-row: 2/3;
    }
    #home-content-3 {
        grid-column: 1/5;
        grid-row: 3/4;  
    }
    #home-content-4 {
        grid-column: 5/9;
        grid-row: 3/4;
    }
    #home-content-5 {
        grid-column: 1/9;
        grid-row: 4/5;
    }
    .textbox {
        grid-template-rows: 250px 50px;
    }
    .form-contact {
        margin: 10vh auto auto auto;
    }
}

@media screen and (max-width: 992px) {
    .form-inschrijven {
        margin: auto 20px;
        width: 100%;
    }
    .form-contact {
        max-width: 85%;
    }
    .canvas {
        transform: translate(0px, 0);
        padding-right: 0px;
    }
    .sidebar {
        display: none;
    }
    .parallax {
        display: none;
    }
    #top-navbar {
        display: flex;
    }
    .gallery {
        padding: 0 3vw;
    }
    footer {
        min-width: 100%;
    }
    .textbox {
        grid-template-rows: 200px 50px;
    }
    .reglement {
        width: 100%;
        margin: 0;
}

@media screen and (max-width: 768px) {
    .contact-info {
        width: 100%;
    }
    .contact-info2 {
        display: block;
    }
    .schrijf {
        display: none;
    }
    #home-content-1 {
        grid-column: 1/9;
    }
    #home-content-6 {
        grid-column: 1/5;
        grid-row: 2/3;
    }
    #home-content-2 {
        grid-column: 5/9;
        grid-row: 2/3;
    }
    #home-content-3 {
        grid-column: 1/5;
        grid-row: 3/4;  
    }
    #home-content-4 {
        grid-column: 5/9;
        grid-row: 3/4;
    }
    #home-content-5 {
        grid-column: 1/9;
        grid-row: 4/5;
    }
    .form-contact {
        min-width: 100%;
        max-width: 100%;
        max-height: 100%;
        margin: 0 auto;
        box-shadow: none;
        display: initial;
    }
    .form-inschrijven {
        display: initial;
    }

    .senioren1 {
        grid-row: 1/2;
        grid-column: 1/4;
    }
    .senioren2 {
        grid-row: 3/4;
        grid-column: 1/4;
    }
    .senioren3 {
        grid-row: 2/3;
        grid-column: 1/4;
    }
    .senioren4 {
        grid-row: 4/5;
        grid-column: 1/4;
    }
    .splash h1 {
        color: #fac83c;
        display: block;
        font-size: 1.8em;
        animation: moveInRight 1.5s ease-in-out;
    }
}

@media only screen and (max-width: 600px) {
    .text {
    padding: 20px;
    }
    
    .text ul {
        max-width: 1000px;
        margin-left: 30px;
    }
    .flex-outer>li>label,
    .flex-outer li p {
    flex: 1 0 120px;
    max-width: 280px;
    min-width: 250px;
    }
    .contact-info2 {
        margin-bottom: 00px;
    }
    #home-content-1 {
        grid-column: 1/9;
        font-size: 1em;
    }
    #home-content-6 {
        grid-column: 1/9;
        grid-row: 2/3;
    }
    #home-content-2 {
        grid-column: 1/9;
        grid-row: 3/4;
    }
    #home-content-3 {
        grid-column: 1/9;
        grid-row: 4/5;  
    }
    #home-content-4 {
        grid-column: 1/9;
        grid-row: 5/6;
    }
    #home-content-5 {
        grid-column: 1/9;
        grid-row: 6/7;
    }
    .content {
        padding: 0 10px;
    }
    .textbox {
        grid-template-rows: 220px 50px;
    }
    .success-wrapper h1 {
        font-size: 1.8em;
    }
    .form-inschrijven {
        margin: auto 0px;
        box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2);
    }
    footer {
        font-size: 10px;
    }
    #reglement-toggle {
        box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2);
    }
}

@media only screen and (max-width: 500px) {
    .splash h1 {
        color: #fac83c;
        display: block;
        font-size: 1.4em;
        animation: moveInRight 1.5s ease-in-out;
    }
}