body {
    margin: 0;
    padding: 0;
    font-family: Arial, sans-serif;
    box-sizing: border-box;
 
}
 header h1{
    background: url(Assets/img/bggallery.jpeg);
    padding: 0.5rem;
    text-align: center;
    margin-top: -5px;
    border-radius: 50%;
    
}

header h1 i{
    margin: 20px;
    color: lightcoral;
} 

.gallery-heading h2 {
    display: flex;
    align-items: center;
    font-family: cursive;
    font-size: 2rem;
    margin: 0;
    padding: 20px;
  }
  
   h2 i {
    margin-right: 10px;
  }
  
   h2::after {
    content: '';
    flex-grow: 1;
    height: 2px;
    background-color: #000;
    margin-left: 20px;
  }
h2::before {
    content: '';
    flex-grow: 1;
    height: 2px;
    background-color: #000;
    margin-right: 15px;
  }
  
.gallery-heading h2{
   
    text-align: center;
    border-radius: 40%;
    padding: 0.5rem;
     color: darkmagenta;
   
}
h2 i{
    color: darkorange;
    margin: 20px;
}


.gallery-item1 img {
    width: calc(100% - 20px); 
    height: auto;
    border-radius: 0px 20%; 
    transition: transform 0.3s ease;
    margin: 10px; 
    object-fit: cover;
}

.gallery-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    padding: 0 10px; 
}

.gallery-item1 {
    width: calc(300px - 5px); 
    /* border-radius: 8px; */
    overflow: hidden;
    box-shadow: 0 4px 8px rgb(200, 6, 158);
}
.gallery-item1 img:hover {
    transform: scale(1.05);
}

footer {
   
    background: linear-gradient(-35deg, rgb(248, 4, 228) 45%, white);
    padding: 60px; 
    border-radius: 0px 40%;
    position: sticky;
}

.footer-logo img {
    width: 100px; 
    display: block;
    margin:  -40px auto 0;
    border-radius: 50%;
}   

.footer-text {
    font-size: 30px;
    font-family: cursive;
    text-align: center; 
    display: flex;
    justify-content: center;
}

.icons {
    display: flex;
    justify-content: center;
    align-items: center;
}

.icons a {
    display: inline-block;
    padding: 5px;
}

.icons a i {
    font-size: 24px; 
    color: black; 
    border-radius: 50%; 
    background-color: rgba(0, 0, 0, 0.2);
    padding: 10px; 
    margin: 5px;
}

.footer-col {
    width: calc(100% / 3); 
    padding: 0 15px;
    margin: 0 20px 0 0;
    margin-top: -15%;
    float: left; 
    box-sizing: border-box; 
}

.footer-col h4 {
    font-size: 18px;
    color: black;
    text-transform: capitalize;
    margin-bottom: 15px;
    font-weight: 700;
    position: relative;
    font-style: italic;
     font-family: 'Times New Roman', Times, serif; 
}

.footer-col h4::before {
    content: '';
    position: absolute;
     left: 10%; 
    bottom: -10px;
    background-color: white;
    height: 2px;
    box-sizing: border-box;
    width: 70px;
    transform: translateX(-50%);
    text-align: center;    
}

.footer-col ul li:not(:last-child) {
    margin-bottom: 10px;
}

.footer-col ul a {
    font-size: 15px;
    color: black;
    text-decoration: none;
    text-align: center;
    font-weight: 300;
    transition: all 0.3s ease;
}

.footer-col ul a:hover {
    color: black;
    padding-left: 10px;
    background-color: pink;
    border-radius: 20px;
}

.copyrights{
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-style: italic;
    font-weight: bold;
    }
    .copyrights h2 {
        margin-top: -5px; 
    }
    .copyrights p {
        margin-top: -5px; 
    }

 @media  (max-width: 768px) {
    header h1 {
        padding: 0.5rem;
    }
    header h1 i {
        font-size: 8vw; 
    }

    .gallery-item1 {
        width: 100%;
    }

    .gallery-heading h2 {
        font-size: 1.5rem;
        padding: 15px;
    }
    .footer {
        padding: 40px;
    }

    .footer-text {
        font-size: 24px;
    }

    .icons a i {
        font-size: 20px;
        padding: 8px;
    }

    .footer-col {
        width: 100%;
        margin: 0;
       
    }

    .footer-col h4::before {
        width: 50px;
    }

    .footer-col ul a {
        font-size: 14px;
    }
    .copyrights {
        font-size: 10px; 
    }

}