/* Ruimte voor topbar */
.topbar {
    position: relative;
    top: 0;
    left: 0;
    width: 100%;
    height: 100px;
    z-index: 1000; /* Zorg ervoor dat het boven andere elementen blijft */
}

/* Intro tekst */
.intro p {
    margin-bottom: 15px; /* Pas deze waarde aan voor meer of minder ruimte tussen alinea's */
    line-height: 1.6; /* Optioneel, voor een betere leesbaarheid */
	text-align: center;
}


/* Transparante secties met schaduw */
.container {
    width: 60%;         /* Breedte van de div wordt 60%, dus 20% ruimte links en rechts */
    margin: 20px auto;  /* Horizontaal centreren en verticale marges */
    padding: 20px;      /* Extra binnenruimte */
    border-radius: 8px; /* Afronding van hoeken indien gewenst */
    background: rgba(13, 27, 42, 0.7); /* Transparante achtergrond voor zichtbare sterren */
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.2); /* Subtiele schaduw voor diepte */
}

/* Specifieke secties */
.banner img {
	width: 100%;
	box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.2); /* Subtiele schaduw voor diepte */
}

.banner h2, .container h2 {
    color: #b3c5d9;
    font-size: 2em;
    margin-bottom: 15px;
	text-shadow: 0px 0px 4px rgba(255, 255, 255, 0.5);
	text-align: center;
}

.banner h2 {
    font-size: 2.5em;
    color: #b3c5d9;
    z-index: 1;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.8);
    animation: fadeIn 1s ease-in-out;
}

/* Basis styling voor het formulier */
form {
    max-width: 600px;
    margin: 50px auto;
    padding: 30px;
    background-color: rgba(255, 255, 255, 0); /* Transparante achtergrond */
    border-radius: 8px;
    font-family: Arial, sans-serif;
}

/* Header */
form h2 {
    margin-bottom: 20px;
    color: #333;
    text-align: center;
}

/* Stijl voor labels */
form label {
    display: block;
    font-weight: bold;
    margin-bottom: 5px;
    color: #b3c5d9;
}

/* Flexbox container voor invoervelden in twee kolommen */
.form-row {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 15px;
}

.form-row .form-group {
    flex: 1;
    min-width: 200px;
}

/* Stijl voor inputvelden en textarea */
form input[type="text"],
form input[type="email"],
form input[type="tel"],
form textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 16px;
    color: #333;
    background-color: #ffffff;
    box-sizing: border-box;
    transition: border-color 0.3s ease;
}

form input[type="text"]:focus,
form input[type="email"]:focus,
form input[type="tel"]:focus,
form textarea:focus {
    border-color: #4caf50;
    outline: none;
}

/* Stijl voor de reCAPTCHA-container */
.g-recaptcha {
    margin: 20px 0;
}

/* Verzendknop styling */
form button[type="submit"] {
    width: 100%;
    padding: 12px;
    background-color: #342963;
    color: #fff;
    font-size: 16px;
    font-weight: bold;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

form button[type="submit"]:hover {
    background-color: #665d8e;
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* Footer styling */
footer {
    text-align: center;
    padding: 15px;
    background-color: #0d1b2a;
    color: #b3c5d9;
    font-size: 0.9em;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Stijl voor de succes-overlay */
.success-overlay {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(52, 41, 99, 0.8);
            color: #fff;
            font-size: 24px;
            display: flex;
            align-items: center;
            justify-content: center;
            opacity: 0;
            visibility: hidden;
            transition: opacity 0.3s ease, visibility 0.3s ease;
            z-index: 1000;
        }

        .success-overlay.show {
            opacity: 1;
            visibility: visible;
        }

::-webkit-scrollbar {
  display: none;
}

@media screen and (max-width: 992px) {
	.container {
		width: 100%;
	}
	
	.container h2 {
		text-align: center;
		font-size: 1.5em;
	}
	
	.container p {
		text-align: justify;
	}
	
	.form-row {
        flex-direction: column;
    }
}