/* static/styles.css */
.body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.container {
    max-width: 100%; /* Set a maximum width for the container */
    margin-top: 0; /* Center the container */
    padding-bottom: 3rem; /* Add padding at the bottom to ensure enough space for scrolling */
}

.custom-card-spacing {
    margin-bottom: 0.25rem; /* Adjust this value as needed */
}

.center-text {
    text-align: center;
}

.form-group {
    margin-bottom: 1rem;
}

.form-control {
    width: 100%;
    padding: 0.5rem;
    box-sizing: border-box;
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%; /* Ensure it takes full width */
    padding: 0.5rem 1rem; /* Adjust padding as needed */
    margin: 0; /* Remove any default margin */
}

.modal-header img {
    margin-left: auto;
    margin-right: 0; /* Ensure no right margin */
}

.modal-dialog {
    max-width: 100%;
    margin: 30px auto;
}

.modal-content {
    max-height: calc(100vh - 60px);
    overflow-y: auto;
}
/* Ensure the delete button is at the bottom of the modal */
.modal-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;

.qr-code {
    margin-left: auto;
    margin-right: 3%; /* Adjust this value to push the QR code further to the right */
}

.btn-primary {
    display: grid;
    place-items: center; /* Centers the button both horizontally and vertically */
    height: auto; /* Example height to center vertically, adjust as needed */
}


.btn-primary:hover {
    background-color: #45a049;
}

.alert {
    list-style-type: none;
    padding: 0;
    margin: 1rem 0;
    color: red;
}

.card-body {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center; /* Center text */
}

:root {
    font-size: 16px; /* Default font size */
}

/* Media Queries */
@media only screen and (max-width: 1200px) {
    :root {
        font-size: 22px; /* Slightly smaller font size for large screens */
    }
}

@media only screen and (max-width: 992px) {
    :root {
        font-size: 21px; /* Medium screens */
    }
}

@media only screen and (max-width: 768px) {
    :root {
        font-size: 20px; /* Small screens */
    }

    .header {
        padding: 0.5rem; /* Reduce padding on smaller screens */
        flex-direction: column; /* Stack elements vertically */
    }

    .header h1 {
        font-size: 2.5rem; /* Adjust font size for smaller screens */
    }

    .header h2 {
        font-size: 16px; /* Adjust font size for smaller screens */
        padding: 0;
    }

    .modheader h1 {
        font-size: 1rem;
    }

    .modheader h2 {
        font-size: 1rem;
        margin-bottom: 0;
        line-height: 1.5;
    }
    
    .modheader h3 {
        font-size: small;
        margin-bottom: 0;
        line-height: 1.5;
    }

    .logo {
        width: 120px; /* Reduce logo size on smaller screens */
    }

    .user-email {
        font-size: 8px; /* Adjust font size for smaller screens */
    }

    .delete-form {
        position: absolute;
        bottom: 15px;
        left: 15px;
    }
    
    .modal-footer {
        flex-direction: column;
    }

    .container {
        max-width: 100%; /* Set a maximum width for the container */
        margin-top: 0; /* Center the container */
        padding-bottom: 3rem; /* Add padding at the bottom to ensure enough space for scrolling */
    }

    .delete-btn {
        margin-left: 1rem; /* Adjust as needed */
        margin-bottom: 1rem; /* Adjust as needed */
        width: auto;
    }

}
    
}

@media only screen and (max-width: 576px) {
    :root {
        font-size: 18px; /* Medium screens */
    }
    .img-fluid {
        max-width: 150%;
        height: auto;
    }

    .user-email {
        font-size: 3pt; /* Adjust font size for smaller screens */
    }

    .logo {
        width: 100px; /* Reduce logo size on smaller screens */
    }
}

/* Print styles */
@media print {
    body {
        font-size: 12pt; /* Font size for printed pages */
    }

    .header {
        display: none; /* Hide header in print */
    }
}
.sidebar {
    height: 100vh; /* Full height */
    padding: 1rem;
    background-color: #ffffff; /* Set sidebar background to white */
    position: fixed; /* Change to fixed to prevent overlap */
    top: 80px; /* Adjust this to the height of your header */
    left: 0;
    width: 220px;
    overflow-y: auto; /* Enable scrolling if the content is taller than the screen */
}

.header {
    background: url('/static/header-background.svg') no-repeat center center;
    background-size: cover;
    color: white;
    padding: 1rem;
    margin-bottom: 5%;
    text-align: center;
    position: fixed;
    z-index: 1000;  /* Ensure this is on top of other elements */
    width: 100%;  /* Ensure the header spans the full width */
    height: auto; /* Use auto height to scale based on content */
    display: flex;
    align-items: center;
    justify-content: space-between; /* Adjust alignment for better spacing */
    flex-direction: column; /* Allows vertical alignment */
    box-sizing: border-box; /* Include padding in the element's total width and height */
}

.header h1 {
    font-size: 1.5rem; /* Use rem units for scalable font size */
    margin: 0;
    padding: 0.5rem 0; /* Add padding for better spacing */
}

.logo {
    height: auto;
    width: 200px; /* Set a max width for the logo */
    max-width: 100%; /* Ensure the logo does not exceed its container */
    margin-bottom: 0.2rem; /* Add margin for spacing */
    position: relative;
}

.float-right {
    float: right;
    margin-top: -40px; /* Adjust as necessary */
    font-size: 14px; /* Relative size */
    font-weight: bold;
}

.user-email {
    font-size: 12px;
    font-weight: bold;
    position: absolute;
    margin-top: .5rem;
    bottom: .125rem; /* Adjust as necessary */
    right: .25rem; /* Adjust as necessary */
}

.navbar-bottom {
    position: fixed;
    bottom: 0;
    width: 100%;
    background-color: #ffffff; /* Set navbar background to white */
    border-top: 1px solid #ccc; /* Add a border for separation */
}

.navbar-nav {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    white-space: nowrap;
}

.navbar-nav .nav-item {
    flex: 0 0 auto;
}

/* Centering utility class */
.centered-container {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh; /* Ensure full height */
    padding: 2rem; /* Add padding for visual spacing */
    box-sizing: border-box; /* Include padding in the element's total width and height */
}

.centered-container .card {
    margin-top: 8%; /* Adjust this value to move the card up or down */
}

/* Login box specific styles */
.login-box {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh; /* Ensure full height */
    padding: 2rem; /* Add padding for visual spacing */
    box-sizing: border-box; /* Include padding in the element's total width and height */
    margin-top: 2%; /* Adjust this value to move the entire container up or down */
}

.login-container {
    position: fixed;
    top: 20%; /* Move the container down by 20% relative to the viewport */
    left: 50%;
    transform: translateX(-50%); /* Center the container horizontally */
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem; /* Add padding for visual spacing */
    box-sizing: border-box; /* Include padding in the element's total width and height */
    max-width: 400px; /* Set a maximum width for the container */
    width: 100%; /* Full width */
}

/* Custom button and menu link styles */
.custom-btn {
    background-color: #002868; /* Change this to your desired color */
    color: white;
}

/* Jumbotron card specific styles */
.jumbotron-card {
    margin: 10px 0;
    padding: 10px;
    color: white;
    border-radius: 1px;
}
.custom-card-img {
    width: 50%;  /* Ensures the image fills the card's width */
    height: auto; /* Maintains the aspect ratio */
    max-height: 300px; /* Set the maximum height as needed */
    object-fit: cover; /* Ensures the image covers the entire area */
}

.jumbotron-card h2 {
    font-size: 2rem;
    font-weight: bold;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.jumbotron-card p {
    font-size: 1.2rem;
    color: #6C6C6C;
}

.jumbotron-card .btn {
    background-color: #BF0A30; /* Red color for the button */
    border: none;
}

.jumbotron-card .btn:hover {
    background-color: #9F0A30; /* Darker red on hover */
}

.custom-btn:hover {
    background-color: #218838; /* Change this to your desired hover color */
}

.nav-link.custom-link {
    color: #002868; /* Change this to your desired color */
}

.nav-link.custom-link:hover {
    color: #0056b3; /* Change this to your desired hover color */
}

.card-container {
    margin-bottom: 2rem; /* Adjust this value as needed */
    
}

.card {
    margin: 0%; /* Add margin to separate the cards */
    height: auto; /* Set a smaller height for the cards */
    width: 100%; /* Adjust width to be smaller */
    display: flex;
    padding-top: 5%;
    padding-bottom: 5%;
    align-items: center;
    justify-content: center;
    flex-direction: column; /* Ensure the image and text stack vertically */

}

.img-fluid {
    max-width: 100%;
    height: auto;
}

.img-fluid-custom {
    max-width: 300px;
    max-height: 90%;
}

.card-img {
    width: 100%; /* Adjust width to fit the card */
    height: 100%; /* Ensure the image takes the full height of the card */
    object-fit: cover;
    margin: 10px; /* Add margin to separate the card images */
}        
.content {
    padding: 1rem;
    padding-top: 130px;
    min-height: calc(100vh - 150px); /* Ensure the content area is at least the height of the viewport minus the header and footer */
    display: flex;
    justify-content: center; /* Center the content horizontally */
    box-sizing: border-box; /* Include padding and border in the element's total width and height */
}

.main-content {
    width: 100%;
    max-width: 800px; /* Set a max width for the main content area */
}

.scrolling-wrapper {
    display: flex;
    overflow-x: auto;
    white-space: nowrap;
}

.jumbotron-card {
    flex: 0 0 auto;
    width: 400px;
    margin-right: 20px;
}
.card-img-top {
    width: 100%;
    height: auto;
    margin-right: 20px;
    object-fit: cover; /* Ensure the image covers the entire area */
    border-radius: 0.25rem; /* Optional: add some border radius for better appearance */
}

