
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    background-image: url("../images/bgfor.jpg");
    -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover;
    
  }
    


#content {
    padding: 20px;
    color: aliceblue;
    position: left;
   
}

.popup-hidden {
    display: none;
}

.popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
    z-index: 1000;
}

.popup-contents {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    z-index: 1001;
    text-align: center;
}

.popup-contents img {
    max-width: 100%;
    height: auto;
}

.popup-contents button {
    position: absolute;
    top: 10px; 
    right: 10px; 
    
    background: #376297;
    color: #fff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

.popup-contents button:hover {
    background: hsl(0, 100%, 35%);
}


.header {
    position: relative;
    width: 100%;
    padding: 10px 0;
}


.logo {
    position: absolute;
    top: 10px;
    left: 30px;
    width: 100px;
}


.whatsapp {
    position: absolute;
    top: 10px;
    right: 50px;
    width: 50px;
}
.facebook {
    position: absolute;
    top: 13px;
    right: 250px;
    width: 30px;
}

.instagram {
    position: absolute;
    top: 15px;
    right: 200px;
    width: 30px;
}

.youtube {
    position: absolute;
    top: 10px;
    right: 150px;
    width: 30px;
}

  .twitter{
    position: absolute;
    top: 10px;
    right: 100px;
    width: 30px;
}




  .thumbnail-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 150px;
    margin: 40px;
}

.thumbnail-container img {
    width: 300px;
    height: 200px;
    object-fit: cover;
    cursor: pointer;
    border-radius: 10px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.thumbnail {
    text-align: center;
    width: 200px;
    height: 100px;
}


.popup-hidden {
    display: none;
}

.popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 999;
}

.popup-content {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1000;
    background-color: white;
    padding: 10px;
    border-radius: 10px;
    text-align: center;
}

.popup-content img {
    
    height: 80%;
    max-width: 600px;
    border-radius: 10px;
}

.custom-btn {
    cursor: pointer;
    padding: 10px 20px;
    background-color: #007bff;
    color: white;
    border: none;
    border-radius: 5px;
    margin: 10px;
}

.custom-btn:hover {
    background-color: #0056b3;
}


@media (max-width: 768px) {
    .thumbnail-container {
        flex-wrap: wrap;
    }

    .popup-content img {
        max-width: 80%;
     
    }
}


.thumbnail-container img:hover {
    transform: scale(1.1);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3); 
}

.thumbnail-container img:active {
    transform: scale(1.05); 
}


.carousel-control {
    position: absolute;
    background-color: transparent;
    border: none;
    color: #3a0101;
    font-size: 30px;
    cursor: pointer;
    top: 50%; 
    transform: translateY(-50%);
}

.prev-icon {
    left: 10px;
}

.next-icon {
    right: 10px;
}

.close-icon {
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 30px;
    background: transparent;
    border: none;
    color: hsl(0, 2%, 9%);
    cursor: pointer;
}

.close-icon:hover {
    color: red;
}

#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #fff;
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
}

.loader {
    border: 8px solid #f3f3f3;
    border-radius: 50%;
    border-top: 8px solid #3498db;
    width: 50px;
    height: 50px;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

#preloader.hidden {
    display: none;
}




@media (max-width: 768px) {

    .popup-contents{
        padding: 5px;
        width: 90%;
        max-width: 90%;
    }


    .thumbnail-container {
        gap: 90px;
    }

    .popup-content {
        padding: 5px;
        width: 90%;
        max-width: 90%;
    }

    .popup-content img {
        max-width: 100%;
        max-height: 70vh;
    }

    .logo {
        width: 80px;
        left: 20px;
    }

    .facebook {
        position: absolute;
        top: 10px;
        right: 10px;
        display: flex;
        gap: 10px;
    }

    .facebook {
        width: 25px;
    }
    .instagram {
        position: absolute;
        top: 10px;
        right: 10px;
        display: flex;
        gap: 10px;
    }

    .instagram {
        width: 25px;
    }
    .youtube {
        position: absolute;
        top: 10px;
        right: 10px;
        display: flex;
        gap: 10px;
    }

    .youtube {
        width: 25px;
    }
    .twitter {
        position: absolute;
        top: 10px;
        right: 10px;
        display: flex;
        gap: 10px;
    }

    .twitter {
        width: 25px;
    }
    .whatsapp {
        position: absolute;
        top: 10px;
        right: 10px;
        display: flex;
        gap: 10px;
    }

    .whatsapp {
        width: 25px;
    }
}

@media (max-width: 480px) {
    .logo {
        width: 60px;
        left: 10px;
    }

    .facebook {
        top: 8px;
        right: 100px;
    }
    .instagram {
        top: 8px;
        right: 80px;
    }
    .youtube {
        top: 6px;
        right: 60px;
    }

    .twitter {
        top: 6px;
        right: 40px;
    }
    .whatsapp {
        top: 8px;
        right: 20px;
    }

    .whatsapp {
        width: 30px;
    }

    .thumbnail-container {
        gap: 150px; 
    }

    .thumbnail-container img {
        max-width: 100%;
    }
}