body {
    margin: 0;
    font-family: Arial, sans-serif;
    box-sizing: border-box;
}

header {
  display: flex;
  flex-direction: column;
}

.header-top {
  background-color: #F2F2F2; 
  padding: 5px 20px;
  display: flex;
  justify-content: flex-end;
}

.header-bottom {
  background-color: #00a19a; 
  padding: 5px 20px;
}

.top-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo-container {
  display: flex;
  align-items: center;
  position: relative;
}

.logo-container a {
  text-decoration: none;
}

.logo {
  width: 80px;
  height: auto;
  position: absolute;
  top: -40px; 
  margin-left: 200px;
}

.logo-container img:hover{
  height: auto;
  animation: swingRotate 5s ease-in-out infinite; 
  transform-origin: center; 
}

@keyframes swingRotate {
  0% { transform: rotateZ(0deg); }       
  25% { transform: rotateZ(-5deg); }   
  50% { transform: rotateZ(5deg); }    
  75% { transform: rotateZ(-5deg); }  
  100% { transform: rotateZ(0deg); }
}

.site-name {
  margin-left: 290px; 
  color: black;
  font-family: 'boogaloo';
  font-size: 30px;
}

nav ul {
  list-style: none;
  display: flex;
  margin-right: 200px;
  padding: 0;
}

nav ul li {
  margin: 0 10px;
}

nav ul li a {
  text-decoration: none;
  color: #003634 ;
  font-weight: bold;
}

nav ul li a.highlight {
  background-color: #A7B949;
  color: white;
  padding: 5px 10px;
  border-radius: 20px;
}

nav ul li a.highlight:hover{
  background-color: #8e9f37; 
}

.login a {
  text-decoration: none;
  color: black;
}

.login-button {
  width: 20px;
  height: auto;
  margin-left: 7px;
  margin-right: 220px;
}



.dropdown a:hover {
  color: white;
}

.dropdown-content a:hover {
  color: white;
}

.dropdown:hover .dropdown-content {
  display: block;
}

.dropdown-content {
  display: none;
  position: absolute;
  background-color: white;
  min-width: 160px;
  transition: opacity 0.3s ease-in-out;
  z-index: 1;
  border-radius: 5px;
}

.dropdown-content a {
  padding: 12px 16px;
  text-decoration: none;
  display: block;
  color: black;
  font-family: 'lato';
  font-size: 12px;
}

.dropdown-content a:hover {
  background-color: #A7B949;
  border-radius: 5px;
}

.dropdown-submenu {
  position: relative;
}

.dropdown-submenu:hover .dropdown-content {
  visibility: visible;
    opacity: 1;
  left: 100%; 
  top: 0;
}

.dropdown-submenu .dropdown-content {
  visibility: hidden;
    opacity: 0;
    position: absolute;
    background-color: white;
    min-width: 160px;
    transition: opacity 0.3s ease-in-out;
    z-index: 2;
}



main {
    display: flex;
    background-image: url(../afbeeldingen/achtergrond5.png);
    background: cover;
}

.filters {
    width: 210px; 
    padding: 20px; 
    background-color: white; 
    border-radius: 10px; 
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); 
    margin: 10px 0; 
    display: block;
    margin-left: 250px;
    margin-right: 20px;
    margin-top: 70px;
    margin-bottom: 1500px;
}

.filters h3 {
    margin-top: 0;
    font-family: 'boogaloo';
    font-size: 25px;
    margin-bottom: -8px;
}

.filters ul, p {
    list-style: none;
    padding: 0;
    font-family: 'lato';
    font-size: 12px;
    margin-bottom: 12px;
}

.filters li {
    margin: 5px 0;
}

.recepten {
    width: 80%;
    padding: 20px;
    
}

.recepten p {
    font-family: 'lato black';
    color:#00a19a;
    margin-bottom: -10px;
    margin-top: 40px;
}

.recepten h1{
    font-family: 'boogaloo';
    font-size: 50px;
    margin-top: 10px;
}

.search-bar {
    display: flex;
    align-items: center;
    border: 1px solid #ccc;
    border-radius: 20px;
    overflow: hidden;
    margin-top: 10px;
    margin-right: 190px;
  }
  
  .search-bar input {
    border: none;
    padding: 15px;
    flex: 1;
    outline: none;
  }
  
  .search-bar button {
    background-color: white;
    border: none;
    padding-top: 9px;
    padding-bottom: 7px;
    padding-right: 20px;
    cursor: pointer;
  }
  
  .search-bar button img {
    width: 30px;
    height: auto;
  }

.recepten-grid {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.recepten-grid p{
  font-family: 'lato'; 
  color: black; 
  font-size: 13px;
  margin-top: -30px;
  margin-bottom: 20px; 
  text-align: center;
}

.recept {
    width: 22%;
    text-align: center;
    
    padding: 10px;
    border-radius: 10px;
    margin-top: 20px;
    margin-bottom: -30px;
}

.recept img {
    width: 100%;
    border-radius: 10px;
}

.tag {
  display:inline-block;
  position: absolute;
  justify-content: center;
    margin-top: 235px;
    margin-left: -140px;
    padding: 5px 10px;
    background-color: #e74c3c;
    color: white;
    border-radius: 15px;
    font-size: 12px;
}

.recepten-grid h2{
    font-family: 'boogaloo';
  font-size: 17px;
  margin-bottom: 33px;
  margin-top: 20px;
  text-align: center;
}

.groen {
    background-color: #A7B949;
    height: 50px;
  }


  footer {
    background-color: #003634;
    padding-top: 50px;
    color: white;
    display: flex;
    justify-content:center;
    gap: 250px;
  }
  
  footer h3 {
    margin-bottom: -10px;
    font-family: 'boogaloo';
    font-size: 20px;
  }
  
  footer ul {
    list-style: none;
    padding: 0;
    padding-bottom: 10px;
  }
  
  footer ul li {
    margin-bottom: 5px;
    font-family: 'lato light'
  }

  footer a{
    text-decoration: none;
    color: white;
  }
  
  footer a:hover{
    text-decoration: underline;
    color: white;
  }
  
  .donkergroen {
    background-color: #002422;
    height: 20px;
  }