@import url('/resources/font/source-sans-pro.css');

body {     
    font-family:'Source Sans Pro','Helvetica Neue', Helvetica, Arial, sans-serif;
    font-weight:400;
    font-size: 16px;
    line-height: 1.5;
    margin: 0;
    padding: 0;
    background-color: #f9f9f9;
    color: #333;
}

i.fa,i.fas{
    margin-right: 5px;
}

h2{
    display: inline-block;
}

h3, h4{
    margin-bottom: 0;
}
h4 + p{
    margin-top: 0;
}

ul{
    margin-top: 0;
}

header {
    background-color: #004080;
    color: white;
    padding: 15px 20px;
    text-align: center;
    position: fixed;
    top: 0;
    width: 100%;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
}

header h1 {
    margin: 0;
    font-size: 1.8em;
}
header a{
    color: white;
    text-decoration: none;
}
header li{
    list-style: none;
}

.navbar {
    background-color: #004080;
    padding: 0 0 15px 0;
    text-align: center;
}

.navbar ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    justify-content: center;
    gap: 30px;
}

.navbar li {
    display: inline;
}

.navbar a {
    color: white;
    text-decoration: none;
    font-size: 18px;
    padding: 12px 20px;
    border-radius: 25px;
    transition: all 0.3s ease;
    font-weight: 500;
}

.navbar a:hover{
    background-color: rgba(255, 255, 255, 0.2);
    transform: scale(1.05);
}

.text-bg-primary-custom { /* oa achtergrond profielfoto */
    background-color: rgb(109, 151, 211) !important;
    color: white;
}

main {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    padding: 20px;
    margin-bottom: 50px;
}

.card {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    padding: 20px;
    text-align: left;
    grid-column: span 2;
}
.card.full {
    grid-column: 1 / -1; /* Laat de kaart alle kolommen overspannen */
}

.card.double {
    grid-column: span 2; /* Laat de kaart 2 kolommen overspannen */
}

/* .card h2{
    margin-top: 0;
    font-size: 1.5rem;
    color: #0077cc;
}

.card h3{
  margin: 1.5em auto -0.8em;
}

.card h4{
  margin-bottom: -0.8em;
}

.card p {
    margin: 10px 0;
    line-height: 1.6; 
}*/

.card ul li {
    margin: 2px 0 0 -25px;
}

.card ul li a {
    /* color: #0077cc; */
    text-decoration: none;
}

.card ul li a:hover {
    text-decoration: underline;
}

.card p.fixed{
  height: 5rem;
}

.flex-form {
    display: flex;
    flex-direction: column;
    gap: 10px;
    max-width: 500px;
    margin: auto;
    background: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.flex-form label {
    font-weight: bold;
}

.flex-form input,
.flex-form textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 1em;
}
.flex-form input[type="radio"] {width: auto;}

.flex-form button {
    background-color: #004080;
    color: white;
    padding: 10px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.flex-form button:hover {
    background-color: #0056b3;
}

footer {
    text-align: center;
    padding: 10px 0;
    background-color: #004080;
    color: white;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    /* height: 50px; */
  }

footer p {
    margin: 0;
    font-size: 0.9em;
}

/* Formulierstijl */
form {
    display: grid;
    grid-gap: 15px;
}

label {
    font-weight: bold;
}

input, textarea, select, button, .button {
    font-size: 1em;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    /* width: 100%; */
    box-sizing: border-box;
}
select{
    background-color: white;
}

input:focus, textarea:focus, select:focus {
    border-color: #004080;
    outline: none;
    box-shadow: 0 0 3px rgba(0, 64, 128, 0.5);
}

button, .button {
    padding: 8px 16px;
    font-size: 14px;
    color: white;
    /* background-color: #007bff; */
    /* background-color: #3c8dbc;
    border-color: #367fa9; */
    /* background-color: #004080; // zelfde kleur als header */
    background-color: #086acd;
    /* border-color: #003870; */
    border: none;
    border-radius: 5px;
    cursor: pointer;
    text-decoration: none;
    transition: background-color 0.3s;
}

button:hover, .button:hover {
    background-color: #0056b3;
}

textarea {
    resize: vertical;
}


/* Responsive ontwerp */
@media (max-width: 600px) {
    main {
        padding: 15px;
    }
    .navbar{
        padding: 10px;
    }

    header{
        padding: 10px 0;
        position: relative;
    }

    header h1 {
        font-size: 1.5em;
    }
    header .smallsize{
        display: none;
    }
    footer{
        position: relative;
    }
    footer p {
        font-size: 0.8em;
    }
}