#Art_gallery_shery{
    width: 100%;
    height: fit-content;
    background-color: #e6deda;
    position: relative;
    z-index: 3;
}
.inline_text{
    display: flex;
    margin-left: 50px;
    margin-right: 50px;
    justify-content: space-between;
    height: fit-content;
    overflow: hidden;
}
.inline_text > h1{
    font-size: 30px;
    padding-top: 70px;
    font-weight: 550;
}
.inline_text > p{
    width: 30%;
    text-align: right;
    font-size: 13px;
    padding-top: 80px;
    font-weight: 400;
}
#grid_sections {
    width: 100%;
    height: 450px;
    display: flex;
    position: relative;
    bottom: 0;
    overflow: hidden; /* Hide overflowing elements */
}

.sections {
    border-bottom: .1rem solid rgba(53, 53, 53, .2);
    border-right: .1rem solid rgba(53, 53, 53, .2);
    position: relative;
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
    width: 350px;
    box-sizing: border-box;
    flex-shrink: 0;
}

.sections::after {
    background: #fff;
    content: "";
    height: .1rem;
    left: 0;
    opacity: .6;
    position: absolute;
    bottom: 0;
    width: 100%;
}

.sections::before {
    background: #fff;
    content: "";
    height: 100%;
    right: 0;
    opacity: .6;
    position: absolute;
    bottom: 0;
    width: 0.1rem;
}

.top {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.img{
    display: flex;
    justify-content: center;
    align-items: center;
    height: 310px;
    object-fit: cover;
    width: 80%;
}
.img11{
    width: 100%;
    height: 310px;
    object-fit: cover;
}

.bottom {
    display: flex;
    justify-content: space-between;
    position: relative;
    width: 100%;
    align-items: flex-end;
}

.bottom > h1 {
    font-size: 40px;
    color: #c2aa9d;
}

.name {
    display: flex;
    flex-direction: column;
    gap: 5px;
}
.name p{
    font-size: medium;
    font-weight: 400;
}
#Lateral_scroll{
    position: absolute;
    background-color: black;
    display: flex;
    color: white;
    align-items: center;
    justify-content: center;
    bottom:225px;
    right: 5px;
    z-index: 10;
    text-align: center;
    width: 80px;
    height: 80px;
    border-radius: 50%;
}
#Lateral_scroll_left{
    display: none;
    position: absolute;
    background-color: black;
    color: white;
    align-items: center;
    justify-content: center;
    bottom:225px;
    left: 5px;
    z-index: 10;
    text-align: center;
    width: 80px;
    height: 80px;
    border-radius: 50%;
}
@media screen and (max-width: 920px) {
    .inline_text{
        padding-bottom: 20px;
        flex-direction: column;
    }
    .inline_text h1{
       padding-top: 20px;
       padding-bottom: 20px;
    }
    .inline_text p{
      padding-top: 0;
      width: 95%;
      max-width: 400px;
      text-align: left;
    }
}

@media screen and (max-width: 600px) {
}

@media screen and (max-width: 425px) {
    .sections{
        width: 100%;
    }

}