header {
    background-size: cover;
    background-position: center;
    height: auto;
    color: #fff;
    text-align: center;
    padding: 0px;
    width: 80%;
    margin: auto;
}

.naarwebsite-icon {
    display: none;
}

.naarwebsite-tekst {
    display: flex;
}

.headerwrap {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #fff;
    padding-top: 1.3%;
}

.headertitel h1 {
    margin: 0;
    font-size: 1.2em;
}

.headerrdiv {
    background: linear-gradient(
  120deg,
  rgba(0, 0, 0, 1) 0%,
  rgba(30, 30, 30, 1) 40%,
  rgba(255, 102, 0, 1) 100%
);

    width: 100%;
    padding: 0;
    margin-bottom: 50px;
    box-shadow: 0px 5px 15px rgba(0, 0, 0, 0.336);
}

.flag {
    width: 30px;
    height: 20px;
    margin-right: 5px;
}

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    background-color: #f8f8f8;
}

h1 {
    text-align: left;
    color: #ffffff;
    top: 0;
    right: 0;
    left: 0;
}

.search-bar {
    color: #000;
    width: 30%;
}

#searchForm {
    display: flex;
    justify-content: left;
    position: relative; 
}

.search-wrap {
    display: flex;
    position: relative;
}

.search-bar {
    flex: 1;
}

.search-img {
    width: 40%;
    transform: translateY(100px);
}

.search-png {
    width: 80%;
}

#searchInput {
    padding: 10px;
    width: 100%;
    box-sizing: border-box;
    border: 1px solid rgba(205, 141, 45, 0.411);
    border-radius: 5px;
    font-size: 16px;
    background: rgba(201, 171, 109, 0.411);
    color: #f8f8f8;

    
}

#searchInput::placeholder {
    color: #f8f8f88b;
}

.dropdown-content {
    width: 100%;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: #fff;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    z-index: 1;
    display: none;
    border-radius: 10px;
    margin-top: -4.7%;
}

.dropdown-content .search-result {
    padding: 10px;
    margin: 0;
    cursor: pointer;
    border-bottom: 1px solid #ccc;
    text-align: left;
}

.search-result h3, p {
    margin: 0;
    color: #5a5a5a;
}

.search-result:hover {
    background-color: #e4e8ed;
}

.search-title {
    margin-top: 23%;
    text-align: left;
    color: #ffffff;
    margin-bottom: -0.001%;
}

.no-results {
    padding: 10px;
    text-align: center;
    font-weight: bold;
    color: #555;
}

.language-dropdown {
    position: relative;
    display: flex;
    align-items: center;
}

.custom-dropdown {
    cursor: pointer;
}

.selected-option {
    display: block;
    padding: 5px;
    color: #fff;
}

.dropdown-options {
    position: absolute;
    top: 100%;
    left: 0;
    display: none;
    list-style: none;
    margin: 0;
    padding: 0;
    background-color: #e9e9e9;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.4);
    border-radius: 5px;
    margin-top: 5px;
    z-index: 99999999;
    width: 120px;
    height: auto;
}

.dropdown-options li {
    padding: 8px;
    margin-top: 5px;
    margin-bottom: 5px;
    width: 80%;
    cursor: pointer;
    margin: auto;
    background-color: #fff;
}

.dropdown-options li:hover {
    background-color: #f0f0f0;
}

.flag-icon {
    margin-right: 5px;
    cursor: pointer;
}

.language-dropdown select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    cursor: pointer;
    border: none;
    background-color: transparent;
    color: #ffffff;
    font-size: 16px;
}

@media (max-width: 768px) {
    #searchInput {
        width: 80%;
        margin-bottom: 0%;
    }
    

    .dropdown-content {
        width: 100%;
        font-size: 14px;
        margin-top: 0%;
    }

    .headerimg {
        display: none;
    }

    .search-wrap {
        flex-direction: column;
    }

    .search-bar {
        padding-right: 0;
        margin-bottom: 10px;
        order: 2;
        width: 100%;
        margin-bottom: 5%;
    }

    .search-img {
        width: 100%;
        margin-left: 0;
        transform: translateY(0);
        order: 1;
    }

    .search-png {
        width: 200px;
        transform: translateY(0);
    }

    .search-title {
        margin-top: 0%;
    }

    .dropdown-content {
        width: 100%;
        left: 0;
        transform: translateX(0); 
    }
}

@media (max-width: 478px) {
    .search-png {
        width: 100px;
    }

    .headerimg {
        display: none;
    }

    h1 {
        font-size: 0.3em;
    }

    .search-title {
        font-size: 0.8em;
    }

    #searchInput {
        width: 90%;
    }

    header {
        height: auto;
        padding-bottom: 5px;
    }

    header .naarwebsite-icon {
        display: flex;
    }

    header .naarwebsite-tekst {
        display: none;
    }

    .headerwrap {
        padding: 0;
        padding-top: 10px;
    }

    .dropdown-content {
        width: 90%;
        font-size: 12px;
    }

    .articltitel {
        font-size: 1em;
    }
}

#searchInput:focus {
    outline: none;
}

.naarwebsite-tekst {
    background-color: rgba(255, 132, 0, 0.441);
    color: white;
    padding: 5px 10px;
    border-radius: 5px;
    font-size: 14px;
    cursor: pointer;
    margin-left: 5px;
    text-decoration: none;
}

.naarwebsite-icon {
    place-items: center;
    background-color: rgba(116, 116, 116, 0.365);
    color: white;
    border-radius: 5px;
    font-size: 20px;
    cursor: pointer;
    text-decoration: none;
    width: auto;
    padding: 5px;
    padding-left: 7px;
    padding-right: 7px;
    margin-left: 5px;
}
