/* =========================
   RESET
========================= */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

/* =========================
   BODY
========================= */
body {
    background-color: #5a0f1c;
    color: #f5e6d3;
    font-family: Arial, sans-serif;
    line-height: 1.5;
}

/* =========================
   CONTAINER
========================= */
.container {
    min-height: 80vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: 100%;
    max-width: 900px;
    margin: 40px auto;
    text-align: center;
}

/* =========================
   HEADINGS & TEXT
========================= */
h1 {
    margin-bottom: 20px;
}

h2 {
    margin: 20px 0 10px;
    text-decoration: underline;
}

p {
    margin-bottom: 10px;
}

/* =========================
   INPUTS & BUTTONS
========================= */
input[type="password"],
input[type="file"],
button {
    padding: 12px;
    margin: 10px 0;
    border-radius: 8px;
    border: none;
    width: 100%;
    max-width: 300px;
}

button {
    background-color: #8c1c2e;
    color: #f5e6d3;
    cursor: pointer;
    transition: 0.3s;
    font-size: 16px;
}

button:hover {
    background-color: #a3263d;
}

/* =========================
   LINKS
========================= */
a {
    color: #f5e6d3;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

/* =========================
   LOGIN IMAGE
========================= */
.login-image {
    display: block;
    margin: 20px auto;
    max-width: 40%;
    height: auto;
}

/* =========================
   DASHBOARD MENU
========================= */
.menu {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    margin-top: 40px;
}

.menu-button {
    display: block;
    width: 250px;
    padding: 15px;
    background-color: #8c1c2e;
    color: #f5e6d3;
    text-align: center;
    border-radius: 12px;
    font-size: 18px;
    transition: 0.3s;
}

.menu-button:hover {
    background-color: #a3263d;
    transform: scale(1.05);
}

.logout {
    background-color: #444;
}

/* =========================
   ANREISE IMAGE
========================= */

.anreise {
    width: 100%;
    max-width: 800px;
    border-radius: 12px;
    margin: 20px 0;
    text-align: center;
}

/* =========================
   GALLERY GRID
========================= */
.gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 15px;
    margin-top: 20px;
}

/* =========================
   GALLERY ITEM
========================= */
.gallery-item {
    background-color: #6e1625;
    padding: 8px;
    border-radius: 10px;
    transition: 0.2s;
}

.gallery-item:hover {
    transform: scale(1.03);
}

/* =========================
   GALLERY IMAGE
========================= */
.gallery img {
    width: 100%;
    height: 150px;
    object-fit: cover;
    border-radius: 8px;
}

/* =========================
   GALLERY ACTIONS
========================= */
.gallery-actions {
    display: flex;
    justify-content: space-between;
    margin-top: 5px;
}

.gallery-actions a {
    font-size: 12px;
}

/* =========================
   MOBILE OPTIMIZATION
========================= */
@media (max-width: 600px) {

    body {
        font-size: 18px;
    }

    .container {
        width: 95%;
        margin: 20px auto;
        padding: 10px;
    }

    h1 {
        font-size: 26px;
    }

    h2 {
        font-size: 20px;
    }

    p {
        font-size: 16px;
    }

    input[type="password"],
    button {
        width: 100%;
        max-width: none;
        font-size: 16px;
        padding: 14px;
    }

    .login-image {
        max-width: 100%
    }

    .menu-button {
        width: 100%;
        max-width: 300px;
        font-size: 18px;
    }

    .gallery {
        grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    }

    .gallery img {
        height: 120px;
    }
}

.day {
    margin-top: 40px;
    margin-bottom: 10px;
    font-size: 32px;
    font-family: 'Tartlers End', serif;

}

.card {
    background-color: #6e1625;
    padding: 20px;
    border-radius: 12px;
    margin: 15px 0;
    text-align: left;
}

.card ul {
    margin-top: 10px;
    padding-left: 20px;
}

.card li {
    margin-bottom: 8px;
}