.hero-text h1 {
    font-size: 4rem;
    margin-bottom: 1rem;
    color: #0c0c0c;
    margin-top: 100px;
    text-align: center;
}

.hero-text p {
    font-size: 1.8rem;
    color: #0c0c0c;
    margin-bottom: 1rem;
    font-weight: 500;
    text-align: center;
}

/* Algemene styling voor centrering */
.search-form {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 30vh;
    text-align: center;
}

/* Zoekbalk styling */
.search-box {
    display: flex;
    border: 2px solid #333;
    border-radius: 50px;
    overflow: hidden;
    width: 60%;
    margin: 0 auto;
}

.search-box input {
    flex: 1;
    padding: 15px;
    border: none;
    outline: none;
    border-top-left-radius: 50px;
    border-bottom-left-radius: 50px;
    font-size: 16px;
}

.country-overview {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 50px 1rem;
    margin: 0px 2rem 0px 2rem ;
    padding: 0 1rem;
}

.country-card {
    text-align: center;
    background-color: #f2f2f2;
    border: none;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.41);
    outline: none;
    border-radius: 15px;
    padding: 20px 0px;
    margin: 12px;
    width: 150px;
    transition: 0.3s;
}

.country-card:hover {
    transform: translateY(-10px);
    text-decoration: none;
}

.country-card h2 {
    font-size: 2rem;
    margin: 1rem;
    color: #0c0c0c;
}

body main .search-hero-image {
    height: 50vh !important;
    margin-top: -10vh;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    background-color: rgba(255, 255, 255, 0.404); /* Lichte overlay */
    background-blend-mode: lighten;
}

/* Zoekknop styling */
.search-box button {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 15px;
    border: none;
    background-color: #333;
    color: white;
    cursor: pointer;
    border-top-right-radius: 50px;
    border-bottom-right-radius: 50px;
    font-size: 16px;
}

/* mobile */
@media screen and (max-width: 600px) {
    .hero-text h1 {
        font-size: 2.5rem;
        margin-top: 15vh !important;
    }

    .hero-text p {
        font-size: 1.5rem;
    }

    .search-box {
        width: 80%;
    }

    body main .search-hero-image {
        height: 30vh !important;
    }

    .country-overview {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
        margin: 0 auto;
        margin-top: -20px;
        margin-bottom: 20px;
        width: 95%;;
    }
    
    .country-card {
        margin: 0px;
    }

    .country-card h2 {
        font-size: 1.5rem;
    }

    .country-card p {
        font-size: 1rem;
    }

    .container {
        padding: 0px;
        margin: 0px;
    }

    .country-overview a {
        margin: 0 auto;
    }
}