@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;700&display=swap');


* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body, html {
    
    font-family: 'Montserrat', Montserrat;
    display: flex;
    justify-content: center;
    align-items: center;
    background-image: url('https://storage.googleapis.com/msgsndr/hiAmAmvEWxFfSeDDnj1R/media/657e0b23a08dc5054c03386d.svg+xml');
}

.prayer-times-container {
    width: 80%;
    max-width: 1000px;
    background: #121212;
    margin: 0px;
    border-radius: 8px;
    overflow: hidden;
    color: #fff;
}

header {
    padding: 20px 0;
    text-align: center;
}





/* Existing styles... */

.section-title {
    text-align: center;
    font-size: 1.5em;
    color: white;
    padding: 20px 0;
    background-color: #222;
    width: 100%; /* Ensuring full width */
}

.photo-section {
    display: flex;
    justify-content: center;
    flex-wrap: wrap; /* Allows items to wrap in smaller screens */
    margin-top: 20px;
    padding: 0 20px; /* Add padding for spacing */
    box-sizing: border-box; /* To include padding in width */
}

.photo-box {
    flex: 1 1 22%; /* Flex grow, shrink and basis */
    margin: 10px;
    border-radius: 1px;
    overflow: hidden;
    transition: box-shadow 0.3s ease-in-out;
}

.photo-box img {
    width: 100%;
    height: auto;
    display: block;
    border: 2px solid #000;
}

/* Responsive adjustments for smaller screens */
@media (max-width: 1024px) {
    .photo-box {
        flex-basis: 45%; /* Adjust for medium screens */
    }
}

@media (max-width: 768px) {
    .photo-box {
        flex-basis: 90%; /* Adjust for small screens */
    }
}

.current-time-container {
    text-align: center;
    padding: 0px;
    margin: 5px;
    font-size: 2em;
    background-color: #222;
    color: #fff;


}
.islamic-date{
font-szie: 1em;  
}



.prayer-times-display {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(750px, 1fr));
    gap: 10px;
    padding: 20px;
}

.prayer-time {
    padding: 30px;
    background: #1a1a1a;
    border-radius: 10px;
    text-align: center;
    font-size: 2.2em;
}

.live-indicator {
    height: 10px;
    width: 10px;
    background-color: red;
    border-radius: 50%;
    display: inline-block;
    margin-left: 5px;
    vertical-align: middle;
    animation: blink-animation 1s linear infinite;
}

@keyframes blink-animation {
    50% {
        opacity: 0;
    }
}

.prayer-time.next {
    background: #056307; /* Highlight color for the next prayer */
}
footer {
    padding: 10px 0;
    text-align: center;
    font-size: 0.9em;
}

@media (max-width: 768px) {
    .prayer-times-container {
        width: 95%;
    }
    .current-time-container {
        font-size: 2em;
    }
    .next-prayer-time {
        font-size: 1em;
    }
}
.prayer-times-container {
    display: flex; /* Use flexbox to lay out children horizontally */
    justify-content: center; /* Center children horizontally */
    flex-wrap: wrap; /* Wrap to next line if not enough space */
    background-color: #; /* Dark background for the whole container */
    padding: 10px;
    border-radius: 5px;
}

.prayer-time {
    background-color: #444; /* Slightly lighter background for each prayer time */
    color: white;
    margin: 0px; /* Adjust as needed for spacing */
    padding: 5px;
    border-radius: 10px;
    flex: 1; /* Allows each prayer time to grow and take up equal space */
    text-align: center; /* Center the text inside each prayer time */
}

.prayer-time.next {
    background-color: #056307; /* Highlight color for the next prayer */
  backround
}

/* Additional media query for responsiveness */
@media (max-width: 600px) {
    .prayer-times-container {
        flex-direction: column;
    }
}
/* Add this to your CSS file or within a style tag in the head of your HTML document */
.logo-container {
    position: fixed;  /* Use fixed or absolute positioning */
    left: 0;
    bottom: 20px;
    width: 100px;  /* Adjust the width as needed */
    height: auto;  /* This will maintain the aspect ratio of the image */
    padding: 10px; /* Add some padding if needed */
    z-index: 10;   /* Ensure the logo sits above other elements */
}

.logo {
    display: block; /* This can help remove any extra space below the image */
    width: 30%;    /* This will make the logo fill the container */
    height: auto;   /* This will maintain the aspect ratio of the image */
}
@keyframes flashRed {
    0% { background-color: red; }
    50% { background-color: transparent; }
    100% { background-color: red; }
}

.flashing {
    animation: flashRed 1s infinite;
}

  .next-prayer-time{
    padding: 25px;
    background: #2a2a2a;
    margin: 10px;
    text-align: center;
    font-size: 1.5em;
    border-radius: 5px;
    color: #fff;
}
  }
  

 
  }
  
