body {
    margin: 0;
    font-family:'lato';
    box-sizing: border-box;
    position: relative;
}

main {
    background-color: #e6e6e6;
}

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;
}


  .recept_beschrijving {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 70px;
    padding-top: 40px;
    background-image: url(../afbeeldingen/achtergrond_holland5.png);
  }

  .titel{
      justify-content: left;
      margin-left: -450px;
  }

  .titel p{
    font-family: 'lato black';
    color:#00a19a;
    margin-left: 200px;
  }

  .titel h1{
    font-family: 'boogaloo';
    font-size: 50px;
    margin-top: -20px;
    margin-left: 200px;
  }

  .overkoepeling {
    display: flex;
    flex-direction: row;
  }
  
  .text-block {
    max-width: 50%;
    margin-left: 30px;
    padding-right: 70px;
    font-family: 'lato bold';
    border: 2px solid white;
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 2px 5px rgba(44, 44, 44, 0.4);
  }

  .tags{
      margin-top: 20px;
      padding-left: 15px;
  }

  .tag{
    font-family: 'lato';
    background-color: #D33F30;
    color: white;
    padding: 5px;
    border-radius: 10px;
  }

  .details p{
    font-family: 'lato';
    padding-left: 15px;
    margin-top: 20px;
  }

  .details img{
      width: 15px;
  }







  .flip-card {
    width: 450px; 
    height: auto; 
    perspective: 1000px; 
    margin-left: 90px;
    padding-right: 60px;
    padding-top: 30px;
}

.flip-card-inner {
  position: relative;
  width: 450px; 
  height: auto;
  transform-style: preserve-3d; 
  transition: transform 0.6s; 
}

.flip-card:hover .flip-card-inner {
  transform: rotateY(180deg); 
}

.flip-card-front, .flip-card-back {
  position: absolute;
  width: 450px; 
  height: auto;
  backface-visibility: hidden;
}

.flip-card-front img, .flip-card-back img {
  width: 450px;
    height: auto;
  object-fit: cover; 
  border-radius: 10px;
}

.flip-card-back {
  transform: rotateY(180deg);
}
  
 
  











.benodigdheden h3{
    font-family: 'boogaloo';
    font-size: 30px;
    padding-left: 15px;
}




.custom-list {
    list-style: none; 
    padding-left: 20px;
}

.custom-bullet {
    padding: 7px;
    padding-left: 30px; 
    position: relative; 
    font-size: 14px; 
    font-family: 'lato';
}

.custom-bullet::before {
    content: ""; 
    position: absolute;
    left: 0; 
    top: 50%; 
    transform: translateY(-50%); 
    width: 20px;
    height: 16px; 
    background-image: url(../afbeeldingen/bullet.png); 
    background-repeat: no-repeat; 
}
  

.wereldkaart{
    width: 200px;
    height: auto;
    padding-left: 50px;
    padding-top: 20px;
}









.bereidingswijze {
  max-width: 950px;
  margin: 0 auto;
  margin: 100 100px;
}

.subtitel_bereidingswijze {
  font-family: 'lato black';
  color:#00a19a;
  padding-top: 20px;
  padding-left: 20px;
}

.titel_bereidingswijze {
  font-family: 'boogaloo';
    font-size: 50px;
    margin-top: -20px;
    padding-left: 20px;
}

.stappen {
  list-style: none;
  padding-left: 20px;
  padding-bottom: 15px;
}

.stappen li {
  display: flex;
  align-items: flex-start;
  margin-bottom: 20px;
  border-radius: 8px;
  padding: 15px;
  
}

.nummer {
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 1.5rem;
  font-weight: bold;
  color: white;
  background-color: #A7B949;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  margin-right: 15px;
  flex-shrink: 0;
}

.stappen p {
  margin: 0;
  font-size: 1rem;
  color: #333;
}


.overkoepeling2 {
  background-color: white;
  margin-top: -10px;
}





.overkoepeling3 {
  background-color: #e6e6e6;
  margin-bottom: 100px;
  margin-top: 50px;
}


.container {
  max-width: 875px;
  margin: 20px auto;
  background: #fff;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.container h1 {
  font-size: 50px;
  text-align: center;
  margin-bottom: 20px;
  font-family: 'boogaloo';
}

.like img {
  width: 24px;
  height: 24px;
  transition: filter 0.3s ease; 
}

.like img.liked {
  filter: none;
}

.new-comment {
  display: flex;
  flex-direction: column;
  margin-bottom: 20px;
}

.new-comment textarea {
  width: 97%;
  height: 80px;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 8px;
  resize: none;
  margin-bottom: 10px;
}

.new-comment button {
  align-self: flex-end;
  background-color: #ff6b6b;
  color: #fff;
  border: none;
  padding: 10px 15px;
  border-radius: 8px;
  cursor: pointer;
}

.new-comment button:hover {
  background-color: #e05353;
}

.comment {
  background: #f9f9f9;
  border: 1px solid #ddd;
  border-radius: 8px;
  margin-bottom: 15px;
  padding: 15px;
}

.comment-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}

.profile {
  display: flex;
  align-items: center;
}

.profile-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: #ddd;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  margin-right: 10px;
}

.profile-name {
  font-weight: bold;
}

.like {
  cursor: pointer;
  display: flex;
  align-items: center;
}

.like img {
  width: 24px;
  height: 24px;
  margin-right: 5px;
}

.like-count {
  font-weight: bold;
  color: black;
}

.comment-body {
  margin-bottom: 10px;
}

.comment-footer {
  display: flex;
  align-items: center;
}

.comment-footer input {
  flex: 1;
  padding: 8px;
  border: 1px solid #ccc;
  border-radius: 8px;
}





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

.grijs{
  background-color: #e6e6e6;
  height: 50px;
  margin-top: -100px;
}



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;
}

.popup {
  display: none;  
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5); 
  justify-content: center;
  align-items: center;
  z-index: 9999; 
}

.popup-content {
  background-color: white;
  padding: 20px;
  border-radius: 5px;
  text-align: center;
  width: 300px;
  position: relative;
  z-index: 10000;  
}

.popup-content h2 {
  font-family: 'boogaloo';
  font-size: 30px;
}

.popup-content p button {
  font-family: 'lato';
}

.close-btn {
  position: absolute;
  top: 10px;
  right: 10px;
  font-size: 20px;
  cursor: pointer;
  z-index: 10001;  
}
