*{
    margin:0; /*thi is of the full screen in webpage*/
    padding:0 0;
}

body{
    background-color: black;
}

.header{ /*this is for the background image and its managing code*/
    width: 100%;
    min-height: 100vh;
    background-image: url("gallery/background1.jpeg");
    background-position: center;
    background-size: cover;
    position: relative;
}

nav{ /*this is for the inside of nav class*/
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2% 6%;
}
    

nav img{ /*this is of logo image*/
    width: 150px;
}

.link{ /*this is of the home,contact, etc. position*/
    flex: 1;
    text-align: right;
}

.link ul li{ /*this is of home,contact etc design*/
    list-style: none;
    display: inline-block;
    position: relative;
    padding: 8px 12px;
}

.link ul li a{ /*this is the color and size of menu*/
    color: white;
    text-decoration: none;
    font-size: 20px;
    font-weight: bold;
}

.link ul li::after{ /*this is of the red underline after putting cursor to the home,contact etc.*/
    content: '';
    width: 0%;
    height: 2px;
    background: red;
    display: block;
    margin: auto;
    transition: 0.5s;
}

.link ul li:hover::after{ /*hover mean the pointing time, and this is of red underline lenght*/
    width: 100%;
}

.textbox{ /*this is of the main sentence in the middle, 'before.....'*/
    width: 100%;
    color: whitesmoke;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    text-align: center;
}


.textbox h1{ /*this is of the main sentence font sixe*/
    font-weight: 900;
    font-size: 30px;
}

.textbox p{ /*this of the main sentence font size*/
    font-weight: 900;
    font-size: 30px;
}

.textbox audio{
    width: 100%;
    max-width: 50%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    text-align: center;
}



nav .fa{ /*this is to hide the icon on both big and small screen*/
    display: none;
}

@media(max-width: 700px){ /*this is for the mobile screen disply*/
    .textbox h1{
        font-size: 35px;
    }

    .textbox audio{
        top: auto;
    }

    .textbox p{
        font-size: 25px;
    }

    .link ul li{
        display: block;
    }
    

    .link ul{ /*this is for making the home, contact etc in the middle of side bar*/
        margin: 15%;
    }




     .link{ /*this is for the side bar editing*/
        background: black;
        position: fixed;
        right: -200;
        top: 0;
        height: 100vh;
        width: 150px;
        text-align: left;
        transition: 1s;
        z-index: 2;

     }

     nav .fa{ /*this is for the showing icon in the side bar*/
        display: block;
        font-size: 17px;
        cursor: pointer;
        color: orangered;
        margin: 10px;
    
     }
}


.feat{ /*this is for the editing of the 3 partation of text 'BHAKTAPUR'*/
    text-align: center;
    margin-top: 3%;
    font-size: 30px;
}

h2{
    color: white;
}


p{ /*this is for the paragrapy written after BHAKTAPUR*/
    color: white;
    text-align: center;
    font-size: 20px;
}



.row{ /*this is for making 3 partation in different parts*/
    display: flex;
    justify-content: space-between;
    margin-top: 3%;
}

.col{ /*this is for the editing of 3 partation like adding box, color etc*/
    flex-basis: 31%;
    text-align: center;
    margin: 5%;
    background-color: lightgrey;
    padding: 2%;
    border-radius: 100px;

}

.col:hover{ /*this is of the pointing editing by placing cursor in the 3part*/
    background-color: red;
    color: white;
    box-shadow: 15px 15px 10px gray;
    cursor: pointer;
    transform: scale(1.1);
    transition: 1s;
}

@media(max-width: 700px){ /*this is for the editing the 3 image for the mobile device*/

    .row{
        flex-direction: column;
    }
}


.branch{ /*this is for the adjusting place of the 3 images*/
    width: 100%;
    margin: auto;
    
}

.branch-col{ /*this is for the position of 3photo*/
    text-align: center;
    margin: auto;
    margin-top: 3%;
    margin-bottom: 10%;
    position: relative;
    overflow: hidden;
}


.branch-col img{ /*this is of the managing the formate of 3 photos*/
    height: 500px;
    width: 400px;
    border-radius: 10px;
}

.bkt{ /*this is fo the position for the text in 3photo*/
    position: absolute;
    top: 0;
    left: 0;
    height: 500px;
    width: 400px;
    color: yellow;
    font-size: 20px;
    
}

.bkt:hover h3{ /*this is for the animation while pointing to the 3photo*/
    background-color: red;
    position: absolute;
    top: 0;
    left: 0;
    height: 500px;
    width: 400px;
    color: white;
    box-shadow: 10px 1px 10px blue;
    font-size: 20px;
    transform: translateY(90%);
    transition: 1s;
    border-radius: 100px;

}



.footer{ /*this is for the social media icon  designing*/
    text-align: center;
    padding-top: 7px;
    background: rgba( 16, 1, 1, 0.3 );
box-shadow: 0 8px 32px 0 rgb(0, 17, 255);
backdrop-filter: blur( 5.5px );
-webkit-backdrop-filter: blur( 5.5px );
border-radius: 10px;
border: 1px solid rgba( 255, 255, 255, 0.18 );

}

h3{
    color: white;
}

.footer i{
    font-size: 15px;
    cursor: pointer;
}
    

.lastline{ /*this is for making the 'copyright' to the left*/
    color: white;
    display: flex;
    width: 90%;
    font-size: 15px;
    margin: auto;
    padding-bottom: 7px;
}

.pages{
    flex: 1;
    display: inline-block;
    text-align: right;

}
