﻿body {
    padding-top: 50px;
    padding-bottom: 20px;
}

/* Set padding to keep content from hitting the edges */
.body-content {
    padding-left: 15px;
    padding-right: 15px;
}

/* Override the default bootstrap behavior where horizontal description lists 
   will truncate terms that are too long to fit in the left column 
*/
.dl-horizontal dt {
    white-space: normal;
}

/* Set width on the form input elements since they're 100% wide by default */
input,
select,
textarea {
    max-width: 280px;
}

.user-partial-view {
    padding: 20px;
    border: 1px solid #ddd;
    border-radius: 8px;
    background-color: #f9f9f9;
}

.title-container {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.logo-img {
    width: 150px;
    height: auto;
    margin-right: 15px; /* Space between the logo and the title */
}

.board-img {
    width: 400px;
    height: auto;
    margin-right: 15px; /* Space between the logo and the title */
}

.user-title {
    font-size: 36px;
    text-align: center;
    margin: 0;
}
.user-title2 {
    font-size: 24px;
    text-align: center;
    margin-top: 6px;
}
.date {
    font-size: 14px;
    color: #777;
    margin-top: 5px;
    text-align: center;
}
.gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1rem;
}

.gallery img {
    width: 100%;
    height: auto; /* keeps aspect ratio */
    display: block;
    border-radius: 8px; /* optional nicety */
}