.card-container {
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
}

.card img {
  max-width: 100%;
  height: auto;
}

.card {
    position: relative;
    width: 200px;
    height: 320px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 0 20px hsl(60, 1%, 58%);
    transition: transform 0,4s ease;
    -webkit-transition: tranform 0,4s ease;
    -moz-transition: transform 0,4s ease;
    -ms-transition: transform 0,4s ease;
    -o-transition: transform 0,4s ease;
}

.card:hover {
    transform: scale(1.1);
}

.card img {

width: 100%;
height: 100%;
object-fit: cover;
}

.cardinfo {
    position: absolute;
    bottom: 0;
    width: 100%;
    padding: 10px;
    background: hsl(0, 3%, 20%);
    opacity: 70%;
    color: white;
    transform: translateY(100%);
    transition: transform 0.4s ease;
}

.card:hover .cardinfo {
    transform: translateY(0%);
}

.modal {
  display: none;
  position: fixed;
  z-index: 100;
  left: 0; top: 0;
  width: 100%;
  height: 100%;
  background-color: #5a5757;
}

.modal-content {
  background-color: #222;
  color: #fff;
  margin: 10% auto;
  padding: 20px;
  border-radius: 8px;
  width: 80%;
  max-width: 400px;
}

.close {
  float: right;
  font-size: 28px;
  cursor: pointer;
}

.modal {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.75);
  z-index: 9999;
}

.modal-content {
  background: #121212;
  width: 90%;
  max-width: 420px;
  margin: 10% auto;
  padding: 25px;
  border-radius: 14px;
  box-shadow: 0 0 30px rgba(0,0,0,0.6);
  animation: pop 0.3s ease;
}

@keyframes pop {
  from { transform: scale(0.9); opacity: 0 }
  to { transform: scale(1); opacity: 1 }
}

.modal-content h2 {
  text-align: center;
  margin-bottom: 20px;
  letter-spacing: 1px;
}

#kritikForm input,
#kritikForm textarea {
  width: 100%;
  background: #1e1e1e;
  border: 1px solid #333;
  color: white;
  padding: 10px 12px;
  border-radius: 8px;
  margin-bottom: 12px;
  font-size: 14px;
}

#kritikForm input:focus,
#kritikForm textarea:focus {
  outline: none;
  border-color: #0d6efd;
  box-shadow: 0 0 0 2px rgba(13,110,253,0.25);
}

#submitBtn {
  width: 100%;
  padding: 10px;
  background: #0d6efd;
  border: none;
  border-radius: 8px;
  color: white;
  font-weight: bold;
  letter-spacing: 1px;
  transition: 0.2s;
}

#submitBtn:hover {
  background: #0b5ed7;
}

.close {
  float: right;
  font-size: 24px;
  cursor: pointer;
  color: #aaa;
}

.close:hover {
  color: white;
}


.navhome {
  color: white;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
}

.navhome:hover {
  transform: scale(1.1);
}

.navour {
  color: white;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
}

.navour:hover {
  transform: scale(1.1);
}

.navrep {
  color: white;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
}

.navrep:hover {
  transform: scale(1.1);
}

.navjoin {
  color: white;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
}

.navjoin:hover {
  transform: scale(1.1);
}

.slideshow {
  width: 100%;
  height: 250px;
  overflow: hidden;
  margin: auto;
}

.slides {
  display: flex;
  width: calc(400px * 10);
  animation: slide 20s infinite;
}

.slides img {
  width: 100%;
  height: 250px;
  object-fit: cover;
}

@keyframes slide {
  0%   { transform: translateX(-0); }
  10%  { transform: translateX(-400px); }
  20%  { transform: translateX(-800px); }
  30%  { transform: translateX(-1200px); }
  40%  { transform: translateX(-1600px); }
  50%  { transform: translateX(-2000px); }
  60%  { transform: translateX(-2400px); }
  70%  { transform: translateX(-2735px); }
}
