:root {
    --main-radius: 5px;
    --main-padding: 5px;
}

body {
    font-family: "Popins", sans-serif;
}
  

.container {
    display: grid;
    height: 100vh;
    grid-template-rows:.04fr;
    grid-template-areas:
       
        "footer footer footer footer";
    grid-gap: 0.2rem;
    font-weight: 800;
    text-transform: uppercase;
    font-size: 12px;
    color: #fdfafa;
    text-align: center;
  
}
h1{
    color: #333;
    margin-bottom: 60px;

}


footer {
    background: rgb(0, 0, 1);
    grid-area: footer;
    border-radius: var(--main-radius);
    padding-top: var(--main-padding);
}

  @media only screen and (max-width: 550px) {
    .container {
      
      grid-template-rows:4fr .4fr;
      grid-template-areas:
        "main"         
        "footer";
    }
  }
  
.footer {
    position: fixed;
    bottom: 0;
    width: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    padding: 1rem 0;
    text-align: center;
    z-index: 22;
}

.copyright {
    color: #FFFFFF;
    font-family: 'Trebuchet MS', sans-serif;
    font-size: 0.875rem;
}
  
/* Add these styles at the top of the file */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: fantasy;
}

#particles-js {
    width: 100%;
    height: 100vh;
    background-image: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)), url("2.jpg");
    background-size: cover;
    position: relative;
}

/* Remove or comment out the h1 styles since we're using an image */
/*
#particles-js h1 {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    font-size: 80px;
    color: rgb(182, 177, 177);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}
*/

/* Loading Animation */
#loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.5s;
}

.spinner {
    width: 50px;
    height: 50px;
    border: 5px solid #f3f3f3;
    border-top: 5px solid #3498db;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Responsive Design Improvements */
@media screen and (max-width: 768px) {
    #particles-js img {
        max-width: 70%;
    }
    
    .footer {
        padding: 0.5rem 0;
    }
    
    .copyright {
        font-size: 0.75rem;
        padding: 0 10px;
    }

    .map-container {
        bottom: 60px !important;
        right: 10px !important;
        width: 180px !important;
        height: 180px !important;
    }

    .map-container iframe {
        width: 180px !important;
        height: 180px !important;
    }

    .visitor-counter {
        bottom: 5px;
        left: 5px;
        font-size: 0.75rem;
        padding: 5px 10px;
    }
}

@media screen and (max-width: 480px) {
    #particles-js img {
        max-width: 60%;
    }

    .map-container {
        bottom: 50px !important;
        right: 5px !important;
        width: 150px !important;
        height: 150px !important;
    }

    .map-container iframe {
        width: 150px !important;
        height: 150px !important;
    }

    .footer {
        padding: 0.3rem 0;
    }

    .copyright {
        font-size: 0.7rem;
        line-height: 1.3;
    }

    .visitor-counter {
        bottom: 5px;
        left: 5px;
        font-size: 0.7rem;
        padding: 4px 8px;
    }
}

/* Add viewport-height fix for mobile browsers */
@supports (-webkit-touch-callout: none) {
    #particles-js {
        height: -webkit-fill-available;
    }
}
  
.map-container {
    position: fixed !important;
    bottom: 100px !important;
    right: 20px !important;
    left: auto !important;
    width: 210px !important;
    height: 210px !important;
    padding: 0;
    z-index: 20;
    background: none !important;
    box-shadow: none !important;
    border-radius: 0;
    transform: none;
    display: block !important;
    grid-area: none !important;
}

.map-container iframe {
    width: 210px !important;
    height: 210px !important;
    border-radius: 0;
    filter: invert(90%) hue-rotate(180deg) !important;
    display: block !important;
    background: transparent !important;
}

/* Prevent page scrolling */
html, body {
    margin: 0;
    padding: 0;
    overflow: hidden;
    height: 100%;
}

/* Update responsive styles for the map */
@media (max-width: 768px) {
    .map-container {
        bottom: 80px;
        right: 10px;
        left: auto;
    }
}

@media (max-width: 480px) {
    .map-container {
        bottom: 70px;
        right: 10px;
        left: auto;
    }
}
  
/* Add these styles to your existing CSS */
.copyright a {
    color: #FFFFFF;
    text-decoration: none;
    border-bottom: 1px dotted #FFFFFF;
    transition: opacity 0.3s ease;
}

.copyright a:hover {
    opacity: 0.8;
    border-bottom: 1px solid #FFFFFF;
}
  
.visitor-counter {
    position: fixed;
    bottom: 5px;
    left: 8px;
    background-color: rgba(0, 0, 0, 0.8);
    color: #FFFFFF;
    padding: 8px 15px;
    border-radius: 5px;
    font-family: 'Trebuchet MS', sans-serif;
    font-size: 0.875rem;
    z-index: 22;
}

.counter-label {
    color: #3498db;
}

/* Add responsive styles for the counter */
@media (max-width: 768px) {
    .visitor-counter {
        bottom: 35px;
        left: 15px;
        font-size: 0.8rem;
    }
}

@media (max-width: 480px) {
    .visitor-counter {
        bottom: 30px;
        left: 10px;
        padding: 6px 12px;
    }
}
  