/*
Theme Name: Twenty Twenty-Five Child
Template: twentytwentyfive
*/

body {
    /* font-size: 100%; */
}

header {
    background: #f0f0f0;
}

.wp-block-site-title a {
    display: grid;
}

.wp-block-site-title a small {
    color: #999;
    font-weight: 400;
}

body:not(.logged-in) .logout.wp-block-navigation-link {
    display: none;
}


/* Container für die Galerie */

.home .mpp-g.mpp-item-list.mpp-galleries-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    /* 3 Spalten */
    gap: 15px;
    /* Abstand zwischen den Items */
}


/* Optional: Bilder und Links anpassen */

.home .mpp-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.home .mpp-item-entry img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 5px;
    /* optional, abgerundete Ecken */
}

.mpp-item-title,
.mpp-gallery-title {
    margin-top: 8px;
    /* font-size: 80%; */
}


/* Responsive: 2 Spalten auf kleineren Bildschirmen */

@media (max-width: 900px) {
    .home .mpp-g.mpp-item-list.mpp-galleries-list {
        grid-template-columns: repeat(2, 1fr);
    }
}


/* Responsive: 1 Spalte auf Handys */

@media (max-width: 600px) {
    .home .mpp-g.mpp-item-list.mpp-galleries-list {
        grid-template-columns: 1fr;
    }
}

.mpp-gallery-actions {
    font-size: 90%;
}


/* Profil */

.mpp-editable-gallery-type,
.mpp-editable-gallery-status {
    display: none !important;
}

#buddypress #header-cover-image {
    background-color: #f0f0f0;
}

.mpp-container strong {
    /* font-size: 80%; */
}


/* login form */


/* LoginPress Styling für Startseite */


/* Stil für das Login-Formular auf der Startseite */

.custom-login-form {
    max-width: 400px;
    margin: 2rem auto;
    padding: 2rem;
    background-color: #fff;
    border: 1px solid #ccc;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.custom-login-form .loginform {
    margin-bottom: 1rem;
}

.custom-login-form .loginform input[type="text"],
.custom-login-form .loginform input[type="password"] {
    width: 100%;
    padding: 10px;
    margin: 10px 0;
    border: 1px solid #ccc;
    border-radius: 4px;
}

.custom-login-form .loginform input[type="submit"] {
    width: 100%;
    padding: 10px;
    background-color: #0073aa;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

.custom-login-form .loginform input[type="submit"]:hover {
    background-color: #005177;
}

.mpp-gallery-id {
    font-size: 0.8em;
    color: #666;
}


/* footer */

footer {
    display: none;
}