body{
    margin:0;
    padding:0;
    background-color:white;
}
*{
    margin:0;
    padding:0;
    box-sizing: border-box;
}
nav{
    width:100%;
    height:75px;
    line-height:75px;
    padding: 0px 100px;
    position:absolute;
   
}
nav ul{
    float: right;
    margin-top:-80px;
}
nav li{
    display: inline-block;
    list-style: none;
}
nav li a{
    font-size: 18px;
    text-transform: uppercase;
    padding:1px 30px;
    color:black;
    text-decoration: none;
}
nav li a:hover{
    color:rgb(246, 138, 238);
    transition: all 0.4s ease 0s;
}
#search{
    width: 100px;
    padding:5px;
    border-radius: 25px;
    border:none;
    font-size: medium;
    text-align: center;
    margin:15px;
}
.container{
    max-width: 1170px;
    margin: auto;
}
input{
    display: none;
}
.container1{
    width: 100%;
    text-align: center;
    margin-bottom: 60px;
}
.container h1{
    margin-top: -80px;
    margin-bottom: 30px;
}
h1{
    font-weight: normal;
    font-size: 35px;
    position: relative;
    margin-top:60px 0;
}
h1::before{
    content: '';
    position:absolute;
    width:100px;
    height: 3px;
    background-color: black;
    bottom: -10px;
    left: 50%;
    transform:translateX(-50%);
    animation: animate 4s linear infinite;
}
@keyframes animate{
    0%{
        width:100px;
    }
    50%{
        width:200px;
    }
    100%{
        width:300px;
    }
}
h1{
    margin: 15px;
}
.top-content1{
    background-color: rgb(243, 213, 243);
    width: 100%;
    margin: 0 auto 20px auto;
    height:60px;
    display: flex;
    align-items: center;
    border-radius: 5px;
    box-shadow: 3px 3px 5px lightblue;
}
h3{
    height:100%;
    background-color: rgb(240, 216, 240);
    line-height:60px;
    padding: 0 50px;
    color: white;
    margin-top: 30px;
}
label{
    display: inline-block;
    height:100%;
    padding: 0 55px;
    margin:0 50px;
    line-height: 60px;
    cursor: pointer;
    transition: .5s;
}
label:hover{
    color: rgb(89, 124, 205);
}
.photo-gallery{
    width:90%;
    margin: auto;
    display: grid;
    grid-template-columns: repeat(4,1fr);
    grid-gap:20px;
}
.pic{
    position:relative;
    height:230px;
    border-radius: 10px;
    transition: .5s;
}
.pic img{
    width:100%;
    height:100%;
    border-radius: 10px;
    transition: .5s;
}
.pic::before{
    content:"PHOTO GALLERY";
    position: absolute;
    top: 50%;
    left:10%;
    transform: translate(-50% -50%);
    color:black;
    font-size: 20px;
    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;
}
.pic:hover::after{
    height: 100%;
}
.pic:hover::before{
    margin-top: 0;
    opacity:1;
}
#check1:checked ~ .container1 .photo-gallery .pic{
    opacity:1;
    transform:scale(1);
    position: relative;
    transition: .5s;
}
#check2:checked ~ .container1 .photo-gallery .family{
    transform:scale(1);
    opacity:1;
    position: relative;
}
#check2:checked ~ .container1 .photo-gallery .child,
#check2:checked ~ .container1 .photo-gallery .place{
    opacity: 0;
    transform: scale(0);
    position:absolute;
    transition: 0s;
}
#check3:checked ~ .container1 .photo-gallery .child{
    transform:scale(1);
    opacity:1;
    position: relative;
}
#check3:checked ~ .container1 .photo-gallery .family,
#check3:checked ~ .container1 .photo-gallery .place{
    opacity: 0;
    transform: scale(0);
    position:absolute;
    transition: .0s;
}
#check4:checked ~ .container1 .photo-gallery .place{
    transform:scale(1);
    opacity:1;
    position: relative;
}
#check4:checked ~ .container1 .photo-gallery .family,
#check4:checked ~ .container1 .photo-gallery .child{
    opacity: 0;
    transform: scale(0);
    position:absolute;
    transition: .0s;
}
ul{
    list-style: none;
}
.row{
    display: flex;
    flex-wrap: wrap;
}
.footer{
    padding: 120px 0;;
}
.footer-col{
    width: 25%;
    padding: 0px 15px;
}
.footer-col h4{
    font-size: 18px;
    color: black;
    text-transform: capitalize;
    margin-top: 70px;
    margin-bottom: 30px;
    margin-right: 0px;
}
.footer-col ul li:not(:last-child){
    margin-bottom: 10px;
}
.footer-col ul li a{
    font-size: 16px;
    text-transform: capitalize;
    color:black;
    text-decoration:none;
    font-weight: 300;
    color:black;
    display: block;
    transition:all 0.3s ease;
}
.footer-col ul li a:hover{
    color:rgb(246, 138, 238);
    padding-left: 10px;
}