* {
    padding: 0;
    margin: 0;
}
.body{
    margin-top: 50px;
}

.body-main {
    width: 100%;
    height: 100%;
    position: relative;
}

.gallery-images {
    width: 100%;
    height: 100%;
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin: auto;
    position: relative;
}

.gallery-image {
    flex-grow: 1;
    width:auto;
    height: 300px;
    object-fit: cover;
    object-position: top;
    border-radius: 10px;
    transition: all 0.2s;
    cursor: pointer;
}
.width-1{
    width: 200px;
}
.width-2{
    width: 300px;
}
.width-3{
    width: 250px;
}

.gallery-image:hover {
    transform: scale(1.03) rotate(2deg);
}

.opendiv {
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    position: fixed;
    top: 0;
    display: none;
    left: 0;
    color: white;
    z-index: 1000;
}

.opendiv-underdiv {
    width: 50%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    gap: 20px;
    position: relative;
    margin: 0 auto;
    padding: 0 0 20px;
    
}

.image-content {
    width: auto;
    position: relative;
    display: flex;
    justify-content: center;
    flex-direction: column;
    gap: 10px;
}

.images-length {
    width: 100%;
    color: white;
}

.open-div-image {
    width: 100%;
    max-width: 100%;
    height: 400px;
    object-fit: cover;
    object-position: center;
    border: 5px solid;
    border-color: rgb(207, 18, 78);
}

.close-btn {
    position: absolute;
    right: 0;
    bottom: 0;
    font-size: 20px;
    cursor: pointer;
}

.button-container {
    width: 100%;
    display: flex;
    justify-content: center;
    gap: 30px;
}

.button-container button {
    padding: 5px 40px;
    background-color: #fff;
    font-size: 1.5rem;
    cursor: pointer;
}
@media screen and (max-width:768px) {
    .opendiv-underdiv{
        width: 100%;
    }
    .opendiv-underdiv{
        padding: 20px;
    }
    .gallery-image{
        max-width: 100%;
        height: 300px;
    }
    .body{
        margin-top: 80px;
        padding-top: 20px;
    }
}