body {
    background-image: url(/images/achtergrond.jpg);
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    margin: 0;
    padding: 30px;
    font-family: 'Ubuntu', sans-serif;
    color: #333;
    display: flex;
    flex-direction: column;
}

.centered-message {
    text-align: center;
    margin: 20px 0;
    font-size: 1.2em;
    color: black;
}

.login-container {
    background-color: #e9f5e9;
    box-shadow: 10px 10px 30px rgba(0, 0, 0, 0.3);
    padding: 50px;
    border-radius: 10px;
    width: 100%;
    max-width: 400px;
    margin: 50px auto;
    text-align: center;
}

.login-container h2 {
    margin-bottom: 20px;
    font-size: 24px;
    color: #333;
}

.login-container input[type="email"],
.login-container input[type="password"] {
    width: 95%;
    padding: 10px;
    margin: 10px 0;
    border: 1px solid #ccc;
    text-align: center;
    border-radius: 5px;
    font-size: 16px;
}

.login-container input[type="submit"] {
    width: 100%;
    max-width: 300px;
    margin: 20px 0;
    background-color: grey;
    color: white;
    padding: 12px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    transition: background-color 0.3s ease;
}

.login-container input[type="submit"]:hover {
    background-color: grey;
}

.login-container a {
    display: block;
    margin-top: 20px;
    color: grey;
    text-decoration: none;
    transition: color 0.3s ease-in-out;
}

.login-container a:hover {
    color: darkgreen;
}

.container {
    background-color: #e9f5e9;
    box-shadow: 10px 10px 30px rgba(0, 0, 0, 0.3);
    padding: 0px;
    border-radius: 15px;
    flex-grow: 1;
}

.nav {
    list-style: none;
    margin: 0;
    padding: 0;
    width: 95%;
    max-width: 1200px;
    margin-top: 10px;
    background-color: #444;
    overflow: hidden;
    z-index: 1000;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.3);
    position: fixed;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 15px 15px 15px 15px;
}

.nav li {
    float: left;
    font-size: 15px;
    text-align: center;
    display: flex;
    flex-grow: 1;
}

.nav li a {
    color: white;
    height: 15px;
    margin-left: 7px;
    margin-top: 10px;
    margin-bottom: 10px;
    padding: 16px 16px;
    text-decoration: none;
    text-align: center;
    border-radius: 15px 15px 15px 15px;
    transition: background-color 0.3s ease-in-out;
}
.nav li a:hover {
    background-color: lightgreen;
    color: black;
}
.logof {
}
#logo {
    position: relative;
    float: right;
    margin-right: 7px;
    height: 20px;
}

#logoa {
    position: relative;
    float: right;
    height: 42px;
    top: -11px;
}

.active a {
    background-color: lightgreen;
    color: black;
}

.inactive a:hover {
    background-color: lightgreen;
    transition: 0.3s;
    color: black;
}
.inactive a {
}
.head h1 {
    text-align: center;
    font-size: 40px;
    font-weight: bold;
    margin-top: 100px;
}

h1 {
    text-align: center;
    font-size: 40px;
    font-weight: bold;
    margin-top: 100px;
}

.h1 {
    text-align:center;
    display:block;
    font-size: 20px;
    text-decoration: none;
    color: #333;
}

.contacta {
    color: #333;
    height: 15px;
    margin-left: 7px;
    margin-top: 10px;
    margin-bottom: 10px;
    padding: 16px 16px;
    text-align: center;
    border-radius: 10px 10px 10px 10px;
    transition: background-color 0.3s ease-in-out;
}

.head h3 {
    text-align: center;
    font-size: 24px;
    color: #555;
}

.koptekst p {
    text-align: center;
    font-size: 20px;
}

.koptekst {
    text-align: center;
    font-size: 20px;
}

.koptekst a {
    text-align: center;
    font-size: 20px;
}

#soortenenprijzen {
    margin: 20px auto;
    width: 80%;
    border-collapse: collapse;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.2);
    background: white;
    border-radius: 8px;
    overflow: hidden;
}

#admin {
    margin: 20px auto;
    width: 80%;
    border-collapse: collapse;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.2);
    background: white;
    border-radius: 8px;
    overflow: hidden;
}

td, th {
    border-bottom: 1px solid #ccc;
    text-align: left;
    padding: 12px;
    font-size: 18px;
}

#contactmail, #bestellijstdownload, #error {
    text-decoration: none;
    color: grey;
    transition: color 0.3s ease-in-out;
}

#contactmail:hover, #bestellijstdownload:hover, #error:hover, .h1:hover {
    color: darkgreen;
}

.footer {
    background-color: #444;
    text-align: center;
    width: 100%;
    padding: 10px 0;
    top: 10px;
    color: white;
    font-size: 16px;
    box-shadow: 0px -4px 10px rgba(0, 0, 0, 0.2);
    position: relative;
    margin-top: auto;
    border-radius: 10px;
}

.indexplaatje {
    position: relative;
    height: 500px;
    margin: 20px auto;
    display: block;
    border-radius: 10px;
    box-shadow: 0px 4px 15px rgba(0, 0, 0, 0.2);
}

.facebooklogo {
    height: 32px;
    padding: 0px;
}

.facebooklogoa {
    position: relative;
    height: 32px;
    padding: 0px;
    top: -5px;
}

#uitverkocht {
    float: left;
    color: red;
    font-weight: bold;
}

#googlemaps {
    display: block;
    margin: 20px auto;
    width: 100%;
}

hr {
    border: none;
    height: 2px;
    background: black;
    margin: 20px 0;
}

@media screen and (max-width: 768px) {
    body {
        padding: 15px;
    }
    .container {
        padding: 20px;
    }
    .head h1 {
        font-size: 32px;
        margin-top: 120px;
    }
    .head h3 {
        font-size: 20px;
    }

    #soortenenprijzen {
        width: 100%;
    }

	#admin {
    	margin: 10px auto;
   		width: 100%;
    	border-collapse: collapse;
    	box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.2);
    	background: white;
    	border-radius: 8px;
    	overflow: hidden;
	}

    td, th {
    	border-bottom: 1px solid #ccc;
    	text-align: left;
    	padding: 12px;
    	font-size: 16px;
	}
    #naam {
        padding-right: 0px;
    }
    #prijs {
        padding-left: 0px;
        white-space: nowrap;
    }
    .indexplaatje {
        width: 100%;
        height: auto;
    }
}

input[type="submit"], button {
    text-align: center;
    background-color: #4CAF50;
    color: white;
    padding: 12px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    transition: background-color 0.3s ease;
}

input[type="submit"]:hover, button:hover {
    text-align: center;
    background-color: grey;
}

input[type="submit"] {
    text-align: center;
    width: 100%;
    max-width: 300px;
    margin: 10px 0;
    background-color: grey;
}

button {
    text-align: center;
    padding: 20px 20px;
    width: auto;
    background-color: grey;
}

button i {
    text-align: center;
    font-size: 18px;
    background-color: grey;
}

button[type="submit"] {
    text-align: center;
    background-color: grey;
}

button[type="submit"]:hover {
    text-align: center;
    background-color: grey;
}

input[type="button"], button {
    text-align: center;
    background-color: #4CAF50;
    color: white;
    padding: 12px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    transition: background-color 0.3s ease;
}

input[type="button"]:hover, button:hover {
    text-align: center;
    background-color: grey;
}

input[type="button"] {
    display: block;
    margin: 10px auto;
    text-align: center;
    width: 100%;
    max-width: 300px;
    background-color: grey;
    text-decoration: none;
}


button {
    text-align: center;
    padding: 20px 20px;
    width: auto;
    background-color: grey;
}

button i {
    text-align: center;
    font-size: 18px;
    background-color: grey;
}

button[type="button"] {
    text-align: center;
    background-color: grey;
}

button[type="button"]:hover {
    text-align: center;
    background-color: grey;
}

/* Popup styles */
.popup {
    display: flex;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    background-color: rgb(0,0,0);
    background-color: rgba(0,0,0,0.4);
}

.popup-content {
    background-color: #fefefe;
    justify-content: center;
    align-items: center;
    margin: auto;
    padding: 20px;
    border: 1px solid #888;
    width: 80%;
    max-width: 500px;
    border-radius: 10px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.2);
}

.popup-content h3 {
    margin-top: 0;
}

.popup-content form {
    display: flex;
    flex-direction: column;
}

.popup-content form p {
    margin: 10px 0;
}

.popup-content form input[type="text"],
.popup-content form input[type="number"],
.popup-content form input[type="radio"] {
    width: 96%;
    padding: 10px;
    margin: 5px 0;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 16px;
}

.popup-content form input[type="submit"] {
    width: 100%;
    max-width: 3000px;
    margin: 20px 0;
    background-color: grey;
    color: white;
    padding: 12px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    transition: background-color 0.3s ease;
}

.popup-content form input[type="submit"]:hover {
    background-color: grey;
}

.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
}

.close:hover,
.close:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}
.radio-group {
    display: flex;
    align-items: center;
    margin: 5px 0;
}

.radio-group input[type="radio"] {
    margin-right: 10px;
}

.radio-group label {
    font-size: 16px;
}
/* Gallery image + caption block */
.foto-galerij {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    margin-top: 20px;
}

.foto-item {
    justify-content: center;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0px 0px 15px rgba(0,0,0,0.2);
}

.foto-item img {
    display: block;
    object-fit: cover;
    border-bottom: 1px solid #ccc;
}

.foto-caption {
    width: 100%;
    text-align: center;
    padding: 5px;
    font-size: 20px;
    color: #333;
}

.back-home {
    display: inline-block;
    margin: 20px auto;
    padding: 12px 25px;
    background-color: grey;
    color: white;
    text-decoration: none;
    font-size: 18px;
    font-weight: bold;
    border-radius: 10px;
    box-shadow: 0px 4px 10px rgba(0,0,0,0.2);
    transition: background-color 0.3s ease, color 0.3s ease;
    text-align: center;
}

.back-home:hover {
    background-color: lightgreen;
    color: black;
}

#loading-spinner {
    transition: opacity 0.3s ease;
}
