@charset "UTF-8";
/* CSS Document */

.container-fluid {
    max-width: 1200px;
    margin: 0 auto;
}

/* Gallery Styles */
.gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 10px;
    padding: 20px;
}

.img {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
}

.img img {
    width: 100%;
    height: 100%;
    transition: transform .2s;
    cursor: pointer;
}

.img:hover img {
    transform: scale(1.1);
}

.desc {
    position: absolute;
    bottom: 0;
    background-color: rgb(147 145 145 / 50%);
    color: white;
    width: 100%;
    padding: 5px;
    text-align: center;
}

/* Modal styles */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.8);
    z-index: 1000;
}

.modal-content {
    max-width: 90%;
    max-height: 90%;
    margin: 5% auto;
    display: block;
}

.close {
    position: absolute;
    top: 20px;
    right: 20px;
    color: white;
    font-size: 30px;
    cursor: pointer;
}
.feedback {
    padding: 15px;
    margin: 10px 0;
    border: 1px solid;
    border-radius: 5px;
    display: none;  /* Initially hidden */
}

.feedback.success {
	background-color: #d4edda;
   /*  background-color: #e6ffe6; light green */
    border-color: #66ff66; /* green */
    color: #006600; /* dark green */
}

.feedback.error {
	background-color: #f8d7da; 
   /* background-color: #ffe6e6;  light red */
    border-color: #ff6666; /* red */
    color: #990000; /* dark red */
}

@media (max-width: 599px) { 
    body.menu-open #main {
        width: calc(100% - 110px); /* Assuming the dropdown is around 250px wide */
        transition: width 0.3s ease-out;
        float: right; /* This pushes main content to the right */
    }

    body.menu-open #mobileMenuDropdown {
        float: left;
        width: 95px; /* Adjust according to the actual dropdown width */
    }

    /* Optional: Darken the content behind the menu to focus on the menu */
   /* body.menu-open #main {
        background-color: rgba(0,0,0,0.3);*/
    }
#bottomFooter {
    clear: both;
}
.error {
    color: red;
}
.spinner {
    width: 50px;
    height: 50px;
    margin: 0 auto;
    border: 8px solid rgba(0, 0, 0, 0.1); /* Light grey border */
    border-radius: 50%; /* To make it a circle */
    border-top-color: #3498db; /* Initial color for the top border */
	animation: spin 0.3s linear infinite, colorChange 1s linear infinite;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%); /* This centers the spinner */

}
@keyframes spin {
    0% {
        transform: rotate(0deg);
    }
   
    100% {
        transform: rotate(360deg);
    }
}

@keyframes colorChange {
    0%, 100% { border-top-color: #3498db; }
    25% { border-top-color: #e74c3c; }
    50% { border-top-color: #f39c12; }
    75% { border-top-color: #27ae60; }
}
.spinner-container {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%); /* centering the container in the viewport */
    display: none;  /* Initially hidden */
    text-align: center; /* centering the text */
	background-color: rgba(205 186 186 / 65%);  /* semi-transparent  */
    padding: 20px;
    border-radius: 10px;  /* rounded corners */
}

.spinner-container p {
    margin-top: 15px; /* some space between spinner and text */
    font-size: 18px;
    color: #555; /* or any color you want */
	animation: flash 2s infinite; /* adjust '2s' to make the flashing slower or faster */
}
@keyframes flash {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.2; }
}
