/* Layout adjustments */
html, body {
    height: 100%;
    margin: 0;
    display: flex;
    flex-direction: column;
}

main {
    flex-grow: 1;
}

/* Header */
.navbar {
    background-color: #333;
    padding: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.navbar-brand svg, .info-logo svg, .footer-logo svg {
    height: 40px;
}

/* Offcanvas button */
.offcanvas-btn {
    background: transparent;
    border: none;
}
.offcanvas-icon {
    display: block;
    width: 30px;
    height: 3px;
    background-color: #fff;
    margin: 4px 0;
}

/* Info button */
.info-btn {
    background: transparent;
    border: none;
    position: fixed;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
}

/* Footer */
.footer {
    background-color: #333;
    color: white;
    padding: 2rem;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    position: relative;
    width: 100%;
    bottom: 0;
}

.footer .footer-logo svg {
    height: 40px;
}

/* Offcanvas styling */
.offcanvas-body .nav-link {
    display: block;
    margin: 10px 0;
    color: #C5AA58;
    text-decoration: none;
}
.vote-btn {
    width: 100%;
    font-size: 1.1rem;
    margin-top: 10px;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
}

.card {
    margin-bottom: 20px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.card:hover {
    transform: scale(1.03);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
}


.modal-content {
    border-radius: 15px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.modal-header {
    border-bottom: none;
    border-radius: 15px 15px 0 0;
    background-color: #C5AA58;
    color: #fff;
}

.modal-header .btn-close {
    background-color: rgba(255, 255, 255, 0.5);
}

.modal-body {
    font-size: 1.2rem;
    padding: 20px 30px;
    color: #333;
}

.modal-footer {
    border-top: none;
    border-radius: 0 0 15px 15px;
}

.modal-footer .btn {
    background-color: #C5AA58;
    color: white;
    border-radius: 30px;
    padding: 10px 20px;
    font-size: 1.1rem;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.modal-footer .btn:hover {
    background-color: #b09c51;
    transform: scale(1.05);
}

/* Animacje */
.modal.fade .modal-dialog {
    transform: translate(0, -50%);
    transition: transform 0.3s ease-out;
}

.modal.show .modal-dialog {
    transform: translate(0, 0);
}

body {
    background-color: #fff;
    color: #333;
    line-height: 1.6;
    transition: background-color 0.3s, color 0.3s;
    font-size: 1rem;
    font-family: Arial, sans-serif;
    padding: 0 1rem;
}

.container {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 1rem;
}

.gallery-container {
    padding: 2rem 0;
}

.gallery-container h1 {
    font-size: 2.2rem;
    font-weight: bold;
    text-align: center;
    margin-bottom: 1rem;
}

.gallery-container p {
    text-align: center;
    font-size: 1.2rem;
}

.card {
    border-radius: 10px;
    transition: box-shadow 0.3s;
}

.card:hover {
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.card-body {
    padding: 1rem;
}

.card-title {
    font-size: 1.4rem;
    font-weight: bold;
}

.btn {
    background-color: #C5AA58;
    color: white;
    padding: 5px 15px;
    font-size: 1.1rem;
    border-radius: 5px;
}

.btn:hover {
    background-color: #b09c51;
}

.footer {
    padding: 2rem 0;
    text-align: center;
}

.offcanvas-header {
    background-color: #C5AA58;
    color: white;
    padding: 1.5rem;
}
.user-container {
    margin-bottom: 40px;
    padding: 20px;
    border: 1px solid #ddd;
    border-radius: 10px;
    background-color: #f9f9f9;
}
.gallery-container {
    margin-top: 20px;
}
.vote-info {
    background-color: #f1f1f1;
    padding: 15px;
    border-radius: 5px;
    margin-bottom: 20px;
}