body {
    background-color: #f8d3fd;
    background-attachment: fixed;
    background-repeat: no-repeat;
    background-size: cover;
}
*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: sans-serif;
}
.topnav {
    background-color: #333;
    overflow: hidden;
}
  /* Style the links inside the navigation bar */
.topnav a {
    float: left;
    color: #f2f2f2;
    text-align: center;
    padding: 14px 16px;
    text-decoration: none;
    font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
    font-size: 17px;
}
 /* Change the color of links on hover */
.topnav a:hover {
    background-color: #ddd;
    color: black;
}
/* Add a color to the active/current link */
.topnav a.active {
    background-color: white;
    color: black;
}
.container{
    width: 100%;
    text-align: center;
}
h1{
    font-weight: normal;
    font-size: 35px;
    position: relative;
    margin: 40px 0;
}
h1::before{
    content: '';
    position: absolute;
    width: 100px;
    height: 3px;
    background-color: rgb(163, 22, 156);
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    animation: animate 4s linear infinite;
}
@keyframes animate{
    0%{
        width: 100px;
    }
    50%{
        width: 400px;
    }
    100%{
        width: 100px;
    }
}
.top-content{
    background-color: rgb(194, 191, 191);
    width: 90%;
    margin: 0 auto 30px auto;
    height: 60px;
    display: flex;
    align-items: center;
    border-radius: 5px;
    box-shadow: 3px 3px 5px rgb(177, 177, 177);
}
h3{
    height: 100%;
    width: auto;
    background-color: rgb(207, 172, 204);
    line-height: 60px;
    padding: 3px;
    color: rgb(255, 255, 255);
}
label{
    display: inline-block;
    height: 100%;
    margin: 0 35px;
    line-height: 60px;
    font-size: 18px;
    color: rgb(255, 255, 255);
    cursor: pointer;
    transition: color .5s;
}
label:hover{
    color: rgb(61, 17, 54);
}
.photo-gallery{
    width: 90%;
    margin: auto;
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    grid-gap: 30px;
}
.pic{
    position: relative;
    border-radius: 5px;
    cursor: pointer;
    transition: .5s;
}
.pic img{
    width: 100%;
    height: 100%;
    border-radius: 10px;
    transition: .5s;
}
.pic::before{
    content: "PHOTO GALLERY";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: rgb(255, 255, 255);
    font-size: 22px;
    font-weight: bold;
    width: 100%;
    margin-top: -100px;
    opacity: 0;
    transition: .3s;
    transition-delay: .2s;
    z-index: 1;
}
.pic:after{
    content: "";
    position: absolute;
    width: 100%;
    bottom: 0;
    left: 0;
    border-radius: 10px;
    height: 0;
    background-color: rgba(54, 19, 44, 0.63);
    transition: .3s;
}
.pic:hover::after{
    height: 100%;
}

.pic:hover::before{
    margin-top: 0;
    opacity: 1;
}
#all:checked ~ .container .photo-gallery .pic{
    opacity: 1;
    transform: scale(1);
    position: relative;
    transition: .5s;
}
#self:checked ~ .container .photo-gallery .self{
    transform: scale(1);
    opacity: 1;
    position: relative;
    transition: .5s;
}
#self:checked ~ .container .photo-gallery .festival,
#self:checked ~ .container .photo-gallery .wedding,
#self:checked ~ .container .photo-gallery .convocation,
#self:checked ~ .container .photo-gallery .season{
    opacity: 0;
    transform: scale(0);
    position: absolute;
    transition: 0s;
}
#festival:checked ~ .container .photo-gallery .festival{
    transform: scale(1);
    opacity: 1;
    position: relative;
    transition: .5s;
}
#festival:checked ~ .container .photo-gallery .self,
#festival:checked ~ .container .photo-gallery .wedding,
#festival:checked ~ .container .photo-gallery .convocation,
#festival:checked ~ .container .photo-gallery .season{
    opacity: 0;
    transform: scale(0);
    position: absolute;
    transition: 0s;
}
#wedding:checked ~ .container .photo-gallery .wedding{
    transform: scale(1);
    opacity: 1;
    position: relative;
    transition: .5s;
}
#wedding:checked ~ .container .photo-gallery .self,
#wedding:checked ~ .container .photo-gallery .festival,
#wedding:checked ~ .container .photo-gallery .convocation,
#wedding:checked ~ .container .photo-gallery .season{
    opacity: 0;
    transform: scale(0);
    position: absolute;
    transition: 0s;
}
#convocation:checked ~ .container .photo-gallery .convocation{
    transform: scale(1);
    opacity: 1;
    position: relative;
    transition: .5s;
}
#convocation:checked ~ .container .photo-gallery .self,
#convocation:checked ~ .container .photo-gallery .festival,
#convocation:checked ~ .container .photo-gallery .wedding,
#convocation:checked ~ .container .photo-gallery .season{
    opacity: 0;
    transform: scale(0);
    position: absolute;
    transition: 0s;
}
#season:checked ~ .container .photo-gallery .season{
    transform: scale(1);
    opacity: 1;
    position: relative;
    transition: .5s;
}
#season:checked ~ .container .photo-gallery .self,
#season:checked ~ .container .photo-gallery .festival,
#season:checked ~ .container .photo-gallery .wedding,
#season:checked ~ .container .photo-gallery .convocation{
    opacity: 0;
    transform: scale(0);
    position: absolute;
    transition: 0s;
}
div video{
    width: 320px;
    height: 240px;
}
.footer {
    background-color: #0c0c0c !important;
    color: #FFFFFF !important;
    font-style: normal !important;
    padding-top: 2.35vw !important;
    padding-bottom: 1vw !important;
    margin-top: 10px !important;
}
.footer br {
line-height:22px;
}