.image-center{ width: 100%; display: block; margin-left: auto; margin-right: auto; } .text-style{ margin: 5px; } .class-dev-close{ border: 1px solid lightgray; border-radius: 30px; } .class-dev-open{} .class-item-open{ border: 1px solid lightgray; border-radius: 30px; height: 100px; } .class-item-close{} .image-item{ width: 30%; height: 70%; margin-top: 30px; border: 1px solid white; border-radius: 11px; margin-bottom: 25px; }