*,*::before,*::after{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body{
    position: relative;
    width: 100%;
    height: 100%;
    font-family:'poppins',sans-serif;
    /* overflow-x: hidden; */
    overflow-wrap: break-word;
    background-color: black;
    margin: 12px;
}
ul{
    list-style: none;
}
a{
    text-decoration: none;
    color: beige;
    padding: 5px;
    text-align: center;
    font-size: 30px;
}
.image_accordion{
    /* margin: 20px; */
    position: relative;
    width: 100%;
    justify-content: center;
    height: 100%;
    overflow: hidden;
    /* margin: 50px 50px; */
    /* margin-right: 30px; */
}
.image_accordion ul{
    width: 90%;
    height: 100%;
    display: table;
    table-layout: fixed;
}
.image_accordion ul li{
    border: 2px solid black;
    border-radius: 20px;
    width: 16.66%;
    height: 98vh;
    display: table-cell;
    vertical-align: bottom;
    position: relative;
    transition: 2s;

}
.image_accordion ul li:nth-child(1){
    background: url(/img/brhama.jpg) no-repeat center center;
    background-size: cover;
}
.image_accordion ul li:nth-child(2){
    background: url(/img/mahesh.jpg) no-repeat center center;
    background-size: cover;
}
.image_accordion ul li:nth-child(3){
    background: url(/img/vishnu.jpg) no-repeat center center;
    background-size: cover;
}
.image_accordion ul li:nth-child(4){
    background: url(/img/nar.jpg) no-repeat center center;
    background-size: cover;
}
.image_accordion ul li:nth-child(5){
    background: url(/img/bb.jpg) no-repeat center center;
    background-size: cover;
}
.image_accordion ul li:nth-child(6){
    background: url(/img/rudra.jpg) no-repeat center center;
    background-size: cover;
}
.image_accordion ul li:nth-child(7){
    background: url(/img/sh.jpg) no-repeat center center;
    background-size: cover;
}

.image_accordion ul:hover li,
.image_accordion ul:focus-within li{
    width: 8%;
    transition: 2s;
}

.image_accordion ul:hover li:hover,
.image_accordion ul li:focus,
.image_accordion ul:focus-within li:focus{
    width: 60%;
    transition: 2s;
}