header {
    background-size: cover;
    background-position: center; 
    height: 300px; 
    color: #fff;
    text-align: center;
    padding: 0px;
    width: 80%;
    margin: auto;
}

.headerimg {
    width: 15%;
    max-width: 380px;
    position: absolute;
    top: 320px; 
    left: 50%; 
    transform: translate(180%, -50%); 
    z-index: 1; 
}

.naarwebsite-icon {
    display: none ; 
}


.naarwebsite-tekst {
    display: flex;
}


.headerwrap {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px;
    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: 1%;
    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 {
    text-align: center;
    margin-bottom: 30px;
    position: relative; 
    color: #000;
}

#searchForm {
    display: flex;
    justify-content: center;
}

#searchInput {
    padding: 10px;
    width: 50%;
    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: 50%; 
    position: absolute;
    top: 100%; 
    left: 50%;
    transform: translateX(-50%);
    background-color: #fff;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    z-index: 1; 
    display: none; 
    border-radius: 10px;
    margin-top: 10px;
}

.dropdown-content .search-result {
    padding: 0;
    margin: 0;
    cursor: pointer;
    border-bottom: 1px solid #ccc;
    text-align: left;
}


.search-result h3, p {
    margin: 0;
    color: #5a5a5a;
    text-align: left;
    margin-left: 3%;
}

.search-result:hover {
    background-color: #e4e8ed;
}


.search-title {
    margin-top: 5%;
    text-align: center;
    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%;
    }

    .dropdown-content {
        width: 80%;
        font-size: 14px;
    }

    .headerimg {
        display: none;
    }
}

@media (max-width: 478px) {

    .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;
    }


    .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;
  }

