/* Alapbeállítások */
body.portfolio-body {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

header.portfolio-header {
  background-color: #ffffff;
  color: #555;
  text-align: center;
  padding: 20px 20px;
}

header.portfolio-header h1 {
  margin: 0;
  margin-top: 100px;
  margin-bottom: 80px;
  font-size: 2.5rem;
  font-weight: 500;
  letter-spacing: 1px;
  color: #fd3e81;
}
.portfolio-header-link {
  color: #fd3e81;
  text-decoration: none;
  font-weight: 700;
}

.portfolio-header-link:hover {
  text-decoration: underline;
}
.spacer {
    height: 250px; /* Üres hely a görgetéshez */
}
/* Galéria stílusok */
/* Portfolio galéria */
.gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 400px));
    gap: 80px;
    padding: 20px, 58px;
    justify-content: center;
    margin: 0 auto;
    max-width: 1400px;
    margin-bottom: 80px;
    flex-direction: column;
  }
  
  .gallery-item {
    overflow: hidden;
    border: 0px solid #ccc;
    border-radius: 0px;
  }
  
/* A képek rugalmas kezelése, hogy megfelelően kitöltsék a csempét */
.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* A képek kitöltik a csempét, de nem torzulnak */
    display: block;
  }

  .gallery-image {
    width: 100%;
    height: auto;
    display: block;
    cursor: pointer;
    transition: transform 0.3s ease;
  }
  
  .gallery-image:hover {
    transform: scale(1.05); /* Hover effekt */
  }
  

  

/* Modal stílusok */
.modal {
  display: none; /* Rejtett alapértelmezésben */
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.8); /* Fekete áttetsző háttér */
}

.modal-content {
  display: block;
  margin: 10% auto;
  max-width: 80%;
  border: 2px solid white;
  border-radius: 00px;
}

.close {
  position: absolute;
  top: 20px;
  right: 30px;
  color: white;
  font-size: 2rem;
  font-weight: bold;
  cursor: pointer;
}
  /* Reszponzív beállítások: Ha kisebb képernyő van, akkor kevesebb oszlopot használjunk */
  @media (max-width: 1024px) {
    .gallery {
      grid-template-columns: repeat(2, 1fr); /* Két oszlop kisebb képernyőkön */
    }
    .text {
      padding: 10px;
    }
  
    .text h2 {
      margin-top: 80px;
      font-size: 22px;
    }
  }
  
  @media (max-width: 768px) {
    .gallery {
      grid-template-columns: 1fr; /* Egy oszlop mobilon */
    }
    .porfolio-header text {
      padding: 10px;
    }
  
    .portfolio-header p {
      margin-top: 80px;
      font-size: 18px;
    }
  }
/* Cookie sáv stílusai */
.cookie-consent {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background-color: #333;
  color: white;
  padding: 15px;
  text-align: center;
  font-size: 16px;
  z-index: 9999;
  display: none; /* Alapértelmezés szerint rejtve van */
}

.cookie-consent p {
  margin: 0;
  padding: 0;
}

.cookie-consent a {
  color: #fd3e81;
  text-decoration: none;
}

.cookie-consent a:hover {
  text-decoration: underline;
}

.cookie-consent .accept-cookies {
  background-color: #fd3e81;
  color: white;
  padding: 10px 20px;
  border: none;
  cursor: pointer;
  font-size: 14px;
  margin-top: 10px;
}

.cookie-consent .accept-cookies:hover {
  background-color: #fd3e81;
}
.nav-menu a.active {
  color: #ffffff;
  font-weight: bold;
}

@keyframes spin {
    from {
      transform: rotate(0deg);
    }
    to {
      transform: rotate(360deg);
    }
}