* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    /* background-image: url(images/bg1.jpg); */
    background-repeat: no-repeat;
    background-position: center; 
    background-attachment: fixed;
}

.header {
    background-color: rgb(53, 52, 52);
    text-align: center;
    position: sticky; 
    top: 0; 
    z-index: 1000;
}

.header-content {
    display: flex;
    align-items: center; 
    justify-content: center; 
}

.header-img {
    width: 60px; 
    height: auto;
    margin-right: 30px;
}

.header-text {
    color: white;
}

h1 {
    font-size: 15px;
    font-weight: 800;
}

.nav{
    justify-content: center;
}

.button-container {
    display: flex;
    justify-content: center;
    background-color: black;
  }
  
  .button {
    border: none;
    background-color: transparent;
    padding: 25px 20px;
    font-weight: 800;
    font-size: 18px;
    cursor: pointer;
    background-color: black;
    color: white;
    position: relative;
    text-decoration: none; 
  }

  .button.active {
    border-bottom: 2px solid rgb(243, 243, 247);
  }


h5{
    padding: 10px;
    font-size: 16px;
    font-weight: 600;
    color: black;
}


 /* footer {
    background-color: rgb(26, 25, 25); 
    color: white;
    text-align: center;
    position: sticky;
    bottom: 0; 
    z-index: 1000;
}

.footer-container {
    display: flex;
    font-size: 10px;
    align-items: center;
    justify-content:center;
    background-color: rgb(37, 37, 37);
    box-sizing: border-box;
   
    margin-left: 25%;
    margin-right: 25%;
    border-radius: 40px 40px 1px 1px;
    color: white;
    text-decoration: none;
}

.footer-link img {
    width: 35px; 
    height: 35px;
}
.social-links{
    display: flex;
    font-size: 10px;
    align-items: center;
    max-width: fit-content;
   
}

.social-icon img {
    width: 35px; 
    height: 35px;
   justify-content: space-evenly;
   max-width: fit-content;
   
}

.social-links a{
    padding: 10px;
    text-decoration: none;
    color: white;
    font-size: 14px;
    max-width: fit-content;
    
}

.footer-link{
    padding: 10px;
    text-decoration: none;
    color: white;
    font-size: 12px;
    max-width: fit-content;
    
}  */



footer {
    background-color: rgb(26, 25, 25);
    color: white;
    text-align: center;
    position: sticky;
    bottom: 0;
    z-index: 1000;
   
}

.footer-container {
    display: flex;
    align-items: center;
    justify-content: space-between; /* Keep the spacing between elements */
    background-color: rgb(37, 37, 37);
    box-sizing: border-box;
    padding: 10px;
    margin: 0 auto; /* Center the container */
    border-radius: 40px 40px 1px 1px;
    width: 100%; /* Full width by default */
    max-width: 1200px; /* Constrain the max width for larger screens */
}

.footer-container {
    display: flex;
    align-items: center;
    justify-content:center; /* Spacing between links */
    background-color: rgb(37, 37, 37);
    box-sizing: border-box;
    margin: 0 auto; /* Center the container */
    border-radius: 40px 40px 1px 1px;
    width: 100%; /* Make the container width adaptable */
    max-width: 1200px; 
}

.footer-link img {
    width: 35px;
    height: 35px;
}

.social-links {
    display: flex;
    align-items: center;
    justify-content: space-between; /* Space out the icons evenly */
    flex-wrap: wrap; /* Allow wrapping on small screens */
}

.social-icon img {
    width: 35px;
    height: 35px;
}

.social-links a {
    padding: 10px;
    text-decoration: none;
    color: white;
    font-size: 14px;
    text-align: center; /* Center text for better readability */
    width: 80px; /* Set a width to align icons */
}

.footer-link {
    /* padding: 10px; */
    text-decoration: none;
    color: white;
    font-size: 12px;
    text-align: center;
    width: 80px;
}


.grid-item a{
    text-decoration: none;
    color:white;
}
 
.grid-container {
    display: grid;
    align-items: start;
    grid-template-columns: 1fr 1fr 1fr 1fr; 
    grid-template-rows: auto; 
    grid-gap: 20px;
    padding: 10px;
    grid-auto-flow: dense; 
}

.grid-item {
    position: relative;
    background-color: rgb(219, 224, 226);
    padding: 8px;
    justify-content: flex-start;
    align-items: center;
    border-radius: 10px;
    overflow: hidden; 
    display: flex;
    flex-direction: column;
   
}

.grid-item.large {
     grid-column: span 1;  
     grid-row: span 2;  
}

.grid-item img {
    width: 100%;
    display: block;
    height: auto;
    border-radius: 10px;
    object-fit: cover;
}

.left-image {
    /*grid-column: 1;*/
}

.right-image {
    /*grid-column: 4; */
}

.share-icon {
    display: inline-block;
    position: absolute;
    top: 8px; 
    right: 10px;
    width: 30px;
    height: 30px;
    background-color:black;
    color:white; 
    padding: 7px;
    text-decoration: none;
    border-radius: 50px;
    z-index: 10; 
    font-weight: 100px !important;
} 

/* .share-container {
    position: relative;
} */

 .show-menu-btn {
    display: none;
    position: absolute;
    top: 50px;
    right: 10px;
    background-color: #fff;
    color: #000;
    border: 1px solid #ccc;
    border-radius: 5px;
    padding: 5px 10px;
    cursor: pointer;
} 
.share-dropdown {
    display: none;
    position: absolute;
    top: 80px;
    right: 10px;
    background-color: #fff;
    border-radius: 8px;
    padding: 10px;
    box-shadow: 0px 8px 16px rgba(0, 0, 0, 0.2);
    min-width: 150px;
    z-index: 100;
}

.share-dropdown a {
    display: flex;
    align-items: center;
    padding: 8px 10px;
    text-decoration: none;
    color: #000;
    border-radius: 4px;
}

.share-dropdown a:hover {
    background-color: #f1f1f1;
}

.share-dropdown img {
    margin-right: 8px;
    width: 24px;
} 

/* Show the Show Menu button on hover */
.grid-item:hover .show-menu-btn {
    display: inline-block;
}



/* Media query for screens smaller than 768px */
@media (max-width: 768px) {
    .grid-container {
        grid-template-columns: repeat(2, 1fr); /* 2 columns for smaller screens */
    }

    .left-image {
        /*grid-column: 1; */
    }

    .right-image {
        /*grid-column: 1; */
    }
}

/* Media query for screens smaller than 500px */
@media (max-width: 499px) {
    .grid-container {
/*        grid-template-columns: 1fr;  1 column for very small screens */
    }

    .left-image,
    .right-image {
        /*grid-column: 1; */
    }
}


/* For Mobile Devices (up to 767px wide) */
@media (max-width: 767px) {
    .footer-container {
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    .social-links {
        display: flex;
        justify-content: flex-start;
        flex-wrap: nowrap; /* Prevent icons from wrapping */
    }

    /* Hide specific social icons at different breakpoints */
    .social-links a:nth-child(7) { 
        /*display: none;*/
    }

    .social-links a:nth-child(6) { /* Hides mail */
        display: none;
    }
}

/* For smaller screens, hide more icons */
@media (max-width: 600px) {
    .social-links a:nth-child(1) {
        /*display: none;*/
    }

    .social-links a:nth-child(4) { /* Hides instagram */
        display: none;
    }
    
     .social-links a:nth-child(5) { 
        display: none;
    }
    
}

/* For very small screens */
/*@media (max-width: 450px) {*/
    .social-links a:nth-child(3) { /* Hides facebook */
/*        display: none;*/
/*    }*/
/*}*/


/* For Tablets (768px to 1024px) */
@media (min-width: 768px) and (max-width: 1024px) {
    .footer-container {
        width: 90%; /* Slightly larger width for tablets */
    }

    .footer-link {
        font-size: 13px;
    }

    .social-links a {
        font-size: 13px;
    }
}

/* For Large Screens (above 1024px) */
@media (min-width: 1025px) {
    .footer-container {
        width: 80%; /* Adjust the width for larger screens */
    }

    .footer-link {
        font-size: 14px;
    }

    .social-links a {
        font-size: 14px;
    }
}