/* foto-table.css */
/* General Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: white;
    background-color: darkblue;
    padding: 10px;
}
/* Header */
header {
    color: white;
    background-color: darkblue;
    font-size: 40px;
    font-weight: bold;
    text-align: center;
    padding: 10px 0;
}

/* Caption 28.02.2026 */
.caption { 
    margin-top: 8px; 
    font-size: 18px; 
    font-weight: bold; 
    color: white; 
}

/* Navigation */
nav {
    background: darkblue;
    color: white;
    padding: 10px;
    text-align: center;
}
nav a {
    color: white;
    text-decoration: none;
    margin: 0 10px;
    font-size: 1rem;
}
nav a:hover {
    text-decoration: underline;
}
/* Main Content */
main {
    max-width: 1200px;
    margin: 20px auto;
    background: darkblue;
    padding: 20px;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}
/* Footer */
footer {
    text-align: center;
    padding: 10px 0;
    background: darkblue;
    color: white;
    position: fixed;
    bottom: 0;
    width: 100%;
}
/* Buttons */
button {
    background: #007BFF;
    color: #fff;
    padding: 10px 15px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1rem;
}
button:hover {
    background: #0056b3;
}
/* Forms */
input, textarea {
    width: 100%;
    padding: 10px;
    margin: 10px 0;
    border: 1px solid #ccc;
    border-radius: 5px;
}
input:focus, textarea:focus {
    border-color: #007BFF;
    outline: none;
}
.grid-container {
    background-color: darkblue;          
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1px;
    padding: 10px;
    color: white;
    justify-items: center;
    vertical-align: bottom;
  }
  .grid-item {
    background: darkblue;
    color: white;
    text-align: center;
    border: 1px solid darkblue;
    border-radius: 8px;
    cursor:pointer;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.196);
  }
  .grid-item img {
    width: auto;
    height: 200px;
    object-fit	: cover;
    border: 2px solid darkblue;
    transition: transform 0.3s;width: 100%;
  }
  .grid-item a {
    display: block;
    padding: 10px;
    color: white;
    text-decoration: none;
    font-weight: bold;
  }
  .grid-item a:hover {
    transform: scale(1.2);
    color: darkblue;
  }
/* Responsive Design */
/* Mobil */
  @media (max-width: 480px) {
    .grid-container {
     /* grid-template-columns: repeat(1, 1fr); */
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    }
    .grid-item img {
        width: 300px;
        height: auto;
    }
  }
