/* Fælles styling for hele brians.nu */
body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    margin: 0;
    padding: 0;
    background-color: #f4f4f9;
    color: #333;
}

header {
    background: #2c3e50;
    color: #fff;
    padding: 20px 0;
    text-align: center;
}

header h1 {
    margin: 0;
}

nav {
    background: #34495e;
    text-align: center;
    padding: 10px;
}

nav a {
    color: white;
    text-decoration: none;
    margin: 0 15px;
    font-weight: bold;
}

nav a:hover {
    text-decoration: underline;
}

.container {
    max-width: 800px;
    margin: 30px auto;
    padding: 20px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

/* Index bokse */
.portal-grid {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 30px;
}

.portal-box {
    background: #fff;
    padding: 25px;
    border-left: 5px solid #3498db;
    border-radius: 4px;
    text-decoration: none;
    color: #333;
    transition: transform 0.2s, box-shadow 0.2s;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.portal-box:hover {
    transform: translateX(5px);
    box-shadow: 0 4px 10px rgba(0,0,0,0.15);
}

.portal-box h2 {
    margin: 0 0 10px 0;
    color: #2c3e50;
}

.placeholder-img {
    background: #ddd;
    width: 100%;
    height: 250px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 20px 0;
    color: #666;
    border-radius: 4px;
}

.price-list {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
}

.price-list th, .price-list td {
    border: 1px solid #ddd;
    padding: 12px;
    text-align: left;
}

.price-list th {
    background-color: #2c3e50;
    color: white;
}

form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

input, textarea, button {
    padding: 10px;
    font-size: 16px;
    border: 1px solid #ccc;
    border-radius: 4px;
}

button {
    background: #2c3e50;
    color: white;
    border: none;
    cursor: pointer;
}

button:hover {
    background: #34495e;
}

footer {
    text-align: center;
    padding: 20px;
    margin-top: 40px;
    font-size: 14px;
    color: #777;
}
.slideshow-container {
    position: relative;
    max-width: 100%;
    height: 300px; /* Ens højde for alle billeder */
    overflow: hidden;
    border-radius: 4px;
    margin: 20px 0;
}

.slide {
    display: none;
    position: absolute;
    width: 100%;
    height: 100%;
}

.slide-img {
    width: 100%;
    height: 100%;
    object-fit: contain; /* Fylder hele rammen uden at forvrænge */
    border-radius: 4px;
}