/* Stelt de standaard marges en hoogtes in voor de html en body tags */
html,
body {
    margin: 0;
    height: 100%;
}

/* Basisstijlen voor de body, inclusief lettertype en achtergrondafbeelding */
body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    font-family: "Raleway", sans-serif;
}

/* Voegt een semi-transparante achtergrondafbeelding toe aan de body */
body::before {
    content: "";
    background: url("../images/image-test/bgimg.jpg") no-repeat center center
        fixed;
    background-size: cover;
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: -1;
    opacity: 0.4;
}

/* Basisstijlen voor de hoofdinhoud van de pagina */
main {
    flex: 1 0 auto;
    width: 100%;
}

.main-content {
    margin: 0 auto;
    max-width: 968px;
}

/* Tekstuitlijning en marges */
.center-text {
    text-align: center;
    margin-top: 20%;
}

h1,
h2,
h3,
h4,
p {
    margin-top: 1em;
}

.strong {
    font-weight: bold;
}

/* Begin abonnement.php */
#abonnement-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center; /* onnodig */
}

/* Abonnementsopties en knoppen */
.subscription-options {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    /* ruimte tussen de kolommen */
    justify-content: space-between;
}

.subscription-option {
    flex: 1;
    min-width: 200px;
    border: 1px solid #ccc;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.1);
    background-color: whitesmoke;
    margin-bottom: 20px;
}

.subscribe-button {
    display: inline-block;
    background-color: #007bff;
    color: white;
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s;
}

.subscribe-button:hover {
    background-color: #0056b3;
}
/* Einde abonnement.php */

/* Begin contact.php */
label {
    display: block;
    margin-bottom: 5px;
}

.contact-field {
    margin-bottom: 15px;
}

.contact-firstrow {
    display: flex;
}

#contact-fname {
    margin-right: 20px;
    width: 175px;
}

#contact-email {
    width: 175px;
}
/* Einde contact.php */

/* Begin home.php */
.container-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 20px;
}

.container-card div {
    border-radius: 7.5px;
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.3);
    margin: 10px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.container-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.card-1 {
    background-color: rgba(255, 204, 1, 255);
}

.card-2 {
    background-color: whitesmoke;
    padding: 20px;
}

.card-3 {
    background-color: whitesmoke;
    padding: 20px;
}

.card-4 {
    background-color: rgba(231, 231, 233, 255);
}

.card-1 img,
.card-4 img {
    flex: 2;
    max-height: 500px;
    max-width: 600px;
}

.card-2,
.card-3 {
    flex: 1;
}
/* Einde home.php */

/* Responsieve stijlen voor verschillende schermgroottes */
@media (min-width: 968px) {
    .container-card {
        flex-direction: row;
        align-items: flex-start;
    }

    .card-1,
    .card-4 {
        flex: 2;
    }

    .card-2,
    .card-3 {
        flex: 1;
    }
}

@media (max-width: 968px) {
    .container-card {
        margin-top: 10px;
    }
    .container-card img {
        max-width: 100%;
        max-height: auto;
    }
    h1,
    h2,
    h3,
    h4,
    p {
        margin-left: 10px;
        margin-right: 10px;
    }

    .subscription-options {
        flex-direction: column;
        max-width: 278px;
        align-content: center;
    }
    .center-text {
        text-align: center;
        margin-top: 20%;
    }
    .contact-firstrow {
        display: block;
    }

    .contact-field textarea {
        width: 95%;
    }
    .contact-field {
        margin-left: 10px;
    }
}
