﻿/* General styles */
body {
    font-family: 'Helvetica Neue', Arial, sans-serif;
    background-color: rgba(255, 255, 255, 0.1); /* Lighten the body background color */
    margin: 0;
    padding: 0;
    box-sizing: border-box; /* Ensure the box-sizing is applied to all elements */
}

*, *::before, *::after {
    box-sizing: inherit; /* Inherit box-sizing from the body */
}

.background-image {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("/images/background/main_background.jpg");
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    z-index: -1; /* Ensure the background image stays behind the content */
}

.container, header {
    width: 80%;
    max-width: 1200px;
    padding: 20px;
    margin: 0 auto; /* Center the content */
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.container {
    background-color: rgba(255, 255, 255, 0.5);
    margin-top: 0;
}

/* Header styles */
header {
    text-align: center;
    background-color: rgba(255, 162, 107, 0.5); /* Header background color */
    color: #ffffff; /* Text color white to contrast with the background */
    padding: 30px 0;
}

header h1 {
    margin: 0;
    font-family: 'Helvetica Neue', Arial, sans-serif;
}

nav ul {
    list-style: none;
    padding: 0;
    display: flex;
    justify-content: center;
    gap: 15px;
}

nav ul li {
    display: inline;
}

nav ul li a {
    text-decoration: none;
    color: #ffffff; /* Link color white */
    font-weight: bold;
}

nav ul li a:hover {
    color: #FFA26B;
}

/* Main content styles */
main {
    text-align: center;
}

section h2 {
    margin-top: 0;
    color: #333;
}

/* Cookies section styles */
.cookies {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); /* Responsive columns */
    gap: 20px;
}

@media (min-width: 1200px) {
    .cookies {
        grid-template-columns: repeat(4, 1fr); /* Max 4 columns wide */
    }
}

.page_selected {
    color: #5c3624;
}

.cookie-item {
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    padding: 10px;
    background-color: #fff;
    border: 0.5px solid #FFA26B; /* Add a border to each cookie item */
}

.cookie-item img {
    width: 100%;
    height: auto;
}

.cookie-item h3 {
    margin: 0 0 10px 0;
}

.cookie-item p {
    margin: 5px 0;
}

/* Table styles */
table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
    font-family: 'Helvetica Neue', Arial, sans-serif;
}

table, th, td {
    border: 1px solid #ddd;
}

th, td {
    padding: 10px;
    text-align: left;
}

th {
    background-color: #FFA26B; /* Match the accent color from your images */
    color: white;
}

/* Contact section styles */
section.contact p {
    font-size: 1.2em;
    margin: 10px 0;
}

/* About section styles */
section p {
    margin: 10px 0;
}

/* Adjusting link hover effects */
nav ul li a:hover, a:hover {
    color: #373737;
}
